/* Kit Details Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-container {
    background: white;
    border-radius: 20px;
    width: 90%;
    max-width: 900px;
    max-height: 90vh;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
    transform: scale(0.9) translateY(20px);
    transition: all 0.3s ease;
}

.modal-overlay.active .modal-container {
    transform: scale(1) translateY(0);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 32px;
    border-bottom: 1px solid #e1e5e9;
    background: #f8f9fa;
}

.modal-header h2 {
    color: #333;
    font-size: 24px;
    font-weight: 700;
    margin: 0;
}

.modal-close {
    background: none;
    border: none;
    font-size: 20px;
    color: #666;
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
}

.modal-close:hover {
    background: #e9ecef;
    color: #333;
}

.modal-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    padding: 32px;
    max-height: calc(90vh - 120px);
    overflow-y: auto;
}

.modal-image-section {
    position: relative;
}

.modal-kit-image {
    width: 100%;
    height: 300px;
    border-radius: 16px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    border: none;
    display: block;
}

.modal-kit-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.modal-badge {
    position: absolute;
    top: 16px;
    right: 16px;
    background: rgba(102, 126, 234, 0.9);
    color: white;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    backdrop-filter: blur(10px);
}

.modal-details {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.modal-description h3,
.modal-specifications h3,
.modal-features h3 {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #333;
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 16px;
}

.modal-description h3 i,
.modal-specifications h3 i,
.modal-features h3 i {
    color: #667eea;
    font-size: 20px;
}

.modal-description p {
    color: #666;
    line-height: 1.6;
    font-size: 16px;
}

.modal-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.modal-stats .stat-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 16px;
    background: #f8f9fa;
    border-radius: 12px;
    font-weight: 500;
    color: #333;
}

.modal-stats .stat-item i {
    color: #667eea;
    font-size: 16px;
}

.specs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
}

.modal-spec-item {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 16px;
    border-radius: 12px;
    font-weight: 500;
    text-align: center;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.2);
    transition: all 0.3s ease;
}

.modal-spec-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

.modal-features ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.modal-features li {
    padding: 8px 0;
    color: #666;
    border-bottom: 1px solid #f1f3f4;
}

.modal-features li:last-child {
    border-bottom: none;
}

.modal-features li::before {
    content: '✓';
    color: #28a745;
    font-weight: bold;
    margin-right: 8px;
}

.modal-actions {
    display: flex;
    gap: 16px;
    margin-top: 24px;
}

.modal-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 16px 24px;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.modal-btn.secondary {
    background: #f8f9fa;
    color: #666;
    border: 2px solid #e1e5e9;
}

.modal-btn.secondary:hover {
    background: #e9ecef;
    color: #333;
    transform: translateY(-1px);
}

.modal-btn.primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: 2px solid transparent;
}

.modal-btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
    filter: brightness(1.1);
}

.modal-btn.primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
    filter: none;
}

/* Modal Responsive Design */
@media (max-width: 768px) {
    .modal-container {
        width: 95%;
        margin: 20px;
    }
    
    .modal-content {
        grid-template-columns: 1fr;
        gap: 24px;
        padding: 24px;
    }
    
    .modal-header {
        padding: 20px 24px;
    }
    
    .modal-header h2 {
        font-size: 20px;
    }
    
    .modal-kit-image {
        height: 250px;
    }
    
    .modal-stats {
        grid-template-columns: 1fr;
    }
    
    .specs-grid {
        grid-template-columns: 1fr;
    }
    
    .modal-actions {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .modal-container {
        width: 100%;
        height: 100%;
        border-radius: 0;
        max-height: none;
    }
    
    .modal-content {
        padding: 20px;
        max-height: calc(100vh - 100px);
    }
    
    .modal-header {
        padding: 16px 20px;
    }
}

/* Filter Tabs */
.filter-tabs {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin: 40px 0;
    flex-wrap: wrap;
}

.filter-tab {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 2px solid transparent;
    border-radius: 50px;
    font-size: 14px;
    font-weight: 600;
    color: #666;
    cursor: pointer;
    transition: var(--transition-smooth);
    box-shadow: 
        0 6px 20px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.filter-tab::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.1), transparent);
    transition: left 0.6s ease;
}

.filter-tab:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 
        0 10px 30px rgba(102, 126, 234, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
    border-color: rgba(102, 126, 234, 0.3);
    background: white;
}

.filter-tab:hover::before {
    left: 100%;
}

.filter-tab.active {
    background: var(--primary-gradient);
    color: white;
    border-color: transparent;
    box-shadow: 
        0 12px 30px rgba(102, 126, 234, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.filter-tab i {
    font-size: 16px;
}

/* Loading Container */
.loading-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 80px 20px;
    text-align: center;
}

.loading-spinner {
    margin-bottom: 24px;
}

.loading-spinner i {
    font-size: 48px;
    color: #667eea;
}

.loading-container p {
    color: #666;
    font-size: 18px;
}

/* Kits Grid */
.kits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
    margin-top: 40px;
}

.kit-card {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border-radius: var(--border-radius);
    padding: 32px;
    box-shadow: 
        0 12px 40px rgba(0, 0, 0, 0.1),
        0 1px 0 rgba(255, 255, 255, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transition: var(--transition-smooth);
    border: 1px solid var(--glass-border);
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.kit-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(102, 126, 234, 0.05), transparent);
    transition: left 0.6s;
}

.kit-card:hover::before {
    left: 100%;
}

.kit-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 
        var(--shadow-intense),
        0 0 0 1px rgba(102, 126, 234, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    border-color: rgba(102, 126, 234, 0.3);
    background: white;
}

.kit-icon {
    width: 80px;
    height: 80px;
    background: var(--primary-gradient);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    transition: var(--transition-smooth);
    box-shadow: 
        0 8px 20px rgba(102, 126, 234, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.kit-icon::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s ease;
}

.kit-card:hover .kit-icon {
    transform: scale(1.15) rotate(10deg);
    box-shadow: 
        0 12px 30px rgba(102, 126, 234, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.4);
}

.kit-card:hover .kit-icon::before {
    left: 100%;
}

.kit-icon i {
    font-size: 36px;
    color: white;
}

.kit-card h3 {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    margin-bottom: 12px;
    line-height: 1.3;
}

.kit-card p {
    font-size: 16px;
    color: #666;
    line-height: 1.5;
    margin-bottom: 24px;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.kit-stats {
    display: flex;
    gap: 16px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.kit-stats span {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 14px;
    color: #888;
    background: #f8f9fa;
    padding: 6px 12px;
    border-radius: 20px;
}

.kit-stats i {
    font-size: 12px;
    color: #667eea;
}

.kit-actions {
    display: flex;
    gap: 12px;
}

.preview-btn, .download-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px 20px;
    border: none;
    border-radius: 12px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.preview-btn {
    background: rgba(102, 126, 234, 0.1);
    color: #667eea;
    border: 2px solid rgba(102, 126, 234, 0.2);
}

.preview-btn:hover {
    background: rgba(102, 126, 234, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.2);
}

.download-btn {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    border: none;
}

.download-btn:hover {
    background: linear-gradient(135deg, #218838 0%, #1c7c6c 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(40, 167, 69, 0.3);
}

.kit-image {
    width: 100%;
    height: 200px;
    border-radius: 12px;
    margin-bottom: 20px;
    border: none;
    display: block;
}

.kit-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.kit-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(102, 126, 234, 0.9);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.kit-specs {
    margin-bottom: 20px;
}

.kit-specs h4 {
    color: #333;
    margin-bottom: 8px;
    font-size: 16px;
}

.specs-list {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.spec-item {
    background: #f1f3f4;
    color: #666;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 12px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow-x: hidden;
    position: relative;
}

/* Dashboard Body */
.dashboard-body {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    min-height: 100vh;
    display: block;
    align-items: unset;
    justify-content: unset;
    position: relative;
    overflow-x: hidden;
}

.dashboard-body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 25% 75%, rgba(102, 126, 234, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 75% 25%, rgba(118, 75, 162, 0.05) 0%, transparent 50%);
    z-index: 0;
    pointer-events: none;
    animation: subtleFloat 15s ease-in-out infinite;
}

@keyframes subtleFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(10px, -15px) scale(1.02); }
    66% { transform: translate(-15px, 10px) scale(0.98); }
}

/* Dashboard Header */
.dashboard-header {
    background: var(--primary-gradient);
    color: white;
    padding: 24px 0;
    box-shadow: var(--shadow-primary);
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 16px;
    transition: var(--transition-smooth);
}

.logo-section:hover {
    transform: scale(1.02);
}

.header-logo {
    font-size: 40px;
    color: white;
    animation: logoFloat 3s ease-in-out infinite;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

@keyframes logoFloat {
    0%, 100% { 
        transform: translateY(0) rotate(0deg);
        filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
    }
    50% { 
        transform: translateY(-3px) rotate(5deg);
        filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.3));
    }
}

.logo-section h1 {
    font-family: 'Absolute Xero', 'Segoe UI', sans-serif;
    font-size: 32px;
    font-weight: normal;
    margin: 0;
    background: linear-gradient(45deg, #ffffff, #f0f0f0, #ffffff);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmerText 3s ease-in-out infinite;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
    letter-spacing: 1px;
}

@keyframes shimmerText {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* Admin Header Styling */
.admin-header {
    background: linear-gradient(135deg, #dc3545 0%, #fd7e14 100%);
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 12px;
}

.header-logo {
    font-size: 32px;
    color: white;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.logo-section h1 {
    font-size: 28px;
    font-weight: 600;
    margin: 0;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    padding: 8px 16px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

.admin-user-info {
    background: rgba(255, 255, 255, 0.15);
    gap: 12px;
}

.admin-badge {
    background: rgba(255, 255, 255, 0.2);
    padding: 4px 8px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 600;
}

/* Admin Navigation */
.admin-nav {
    background: white;
    border-bottom: 1px solid #e1e5e9;
    padding: 0;
}

.nav-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    gap: 0;
}

.nav-tab {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 16px 24px;
    background: none;
    border: none;
    color: #666;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
}

.nav-tab:hover {
    background: #f8f9fa;
    color: #333;
}

.nav-tab.active {
    color: #dc3545;
    border-bottom-color: #dc3545;
    background: #fff5f5;
}

.nav-tab i {
    font-size: 16px;
}

/* Admin Main Content */
.admin-main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.admin-section {
    display: none;
}

.admin-section.active {
    display: block;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
}

.section-header h2 {
    font-size: 32px;
    font-weight: 700;
    color: #333;
}

.section-header p {
    color: #666;
    margin-top: 8px;
}

.add-btn, .upload-first-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: linear-gradient(135deg, #dc3545 0%, #fd7e14 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.add-btn:hover, .upload-first-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(220, 53, 69, 0.3);
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 24px;
    margin-bottom: 40px;
}

.stat-card {
    background: white;
    padding: 24px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    gap: 16px;
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
}

.stat-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-icon i {
    font-size: 24px;
    color: white;
}

.stat-info h3 {
    font-size: 28px;
    font-weight: 700;
    color: #333;
    margin-bottom: 4px;
}

.stat-info p {
    color: #666;
    font-size: 14px;
}

/* Admin Cards */
.admin-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 24px;
}

.admin-card {
    background: white;
    padding: 24px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.admin-card h3 {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 18px;
    color: #333;
    margin-bottom: 20px;
}

.activity-item, .status-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid #f1f3f4;
}

.activity-item:last-child, .status-item:last-child {
    border-bottom: none;
}

.activity-item i, .status-item i {
    font-size: 16px;
    color: #667eea;
}

.activity-item small, .status-item small {
    margin-left: auto;
    color: #888;
    font-size: 12px;
}

.text-success {
    color: #28a745 !important;
}

.text-warning {
    color: #ffc107 !important;
}

/* Users Table */
.users-table {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.users-table table {
    width: 100%;
    border-collapse: collapse;
}

.users-table th {
    background: #f8f9fa;
    padding: 16px;
    text-align: left;
    font-weight: 600;
    color: #333;
    border-bottom: 1px solid #e1e5e9;
}

.users-table td {
    padding: 16px;
    border-bottom: 1px solid #f1f3f4;
}

.users-table tr:last-child td {
    border-bottom: none;
}

.status-badge {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
}

.status-badge.active {
    background: #d4edda;
    color: #155724;
}

.status-badge.inactive {
    background: #f8d7da;
    color: #721c24;
}

.action-btn {
    background: none;
    border: none;
    padding: 8px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-right: 4px;
}

.action-btn.edit {
    color: #667eea;
}

.action-btn.delete {
    color: #dc3545;
}

.action-btn:hover {
    background: #f8f9fa;
    transform: scale(1.1);
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 80px 20px;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.empty-state i {
    font-size: 64px;
    color: #ccc;
    margin-bottom: 24px;
}

.empty-state h3 {
    font-size: 24px;
    color: #333;
    margin-bottom: 12px;
}

.empty-state p {
    color: #666;
    margin-bottom: 32px;
}

/* Upload Section */
.upload-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

.upload-card {
    background: white;
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.upload-area {
    border: 3px dashed #ddd;
    border-radius: 12px;
    padding: 40px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.upload-area:hover {
    border-color: #667eea;
    background: #f8f9ff;
}

.upload-area i {
    font-size: 48px;
    color: #667eea;
    margin-bottom: 16px;
}

.upload-area h3 {
    color: #333;
    margin-bottom: 8px;
}

.upload-area p {
    color: #666;
}

.upload-area input[type="file"] {
    display: none;
}

.kit-details {
    background: white;
    border-radius: 16px;
    padding: 32px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.kit-form .form-group {
    margin-bottom: 20px;
}

.kit-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
}

.kit-form input,
.kit-form select,
.kit-form textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s ease;
}

.kit-form input:focus,
.kit-form select:focus,
.kit-form textarea:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.kit-form textarea {
    resize: vertical;
    height: 100px;
}

.upload-btn {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.upload-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

/* Analytics */
.analytics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 24px;
}

.analytics-card {
    background: white;
    padding: 24px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.analytics-card h3 {
    color: #333;
    margin-bottom: 20px;
}

.chart-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 200px;
    color: #ccc;
}

.chart-placeholder i {
    font-size: 48px;
    margin-bottom: 16px;
}

/* Settings */
.settings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 24px;
}

.settings-card {
    background: white;
    padding: 24px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.settings-card h3 {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #333;
    margin-bottom: 20px;
}

.setting-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 1px solid #f1f3f4;
}

.setting-item:last-child {
    border-bottom: none;
}

.setting-item label {
    color: #333;
    font-weight: 500;
}

.setting-item input[type="number"],
.setting-item input[type="text"] {
    width: 120px;
    padding: 8px 12px;
    border: 2px solid #e1e5e9;
    border-radius: 6px;
}

.setting-item input[type="checkbox"] {
    transform: scale(1.2);
}

.save-btn {
    width: 100%;
    padding: 12px;
    background: #28a745;
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 16px;
}

.save-btn:hover {
    background: #218838;
    transform: translateY(-1px);
}

/* Coming Soon Section */
.coming-soon-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 60vh;
}

.coming-soon-card {
    background: white;
    border-radius: 20px;
    padding: 60px 40px;
    text-align: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    max-width: 600px;
    width: 100%;
}

.coming-soon-icon {
    margin-bottom: 32px;
}

.coming-soon-icon i {
    font-size: 80px;
    color: #667eea;
    animation: rotate 3s ease-in-out infinite;
}

@keyframes rotate {
    0%, 100% { transform: rotate(0deg); }
    50% { transform: rotate(180deg); }
}

.coming-soon-card h3 {
    font-size: 36px;
    color: #333;
    margin-bottom: 16px;
    font-weight: 700;
}

.coming-soon-card > p {
    font-size: 18px;
    color: #666;
    margin-bottom: 40px;
    line-height: 1.6;
}

.features-preview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.feature-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
    background: #e9ecef;
}

.feature-item i {
    font-size: 32px;
    color: #667eea;
}

.feature-item span {
    font-weight: 600;
    color: #333;
    font-size: 14px;
}

.notification-signup {
    padding-top: 32px;
    border-top: 1px solid #e1e5e9;
}

.notification-signup p {
    color: #666;
    margin-bottom: 20px;
}

.notify-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 14px 28px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin: 0 auto;
}

.notify-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

/* Floating Particles Background */
.particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.particle {
    position: absolute;
    width: 6px;
    height: 6px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    animation: float 8s infinite ease-in-out;
}

.particle:nth-child(1) {
    top: 20%;
    left: 20%;
    animation-delay: 0s;
    animation-duration: 8s;
}

.particle:nth-child(2) {
    top: 60%;
    left: 80%;
    animation-delay: 2s;
    animation-duration: 10s;
}

.particle:nth-child(3) {
    top: 80%;
    left: 40%;
    animation-delay: 4s;
    animation-duration: 12s;
}

.particle:nth-child(4) {
    top: 40%;
    left: 70%;
    animation-delay: 1s;
    animation-duration: 9s;
}

.particle:nth-child(5) {
    top: 10%;
    left: 60%;
    animation-delay: 3s;
    animation-duration: 11s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
        opacity: 0.3;
    }
    25% {
        transform: translateY(-20px) rotate(90deg);
        opacity: 0.8;
    }
    50% {
        transform: translateY(-10px) rotate(180deg);
        opacity: 0.5;
    }
    75% {
        transform: translateY(-30px) rotate(270deg);
        opacity: 0.7;
    }
}

/* ========================================
   ENHANCED MAIN DRUM LIBRARY
======================================== */

.drum-library {
    max-width: 1200px;
    margin: 0 auto;
    padding: 50px 20px;
    position: relative;
    z-index: 1;
}

.library-header {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    z-index: 1;
}

.library-header::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    z-index: -1;
    animation: pulseGlow 4s ease-in-out infinite;
}

@keyframes pulseGlow {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.5; }
    50% { transform: translate(-50%, -50%) scale(1.2); opacity: 0.8; }
}

.library-header h2 {
    font-family: 'Absolute Xero', 'Segoe UI', sans-serif;
    font-size: 56px;
    font-weight: normal;
    color: #333;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 4s ease-in-out infinite;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
    letter-spacing: 2px;
    text-shadow: 0 0 30px rgba(102, 126, 234, 0.3);
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.library-header p {
    font-size: 20px;
    color: #666;
    margin-bottom: 40px;
    font-weight: 300;
    letter-spacing: 0.5px;
    opacity: 0.9;
}

/* ========================================
   ENHANCED SEARCH BAR
======================================== */

.search-bar {
    position: relative;
    max-width: 450px;
    margin: 0 auto;
}

.search-bar i {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: #667eea;
    font-size: 20px;
    z-index: 2;
    transition: all 0.3s ease;
}

.search-bar input {
    width: 100%;
    padding: 20px 20px 20px 60px;
    border: 2px solid transparent;
    border-radius: 60px;
    font-size: 16px;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    transition: var(--transition-smooth);
    box-shadow: 
        0 8px 32px rgba(102, 126, 234, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.5);
    font-weight: 500;
}

.search-bar input:focus {
    outline: none;
    border-color: #667eea;
    background: white;
    box-shadow: 
        0 12px 40px rgba(102, 126, 234, 0.2),
        0 0 0 1px rgba(102, 126, 234, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    transform: translateY(-3px) scale(1.02);
}

.search-bar input:focus + i,
.search-bar:focus-within i {
    color: #764ba2;
    transform: translateY(-50%) scale(1.1);
}

/* Drum Kit Gallery Background for Login Page */
.kit-gallery-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-template-rows: repeat(2, 1fr);
    gap: 20px;
    padding: 20px;
    opacity: 0.15;
    overflow: hidden;
    pointer-events: none;
}

.kit-gallery-item {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    animation: fadeInScale 1s ease-out;
    transition: all 0.5s ease;
}

.kit-gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.kit-gallery-item:hover img {
    transform: scale(1.1);
}

.kit-gallery-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.3) 0%, rgba(118, 75, 162, 0.3) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.kit-gallery-item:hover::after {
    opacity: 1;
}

@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: scale(0.9);
    }
    to {
        opacity: 0.15;
        transform: scale(1);
    }
}

@media (max-width: 768px) {
    .kit-gallery-background {
        grid-template-columns: repeat(2, 1fr);
        grid-template-rows: repeat(3, 1fr);
        gap: 10px;
        padding: 10px;
        opacity: 0.1;
    }
}

.login-container {
    width: 100%;
    max-width: 400px;
    padding: 20px;
    position: relative;
    z-index: 10;
}

.login-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.1),
        0 0 0 1px rgba(255, 255, 255, 0.2);
    padding: 40px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.18);
    position: relative;
    overflow: hidden;
}

.login-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transition: left 0.5s;
}

.login-card:hover::before {
    left: 100%;
}

/* Logo Container */
.logo-container {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 16px;
}

.logo-icon {
    font-size: 48px;
    color: #667eea;
    transition: all 0.3s ease;
}

.logo-icon:hover {
    transform: scale(1.1) rotate(10deg);
    color: #764ba2;
}

.login-header h1 {
    color: #333;
    font-size: 32px;
    font-weight: 600;
    margin: 0;
    transition: all 0.3s ease;
}

.login-header h1:hover {
    color: #667eea;
    transform: scale(1.05);
}

.login-header p {
    color: #666;
    font-size: 16px;
    margin-bottom: 32px;
    transition: color 0.3s ease;
}

.login-form {
    width: 100%;
}

.input-group {
    margin-bottom: 24px;
    text-align: left;
    transition: transform 0.3s ease;
}

.input-group:hover {
    transform: translateY(-2px);
}

.input-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #333;
    font-weight: 500;
    margin-bottom: 8px;
    font-size: 14px;
    transition: color 0.3s ease;
}

.input-group label i {
    font-size: 16px;
    color: #667eea;
}

.input-group input {
    width: 100%;
    padding: 16px;
    border: 2px solid #e1e5e9;
    border-radius: 12px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: rgba(248, 249, 250, 0.8);
    position: relative;
}

.input-group input:focus {
    outline: none;
    border-color: #667eea;
    background: white;
    box-shadow: 
        0 0 0 3px rgba(102, 126, 234, 0.1),
        0 8px 25px rgba(102, 126, 234, 0.15);
    transform: translateY(-2px);
}

.input-group input:hover {
    border-color: #764ba2;
    background: white;
}

.login-btn {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.login-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.6s;
}

.login-btn:hover::before {
    left: 100%;
}

.login-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(102, 126, 234, 0.4);
}

.login-btn:active {
    transform: translateY(-1px);
}

.login-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.btn-text {
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-loader {
    display: flex;
    align-items: center;
    gap: 8px;
}

.spinning {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.message {
    margin-top: 16px;
    padding: 12px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 8px;
    animation: messageSlide 0.5s ease-out;
}

@keyframes messageSlide {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.message.success {
    background: #d1f2eb;
    color: #0c7b69;
    border: 1px solid #a3e4d7;
}

.message.success::before {
    content: '\F26A';
    font-family: 'bootstrap-icons';
}

.message.error {
    background: #fadbd8;
    color: #cd2c2c;
    border: 1px solid #f1948a;
}

.message.error::before {
    content: '\F62B';
    font-family: 'bootstrap-icons';
}

.login-footer {
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid #e1e5e9;
}

.login-footer p {
    color: #666;
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
}

.login-footer i {
    color: #667eea;
}

/* Success Overlay */
.success-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(102, 126, 234, 0.95);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
}

.success-content {
    text-align: center;
    color: white;
    position: relative;
}

.success-icon {
    font-size: 80px;
    margin-bottom: 24px;
    animation: successBounce 0.8s ease-out;
}

.success-icon i {
    color: #4ade80;
    filter: drop-shadow(0 0 20px rgba(74, 222, 128, 0.5));
}

@keyframes successBounce {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Success Particles */
.success-particles {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    pointer-events: none;
}

.success-particle {
    position: absolute;
    width: 8px;
    height: 8px;
    background: #4ade80;
    border-radius: 50%;
    animation: successParticle 2s ease-out infinite;
}

.success-particle:nth-child(1) {
    top: 0;
    left: 50%;
    animation-delay: 0.1s;
}

.success-particle:nth-child(2) {
    top: 50%;
    right: 0;
    animation-delay: 0.3s;
}

.success-particle:nth-child(3) {
    bottom: 0;
    left: 50%;
    animation-delay: 0.5s;
}

.success-particle:nth-child(4) {
    top: 50%;
    left: 0;
    animation-delay: 0.7s;
}

.success-particle:nth-child(5) {
    top: 25%;
    right: 25%;
    animation-delay: 0.9s;
}

.success-particle:nth-child(6) {
    bottom: 25%;
    left: 25%;
    animation-delay: 1.1s;
}

@keyframes successParticle {
    0% {
        transform: scale(0) rotate(0deg);
        opacity: 1;
    }
    50% {
        transform: scale(1.5) rotate(180deg);
        opacity: 0.8;
    }
    100% {
        transform: scale(0) rotate(360deg);
        opacity: 0;
    }
}

/* Main page styles */
.main-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 40px 20px;
    text-align: center;
}

.main-header {
    background: white;
    border-radius: 16px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    padding: 40px;
    margin-bottom: 32px;
}

.main-header h1 {
    color: #333;
    font-size: 36px;
    margin-bottom: 16px;
}

.logout-btn {
    background: #dc3545;
    color: white;
    border: none;
    padding: 12px 24px;
    border-radius: 8px;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.logout-btn:hover {
    background: #c82333;
    transform: translateY(-1px);
}

/* ========================================
   FLOATING ACTION EFFECTS
======================================== */

.drum-library::after {
    content: '';
    position: absolute;
    top: 20%;
    right: -10%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    z-index: -1;
    animation: floatRight 12s ease-in-out infinite;
}

.drum-library::before {
    content: '';
    position: absolute;
    bottom: 10%;
    left: -10%;
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(118, 75, 162, 0.05) 0%, transparent 70%);
    border-radius: 50%;
    z-index: -1;
    animation: floatLeft 15s ease-in-out infinite reverse;
}

@keyframes floatRight {
    0%, 100% { transform: translate(0, 0) scale(1) rotate(0deg); }
    33% { transform: translate(-20px, -30px) scale(1.1) rotate(120deg); }
    66% { transform: translate(30px, 20px) scale(0.9) rotate(240deg); }
}

@keyframes floatLeft {
    0%, 100% { transform: translate(0, 0) scale(1) rotate(0deg); }
    50% { transform: translate(20px, -20px) scale(1.05) rotate(180deg); }
}

/* ========================================
   ENHANCED USER INFO SECTION
======================================== */

.user-info {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.15);
    padding: 10px 18px;
    border-radius: 25px;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition-smooth);
}

.user-info:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(255, 255, 255, 0.1);
}

.logout-btn {
    background: rgba(220, 53, 69, 0.9);
    backdrop-filter: blur(10px);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 10px 18px;
    border-radius: 20px;
    font-size: 14px;
    cursor: pointer;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    gap: 8px;
    font-weight: 500;
}

.logout-btn:hover {
    background: rgba(220, 53, 69, 1);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(220, 53, 69, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-content {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
    
    .header-actions {
        flex-direction: column;
        gap: 12px;
    }
    
    .nav-content {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .admin-cards {
        grid-template-columns: 1fr;
    }
    
    .upload-container {
        grid-template-columns: 1fr;
    }
    
    .analytics-grid {
        grid-template-columns: 1fr;
    }
    
    .settings-grid {
        grid-template-columns: 1fr;
    }
    
    .features-preview {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .library-header h2 {
        font-size: 36px;
    }
    
    .filter-tabs {
        flex-direction: column;
        align-items: center;
    }
    
    .kits-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .kit-card {
        padding: 24px;
    }
    
    .kit-actions {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .login-card {
        padding: 24px;
    }
    
    .login-header h1 {
        font-size: 28px;
    }
    
    .logo-container {
        flex-direction: column;
        gap: 10px;
    }
    
    .drum-library {
        padding: 20px 16px;
    }
    
    .library-header h2 {
        font-size: 28px;
    }
    
    .coming-soon-card {
        padding: 40px 24px;
    }
    
    .coming-soon-card h3 {
        font-size: 28px;
    }
    
    .features-preview {
        grid-template-columns: 1fr;
    }
    
    .nav-content {
        flex-direction: column;
    }
    
    .nav-tab {
        justify-content: center;
    }
}

/* Drum Kits Table Styles */
.kits-table {
    background: white;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.05);
}

.kits-table table {
    width: 100%;
    border-collapse: collapse;
}

.kits-table th {
    background: #f8f9fa;
    padding: 16px;
    text-align: left;
    font-weight: 600;
    color: #333;
    border-bottom: 1px solid #e1e5e9;
}

.kits-table td {
    padding: 16px;
    border-bottom: 1px solid #f1f3f4;
    vertical-align: middle;
}

.kits-table tr:last-child td {
    border-bottom: none;
}

.kits-table tr:hover {
    background: #f8f9ff;
}

/* Kit Name Cell */
.kit-name-cell {
    display: flex;
    align-items: center;
}

.kit-name-cell span {
    max-width: 200px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Category Badges */
.category-badge {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
}

.category-badge.category-trap {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.category-badge.category-rnb {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    color: white;
}

.category-badge.category-experimental {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    color: white;
}

.category-badge.category-hiphop {
    background: linear-gradient(135deg, #43e97b 0%, #38f9d7 100%);
    color: white;
}

/* Action Button View */
.action-btn.view {
    color: #667eea;
}

.action-btn.view:hover {
    background: #f0f2ff;
    transform: scale(1.1);
}

/* Loading State */
.loading-state {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    color: #666;
}

.loading-state i {
    font-size: 48px;
    margin-bottom: 16px;
    animation: spin 2s linear infinite;
    color: #667eea;
}

.loading-state p {
    font-size: 16px;
    margin: 0;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Download Status Styles */
.download-status {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 4px;
}

.download-status.available {
    background: #d4edda;
    color: #155724;
}

.download-status.missing {
    background: #f8d7da;
    color: #721c24;
}

/* Edit Kit Modal Styles */
.edit-modal-content {
    display: block !important;
    grid-template-columns: none !important;
    padding: 24px 32px !important;
}

.edit-kit-form {
    max-width: 500px;
    margin: 0 auto;
}

.edit-kit-form .form-group {
    margin-bottom: 20px;
}

.edit-kit-form label {
    display: block;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
    font-size: 14px;
}

.edit-kit-form input[type="text"],
.edit-kit-form input[type="url"] {
    width: 100%;
    padding: 12px 16px;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    font-size: 14px;
    transition: all 0.3s ease;
    background: white;
}

.edit-kit-form input[type="text"]:focus,
.edit-kit-form input[type="url"]:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.edit-kit-form input[readonly] {
    background: #f8f9fa;
    color: #6c757d;
    cursor: not-allowed;
}

.edit-kit-form small {
    display: block;
    color: #6c757d;
    font-size: 12px;
    margin-top: 4px;
}

.form-actions {
    display: flex;
    gap: 12px;
    justify-content: flex-end;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #e1e5e9;
}

.cancel-btn {
    padding: 12px 24px;
    border: 2px solid #e1e5e9;
    background: white;
    color: #6c757d;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cancel-btn:hover {
    border-color: #dc3545;
    color: #dc3545;
    background: #fff5f5;
}

.save-btn {
    padding: 12px 24px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.save-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.3);
}

/* Download Button States for User Interface */
.download-btn.available {
    background: linear-gradient(135deg, #28a745 0%, #20c997 100%);
    color: white;
    cursor: pointer;
    opacity: 1;
}

.download-btn.available:hover {
    background: linear-gradient(135deg, #218838 0%, #1c7c6c 100%) !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 8px 25px rgba(40, 167, 69, 0.3) !important;
}

.download-btn.unavailable {
    background: linear-gradient(135deg, #6c757d 0%, #5a6268 100%) !important;
    color: white !important;
    cursor: not-allowed !important;
    opacity: 0.7 !important;
}

.download-btn.unavailable:hover {
    background: #f8f9fa;
    transform: translateY(-1px);
}

/* Pagination Styles */
.pagination-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 3rem 0 2rem 0;
    gap: 1.5rem;
}

.pagination-info {
    color: #64748b;
    font-size: 0.9rem;
    font-weight: 500;
}

.pagination-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.pagination-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: none;
    color: white;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-width: 120px;
    justify-content: center;
}

.pagination-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
}

.pagination-btn:disabled {
    background: #e2e8f0;
    color: #94a3b8;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.pagination-pages {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.pagination-page {
    background: transparent;
    border: 2px solid #e2e8f0;
    color: #64748b;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pagination-page:hover {
    border-color: #667eea;
    color: #667eea;
    transform: translateY(-1px);
}

.pagination-page.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-color: #667eea;
    color: white;
}

.pagination-ellipsis {
    color: #94a3b8;
    font-weight: 600;
    padding: 0 0.5rem;
}

@media (max-width: 768px) {
    .pagination-container {
        margin: 2rem 0 1rem 0;
        gap: 1rem;
    }
    
    .pagination-controls {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
    }
    
    .pagination-btn {
        width: 100%;
        max-width: 250px;
    }
    
    .pagination-pages {
        justify-content: center;
    }
    
    .pagination-page {
        width: 35px;
        height: 35px;
    }
}

/* Prevent Content Theft - Disable Right Click, Drag, and Text Selection */
.kit-image, .modal-kit-image {
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    user-drag: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    pointer-events: none;
    -webkit-touch-callout: none;
    -webkit-tap-highlight-color: transparent;
}

/* Prevent text selection on kit cards and modal content */
.kit-card, .modal-content {
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
}

/* Re-enable pointer events for buttons and interactive elements */
.kit-card button, .modal-btn, .pagination-btn, .filter-tab, .search-bar input {
    pointer-events: auto;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

/* Disable image context menu and dragging for all images */
img {
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    user-drag: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
    -webkit-touch-callout: none;
} 

/* ========================================
   NOTIFICATIONS
======================================== */

.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 10000;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    font-weight: 500;
    min-width: 300px;
    max-width: 450px;
}

.notification-success {
    background: rgba(40, 167, 69, 0.95);
    color: white;
}

.notification-error {
    background: rgba(220, 53, 69, 0.95);
    color: white;
}

.notification-info {
    background: rgba(103, 126, 234, 0.95);
    color: white;
}

.notification i {
    font-size: 1.25rem;
    flex-shrink: 0;
}

.notification span {
    flex-grow: 1;
}

.notification-close {
    background: none;
    border: none;
    color: currentColor;
    cursor: pointer;
    padding: 0.25rem;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.8;
    transition: opacity 0.2s ease;
}

.notification-close:hover {
    opacity: 1;
    background: rgba(255, 255, 255, 0.1);
}

/* ========================================
   USER MANAGEMENT ENHANCEMENTS
======================================== */

.user-email-cell {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.admin-tag {
    background: #dc3545;
    color: white;
    font-size: 0.7rem;
    padding: 0.2rem 0.5rem;
    border-radius: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.action-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
    pointer-events: none;
}

/* ========================================
   ADD USER MODAL
======================================== */

.add-user-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.add-user-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.add-user-form label {
    font-weight: 600;
    color: #2c3e50;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.add-user-form label i {
    color: #667eea;
}

.add-user-form input[type="email"] {
    padding: 0.875rem 1rem;
    border: 2px solid #e1e5e9;
    border-radius: 8px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #fff;
}

.add-user-form input[type="email"]:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
    transform: translateY(-1px);
}

.add-user-form small {
    color: #6c757d;
    font-size: 0.875rem;
}

.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 1rem;
}

.cancel-btn {
    padding: 0.75rem 1.5rem;
    border: 2px solid #6c757d;
    background: transparent;
    color: #6c757d;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cancel-btn:hover {
    background: #6c757d;
    color: white;
    transform: translateY(-1px);
}

.save-btn {
    padding: 0.75rem 1.5rem;
    border: none;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.save-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

/* ========================================
   ENHANCED TABLE STYLING
======================================== */

.users-table table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: white;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.users-table th {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    font-size: 0.875rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.users-table td {
    padding: 1rem;
    border-bottom: 1px solid #f1f3f4;
    vertical-align: middle;
}

.users-table tr:hover {
    background: #f8f9fa;
    transition: background-color 0.2s ease;
}

.users-table tr:last-child td {
    border-bottom: none;
}

/* ========================================
   STATUS BADGES
======================================== */

.status-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.status-badge.active {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.status-badge.inactive {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* ========================================
   RESPONSIVE DESIGN
======================================== */

@media (max-width: 768px) {
    .notification {
        top: 10px;
        right: 10px;
        left: 10px;
        min-width: auto;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .cancel-btn,
    .save-btn {
        width: 100%;
        justify-content: center;
    }
    
    .users-table {
        overflow-x: auto;
    }
    
    .users-table table {
        min-width: 600px;
    }
}

/* ========================================
   ANIMATION ENHANCEMENTS
======================================== */

.add-btn {
    transition: all 0.3s ease;
}

.add-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.action-btn {
    transition: all 0.2s ease;
}

.action-btn:hover:not(:disabled) {
    transform: scale(1.1);
}

.user-email-cell {
    transition: all 0.2s ease;
}

/* Add smooth loading animation for table rows */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.users-table tr {
    animation: fadeInUp 0.5s ease forwards;
} 

/* ========================================
   ONLINE USERS DISPLAY
======================================== */

.online-users-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    max-height: 300px;
    overflow-y: auto;
    padding: 0.5rem 0;
}

.online-user-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem;
    background: #f8f9fa;
    border-radius: 8px;
    border-left: 3px solid #667eea;
    transition: all 0.3s ease;
}

.online-user-item:hover {
    background: #e9ecef;
    transform: translateX(5px);
}

.user-info {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    flex-grow: 1;
}

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.25rem;
}

.user-avatar i {
    color: white;
}

.user-details {
    flex-grow: 1;
}

.user-email {
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 0.25rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.admin-badge-small {
    background: #dc3545;
    color: white;
    font-size: 0.6rem;
    padding: 0.15rem 0.4rem;
    border-radius: 8px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.user-sessions {
    font-size: 0.875rem;
    color: #6c757d;
    margin-bottom: 0.25rem;
}

.session-details {
    font-size: 0.75rem;
    color: #adb5bd;
    font-style: italic;
}

.online-indicator {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.online-dot {
    width: 12px;
    height: 12px;
    background: #28a745;
    border-radius: 50%;
    position: relative;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(40, 167, 69, 0.7);
    }
    70% {
        box-shadow: 0 0 0 6px rgba(40, 167, 69, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(40, 167, 69, 0);
    }
}

.multi-session {
    background: #ffc107;
    color: #212529;
    font-size: 0.7rem;
    padding: 0.15rem 0.4rem;
    border-radius: 10px;
    font-weight: 600;
}

.online-users-summary {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 6px;
    margin-top: 1rem;
    font-size: 0.875rem;
    font-weight: 500;
}

.online-users-summary span {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.loading-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 2rem;
    color: #6c757d;
}

.loading-indicator i {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.no-online-users {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 2rem;
    color: #6c757d;
    text-align: center;
}

.no-online-users i {
    font-size: 2rem;
    opacity: 0.5;
}

.online-users-error {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    background: #f8d7da;
    color: #721c24;
    border-radius: 6px;
    border: 1px solid #f5c6cb;
}

/* ========================================
   ONLINE USERS SCROLLBAR
======================================== */

.online-users-list::-webkit-scrollbar {
    width: 6px;
}

.online-users-list::-webkit-scrollbar-track {
    background: #f1f1f1;
    border-radius: 10px;
}

.online-users-list::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 10px;
}

.online-users-list::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

/* ========================================
   RESPONSIVE DESIGN FOR ONLINE USERS
======================================== */

@media (max-width: 768px) {
    .online-user-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .user-info {
        width: 100%;
    }
    
    .online-indicator {
        align-self: flex-end;
    }
    
    .online-users-summary {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
    
    .session-details {
        word-break: break-all;
    }
}

/* ========================================
   ENHANCED ADMIN CARD ANIMATIONS
======================================== */

.admin-card {
    transition: all 0.3s ease;
}

.admin-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

/* Add loading animation for online users */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.online-user-item {
    animation: fadeInUp 0.5s ease forwards;
} 

/* ========================================
   CUSTOM FONTS
======================================== */

@font-face {
    font-family: 'Absolute Xero';
    src: url('Absolute Xero.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* ========================================
   ENHANCED ROOT VARIABLES
======================================== */

:root {
    --primary-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --secondary-gradient: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --success-gradient: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --dark-gradient: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    --glass-bg: rgba(255, 255, 255, 0.95);
    --glass-border: rgba(255, 255, 255, 0.18);
    --shadow-primary: 0 20px 40px rgba(102, 126, 234, 0.15);
    --shadow-intense: 0 25px 50px rgba(0, 0, 0, 0.25);
    --border-radius: 20px;
    --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ========================================
   GLOBAL ENHANCEMENTS
======================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow-x: hidden;
    position: relative;
}

/* ========================================
   ANIMATED BACKGROUND PARTICLES
======================================== */

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(120, 119, 198, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(255, 119, 198, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(120, 219, 255, 0.15) 0%, transparent 50%);
    z-index: -1;
    animation: backgroundShift 20s ease-in-out infinite;
}

@keyframes backgroundShift {
    0%, 100% { 
        transform: translateX(0) translateY(0) rotate(0deg);
        filter: hue-rotate(0deg);
    }
    25% { 
        transform: translateX(-20px) translateY(-10px) rotate(90deg);
        filter: hue-rotate(90deg);
    }
    50% { 
        transform: translateX(20px) translateY(20px) rotate(180deg);
        filter: hue-rotate(180deg);
    }
    75% { 
        transform: translateX(-10px) translateY(10px) rotate(270deg);
        filter: hue-rotate(270deg);
    }
}

/* Dashboard Body */
.dashboard-body {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    min-height: 100vh;
    display: block;
    align-items: unset;
    justify-content: unset;
    position: relative;
    overflow-x: hidden;
}

.dashboard-body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 25% 75%, rgba(102, 126, 234, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 75% 25%, rgba(118, 75, 162, 0.05) 0%, transparent 50%);
    z-index: 0;
    pointer-events: none;
    animation: subtleFloat 15s ease-in-out infinite;
}

@keyframes subtleFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    33% { transform: translate(10px, -15px) scale(1.02); }
    66% { transform: translate(-15px, 10px) scale(0.98); }
}

/* ========================================
   ENHANCED HEADER STYLING
======================================== */

.dashboard-header {
    background: var(--primary-gradient);
    color: white;
    padding: 24px 0;
    box-shadow: var(--shadow-primary);
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
}

.header-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 16px;
    transition: var(--transition-smooth);
}

.logo-section:hover {
    transform: scale(1.02);
}

.header-logo {
    font-size: 40px;
    color: white;
    animation: logoFloat 3s ease-in-out infinite;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
}

@keyframes logoFloat {
    0%, 100% { 
        transform: translateY(0) rotate(0deg);
        filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2));
    }
    50% { 
        transform: translateY(-3px) rotate(5deg);
        filter: drop-shadow(0 8px 16px rgba(0, 0, 0, 0.3));
    }
}

.logo-section h1 {
    font-family: 'Absolute Xero', 'Segoe UI', sans-serif;
    font-size: 32px;
    font-weight: normal;
    margin: 0;
    background: linear-gradient(45deg, #ffffff, #f0f0f0, #ffffff);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: shimmerText 3s ease-in-out infinite;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
    letter-spacing: 1px;
}

@keyframes shimmerText {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* ========================================
   ENHANCED LIBRARY HEADER
======================================== */

.library-header {
    text-align: center;
    margin-bottom: 50px;
    position: relative;
    z-index: 1;
}

.library-header::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300px;
    height: 300px;
    background: radial-gradient(circle, rgba(102, 126, 234, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    z-index: -1;
    animation: pulseGlow 4s ease-in-out infinite;
}

@keyframes pulseGlow {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.5; }
    50% { transform: translate(-50%, -50%) scale(1.2); opacity: 0.8; }
}

.library-header h2 {
    font-family: 'Absolute Xero', 'Segoe UI', sans-serif;
    font-size: 56px;
    font-weight: normal;
    color: #333;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 4s ease-in-out infinite;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.1));
    letter-spacing: 2px;
    text-shadow: 0 0 30px rgba(102, 126, 234, 0.3);
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.library-header p {
    font-size: 20px;
    color: #666;
    margin-bottom: 40px;
    font-weight: 300;
    letter-spacing: 0.5px;
    opacity: 0.9;
}

/* ... existing code ... */