/* Video Academy Platform CSS */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #4f46e5;
    --primary-dark: #3730a3;
    --secondary-color: #06b6d4;
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --danger-color: #ef4444;
    --dark-bg: #1f2937;
    --darker-bg: #111827;
    --light-bg: #f8fafc;
    --white: #ffffff;
    --gray-100: #f3f4f6;
    --gray-200: #0a5b0a;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    --sidebar-width: 280px;
    --header-height: 70px;
    --border-radius: 12px;
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

body {
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: var(--light-bg);
    color: var(--gray-900);
    line-height: 1.6;
}

/* Academy Layout */
.academy-layout {
    display: flex;
    min-height: 100vh;
}

/* Sidebar Styles */
.sidebar {
    width: var(--sidebar-width);
    background: var(--white);
    border-right: 1px solid var(--gray-200);
    position: fixed;
    left: 0;
    top: 0;
    height: 100vh;
    overflow-y: auto;
    z-index: 1000;
    transition: transform 0.3s ease;
    box-shadow: var(--shadow-lg);
}

.sidebar-header {
    padding: 1.5rem;
    border-bottom: 1px solid var(--gray-200);
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo i {
    font-size: 2rem;
    color: var(--primary-color);
}

.logo h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-900);
    margin: 0;
}

.user-profile {
    padding: 1.5rem;
    border-bottom: 1px solid var(--gray-200);
    display: flex;
    align-items: center;
    gap: 1rem;
}

.user-avatar i {
    font-size: 3rem;
    color: var(--gray-400);
}

.user-info h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--gray-900);
    margin: 0 0 0.25rem 0;
}

.user-info p {
    font-size: 0.875rem;
    color: var(--gray-500);
    margin: 0;
}

.sidebar-nav {
    padding: 1rem 0;
}

.sidebar-nav ul {
    list-style: none;
}

.sidebar-nav li {
    margin: 0.25rem 0;
}

.sidebar-nav a {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.5rem;
    color: var(--gray-600);
    text-decoration: none;
    transition: all 0.2s ease;
    border-radius: 0;
    position: relative;
}

.sidebar-nav a:hover {
    background: var(--gray-50);
    color: var(--primary-color);
}

.sidebar-nav li.active a {
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    color: var(--white);
    font-weight: 600;
}

.sidebar-nav li.active a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--primary-color);
}

.sidebar-nav i {
    font-size: 1.25rem;
    width: 1.5rem;
    text-align: center;
}

.category-count {
    background: var(--gray-200);
    color: var(--gray-600);
    font-size: 0.75rem;
    padding: 0.125rem 0.5rem;
    border-radius: 9999px;
    min-width: 1.5rem;
    text-align: center;
    margin-left: auto;
}

.sidebar-nav li.active .category-count {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
}

.sidebar-stats {
    padding: 1.5rem;
    border-top: 1px solid var(--gray-200);
    margin-top: auto;
}

.sidebar-stats h4 {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--gray-700);
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.5rem 0;
    font-size: 0.875rem;
    color: var(--gray-600);
}

.stat-item i {
    color: var(--primary-color);
    width: 1.25rem;
    text-align: center;
}

/* Main Wrapper */
.main-wrapper {
    flex: 1;
    margin-left: var(--sidebar-width);
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Top Header */
.top-header {
    height: var(--header-height);
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 2rem;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: var(--shadow-sm);
}

.header-left {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.sidebar-toggle {
    display: none;
    background: none;
    border: none;
    font-size: 1.25rem;
    color: var(--gray-600);
    cursor: pointer;
    padding: 0.5rem;
    border-radius: var(--border-radius);
    transition: all 0.2s ease;
}

.sidebar-toggle:hover {
    background: var(--gray-100);
    color: var(--primary-color);
}

.header-left h1 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--gray-900);
    margin: 0;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.search-box {
    position: relative;
    display: flex;
    align-items: center;
}

.search-box i {
    position: absolute;
    left: 1rem;
    color: var(--gray-400);
    z-index: 1;
}

.search-box input {
    width: 300px;
    padding: 0.75rem 1rem 0.75rem 2.5rem;
    border: 1px solid var(--gray-300);
    border-radius: var(--border-radius);
    font-size: 0.875rem;
    background: var(--white);
    transition: all 0.2s ease;
}

.search-box input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.notification-btn {
    position: relative;
    background: none;
    border: none;
    font-size: 1.25rem;
    color: var(--gray-600);
    cursor: pointer;
    padding: 0.75rem;
    border-radius: var(--border-radius);
    transition: all 0.2s ease;
}

.notification-btn:hover {
    background: var(--gray-100);
    color: var(--primary-color);
}

.notification-btn .badge {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    background: var(--danger-color);
    color: var(--white);
    font-size: 0.75rem;
    padding: 0.125rem 0.375rem;
    border-radius: 9999px;
    min-width: 1.25rem;
    text-align: center;
    line-height: 1;
}

/* Category Tabs */
.category-tabs {
    background: var(--white);
    border-bottom: 1px solid var(--gray-200);
    padding: 0 2rem;
    overflow-x: auto;
}

.tab-container {
    display: flex;
    gap: 0.5rem;
    min-width: max-content;
}

.tab-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 1.5rem;
    background: none;
    border: none;
    color: var(--gray-600);
    font-size: 0.875rem;
    font-weight: 500;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    transition: all 0.2s ease;
    white-space: nowrap;
}

.tab-btn:hover {
    color: var(--primary-color);
    background: var(--gray-50);
}

.tab-btn.active {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
    background: var(--gray-50);
}

.tab-count {
    background: var(--gray-200);
    color: var(--gray-600);
    font-size: 0.75rem;
    padding: 0.125rem 0.5rem;
    border-radius: 9999px;
    min-width: 1.5rem;
    text-align: center;
}

.tab-btn.active .tab-count {
    background: var(--primary-color);
    color: var(--white);
}

/* Content Area */
.content-area {
    flex: 1;
    padding: 2rem;
    overflow-y: auto;
}

.content-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2rem;
}

.content-header h2 {
    font-size: 1.875rem;
    font-weight: 700;
    color: var(--gray-900);
    margin: 0;
}

.view-options {
    display: flex;
    gap: 0.5rem;
}

.view-btn {
    background: var(--white);
    border: 1px solid var(--gray-300);
    color: var(--gray-600);
    padding: 0.5rem;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 1rem;
}

.view-btn:hover {
    background: var(--gray-50);
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.view-btn.active {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
}

/* Videos Container */
.videos-container {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
}

.videos-container.list-view {
    grid-template-columns: 1fr;
    gap: 1rem;
}

.video-item {
    background: var(--white);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow);
    transition: all 0.3s ease;
    cursor: pointer;
    border: 1px solid var(--gray-200);
}

.video-item:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.list-view .video-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.list-view .video-item:hover {
    transform: none;
}

.video-thumbnail {
    position: relative;
    aspect-ratio: 16/9;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.list-view .video-thumbnail {
    width: 200px;
    flex-shrink: 0;
}

.thumbnail-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.video-item:hover .thumbnail-overlay {
    opacity: 1;
}

.thumbnail-overlay i {
    font-size: 3rem;
    color: var(--white);
}

.video-duration {
    position: absolute;
    bottom: 0.5rem;
    right: 0.5rem;
    background: rgba(0, 0, 0, 0.8);
    color: var(--white);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 500;
}

.progress-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: rgba(0, 0, 0, 0.3);
}

.progress-fill {
    height: 100%;
    background: var(--success-color);
    transition: width 0.3s ease;
}

.completed-badge {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    background: var(--success-color);
    color: var(--white);
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
}

.video-info {
    padding: 1.5rem;
}

.list-view .video-info {
    flex: 1;
    padding: 1rem;
}

.video-info h3 {
    font-size: 1.125rem;
    font-weight: 600;
    color: var(--gray-900);
    margin: 0 0 0.5rem 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.video-description {
    color: var(--gray-600);
    font-size: 0.875rem;
    line-height: 1.5;
    margin: 0 0 1rem 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.video-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    font-size: 0.75rem;
    color: var(--gray-500);
}

.video-meta span {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.category-tag {
    background: var(--primary-color);
    color: var(--white) !important;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-weight: 500;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--gray-500);
}

.empty-state i {
    font-size: 4rem;
    color: var(--gray-300);
    margin-bottom: 1rem;
}

.empty-state h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--gray-700);
    margin: 0 0 0.5rem 0;
}

.empty-state p {
    font-size: 1rem;
    margin: 0 0 2rem 0;
}

/* Responsive Sidebar */
.sidebar-collapsed .sidebar {
    transform: translateX(-100%);
}

.sidebar-collapsed .main-wrapper {
    margin-left: 0;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .sidebar {
        transform: translateX(-100%);
    }
    
    .main-wrapper {
        margin-left: 0;
    }
    
    .sidebar-toggle {
        display: block;
    }
    
    .top-header {
        padding: 0 1rem;
    }
    
    .header-left h1 {
        font-size: 1.25rem;
    }
    
    .search-box input {
        width: 200px;
    }
    
    .content-area {
        padding: 1rem;
    }
    
    .videos-container {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .content-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .category-tabs {
        padding: 0 1rem;
    }
    
    .tab-btn {
        padding: 0.75rem 1rem;
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .search-box {
        display: none;
    }
    
    .header-right {
        gap: 0.5rem;
    }
    
    .list-view .video-item {
        flex-direction: column;
    }
    
    .list-view .video-thumbnail {
        width: 100%;
    }
}

/* Legacy styles for non-academy pages */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

body:not(.academy-layout) .header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
    border-radius: 15px;
}

body:not(.academy-layout) .header h1 {
    text-align: center;
    color: #4a5568;
    font-size: 2.5em;
    font-weight: 300;
}

body:not(.academy-layout) .nav {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 15px;
}

body:not(.academy-layout) .nav a {
    color: #667eea;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 25px;
    transition: all 0.3s ease;
    font-weight: 500;
}

body:not(.academy-layout) .nav a:hover {
    background: #667eea;
    color: white;
    transform: translateY(-2px);
}

/* Login Form */
.login-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 80vh;
}

.login-form {
    background: rgba(255, 255, 255, 0.95);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    width: 100%;
    max-width: 400px;
}

.login-form h2 {
    text-align: center;
    margin-bottom: 30px;
    color: #4a5568;
    font-weight: 300;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #4a5568;
    font-weight: 500;
}

.form-group input {
    width: 100%;
    padding: 12px 15px;
    border: 2px solid #0a5b0a;
    border-radius: 10px;
    font-size: 16px;
    transition: all 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 12px 30px;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-size: 16px;
    font-weight: 500;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.3);
}

.btn-full {
    width: 100%;
}

/* Categories Grid */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.category-card {
    background: rgba(255, 255, 255, 0.95);
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    cursor: pointer;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.category-card h3 {
    color: #4a5568;
    margin-bottom: 10px;
    font-size: 1.5em;
}

.category-card p {
    color: #718096;
    line-height: 1.6;
}

/* Videos Grid */
.videos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 25px;
    margin-top: 30px;
}

.video-card {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.video-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.video-thumbnail {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3em;
}

.video-info {
    padding: 20px;
}

.video-info h4 {
    color: #4a5568;
    margin-bottom: 10px;
    font-size: 1.2em;
}

.video-info p {
    color: #718096;
    font-size: 0.9em;
    line-height: 1.5;
    margin-bottom: 10px;
}

.video-meta {
    display: flex;
    justify-content: space-between;
    color: #a0aec0;
    font-size: 0.8em;
}

/* Video Player */
.video-player-container {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.video-player {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    border-radius: 10px;
    overflow: hidden;
}

.video-player video {
    width: 100%;
    height: auto;
}

.video-details {
    margin-top: 20px;
}

.video-details h2 {
    color: #4a5568;
    margin-bottom: 15px;
}

.video-details p {
    color: #718096;
    line-height: 1.6;
    margin-bottom: 10px;
}

/* Admin Panel */
.admin-panel {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 15px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.admin-actions {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.table th,
.table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #0a5b0a;
}

.table th {
    background: #f7fafc;
    color: #4a5568;
    font-weight: 600;
}

.table tr:hover {
    background: #f7fafc;
}

/* Alerts */
.alert {
    padding: 15px 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    font-weight: 500;
}

.alert-success {
    background: #c6f6d5;
    color: #22543d;
    border: 1px solid #9ae6b4;
}

.alert-error {
    background: #fed7d7;
    color: #742a2a;
    border: 1px solid #fc8181;
}

/* Upload Form */
.upload-form {
    background: rgba(255, 255, 255, 0.95);
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-bottom: 30px;
}

.file-upload {
    border: 2px dashed #cbd5e0;
    border-radius: 10px;
    padding: 40px;
    text-align: center;
    transition: all 0.3s ease;
}

.file-upload:hover {
    border-color: #667eea;
    background: rgba(102, 126, 234, 0.05);
}

.file-upload input[type="file"] {
    display: none;
}

.file-upload label {
    cursor: pointer;
    color: #667eea;
    font-weight: 500;
}

/* Responsive */
@media (max-width: 768px) {
    .container {
        padding: 10px;
    }
    
    .header h1 {
        font-size: 2em;
    }
    
    .nav {
        flex-direction: column;
        align-items: center;
    }
    
    .categories-grid,
    .videos-grid {
        grid-template-columns: 1fr;
    }
    
    .admin-actions {
        flex-direction: column;
    }
    
    .table {
        font-size: 0.9em;
    }
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Back Button */
.back-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 20px;
    color: #667eea;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.back-btn:hover {
    color: #764ba2;
    transform: translateX(-3px);
}

/* Admin Layout Styles */
.admin-layout {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    min-height: 100vh;
}

.admin-layout .header {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.admin-layout .header h1 {
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    font-weight: 600;
}

.admin-layout .nav a {
    color: rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
}

.admin-layout .nav a:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.admin-layout .admin-panel {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.admin-layout .admin-panel h2 {
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.admin-layout .admin-panel p {
    color: rgba(255, 255, 255, 0.8);
}

.admin-layout .category-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
}

.admin-layout .category-card:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.admin-layout .category-card h3 {
    color: #ffffff;
    font-size: 2.5em;
    font-weight: 700;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.admin-layout .category-card p {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

.admin-layout .btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
    backdrop-filter: blur(10px);
}

.admin-layout .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
    border-color: rgba(255, 255, 255, 0.4);
}

.admin-layout .table {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(15px);
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.admin-layout .table th {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    font-weight: 600;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.admin-layout .table td {
    color: rgba(255, 255, 255, 0.9);
    border-bottom-color: rgba(255, 255, 255, 0.1);
}

.admin-layout .table tr:hover {
    background: rgba(255, 255, 255, 0.1);
}

.admin-layout h3 {
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    margin-top: 40px;
    margin-bottom: 20px;
}

/* Admin Login Styles */
.admin-login {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    min-height: 100vh;
}

.admin-login .header {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.admin-login .header h1 {
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.admin-login .login-form {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.admin-login .login-form h2 {
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.admin-login .form-group label {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 600;
}

.admin-login .form-group input {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #ffffff;
    backdrop-filter: blur(10px);
}

.admin-login .form-group input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.admin-login .form-group input:focus {
    border-color: #667eea;
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.3);
}

.admin-login .btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.admin-login .btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

/* User Login Styles */
.user-login {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
}

.user-login .header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
}

.user-login .header h1 {
    color: #4a5568;
}

.user-login .login-form {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
}

.user-login .login-form h2 {
    color: #4a5568;
}

/* Modern Login Styles */
.modern-login {
    margin: 0;
    padding: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    overflow-x: hidden;
}

.login-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #431748 0%, #0a5b0a 30%, #431748 70%, #0a5b0a 100%);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
    z-index: -2;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.floating-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.shape {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(15px);
    animation: float 20s infinite linear;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.shape-1 {
    width: 80px;
    height: 80px;
    top: 10%;
    left: 10%;
    animation-duration: 25s;
}

.shape-2 {
    width: 120px;
    height: 120px;
    top: 20%;
    right: 15%;
    animation-duration: 30s;
    animation-direction: reverse;
}

.shape-3 {
    width: 60px;
    height: 60px;
    bottom: 30%;
    left: 20%;
    animation-duration: 22s;
}

.shape-4 {
    width: 100px;
    height: 100px;
    bottom: 20%;
    right: 25%;
    animation-duration: 28s;
    animation-direction: reverse;
}

.shape-5 {
    width: 140px;
    height: 140px;
    top: 50%;
    left: 5%;
    animation-duration: 35s;
}

.shape-6 {
    width: 90px;
    height: 90px;
    top: 70%;
    right: 10%;
    animation-duration: 26s;
    animation-direction: reverse;
}

@keyframes float {
    0% {
        transform: translateY(0px) rotate(0deg);
        opacity: 0.7;
    }
    33% {
        transform: translateY(-30px) rotate(120deg);
        opacity: 0.4;
    }
    66% {
        transform: translateY(30px) rotate(240deg);
        opacity: 0.8;
    }
    100% {
        transform: translateY(0px) rotate(360deg);
        opacity: 0.7;
    }
}

.gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(67, 23, 72, 0.3) 0%, rgba(10, 91, 10, 0.3) 50%, rgba(67, 23, 72, 0.2) 100%);
    z-index: -1;
}

.login-wrapper {
    display: flex;
    min-height: 100vh;
    position: relative;
    z-index: 1;
}

.login-branding {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border-right: 1px solid rgba(255, 255, 255, 0.1);
}

.brand-content {
    max-width: 500px;
    text-align: center;
    color: white;
}

.brand-logo {
    margin-bottom: 3rem;
}

.logo-icon {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.logo-icon i {
    font-size: 2.5rem;
    color: white;
}

.brand-logo h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin: 0 0 0.5rem 0;
    background: linear-gradient(135deg, #ffffff 0%, #0a5b0a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo-subtitle {
    font-size: 1rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1rem;
    letter-spacing: 0.5px;
}

.logo-container {
    position: relative;
    display: inline-block;
    margin-bottom: 1.5rem;
}

.logo-icon {
    position: relative;
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, #431748 0%, #0a5b0a 50%, #431748 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
    box-shadow: 
        0 0 30px rgba(67, 23, 72, 0.4),
        0 0 60px rgba(10, 91, 10, 0.3),
        inset 0 0 20px rgba(255, 255, 255, 0.1);
    border: 3px solid rgba(255, 255, 255, 0.2);
    overflow: hidden;
    animation: logoRotate 20s linear infinite;
}

@keyframes logoRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.rattan-pattern {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-around;
    padding: 20px;
}

.pattern-line {
    width: 2px;
    height: 80px;
    background: linear-gradient(
        to bottom,
        transparent 0%,
        rgba(255, 255, 255, 0.3) 10%,
        rgba(255, 255, 255, 0.6) 50%,
        rgba(255, 255, 255, 0.3) 90%,
        transparent 100%
    );
    border-radius: 1px;
    animation: rattanWave 3s ease-in-out infinite;
}

.pattern-line:nth-child(1) { animation-delay: 0s; }
.pattern-line:nth-child(2) { animation-delay: 0.2s; }
.pattern-line:nth-child(3) { animation-delay: 0.4s; }
.pattern-line:nth-child(4) { animation-delay: 0.6s; }
.pattern-line:nth-child(5) { animation-delay: 0.8s; }

@keyframes rattanWave {
    0%, 100% { 
        transform: scaleY(1);
        opacity: 0.6;
    }
    50% { 
        transform: scaleY(1.2);
        opacity: 1;
    }
}

.logo-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 2;
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.logo-center i {
    font-size: 2rem;
    color: white;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
    animation: logoGlow 2s ease-in-out infinite alternate;
}

@keyframes logoGlow {
    0% { 
        text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
        transform: scale(1);
    }
    100% { 
        text-shadow: 0 0 20px rgba(255, 255, 255, 0.8);
        transform: scale(1.05);
    }
}

.logo-glow {
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: radial-gradient(
        circle,
        rgba(67, 23, 72, 0.3) 0%,
        rgba(10, 91, 10, 0.2) 50%,
        transparent 70%
    );
    border-radius: 50%;
    animation: pulseGlow 4s ease-in-out infinite;
    z-index: -1;
}

@keyframes pulseGlow {
    0%, 100% { 
        transform: scale(1);
        opacity: 0.7;
    }
    50% { 
        transform: scale(1.1);
        opacity: 1;
    }
}

.brand-description {
    margin-bottom: 3rem;
}

.brand-description h2 {
    font-size: 1.8rem;
    font-weight: 600;
    margin: 0 0 1rem 0;
    color: rgba(255, 255, 255, 0.95);
}

.brand-description p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

.brand-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: rgba(10, 91, 10, 0.2);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(10, 91, 10, 0.3);
    transition: all 0.3s ease;
}

.feature:hover {
    background: rgba(10, 91, 10, 0.3);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(10, 91, 10, 0.2);
}

.feature i {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.9);
}

.feature span {
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
}

.login-form-container {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
}

.login-form-wrapper {
    width: 100%;
    max-width: 450px;
    background: #0a5b0a;
    backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 3rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.login-form-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1) 0%, rgba(255, 255, 255, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.login-form-wrapper:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.15);
    border-color: rgba(255, 255, 255, 0.2);
}

.login-form-wrapper:hover::before {
    opacity: 1;
}

.form-header {
    text-align: center;
    margin-bottom: 2.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
}

.login-logo {
    margin: 0 auto 3rem auto;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    position: relative;
    width: fit-content;
    flex-direction: column;
    gap: 1rem;
}

.login-logo::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
}

.logo-image {
    max-width: 180px;
    max-height: 180px;
    width: auto;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    object-fit: contain;
    position: relative;
    z-index: 1;
    border: 3px solid rgba(255, 255, 255, 0.2);
}

.logo-image:hover {
    transform: scale(1.05);
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.5);
    border-color: rgba(255, 255, 255, 0.3);
}

.welcome-text {
    text-align: center;
    margin: 0;
}

.welcome-text h2 {
    font-size: 2rem;
    font-weight: 600;
    color: #ffffff;
    margin: 0;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
    letter-spacing: 0.5px;
    animation: welcomeGlow 3s ease-in-out infinite alternate;
}

@keyframes welcomeGlow {
    0% {
        text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
    }
    100% {
        text-shadow: 0 2px 20px rgba(255, 255, 255, 0.3), 0 2px 10px rgba(0, 0, 0, 0.8);
    }
}

.form-header h2 {
    font-size: 2.2rem;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 0.75rem 0;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

.form-header p {
    font-size: 1.1rem;
    color: #ffffff;
    margin: 0;
    font-weight: 600;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.7);
}

.modern-form {
    margin-bottom: 2rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.input-wrapper input {
    width: 100%;
    padding: 1.25rem 1rem 1.25rem 3.5rem;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 16px;
    font-size: 1rem;
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(20px);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    outline: none;
    color: #ffffff;
    font-weight: 500;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.input-wrapper input::placeholder {
    color: rgba(255, 255, 255, 0.7);
    font-weight: 400;
}

.input-wrapper input:focus {
    border-color: #431748;
    background: rgba(0, 0, 0, 0.3);
    box-shadow: 0 0 0 4px rgba(67, 23, 72, 0.3), 0 8px 32px rgba(0, 0, 0, 0.3);
    transform: translateY(-3px);
}

.input-wrapper.focused input,
.input-wrapper.has-value input {
    border-color: #431748;
    background: rgba(0, 0, 0, 0.3);
    box-shadow: 0 0 0 4px rgba(67, 23, 72, 0.3), 0 8px 32px rgba(0, 0, 0, 0.3);
    transform: translateY(-3px);
}

.input-wrapper.error input {
    border-color: #e53e3e;
    box-shadow: 0 0 0 4px rgba(229, 62, 62, 0.1);
}

.input-icon {
    position: absolute;
    left: 1.25rem;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.2rem;
    z-index: 2;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.input-wrapper.focused .input-icon,
.input-wrapper.has-value .input-icon {
    color: #431748;
    transform: scale(1.1);
}

.input-wrapper label {
    position: absolute;
    left: 3.5rem;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
    pointer-events: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: transparent;
    padding: 0 0.5rem;
    font-weight: 500;
}

.input-wrapper.focused label,
.input-wrapper.has-value label {
    top: -0.5rem;
    left: 3rem;
    font-size: 0.8rem;
    color: #431748;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.9);
    border-radius: 8px;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.password-toggle {
    position: absolute;
    right: 1.25rem;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.8);
    cursor: pointer;
    padding: 0.75rem;
    border-radius: 8px;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    z-index: 2;
    font-size: 1.1rem;
}

.password-toggle:hover {
    color: #431748;
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
}

.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.checkbox-wrapper {
    display: flex;
    align-items: center;
    cursor: pointer;
    user-select: none;
}

.checkbox-wrapper input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 6px;
    margin-right: 0.75rem;
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.checkbox-wrapper:hover .checkmark {
    border-color: rgba(255, 255, 255, 0.5);
    background: rgba(255, 255, 255, 0.15);
    transform: scale(1.1);
}

.checkbox-wrapper input[type="checkbox"]:checked + .checkmark {
    background: linear-gradient(135deg, #431748 0%, #0a5b0a 100%);
    border-color: #431748;
    transform: scale(1.1);
}

.checkbox-wrapper input[type="checkbox"]:checked + .checkmark::after {
    content: '';
    position: absolute;
    left: 6px;
    top: 2px;
    width: 6px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.checkbox-text {
    font-size: 0.9rem;
    color: #ffffff !important;
    font-weight: 600;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.8);
}

.forgot-password {
    font-size: 0.9rem;
    color: #ffffff;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.8);
}

.forgot-password::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transition: left 0.4s ease;
}

.forgot-password:hover {
    color: #ffffff;
    transform: translateY(-2px);
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

.forgot-password:hover::before {
    left: 0;
}

.login-btn {
    width: 100%;
    padding: 1.25rem 2rem;
    background: linear-gradient(135deg, #431748 0%, #0a5b0a 100%);
    color: white;
    border: none;
    border-radius: 16px;
    font-size: 1.1rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(67, 23, 72, 0.4);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.login-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.login-btn:hover::before {
    left: 100%;
}

.login-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(67, 23, 72, 0.6);
    background: linear-gradient(135deg, #0a5b0a 0%, #431748 100%);
}

.login-btn:active {
    transform: translateY(-1px);
}

.login-btn.loading {
    pointer-events: none;
    background: linear-gradient(135deg, #431748 0%, #0a5b0a 100%);
    animation: pulse 1.5s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: translateY(-3px) scale(1);
        box-shadow: 0 12px 40px rgba(67, 23, 72, 0.4);
    }
    50% {
        transform: translateY(-3px) scale(1.02);
        box-shadow: 0 15px 50px rgba(67, 23, 72, 0.6);
    }
}

.btn-text,
.btn-loading {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.login-btn:not(.loading) .btn-loading {
    opacity: 0;
    position: absolute;
    transform: translateY(10px);
}

.login-btn.loading .btn-text {
    opacity: 0;
    transform: translateY(-10px);
}

.login-btn.loading .btn-loading {
    opacity: 1;
    position: static;
    transform: translateY(0);
}

.login-btn.loading .btn-loading i {
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.demo-account {
    background: rgba(67, 23, 72, 0.08);
    border: 1px solid rgba(67, 23, 72, 0.2);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.demo-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    color: #431748;
    font-weight: 600;
    font-size: 0.9rem;
}

.demo-credentials {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

.demo-item {
    background: rgba(255, 255, 255, 0.8);
    padding: 0.75rem;
    border-radius: 8px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(102, 126, 234, 0.1);
}

.demo-item:hover {
    background: rgba(67, 23, 72, 0.1);
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(67, 23, 72, 0.2);
}

.demo-item strong {
    color: #4a5568;
}

.form-footer {
    text-align: center;
}

.divider {
    position: relative;
    margin: 2rem 0;
    text-align: center;
}

.divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #0a5b0a;
}

.divider span {
    background: rgba(255, 255, 255, 0.95);
    padding: 0 1rem;
    color: #a0aec0;
    font-size: 0.9rem;
}

.admin-link {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    background: rgba(10, 91, 10, 0.1);
    border: 1px solid rgba(10, 91, 10, 0.3);
    border-radius: 12px;
    color: #0a5b0a;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.admin-link:hover {
    background: rgba(10, 91, 10, 0.2);
    border-color: rgba(10, 91, 10, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(10, 91, 10, 0.2);
}

.alert {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    font-weight: 500;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.alert-error {
    background: rgba(229, 62, 62, 0.1);
    color: #c53030;
    border: 1px solid rgba(229, 62, 62, 0.2);
}

.alert-success {
    background: rgba(72, 187, 120, 0.1);
    color: #2f855a;
    border: 1px solid rgba(72, 187, 120, 0.2);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .login-wrapper {
        flex-direction: column;
    }
    
    .login-branding {
        flex: none;
        min-height: 35vh;
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    }
    
    .login-form-wrapper {
        max-width: 400px;
        padding: 2.5rem;
    }
    
    .brand-features {
        grid-template-columns: repeat(4, 1fr);
        gap: 1rem;
    }
    
    .feature {
        flex-direction: column;
        text-align: center;
        padding: 0.75rem;
    }
    
    .feature span {
        font-size: 0.8rem;
    }
}

@media (max-width: 768px) {
    .login-branding,
    .login-form-container {
        padding: 1.5rem;
    }
    
    .login-form-wrapper {
        max-width: 100%;
        padding: 2rem;
        margin: 0 1rem;
    }
    
    .brand-logo h1 {
        font-size: 2rem;
    }
    
    .brand-description h2 {
        font-size: 1.5rem;
    }
    
    .brand-description p {
        font-size: 1rem;
    }
    
    .brand-features {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .form-header h2 {
        font-size: 1.9rem;
    }
    
    .form-header p {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .login-branding,
    .login-form-container {
        padding: 1rem;
    }
    
    .login-form-wrapper {
        padding: 1.5rem;
        margin: 0 0.5rem;
        border-radius: 20px;
    }
    
    .login-branding {
        min-height: 30vh;
    }
    
    .brand-content {
        max-width: 100%;
    }
    
    .logo-icon {
        width: 60px;
        height: 60px;
    }
    
    .logo-icon i {
        font-size: 2rem;
    }
    
    .brand-logo h1 {
        font-size: 1.75rem;
    }
    
    .brand-description {
        margin-bottom: 2rem;
    }
    
    .form-header h2 {
        font-size: 1.6rem;
    }
    
    .form-header p {
        font-size: 0.9rem;
    }
    
    .input-wrapper input {
        padding: 1rem 1rem 1rem 3rem;
        font-size: 0.95rem;
    }
    
    .login-btn {
        padding: 1rem 1.5rem;
        font-size: 1rem;
    }
    
    .login-logo {
        margin-bottom: 2rem;
        padding: 1.5rem;
    }
    
    .login-logo::before {
        width: 150px;
        height: 150px;
    }
    
    .logo-image {
        max-width: 140px;
        max-height: 140px;
        border-width: 2px;
    }
    
    .welcome-text h2 {
        font-size: 1.5rem;
    }
    
    .brand-description h2 {
        font-size: 1.25rem;
    }
    
    .brand-description p {
        font-size: 0.9rem;
    }
    
    .brand-features {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .feature {
        flex-direction: row;
        justify-content: flex-start;
        text-align: left;
        padding: 0.75rem;
    }
    
    .form-header h2 {
        font-size: 1.5rem;
    }
    
    .form-header p {
        font-size: 0.9rem;
    }
    
    .demo-credentials {
        grid-template-columns: 1fr;
    }
    
    .form-options {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
}

/* Modern Admin Login Styles */
.modern-admin-login {
    margin: 0;
    padding: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    overflow-x: hidden;
}

.admin-login-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 25%, #334155 50%, #1e293b 75%, #0f172a 100%);
    z-index: -2;
}

.cyber-grid {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.grid-line {
    position: absolute;
    background: linear-gradient(90deg, transparent 0%, #3b82f6 50%, transparent 100%);
    opacity: 0.3;
    animation: gridPulse 4s ease-in-out infinite;
}

.grid-line.horizontal {
    width: 100%;
    height: 1px;
}

.grid-line.vertical {
    width: 1px;
    height: 100%;
    background: linear-gradient(0deg, transparent 0%, #3b82f6 50%, transparent 100%);
}

@keyframes gridPulse {
    0%, 100% { opacity: 0.1; }
    50% { opacity: 0.4; }
}

.floating-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: #3b82f6;
    border-radius: 50%;
    animation: particleFloat 8s infinite linear;
    box-shadow: 0 0 10px #3b82f6;
}

.particle-1 { top: 10%; left: 10%; animation-duration: 12s; }
.particle-2 { top: 20%; right: 15%; animation-duration: 15s; animation-direction: reverse; }
.particle-3 { bottom: 30%; left: 20%; animation-duration: 10s; }
.particle-4 { bottom: 20%; right: 25%; animation-duration: 14s; animation-direction: reverse; }
.particle-5 { top: 50%; left: 5%; animation-duration: 18s; }
.particle-6 { top: 70%; right: 10%; animation-duration: 11s; animation-direction: reverse; }
.particle-7 { top: 30%; left: 60%; animation-duration: 16s; }
.particle-8 { bottom: 40%; right: 40%; animation-duration: 13s; animation-direction: reverse; }

@keyframes particleFloat {
    0% {
        transform: translateY(0px) translateX(0px) rotate(0deg);
        opacity: 0.8;
    }
    25% {
        transform: translateY(-20px) translateX(10px) rotate(90deg);
        opacity: 1;
    }
    50% {
        transform: translateY(-10px) translateX(-15px) rotate(180deg);
        opacity: 0.6;
    }
    75% {
        transform: translateY(-30px) translateX(5px) rotate(270deg);
        opacity: 1;
    }
    100% {
        transform: translateY(0px) translateX(0px) rotate(360deg);
        opacity: 0.8;
    }
}

.admin-gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 30% 70%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 70% 30%, rgba(139, 92, 246, 0.1) 0%, transparent 50%);
    z-index: -1;
}

.admin-login-wrapper {
    display: flex;
    min-height: 100vh;
    position: relative;
    z-index: 1;
}

.admin-branding {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(20px);
    border-right: 1px solid rgba(59, 130, 246, 0.2);
}

.admin-brand-content {
    max-width: 500px;
    text-align: center;
    color: white;
}

.admin-brand-logo {
    margin-bottom: 3rem;
}

.admin-logo-icon {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(59, 130, 246, 0.3);
    box-shadow: 0 0 30px rgba(59, 130, 246, 0.3);
}

.admin-logo-icon i {
    font-size: 3rem;
    color: white;
}

.admin-brand-logo h1 {
    font-size: 2.8rem;
    font-weight: 800;
    margin: 0 0 1rem 0;
    background: linear-gradient(135deg, #ffffff 0%, #3b82f6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.security-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(59, 130, 246, 0.2);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #431748;
}

.admin-brand-description {
    margin-bottom: 3rem;
}

.admin-brand-description h2 {
    font-size: 2rem;
    font-weight: 700;
    margin: 0 0 1rem 0;
    color: rgba(255, 255, 255, 0.95);
}

.admin-brand-description p {
    font-size: 1.1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
}

.admin-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    margin-bottom: 2rem;
}

.admin-feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(59, 130, 246, 0.2);
    transition: all 0.3s ease;
}

.admin-feature:hover {
    background: rgba(59, 130, 246, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(59, 130, 246, 0.2);
}

.admin-feature i {
    font-size: 1.25rem;
    color: #431748;
}

.admin-feature span {
    font-size: 0.9rem;
    font-weight: 500;
    color: rgba(255, 255, 255, 0.9);
}

.security-info {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.security-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
}

.security-item i {
    color: #10b981;
}

.admin-form-container {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    background: rgba(30, 41, 59, 0.9);
    backdrop-filter: blur(20px);
}

.admin-form-wrapper {
    width: 100%;
    max-width: 450px;
}

.admin-form-header {
    text-align: center;
    margin-bottom: 2rem;
}

.admin-icon-large {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: 0 0 30px rgba(59, 130, 246, 0.4);
}

.admin-icon-large i {
    font-size: 2.5rem;
    color: white;
}

.admin-form-header h2 {
    font-size: 2.2rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 0.5rem 0;
}

.admin-form-header p {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0 0 1.5rem 0;
}

.security-level {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
}

.security-dots {
    display: flex;
    gap: 0.5rem;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.dot.active {
    background: #10b981;
    box-shadow: 0 0 10px #10b981;
}

.dot.pulse {
    animation: dotPulse 1s ease-in-out;
}

@keyframes dotPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.3); }
}

.security-text {
    font-size: 0.85rem;
    color: #10b981;
    font-weight: 600;
}

.admin-modern-form {
    margin-bottom: 2rem;
}

.admin-form-group {
    margin-bottom: 1.5rem;
}

.admin-input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.admin-input-wrapper input {
    width: 100%;
    padding: 1rem 1rem 1rem 3.5rem;
    border: 2px solid rgba(59, 130, 246, 0.3);
    border-radius: 12px;
    font-size: 1rem;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    outline: none;
    color: white;
}

.admin-input-wrapper input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.admin-input-wrapper input:focus {
    border-color: #3b82f6;
    background: rgba(15, 23, 42, 0.9);
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.2);
}

.admin-input-wrapper.focused input,
.admin-input-wrapper.has-value input {
    border-color: #3b82f6;
}

.admin-input-wrapper.error input {
    border-color: #ef4444;
    box-shadow: 0 0 0 4px rgba(239, 68, 68, 0.2);
}

.admin-input-icon {
    position: absolute;
    left: 1rem;
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.1rem;
    z-index: 2;
    transition: color 0.3s ease;
}

.admin-input-wrapper.focused .admin-input-icon,
.admin-input-wrapper.has-value .admin-input-icon {
    color: #431748;
}

.admin-input-wrapper label {
    position: absolute;
    left: 3.5rem;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.6);
    font-size: 1rem;
    pointer-events: none;
    transition: all 0.3s ease;
    background: rgba(15, 23, 42, 0.9);
    padding: 0 0.25rem;
}

.admin-input-wrapper.focused label,
.admin-input-wrapper.has-value label {
    top: 0;
    left: 3rem;
    font-size: 0.75rem;
    color: #431748;
    font-weight: 600;
}

.admin-password-toggle {
    position: absolute;
    right: 1rem;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 6px;
    transition: all 0.3s ease;
    z-index: 2;
}

.admin-password-toggle:hover {
    color: #431748;
    background: rgba(59, 130, 246, 0.1);
}

.admin-form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

.admin-checkbox-wrapper {
    display: flex;
    align-items: center;
    cursor: pointer;
    user-select: none;
}

.admin-checkbox-wrapper input[type="checkbox"] {
    display: none;
}

.admin-checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(59, 130, 246, 0.3);
    border-radius: 4px;
    margin-right: 0.75rem;
    position: relative;
    transition: all 0.3s ease;
    background: rgba(15, 23, 42, 0.8);
}

.admin-checkbox-wrapper input[type="checkbox"]:checked + .admin-checkmark {
    background: #3b82f6;
    border-color: #3b82f6;
}

.admin-checkbox-wrapper input[type="checkbox"]:checked + .admin-checkmark::after {
    content: '';
    position: absolute;
    left: 6px;
    top: 2px;
    width: 6px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.admin-checkbox-text {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.8);
}

.session-info {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.6);
}

.admin-login-btn {
    width: 100%;
    padding: 1.2rem 2rem;
    background: linear-gradient(135deg, #3b82f6 0%, #8b5cf6 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
}

.admin-login-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.5);
}

.admin-login-btn:active {
    transform: translateY(0);
}

.admin-login-btn.loading {
    pointer-events: none;
}

.admin-btn-text,
.admin-btn-loading {
    transition: opacity 0.3s ease;
}

.admin-login-btn:not(.loading) .admin-btn-loading {
    opacity: 0;
    position: absolute;
}

.admin-login-btn.loading .admin-btn-text {
    opacity: 0;
}

.admin-login-btn.loading .admin-btn-loading {
    opacity: 1;
    position: static;
}

.admin-demo-account {
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.2);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
}

.admin-demo-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    color: #431748;
    font-weight: 600;
    font-size: 0.9rem;
}

.demo-badge {
    background: #ef4444;
    color: white;
    font-size: 0.7rem;
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-weight: 700;
    margin-left: auto;
}

.admin-demo-credentials {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
}

.admin-demo-item {
    background: rgba(15, 23, 42, 0.8);
    padding: 0.75rem;
    border-radius: 8px;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(59, 130, 246, 0.2);
    color: rgba(255, 255, 255, 0.9);
}

.admin-demo-item:hover {
    background: rgba(59, 130, 246, 0.2);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.2);
}

.admin-demo-item strong {
    color: #431748;
}

.admin-form-footer {
    text-align: center;
}

.admin-divider {
    position: relative;
    margin: 2rem 0;
    text-align: center;
}

.admin-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: rgba(59, 130, 246, 0.3);
}

.admin-divider span {
    background: rgba(30, 41, 59, 0.9);
    padding: 0 1rem;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.student-link {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 12px;
    color: #10b981;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.student-link:hover {
    background: rgba(16, 185, 129, 0.2);
    border-color: rgba(16, 185, 129, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.2);
}

.admin-alert {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    font-weight: 500;
    animation: adminSlideIn 0.3s ease;
}

@keyframes adminSlideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.admin-alert-error {
    background: rgba(239, 68, 68, 0.2);
    color: #fca5a5;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.admin-alert-success {
    background: rgba(16, 185, 129, 0.2);
    color: #6ee7b7;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

/* Admin Responsive Design */
@media (max-width: 1024px) {
    .admin-login-wrapper {
        flex-direction: column;
    }
    
    .admin-branding {
        flex: none;
        min-height: 40vh;
        border-right: none;
        border-bottom: 1px solid rgba(59, 130, 246, 0.2);
    }
    
    .admin-features {
        grid-template-columns: repeat(4, 1fr);
        gap: 0.75rem;
    }
    
    .admin-feature {
        flex-direction: column;
        text-align: center;
        padding: 0.75rem;
    }
    
    .admin-feature span {
        font-size: 0.8rem;
    }
    
    .security-info {
        gap: 1rem;
    }
}

@media (max-width: 768px) {
    .admin-branding,
    .admin-form-container {
        padding: 1.5rem;
    }
    
    .admin-brand-logo h1 {
        font-size: 2.2rem;
    }
    
    .admin-brand-description h2 {
        font-size: 1.6rem;
    }
    
    .admin-brand-description p {
        font-size: 1rem;
    }
    
    .admin-features {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .admin-form-header h2 {
        font-size: 1.8rem;
    }
    
    .admin-form-wrapper {
        max-width: 100%;
    }
    
    .security-info {
        flex-direction: column;
        gap: 0.5rem;
    }
}

@media (max-width: 480px) {
    .admin-branding,
    .admin-form-container {
        padding: 1rem;
    }
    
    .admin-branding {
        min-height: 35vh;
    }
    
    .admin-brand-content {
        max-width: 100%;
    }
    
    .admin-logo-icon {
        width: 80px;
        height: 80px;
    }
    
    .admin-logo-icon i {
        font-size: 2.5rem;
    }
    
    .admin-brand-logo h1 {
        font-size: 1.8rem;
    }
    
    .admin-brand-description {
        margin-bottom: 2rem;
    }
    
    .admin-brand-description h2 {
        font-size: 1.4rem;
    }
    
    .admin-brand-description p {
        font-size: 0.9rem;
    }
    
    .admin-features {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .admin-feature {
        flex-direction: row;
        justify-content: flex-start;
        text-align: left;
        padding: 0.75rem;
    }
    
    .admin-form-header h2 {
        font-size: 1.6rem;
    }
    
    .admin-form-header p {
        font-size: 0.9rem;
    }
    
    .admin-demo-credentials {
        grid-template-columns: 1fr;
    }
    
    .admin-form-options {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .admin-icon-large {
        width: 60px;
        height: 60px;
    }
    
    .admin-icon-large i {
        font-size: 2rem;
    }
}

/* Modern Admin Dashboard Styles */
.modern-admin-dashboard {
    margin: 0;
    padding: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #ffffff;
    color: #1e293b;
    overflow-x: hidden;
}

.dashboard-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.cyber-grid-dashboard {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.grid-line-dash {
    position: absolute;
    background: linear-gradient(90deg, transparent 0%, rgba(59, 130, 246, 0.2) 50%, transparent 100%);
    opacity: 0.3;
    animation: gridPulseDash 6s ease-in-out infinite;
}

.grid-line-dash.horizontal {
    width: 100%;
    height: 1px;
}

.grid-line-dash.vertical {
    width: 1px;
    height: 100%;
    background: linear-gradient(0deg, transparent 0%, rgba(59, 130, 246, 0.2) 50%, transparent 100%);
}

@keyframes gridPulseDash {
    0%, 100% { opacity: 0.1; }
    50% { opacity: 0.3; }
}

.floating-orbs {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.orb {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(59, 130, 246, 0.3) 0%, transparent 70%);
    animation: orbFloat 15s infinite ease-in-out;
}

.orb-1 {
    width: 200px;
    height: 200px;
    top: 10%;
    left: 10%;
    animation-duration: 20s;
}

.orb-2 {
    width: 150px;
    height: 150px;
    top: 60%;
    right: 15%;
    animation-duration: 25s;
    animation-direction: reverse;
}

.orb-3 {
    width: 100px;
    height: 100px;
    bottom: 20%;
    left: 60%;
    animation-duration: 18s;
}

.orb-4 {
    width: 120px;
    height: 120px;
    top: 30%;
    right: 40%;
    animation-duration: 22s;
    animation-direction: reverse;
}

@keyframes orbFloat {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 0.3;
    }
    33% {
        transform: translate(30px, -30px) scale(1.1);
        opacity: 0.5;
    }
    66% {
        transform: translate(-20px, 20px) scale(0.9);
        opacity: 0.4;
    }
}

/* Admin Sidebar */
.admin-sidebar {
    position: fixed;
    left: 0;
    top: 0;
    width: 280px;
    height: 100vh;
    background: #ffffff;
    border-right: 1px solid rgba(67, 23, 72, 0.2);
    z-index: 1000;
    transition: all 0.3s ease;
    overflow-y: auto;
    box-shadow: 4px 0 20px rgba(67, 23, 72, 0.1);
}

.admin-sidebar.collapsed {
    width: 80px;
}

.sidebar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1.5rem;
    border-bottom: 1px solid rgba(67, 23, 72, 0.2);
    background: linear-gradient(135deg, #431748, #0a5b0a);
}

.admin-logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
}

.admin-logo i {
    font-size: 1.5rem;
    color: #ffffff;
}

.admin-sidebar.collapsed .admin-logo span {
    display: none;
}

.sidebar-toggle {
    background: none;
    border: none;
    color: #ffffff;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.sidebar-toggle:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
}

.admin-profile {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    border-bottom: 1px solid rgba(67, 23, 72, 0.2);
    position: relative;
}

.profile-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #431748, #0a5b0a);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
}

.profile-info {
    flex: 1;
}

.admin-sidebar.collapsed .profile-info {
    display: none;
}

.profile-info h3 {
    font-size: 1rem;
    font-weight: 600;
    color: #1e293b;
    margin: 0 0 0.25rem 0;
}

.profile-info p {
    font-size: 0.8rem;
    color: #64748b;
    margin: 0;
}

.profile-status {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
}

.status-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: block;
}

.status-dot.online {
    background: #10b981;
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.5);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.admin-nav-menu {
    list-style: none;
    padding: 1rem 0;
}

.nav-item {
    margin: 0.25rem 0;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.5rem;
    color: #64748b;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #431748;
    background: rgba(67, 23, 72, 0.1);
}

.nav-item.active .nav-link {
    color: #431748;
    background: rgba(67, 23, 72, 0.15);
    border-right: 3px solid #431748;
}

.nav-link i {
    font-size: 1.25rem;
    width: 1.5rem;
    text-align: center;
}

.nav-link span {
    font-weight: 500;
}

.admin-sidebar.collapsed .nav-link span {
    display: none;
}

.nav-badge {
    background: #431748;
    color: white;
    font-size: 0.7rem;
    padding: 0.2rem 0.5rem;
    border-radius: 10px;
    margin-left: auto;
    min-width: 20px;
    text-align: center;
}

.admin-sidebar.collapsed .nav-badge {
    display: none;
}

.nav-item.logout {
    margin-top: auto;
    border-top: 1px solid rgba(67, 23, 72, 0.2);
    padding-top: 1rem;
}

.nav-item.logout .nav-link {
    color: #ef4444;
}

.nav-item.logout .nav-link:hover {
    color: #dc2626;
    background: rgba(239, 68, 68, 0.1);
}

/* Main Content */
.admin-main-content {
    margin-left: 280px;
    min-height: 100vh;
    transition: all 0.3s ease;
    background: #ffffff;
}

.admin-main-content.expanded {
    margin-left: 80px;
}

.dashboard-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 2rem;
    background: #ffffff;
    border-bottom: 1px solid rgba(67, 23, 72, 0.2);
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(67, 23, 72, 0.1);
}

.header-left {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Admin panel mobile menu toggle - removed to avoid conflicts */

.dashboard-header h1 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: #64748b;
}

.breadcrumb i {
    font-size: 0.7rem;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.header-search {
    position: relative;
    display: flex;
    align-items: center;
}

.header-search i {
    position: absolute;
    left: 1rem;
    color: #64748b;
    z-index: 1;
}

.header-search input {
    width: 250px;
    padding: 0.75rem 1rem 0.75rem 2.5rem;
    background: #ffffff;
    border: 1px solid rgba(67, 23, 72, 0.3);
    border-radius: 8px;
    color: #1e293b;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.header-search input:focus {
    outline: none;
    border-color: #431748;
    box-shadow: 0 0 0 3px rgba(67, 23, 72, 0.2);
}

.header-search input::placeholder {
    color: #64748b;
}

.header-notifications {
    position: relative;
}

.notification-btn {
    background: none;
    border: none;
    color: #64748b;
    cursor: pointer;
    padding: 0.75rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
}

.notification-btn:hover {
    color: #431748;
    background: rgba(67, 23, 72, 0.1);
}

.notification-count {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    background: #ef4444;
    color: white;
    font-size: 0.7rem;
    padding: 0.2rem 0.4rem;
    border-radius: 10px;
    min-width: 18px;
    text-align: center;
    line-height: 1;
}

.header-profile img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid rgba(59, 130, 246, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.header-profile img:hover {
    border-color: #3b82f6;
}

/* Dashboard Content */
.dashboard-content {
    padding: 2rem;
    background: #ffffff;
    min-height: calc(100vh - 80px);
}

.welcome-section {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2rem;
    padding: 2rem;
    background: #ffffff;
    border-radius: 16px;
    border: 1px solid rgba(67, 23, 72, 0.2);
    box-shadow: 0 8px 30px rgba(67, 23, 72, 0.1);
}

.welcome-content h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 0.5rem 0;
}

.welcome-content p {
    font-size: 1rem;
    color: #64748b;
    margin: 0;
}

.welcome-stats {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.welcome-stat {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: #64748b;
    font-size: 0.9rem;
}

.welcome-stat i {
    color: #431748;
    font-size: 1.1rem;
    background: linear-gradient(135deg, #431748, #0a5b0a);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Stats Grid */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 1.5rem;
    border: 1px solid rgba(67, 23, 72, 0.2);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(67, 23, 72, 0.08);
}

.stat-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(67, 23, 72, 0.15);
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #431748, #0a5b0a);
}

.stat-card.primary::before { background: linear-gradient(135deg, #431748, #0a5b0a); }
.stat-card.success::before { background: linear-gradient(135deg, #0a5b0a, #431748); }
.stat-card.warning::before { background: linear-gradient(135deg, #431748, #0a5b0a); }
.stat-card.info::before { background: linear-gradient(135deg, #0a5b0a, #431748); }

.stat-card {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.stat-icon {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
}

.stat-card.primary .stat-icon { background: linear-gradient(135deg, #431748, #0a5b0a); }
.stat-card.success .stat-icon { background: linear-gradient(135deg, #0a5b0a, #431748); }
.stat-card.warning .stat-icon { background: linear-gradient(135deg, #431748, #0a5b0a); }
.stat-card.info .stat-icon { background: linear-gradient(135deg, #0a5b0a, #431748); }

.stat-content {
    flex: 1;
}

.stat-content h3 {
    font-size: 2rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 0.25rem 0;
}

.stat-content p {
    font-size: 0.9rem;
    color: #64748b;
    margin: 0 0 0.5rem 0;
}

.stat-trend {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.8rem;
    font-weight: 600;
}

.stat-trend.up { color: #0a5b0a; }
.stat-trend.down { color: #ef4444; }
.stat-trend.stable { color: #64748b; }

.stat-chart {
    width: 80px;
    height: 40px;
    margin-top: 1rem;
}

/* Analytics Section */
.analytics-section {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.chart-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 1.5rem;
    border: 1px solid rgba(67, 23, 72, 0.2);
    box-shadow: 0 6px 20px rgba(67, 23, 72, 0.08);
}

.chart-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.chart-header h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1e293b;
    margin: 0;
}

.chart-controls {
    display: flex;
    gap: 0.5rem;
}

.chart-btn {
    background: rgba(67, 23, 72, 0.1);
    border: 1px solid rgba(67, 23, 72, 0.3);
    color: #64748b;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.8rem;
    transition: all 0.3s ease;
}

.chart-btn:hover,
.chart-btn.active {
    background: #431748;
    color: white;
    border-color: #431748;
}

.chart-container {
    height: 300px;
    position: relative;
}

.analytics-right {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.quick-stats,
.category-distribution {
    background: rgba(30, 41, 59, 0.6);
    backdrop-filter: blur(20px);
    border-radius: 16px;
    padding: 1.5rem;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.quick-stats h3,
.category-distribution h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #ffffff;
    margin: 0 0 1rem 0;
}

.quick-stat-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(59, 130, 246, 0.1);
}

.quick-stat-item:last-child {
    border-bottom: none;
}

.quick-stat-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #431748, #0a5b0a);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
}

.quick-stat-content {
    flex: 1;
}

.quick-stat-number {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
}

.quick-stat-label {
    font-size: 0.8rem;
    color: #ffffff;
}

.category-chart-container {
    height: 200px;
    position: relative;
}

/* Bottom Section */
.bottom-section {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
}

.recent-activities,
.quick-actions {
    background: rgba(30, 41, 59, 0.6);
    backdrop-filter: blur(20px);
    border-radius: 16px;
    padding: 1.5rem;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.section-header h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1e293b;
    margin: 0;
}

.view-all-btn {
    color: #431748;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.view-all-btn:hover {
    color: #1d4ed8;
}

.activities-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.activity-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(15, 23, 42, 0.5);
    border-radius: 12px;
    border: 1px solid rgba(59, 130, 246, 0.1);
    transition: all 0.3s ease;
}

.activity-item:hover {
    background: rgba(59, 130, 246, 0.1);
    border-color: rgba(59, 130, 246, 0.3);
}

.activity-icon {
    width: 40px;
    height: 40px;
    background: rgba(59, 130, 246, 0.2);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #431748;
}

.activity-content {
    flex: 1;
}

.activity-content p {
    margin: 0 0 0.25rem 0;
    color: #ffffff;
    font-size: 0.9rem;
}

.activity-time {
    font-size: 0.8rem;
    color: #ffffff;
}

.activity-stats {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.view-count {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.8rem;
    color: #ffffff;
}

.actions-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.action-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid rgba(67, 23, 72, 0.2);
    text-decoration: none;
    transition: all 0.3s ease;
    text-align: center;
    box-shadow: 0 4px 15px rgba(67, 23, 72, 0.08);
}

.action-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(67, 23, 72, 0.15);
}

.action-card.primary:hover { border-color: #431748; }
.action-card.success:hover { border-color: #0a5b0a; }
.action-card.warning:hover { border-color: #431748; }
.action-card.info:hover { border-color: #0a5b0a; }

.action-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
}

.action-card.primary .action-icon { background: linear-gradient(135deg, #431748, #0a5b0a); }
.action-card.success .action-icon { background: linear-gradient(135deg, #0a5b0a, #431748); }
.action-card.warning .action-icon { background: linear-gradient(135deg, #431748, #0a5b0a); }
.action-card.info .action-icon { background: linear-gradient(135deg, #0a5b0a, #431748); }

.action-content h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #1e293b;
    margin: 0 0 0.25rem 0;
}

.action-content p {
    font-size: 0.8rem;
    color: #64748b;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .analytics-section,
    .bottom-section {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .admin-sidebar {
        transform: translateX(-100%);
        width: 280px;
        z-index: 1001;
        position: fixed;
        left: 0;
        top: 0;
        height: 100vh;
        overflow-y: auto;
    }
    
    .admin-sidebar.show {
        transform: translateX(0);
    }
    
    .admin-main-content {
        margin-left: 0;
    }
    
    .admin-main-content.expanded {
        margin-left: 0;
    }
    
    /* Mobile overlay */
    .sidebar-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: 1000;
    }
    
    .sidebar-overlay.show {
        display: block;
    }
    
    .mobile-menu-toggle {
        display: block !important;
    }
    
    .dashboard-header {
        padding: 1rem;
    }
    
    .header-search {
        display: none;
    }
    
    .dashboard-content {
        padding: 1rem;
    }
    
    .welcome-section {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .actions-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .dashboard-header h1 {
        font-size: 1.25rem;
    }
    
    .breadcrumb {
        display: none;
    }
    
    .welcome-content h2 {
        font-size: 1.5rem;
    }
    
    .stat-card {
        flex-direction: column;
        text-align: center;
    }
    
    .chart-controls {
        flex-wrap: wrap;
    }
    
    .chart-btn {
        font-size: 0.7rem;
        padding: 0.4rem 0.8rem;
    }
}

/* Admin Videos Page Styles */
.video-stats-overview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.video-management-panel {
    background: #ffffff;
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid rgba(67, 23, 72, 0.2);
    box-shadow: 0 8px 30px rgba(67, 23, 72, 0.1);
}

/* Category Stats Overview */
.category-stats-overview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

/* Category Management Panel */
.category-management-panel {
    background: #ffffff;
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid rgba(67, 23, 72, 0.2);
    box-shadow: 0 8px 30px rgba(67, 23, 72, 0.1);
}

.category-filters {
    background: #ffffff;
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 2rem;
    border: 1px solid rgba(67, 23, 72, 0.2);
    box-shadow: 0 4px 20px rgba(67, 23, 72, 0.08);
}

.filter-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.filter-group {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 1rem;
    align-items: end;
}

.filter-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.filter-item label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
    color: #64748b;
    font-size: 0.875rem;
}

.filter-item input,
.filter-item select {
    padding: 0.75rem 1rem;
    border: 1px solid rgba(67, 23, 72, 0.3);
    border-radius: 8px;
    background: #ffffff;
    color: #1e293b;
    font-size: 0.875rem;
    transition: all 0.3s ease;
}

.filter-item input:focus,
.filter-item select:focus {
    outline: none;
    border-color: #431748;
    box-shadow: 0 0 0 3px rgba(67, 23, 72, 0.2);
}

.filter-item input::placeholder {
    color: #64748b;
}

.filter-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}

.btn-filter {
    background: linear-gradient(135deg, #431748, #0a5b0a);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-filter:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(67, 23, 72, 0.4);
}

.btn-clear {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.btn-clear:hover {
    background: rgba(239, 68, 68, 0.2);
    transform: translateY(-2px);
}

.category-count {
    background: rgba(67, 23, 72, 0.1);
    color: #431748;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
}

.btn-primary {
    background: linear-gradient(135deg, #431748, #0a5b0a);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(67, 23, 72, 0.4);
}

/* Category List Styles */
.category-list-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 0;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid rgba(67, 23, 72, 0.2);
}

.bulk-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.checkbox-wrapper {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
}

.checkbox-wrapper input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: #431748;
}

.btn-danger {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
    padding: 0.5rem 1rem;
    border-radius: 6px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
}

.btn-danger:hover:not(:disabled) {
    background: rgba(239, 68, 68, 0.2);
    transform: translateY(-1px);
}

.btn-danger:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.selected-count {
    color: #64748b;
    font-size: 0.875rem;
}

.view-options {
    display: flex;
    gap: 0.5rem;
}

.view-btn {
    background: #ffffff;
    border: 1px solid rgba(67, 23, 72, 0.3);
    color: #64748b;
    padding: 0.5rem;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 36px;
    height: 36px;
}

.view-btn:hover,
.view-btn.active {
    background: rgba(67, 23, 72, 0.2);
    color: #431748;
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.category-card {
    background: #ffffff;
    border: 1px solid rgba(67, 23, 72, 0.2);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s ease;
    position: relative;
    box-shadow: 0 4px 20px rgba(67, 23, 72, 0.08);
}

.category-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 30px rgba(67, 23, 72, 0.15);
}

.category-checkbox {
    position: absolute;
    top: 1rem;
    left: 1rem;
}

.category-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
    padding-left: 2rem;
}

.category-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #431748, #0a5b0a);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.category-badge {
    display: flex;
    gap: 0.5rem;
}

.badge {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
}

.badge.empty {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

.badge.active {
    background: rgba(10, 91, 10, 0.1);
    color: #0a5b0a;
}

.badge.popular {
    background: rgba(67, 23, 72, 0.1);
    color: #431748;
}

.category-content {
    margin-bottom: 1rem;
}

.category-title {
    font-size: 1.125rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.category-description {
    color: #64748b;
    font-size: 0.875rem;
    line-height: 1.5;
    margin-bottom: 1rem;
}

.category-meta {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #64748b;
    font-size: 0.875rem;
}

.meta-item i {
    width: 16px;
    color: #431748;
}

.category-actions {
    display: flex;
    gap: 0.5rem;
    justify-content: flex-end;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(67, 23, 72, 0.1);
}

.action-btn {
    width: 32px;
    height: 32px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.875rem;
}

.view-btn {
    background: rgba(10, 91, 10, 0.2);
    color: #0a5b0a;
    border: 1px solid rgba(10, 91, 10, 0.3);
}

.view-btn:hover {
    background: rgba(10, 91, 10, 0.3);
    transform: translateY(-1px);
}

.edit-btn {
    background: rgba(67, 23, 72, 0.2);
    color: #431748;
    border: 1px solid rgba(67, 23, 72, 0.3);
}

.edit-btn:hover {
    background: rgba(67, 23, 72, 0.3);
    transform: translateY(-1px);
}

.delete-btn {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.delete-btn:hover {
    background: rgba(239, 68, 68, 0.3);
    transform: translateY(-1px);
}

.category-progress {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(67, 23, 72, 0.1);
}

.progress-bar {
    width: 100%;
    height: 6px;
    background: rgba(67, 23, 72, 0.1);
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(135deg, #431748, #0a5b0a);
    border-radius: 3px;
    transition: width 0.3s ease;
}

.progress-text {
    font-size: 0.75rem;
    color: #64748b;
    text-align: center;
    display: block;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 3rem 2rem;
    color: #64748b;
}

.empty-icon {
    width: 80px;
    height: 80px;
    background: rgba(67, 23, 72, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: #431748;
    font-size: 2rem;
}

.empty-state h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.empty-state p {
    margin-bottom: 2rem;
    line-height: 1.6;
}

/* Admin Alerts */
.admin-alert {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.admin-alert-error {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.admin-alert-success {
    background: rgba(10, 91, 10, 0.1);
    color: #0a5b0a;
    border: 1px solid rgba(10, 91, 10, 0.3);
}

.panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(67, 23, 72, 0.2);
}

.panel-title {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.panel-title h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
}

.video-count {
    background: rgba(67, 23, 72, 0.1);
    color: #431748;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, #431748, #0a5b0a);
    color: white;
    text-decoration: none;
    border-radius: 10px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(67, 23, 72, 0.4);
}

/* Video Filters */
.video-filters {
    margin-bottom: 2rem;
}

.filter-form {
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(20px);
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.filter-group {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 1rem;
}

.filter-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.filter-item label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: #64748b;
}

.filter-item input,
.filter-item select {
    padding: 0.75rem;
    background: #ffffff;
    border: 1px solid rgba(67, 23, 72, 0.3);
    border-radius: 8px;
    color: #1e293b;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.filter-item input:focus,
.filter-item select:focus {
    outline: none;
    border-color: #431748;
    box-shadow: 0 0 0 3px rgba(67, 23, 72, 0.2);
}

.filter-item input::placeholder {
    color: #64748b;
}

.filter-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}

.btn-filter,
.btn-clear {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    border-radius: 8px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 0.9rem;
}

.btn-filter {
    background: linear-gradient(135deg, #431748, #0a5b0a);
    color: white;
}

.btn-filter:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(67, 23, 72, 0.4);
}

.btn-clear {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.btn-clear:hover {
    background: rgba(239, 68, 68, 0.3);
    transform: translateY(-1px);
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    color: #ffffff;
}

.empty-icon {
    width: 120px;
    height: 120px;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
}

.empty-icon i {
    font-size: 3rem;
    color: #431748;
}

.empty-state h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #ffffff;
    margin: 0 0 1rem 0;
}

.empty-state p {
    font-size: 1rem;
    margin: 0 0 2rem 0;
    color: #ffffff;
}

/* Video List Header */
.video-list-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: #ffffff;
    border-radius: 12px;
    border: 1px solid rgba(67, 23, 72, 0.2);
    box-shadow: 0 4px 15px rgba(67, 23, 72, 0.08);
}

.bulk-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.checkbox-wrapper {
    display: flex;
    align-items: center;
    cursor: pointer;
    user-select: none;
}

.checkbox-wrapper input[type="checkbox"] {
    display: none;
}

.checkmark {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(59, 130, 246, 0.3);
    border-radius: 4px;
    margin-right: 0.75rem;
    position: relative;
    transition: all 0.3s ease;
    background: rgba(15, 23, 42, 0.8);
}

.checkbox-wrapper input[type="checkbox"]:checked + .checkmark {
    background: #3b82f6;
    border-color: #3b82f6;
}

.checkbox-wrapper input[type="checkbox"]:checked + .checkmark::after {
    content: '';
    position: absolute;
    left: 6px;
    top: 2px;
    width: 6px;
    height: 10px;
    border: solid white;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}

.bulk-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.bulk-btn:hover:not(:disabled) {
    background: rgba(239, 68, 68, 0.3);
    transform: translateY(-1px);
}

.bulk-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.btn-danger {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.selected-count {
    font-size: 0.9rem;
    color: #ffffff;
}

.view-options {
    display: flex;
    gap: 0.5rem;
}

.view-btn {
    width: 40px;
    height: 40px;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.3);
    color: #ffffff;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.view-btn:hover,
.view-btn.active {
    background: #3b82f6;
    color: white;
    border-color: #3b82f6;
}

/* Video Grid */
.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
}

.video-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.video-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(67, 23, 72, 0.2);
    transition: all 0.3s ease;
    position: relative;
}

.video-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(67, 23, 72, 0.3);
    border-color: rgba(67, 23, 72, 0.4);
}

.video-list .video-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
}

.video-list .video-card:hover {
    transform: none;
}

.video-checkbox {
    position: absolute;
    top: 1rem;
    left: 1rem;
    z-index: 2;
}

.video-list .video-checkbox {
    position: static;
    order: -1;
}

.video-thumbnail {
    position: relative;
    aspect-ratio: 16/9;
    background: linear-gradient(135deg, #431748, #0a5b0a);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.video-list .video-thumbnail {
    width: 200px;
    flex-shrink: 0;
    aspect-ratio: 16/9;
}

.thumbnail-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: rgba(255, 255, 255, 0.8);
    font-size: 3rem;
}

.video-duration {
    position: absolute;
    bottom: 0.5rem;
    right: 0.5rem;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
}

.video-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.video-card:hover .video-overlay {
    opacity: 1;
}

.play-btn {
    width: 60px;
    height: 60px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.play-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.video-info {
    padding: 1.5rem;
}

.video-list .video-info {
    flex: 1;
    padding: 0;
}

.video-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #ffffff;
    margin: 0 0 0.5rem 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.video-description {
    color: #ffffff;
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0 0 1rem 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.video-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.8rem;
}

.video-meta span {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    color: #ffffff;
}

.category-tag {
    background: #0a5b0a;
    color: #ffffff !important;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-weight: 500;
}

.video-actions {
    display: flex;
    gap: 0.5rem;
}

.action-btn {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.watch-btn {
    background: rgba(10, 91, 10, 0.2);
    color: #0a5b0a;
    border-color: rgba(10, 91, 10, 0.3);
}

.watch-btn:hover {
    background: rgba(10, 91, 10, 0.3);
    transform: translateY(-1px);
}

.edit-btn {
    background: rgba(67, 23, 72, 0.2);
    color: #431748;
    border-color: rgba(67, 23, 72, 0.3);
}

.edit-btn:hover {
    background: rgba(67, 23, 72, 0.3);
    transform: translateY(-1px);
}

.delete-btn {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
    border-color: rgba(239, 68, 68, 0.3);
}

.delete-btn:hover {
    background: rgba(239, 68, 68, 0.3);
    transform: translateY(-1px);
}

/* Responsive Design for Videos Page */
@media (max-width: 1200px) {
    .video-stats-overview {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .video-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .video-stats-overview {
        grid-template-columns: 1fr;
    }
    
    .panel-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .filter-group {
        grid-template-columns: 1fr;
    }
    
    .filter-actions {
        justify-content: stretch;
    }
    
    .filter-actions .btn-filter,
    .filter-actions .btn-clear {
        flex: 1;
        justify-content: center;
    }
    
    .video-list-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .bulk-actions {
        width: 100%;
        justify-content: space-between;
    }
    
    .video-grid {
        grid-template-columns: 1fr;
    }
    
    .video-list .video-card {
        flex-direction: column;
        text-align: center;
    }
    
    .video-list .video-thumbnail {
        width: 100%;
    }
    
    .video-list .video-info {
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    .video-management-panel {
        padding: 1rem;
    }
    
    .panel-title {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .video-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .video-actions {
        justify-content: center;
    }
    
    .bulk-actions {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
}

/* Admin Users Page Styles */
.user-stats-overview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.user-management-panel {
    background: rgba(30, 41, 59, 0.6);
    backdrop-filter: blur(20px);
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.user-filters {
    margin-bottom: 2rem;
}

.user-list-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: rgba(15, 23, 42, 0.6);
    border-radius: 12px;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.user-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
}

.user-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.user-card {
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(20px);
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid rgba(59, 130, 246, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.user-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.3);
    border-color: rgba(59, 130, 246, 0.4);
}

.user-list .user-card {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
}

.user-list .user-card:hover {
    transform: none;
}

.user-checkbox {
    position: absolute;
    top: 1rem;
    left: 1rem;
    z-index: 2;
}

.user-list .user-checkbox {
    position: static;
    order: -1;
}

.user-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.user-list .user-header {
    flex-direction: column;
    align-items: center;
    margin-bottom: 0;
    width: 100px;
    flex-shrink: 0;
}

.user-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    margin-bottom: 0.5rem;
    border: 3px solid rgba(59, 130, 246, 0.3);
    transition: all 0.3s ease;
}

.user-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.user-card:hover .user-avatar {
    border-color: rgba(59, 130, 246, 0.6);
    transform: scale(1.05);
}

.user-list .user-avatar {
    margin-bottom: 0.25rem;
}

.user-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: center;
}

.user-list .user-badges {
    flex-direction: column;
    gap: 0.25rem;
}

.badge {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: 1px solid transparent;
}

.badge.admin {
    background: rgba(59, 130, 246, 0.2);
    color: #431748;
    border-color: rgba(59, 130, 246, 0.3);
}

.badge.user {
    background: rgba(16, 185, 129, 0.2);
    color: #10b981;
    border-color: rgba(16, 185, 129, 0.3);
}

.badge.active {
    background: rgba(34, 197, 94, 0.2);
    color: #22c55e;
    border-color: rgba(34, 197, 94, 0.3);
}

.badge.inactive {
    background: rgba(245, 158, 11, 0.2);
    color: #f59e0b;
    border-color: rgba(245, 158, 11, 0.3);
}

.badge.new {
    background: rgba(139, 92, 246, 0.2);
    color: #8b5cf6;
    border-color: rgba(139, 92, 246, 0.3);
}

.user-content {
    flex: 1;
}

.user-list .user-content {
    margin-right: 1rem;
}

.user-name {
    font-size: 1.25rem;
    font-weight: 600;
    color: #ffffff;
    margin: 0 0 0.5rem 0;
    line-height: 1.4;
}

.user-email {
    color: #ffffff;
    font-size: 0.9rem;
    margin: 0 0 1rem 0;
    word-break: break-all;
}

.user-meta {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.user-list .user-meta {
    gap: 0.25rem;
    margin-bottom: 0;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: #ffffff;
}

.meta-item i {
    color: #431748;
    width: 14px;
    text-align: center;
    flex-shrink: 0;
}

.user-actions {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

.user-list .user-actions {
    margin-top: 0;
    flex-direction: column;
    width: 40px;
}

.promote-btn {
    background: rgba(16, 185, 129, 0.2);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.promote-btn:hover {
    background: rgba(16, 185, 129, 0.3);
    transform: translateY(-1px);
}

.demote-btn {
    background: rgba(245, 158, 11, 0.2);
    color: #f59e0b;
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.demote-btn:hover {
    background: rgba(245, 158, 11, 0.3);
    transform: translateY(-1px);
}

.user-progress {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(59, 130, 246, 0.2);
}

.user-progress .progress-bar {
    width: 100%;
    height: 6px;
    background: rgba(59, 130, 246, 0.2);
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.user-progress .progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #10b981, #059669);
    border-radius: 3px;
    transition: width 0.3s ease;
}

.progress-text {
    font-size: 0.75rem;
    color: #ffffff;
    text-align: center;
}

/* User Card Animations */
.user-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(67, 23, 72, 0.1), transparent);
    transition: left 0.5s ease;
}

.user-card:hover::before {
    left: 100%;
}

/* User Count Badge */
.user-count {
    background: rgba(59, 130, 246, 0.2);
    color: #431748;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

/* Admin Toggle Button Styles */
.action-btn {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    cursor: pointer;
    background: none;
}

.action-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Responsive Design for Users Page */
@media (max-width: 1200px) {
    .user-stats-overview {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .user-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .user-stats-overview {
        grid-template-columns: 1fr;
    }
    
    .user-list-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .bulk-actions {
        width: 100%;
        justify-content: space-between;
    }
    
    .user-grid {
        grid-template-columns: 1fr;
    }
    
    .user-list .user-card {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .user-list .user-header {
        width: 100%;
    }
    
    .user-list .user-content {
        margin-right: 0;
        text-align: center;
    }
    
    .user-list .user-meta {
        flex-direction: row;
        justify-content: center;
        gap: 1rem;
        flex-wrap: wrap;
    }
    
    .user-list .user-actions {
        flex-direction: row;
        width: auto;
        justify-content: center;
    }
    
    .user-badges {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .user-management-panel {
        padding: 1rem;
    }
    
    .user-card {
        padding: 1rem;
    }
    
    .user-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .user-avatar {
        width: 60px;
        height: 60px;
    }
    
    .user-name {
        font-size: 1.1rem;
    }
    
    .user-meta {
        gap: 0.25rem;
    }
    
    .meta-item {
        font-size: 0.75rem;
    }
    
    .user-actions {
        justify-content: center;
    }
    
    .bulk-actions {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .user-badges {
        gap: 0.25rem;
    }
    
    .badge {
        font-size: 0.6rem;
        padding: 0.2rem 0.5rem;
    }
}

/* Special User Card States */
.user-card.admin-user {
    border-color: rgba(59, 130, 246, 0.4);
    background: rgba(59, 130, 246, 0.05);
}

.user-card.admin-user:hover {
    border-color: rgba(59, 130, 246, 0.6);
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.4);
}

.user-card.inactive-user {
    opacity: 0.8;
}

.user-card.new-user {
    border-color: rgba(139, 92, 246, 0.4);
    background: rgba(139, 92, 246, 0.05);
}

.user-card.new-user:hover {
    border-color: rgba(139, 92, 246, 0.6);
    box-shadow: 0 10px 30px rgba(139, 92, 246, 0.4);
}

/* User Activity Indicators */
.user-activity-indicator {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid rgba(15, 23, 42, 0.8);
}

.user-activity-indicator.online {
    background: #22c55e;
    box-shadow: 0 0 10px rgba(34, 197, 94, 0.5);
    animation: pulse 2s infinite;
}

.user-activity-indicator.away {
    background: #f59e0b;
}

.user-activity-indicator.offline {
    background: #6b7280;
}

/* Enhanced User Stats */
.user-stats-detail {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(59, 130, 246, 0.2);
}

.stat-detail-item {
    text-align: center;
}

.stat-detail-number {
    display: block;
    font-size: 1.25rem;
    font-weight: 700;
    color: #431748;
}

.stat-detail-label {
    font-size: 0.7rem;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* User Role Toggle Animation */
.role-toggle-btn {
    position: relative;
    overflow: hidden;
}

.role-toggle-btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.3s ease, height 0.3s ease;
}

.role-toggle-btn:active::after {
    width: 100px;
    height: 100px;
}

/* Modern Video Platform Styles */
.modern-video-platform {
    margin: 0;
    padding: 0;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(135deg, #f8fafc 0%, #0a5b0a 30%, #f1f5f9 70%, #0a5b0a 100%);
    background-size: 400% 400%;
    animation: gradientShift 15s ease infinite;
    color: #1e293b;
    overflow-x: hidden;
}

.platform-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.cyber-grid-platform {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.grid-line-platform {
    position: absolute;
    background: linear-gradient(90deg, transparent 0%, rgba(67, 23, 72, 0.1) 50%, transparent 100%);
    opacity: 0.2;
    animation: gridPulsePlatform 8s ease-in-out infinite;
}

.grid-line-platform.horizontal {
    width: 100%;
    height: 1px;
}

.grid-line-platform.vertical {
    width: 1px;
    height: 100%;
    background: linear-gradient(0deg, transparent 0%, rgba(59, 130, 246, 0.15) 50%, transparent 100%);
}

@keyframes gridPulsePlatform {
    0%, 100% { opacity: 0.1; }
    50% { opacity: 0.25; }
}

.floating-particles-platform {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.particle-platform {
    position: absolute;
    width: 3px;
    height: 3px;
    background: #3b82f6;
    border-radius: 50%;
    animation: particleFloatPlatform 12s infinite linear;
    box-shadow: 0 0 8px #3b82f6;
}

.particle-1 { top: 15%; left: 15%; animation-duration: 15s; }
.particle-2 { top: 25%; right: 20%; animation-duration: 18s; animation-direction: reverse; }
.particle-3 { bottom: 35%; left: 25%; animation-duration: 12s; }
.particle-4 { bottom: 25%; right: 30%; animation-duration: 16s; animation-direction: reverse; }
.particle-5 { top: 55%; left: 10%; animation-duration: 20s; }
.particle-6 { top: 75%; right: 15%; animation-duration: 14s; animation-direction: reverse; }

@keyframes particleFloatPlatform {
    0% {
        transform: translateY(0px) translateX(0px) rotate(0deg);
        opacity: 0.7;
    }
    25% {
        transform: translateY(-15px) translateX(8px) rotate(90deg);
        opacity: 1;
    }
    50% {
        transform: translateY(-8px) translateX(-12px) rotate(180deg);
        opacity: 0.5;
    }
    75% {
        transform: translateY(-20px) translateX(4px) rotate(270deg);
        opacity: 1;
    }
    100% {
        transform: translateY(0px) translateX(0px) rotate(360deg);
        opacity: 0.7;
    }
}

/* Modern Sidebar */
.modern-sidebar {
    position: fixed;
    left: 0;
    top: 0;
    width: 320px;
    height: 100vh;
    background: linear-gradient(135deg, #431748, #0a5b0a);
    backdrop-filter: blur(20px);
    border-right: 1px solid rgba(67, 23, 72, 0.2);
    z-index: 1000;
    transition: all 0.3s ease;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: rgba(67, 23, 72, 0.3) transparent;
}

/* Modern Sidebar içindeki tüm yazıları beyaz yap */
.modern-sidebar .menu-link,
.modern-sidebar .menu-title,
.modern-sidebar .menu-link span,
.modern-sidebar .logo-text h2,
.modern-sidebar .logo-text span {
    color: #ffffff !important;
}

.modern-sidebar::-webkit-scrollbar {
    width: 6px;
}

.modern-sidebar::-webkit-scrollbar-track {
    background: transparent;
}

.modern-sidebar::-webkit-scrollbar-thumb {
    background: rgba(67, 23, 72, 0.3);
    border-radius: 3px;
}

.modern-sidebar.collapsed {
    width: 80px;
}

.sidebar-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 2rem 1.5rem;
    border-bottom: 1px solid rgba(67, 23, 72, 0.2);
    min-height: 140px;
}

.platform-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    gap: 1rem;
}

.site-logo {
    display: flex;
    align-items: center;
    justify-content: center;
}

.site-logo .logo-image {
    max-width: 180px;
    max-height: 180px;
    width: auto;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 12px 35px rgba(67, 23, 72, 0.4);
    transition: all 0.3s ease;
    object-fit: contain;
}

.site-logo .logo-image:hover {
    transform: scale(1.08);
    box-shadow: 0 12px 35px rgba(67, 23, 72, 0.4);
}

.logo-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #431748, #0a5b0a);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    box-shadow: 0 0 20px rgba(59, 130, 246, 0.3);
}

.logo-text h2 {
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0;
}

.logo-text span {
    font-size: 0.8rem;
    color: #ffffff;
    font-weight: 500;
}

.modern-sidebar.collapsed .logo-text {
    display: none;
}

.modern-sidebar.collapsed .sidebar-header {
    min-height: 100px;
    padding: 1.5rem 1rem;
}

.modern-sidebar.collapsed .site-logo .logo-image {
    max-width: 80px;
    max-height: 80px;
}

.sidebar-toggle {
    background: none;
    border: none;
    color: #ffffff;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 6px;
    transition: all 0.3s ease;
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 10;
}

.sidebar-toggle:hover {
    color: #ffffff;
    background: rgba(255, 255, 255, 0.1);
}

/* User Profile Card */
.user-profile-card {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    border-bottom: 1px solid rgba(59, 130, 246, 0.2);
    position: relative;
}

.profile-avatar {
    position: relative;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid rgba(59, 130, 246, 0.3);
}

.profile-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.status-indicator {
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    border: 2px solid rgba(15, 23, 42, 0.9);
}

.status-indicator.online {
    background: #10b981;
    box-shadow: 0 0 10px rgba(16, 185, 129, 0.5);
    animation: pulse 2s infinite;
}

.profile-info {
    flex: 1;
}

.modern-sidebar.collapsed .profile-info {
    display: none;
}

.profile-info h3 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #1e293b;
    margin: 0 0 0.25rem 0;
}

.profile-info p {
    font-size: 0.85rem;
    color: #64748b;
    margin: 0 0 1rem 0;
}

.profile-stats {
    display: flex;
    gap: 1rem;
}

.profile-stats .stat {
    text-align: center;
}

.profile-stats .stat-number {
    display: block;
    font-size: 1rem;
    font-weight: 700;
    color: #431748;
}

.profile-stats .stat-label {
    font-size: 0.7rem;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Navigation Menu */
.navigation-menu {
    padding: 1rem 0;
}

.menu-section {
    margin-bottom: 2rem;
}

.menu-title {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0 1.5rem;
    margin-bottom: 1rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: #ffffff !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.modern-sidebar.collapsed .menu-title {
    justify-content: center;
}

.modern-sidebar.collapsed .menu-title span {
    display: none;
}

.menu-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.menu-item {
    margin: 0.25rem 0;
    position: relative;
}

.menu-link {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.5rem;
    color: #ffffff !important;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    border-radius: 0 25px 25px 0;
    margin-right: 1rem;
}

.menu-link:hover {
    color: #ffffff;
    background: rgba(10, 91, 10, 0.2);
    transform: translateX(5px);
}

.menu-item.active .menu-link {
    color: #ffffff;
    background: rgba(10, 91, 10, 0.3);
    border-right: 3px solid #0a5b0a;
}

.menu-link i {
    font-size: 1.1rem;
    width: 1.5rem;
    text-align: center;
}

.menu-link span {
    font-weight: 500;
    color: #ffffff !important;
}

.modern-sidebar.collapsed .menu-link span {
    display: none;
}

.menu-badge,
.menu-count {
    background: #431748;
    color: white;
    font-size: 0.7rem;
    padding: 0.2rem 0.5rem;
    border-radius: 10px;
    margin-left: auto;
    min-width: 20px;
    text-align: center;
}

.menu-count {
    background: rgba(67, 23, 72, 0.2);
    color: #431748;
    border: 1px solid rgba(67, 23, 72, 0.3);
}

.modern-sidebar.collapsed .menu-badge,
.modern-sidebar.collapsed .menu-count {
    display: none;
}

.menu-indicator {
    position: absolute;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 4px;
    height: 0;
    background: #431748;
    border-radius: 0 2px 2px 0;
    transition: height 0.3s ease;
}

.menu-item.active .menu-indicator {
    height: 100%;
}

.logout-link {
    color: #ef4444 !important;
}

.logout-link:hover {
    color: #dc2626 !important;
    background: rgba(239, 68, 68, 0.1) !important;
}

/* Sidebar Stats */
.sidebar-stats {
    padding: 1.5rem;
    border-top: 1px solid rgba(59, 130, 246, 0.2);
    margin-top: auto;
}

.stats-title {
    font-size: 0.8rem;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 1rem;
    text-align: center;
}

.modern-sidebar.collapsed .stats-title {
    display: none;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}

.modern-sidebar.collapsed .stats-grid {
    grid-template-columns: 1fr;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem;
    background: rgba(67, 23, 72, 0.1);
    border-radius: 10px;
    border: 1px solid rgba(67, 23, 72, 0.2);
    transition: all 0.3s ease;
}

.stat-item:hover {
    background: rgba(67, 23, 72, 0.15);
    transform: translateY(-2px);
}

.stat-icon {
    width: 30px;
    height: 30px;
    background: rgba(67, 23, 72, 0.2);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #431748;
    font-size: 0.9rem;
}

.stat-content {
    text-align: center;
}

.stat-content .stat-number {
    display: block;
    font-size: 1.1rem;
    font-weight: 700;
    color: #ffffff;
}

.stat-content .stat-label {
    font-size: 0.7rem;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.modern-sidebar.collapsed .stat-content .stat-label {
    display: none;
}

/* Main Content */
.main-content {
    margin-left: 320px;
    min-height: 100vh;
    transition: all 0.3s ease;
    background: #ffffff;
}

.main-content.expanded {
    margin-left: 80px;
}

/* Platform Header */
.platform-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 2rem;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(67, 23, 72, 0.2);
    position: sticky;
    top: 0;
    z-index: 100;
}

/* Customer Panel Mobile Menu Toggle */
.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: #64748b;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 6px;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.mobile-menu-toggle:hover {
    color: #431748;
    background: rgba(67, 23, 72, 0.1);
}

.header-left {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Removed duplicate mobile menu toggle CSS */

.header-title h1 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
}

.header-title p {
    font-size: 0.9rem;
    color: #64748b;
    margin: 0;
}

/* Advanced Search */
.header-center {
    flex: 1;
    max-width: 600px;
    margin: 0 2rem;
}

.advanced-search {
    width: 100%;
}

.search-form {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.search-input-wrapper {
    position: relative;
    flex: 1;
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.8);
    border: 2px solid rgba(67, 23, 72, 0.3);
    border-radius: 12px;
    transition: all 0.3s ease;
}

.search-input-wrapper:focus-within {
    border-color: #431748;
    box-shadow: 0 0 0 4px rgba(67, 23, 72, 0.2);
}

.search-icon {
    position: absolute;
    left: 1rem;
    color: #ffffff;
    z-index: 1;
}

.search-input {
    width: 100%;
    padding: 0.875rem 1rem 0.875rem 2.5rem;
    background: transparent;
    border: none;
    color: #1e293b;
    font-size: 1rem;
    outline: none;
}

.search-input::placeholder {
    color: rgba(30, 41, 59, 0.5);
}

.search-btn {
    background: #431748;
    border: none;
    color: white;
    padding: 0.875rem 1.25rem;
    border-radius: 0 10px 10px 0;
    cursor: pointer;
    transition: all 0.3s ease;
}

.search-btn:hover {
    background: #0a5b0a;
}

.clear-search {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
    text-decoration: none;
    border-radius: 8px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.clear-search:hover {
    background: rgba(239, 68, 68, 0.3);
}

/* Header Actions */
.header-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.action-btn {
    position: relative;
    background: none;
    border: none;
    color: #ffffff;
    cursor: pointer;
    padding: 0.75rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.action-btn:hover {
    color: #431748;
    background: rgba(67, 23, 72, 0.1);
}

.notification-badge {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    background: #ef4444;
    color: white;
    font-size: 0.7rem;
    padding: 0.2rem 0.4rem;
    border-radius: 10px;
    min-width: 18px;
    text-align: center;
    line-height: 1;
}

.view-toggle {
    display: flex;
    background: #ffffff;
    border-radius: 8px;
    border: 1px solid rgba(67, 23, 72, 0.3);
}

.view-btn {
    background: none;
    border: none;
    color: #64748b;
    padding: 0.5rem 0.75rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 6px;
}

.view-btn:hover,
.view-btn.active {
    color: #431748;
    background: rgba(67, 23, 72, 0.2);
}

/* Content Wrapper */
.content-wrapper {
    padding: 2rem;
    background: #ffffff;
}

.content-section {
    margin-bottom: 3rem;
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(59, 130, 246, 0.2);
}

.section-title {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.section-title h2 {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0;
}

.section-title h2 i {
    color: #431748;
}

.section-count,
.result-count,
.video-count {
    background: rgba(59, 130, 246, 0.2);
    color: #431748;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.section-action {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background: rgba(67, 23, 72, 0.1);
    color: #431748;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.section-action:hover {
    background: rgba(67, 23, 72, 0.2);
    transform: translateY(-2px);
}

.back-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.back-link:hover {
    background: rgba(239, 68, 68, 0.2);
    transform: translateX(-3px);
}

/* Hero Section */
.hero-section {
    background: #ffffff;
    border-radius: 20px;
    padding: 3rem;
    margin-bottom: 3rem;
    border: 1px solid rgba(67, 23, 72, 0.2);
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: transparent;
    pointer-events: none;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-text h1 {
    font-size: 3rem;
    font-weight: 800;
    color: #1e293b;
    margin: 0 0 1rem 0;
    line-height: 1.2;
    background: linear-gradient(135deg, #1e293b 0%, #431748 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-text p {
    font-size: 1.2rem;
    color: #64748b;
    margin: 0 0 2rem 0;
    line-height: 1.6;
}

.hero-stats {
    display: flex;
    gap: 2rem;
}

.hero-stat {
    text-align: center;
}

.hero-stat .stat-number {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: #431748;
}

.hero-stat .stat-label {
    font-size: 0.9rem;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Featured Video Card */
.featured-video-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(67, 23, 72, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
}

.featured-video-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(67, 23, 72, 0.3);
}

.featured-thumbnail {
    position: relative;
    aspect-ratio: 16/9;
    background: linear-gradient(135deg, #431748, #0a5b0a);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.thumbnail-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.featured-video-card:hover .thumbnail-overlay {
    opacity: 1;
}

.play-button {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 2rem;
    transition: all 0.3s ease;
}

.play-button:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}


.video-quality {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(16, 185, 129, 0.9);
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
}

.featured-info {
    padding: 1.5rem;
}

.featured-info h3 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #1e293b;
    margin: 0 0 0.5rem 0;
    line-height: 1.4;
}

.featured-info p {
    color: #64748b;
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0 0 1rem 0;
}

.featured-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.8rem;
}

.featured-meta .category {
    background: rgba(59, 130, 246, 0.2);
    color: #431748;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-weight: 500;
}

.featured-meta .views {
    color: #ffffff;
}

/* Videos Grid */
.videos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
}

.videos-grid.list-view {
    grid-template-columns: 1fr;
    gap: 1rem;
}

.videos-grid.featured-grid {
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

/* Modern Video Card */
.modern-video-card {
    background: #0a5b0a;
    backdrop-filter: blur(20px);
    border-radius: 16px;
    overflow: hidden;
    border: 1px solid rgba(10, 91, 10, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.modern-video-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 20px 40px rgba(10, 91, 10, 0.4);
    border-color: rgba(10, 91, 10, 0.6);
}

.videos-grid.list-view .modern-video-card {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1rem;
}

.videos-grid.list-view .modern-video-card:hover {
    transform: none;
}

.video-thumbnail {
    position: relative;
    aspect-ratio: 16/9;
    background: linear-gradient(135deg, #431748, #0a5b0a);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.videos-grid.list-view .video-thumbnail {
    width: 200px;
    flex-shrink: 0;
    aspect-ratio: 16/9;
}

.thumbnail-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    color: rgba(255, 255, 255, 0.7);
    font-size: 3rem;
}

.thumbnail-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.featured-thumbnail-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.featured-thumbnail-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #431748, #0a5b0a);
    color: rgba(255, 255, 255, 0.7);
    font-size: 4rem;
}

.horizontal-thumbnail-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
}

.horizontal-thumbnail-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #431748, #0a5b0a);
    color: rgba(255, 255, 255, 0.7);
    font-size: 2rem;
}

/* Add User Page Styles */
.add-user-container {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.form-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(67, 23, 72, 0.08);
    border: 1px solid rgba(67, 23, 72, 0.1);
}

.form-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(67, 23, 72, 0.1);
}

.form-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #431748, #0a5b0a);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    font-size: 1.5rem;
}

.form-title h2 {
    color: #1e293b;
    margin: 0 0 0.5rem 0;
    font-size: 1.5rem;
    font-weight: 600;
}

.form-title p {
    color: #64748b;
    margin: 0;
    font-size: 0.9rem;
}

.add-user-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #1e293b;
    font-weight: 500;
    font-size: 0.9rem;
}

.form-group label i {
    color: #431748;
    width: 16px;
}

.form-group input {
    padding: 0.75rem 1rem;
    border: 1px solid rgba(67, 23, 72, 0.2);
    border-radius: 8px;
    background: #ffffff;
    color: #1e293b;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: #431748;
    box-shadow: 0 0 0 3px rgba(67, 23, 72, 0.1);
}

.form-group small {
    color: #64748b;
    font-size: 0.8rem;
}

.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 8px;
    transition: background-color 0.3s ease;
}

.checkbox-label:hover {
    background: rgba(67, 23, 72, 0.05);
}

.checkbox-custom {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(67, 23, 72, 0.3);
    border-radius: 4px;
    position: relative;
    transition: all 0.3s ease;
}

.checkbox-label input[type="checkbox"] {
    display: none;
}

.checkbox-label input[type="checkbox"]:checked + .checkbox-custom {
    background: #431748;
    border-color: #431748;
}

.checkbox-label input[type="checkbox"]:checked + .checkbox-custom::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #ffffff;
    font-size: 12px;
    font-weight: bold;
}

.checkbox-text {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #1e293b;
    font-weight: 500;
}

.checkbox-text i {
    color: #431748;
}

.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    padding-top: 1rem;
    border-top: 1px solid rgba(67, 23, 72, 0.1);
}

.btn-secondary {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: rgba(67, 23, 72, 0.1);
    color: #431748;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid rgba(67, 23, 72, 0.2);
}

.btn-secondary:hover {
    background: rgba(67, 23, 72, 0.15);
    transform: translateY(-1px);
}

.btn-primary {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, #431748, #0a5b0a);
    color: #ffffff;
    border: none;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(67, 23, 72, 0.3);
}

.info-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(67, 23, 72, 0.08);
    border: 1px solid rgba(67, 23, 72, 0.1);
    height: fit-content;
}

.info-header {
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(67, 23, 72, 0.1);
}

.info-header h3 {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #1e293b;
    margin: 0;
    font-size: 1.2rem;
    font-weight: 600;
}

.info-header i {
    color: #431748;
}

.info-content {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.info-item {
    display: flex;
    gap: 1rem;
    align-items: flex-start;
}

.info-item i {
    color: #431748;
    font-size: 1.2rem;
    margin-top: 0.2rem;
    width: 20px;
}

.info-item strong {
    color: #1e293b;
    font-weight: 600;
    display: block;
    margin-bottom: 0.25rem;
}

.info-item p {
    color: #64748b;
    margin: 0;
    font-size: 0.9rem;
    line-height: 1.4;
}

/* Responsive */
@media (max-width: 768px) {
    .add-user-container {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .btn-secondary,
    .btn-primary {
        justify-content: center;
    }
}

/* Thumbnail Preview Styles */
.thumbnail-preview {
    width: 80px;
    height: 60px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}

.thumbnail-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.video-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: rgba(0, 0, 0, 0.3);
}

.video-progress .progress-bar {
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
}

.video-progress .progress-fill {
    height: 100%;
    background: #10b981;
    transition: width 0.3s ease;
}

.completed-badge {
    position: absolute;
    top: 0.5rem;
    left: 0.5rem;
    background: #10b981;
    color: white;
    width: 2rem;
    height: 2rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.875rem;
}

.view-count-overlay {
    position: absolute;
    top: 0.5rem;
    right: 0.5rem;
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.video-info {
    padding: 1.5rem;
}

.modern-video-card .video-info {
    background: #0a5b0a;
}

.modern-video-card .video-title {
    color: #ffffff !important;
}

.modern-video-card .video-description {
    color: #ffffff !important;
}

.modern-video-card .video-meta span {
    color: #ffffff !important;
}

.modern-video-card .category-tag {
    background: rgba(255, 255, 255, 0.2) !important;
    color: #ffffff !important;
}

.modern-video-card .watch-status .status {
    color: #ffffff !important;
}

.videos-grid.list-view .video-info {
    flex: 1;
    padding: 0;
}

.video-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 0.5rem;
}

.video-title {
    font-size: 1.1rem;
    font-weight: 600;
    color: #ffffff;
    margin: 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    flex: 1;
    margin-right: 0.5rem;
}

.video-actions {
    display: flex;
    gap: 0.25rem;
    flex-shrink: 0;
}

.video-actions .action-btn {
    width: 28px;
    height: 28px;
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(67, 23, 72, 0.1);
    color: #ffffff;
    border: 1px solid rgba(67, 23, 72, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.8rem;
}

.video-actions .action-btn:hover {
    background: rgba(67, 23, 72, 0.2);
    color: #431748;
}

.bookmark-btn.bookmarked {
    background: rgba(245, 158, 11, 0.2);
    color: #f59e0b;
    border-color: rgba(245, 158, 11, 0.3);
}

.video-description {
    color: #ffffff;
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0 0 1rem 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.video-meta {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.meta-row {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 0.8rem;
}

.meta-row span {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    color: #ffffff;
}

.category-tag {
    background: rgba(59, 130, 246, 0.2);
    color: #3b82f6 !important;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-weight: 500;
}

.upload-date,
.views,
.duration {
    color: #ffffff;
}

.watch-status {
    margin-top: 0.5rem;
}

.watch-status .status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    font-weight: 500;
}

.status.completed {
    color: #10b981;
}

.status.in-progress {
    color: #431748;
}

.card-glow {
    position: absolute;
    inset: 0;
    background: linear-gradient(45deg, transparent, rgba(59, 130, 246, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.modern-video-card:hover .card-glow {
    opacity: 1;
}

/* Horizontal Video Cards */
.horizontal-scroll {
    overflow-x: auto;
    padding-bottom: 1rem;
    scrollbar-width: thin;
    scrollbar-color: rgba(59, 130, 246, 0.3) transparent;
}

.horizontal-scroll::-webkit-scrollbar {
    height: 6px;
}

.horizontal-scroll::-webkit-scrollbar-track {
    background: transparent;
}

.horizontal-scroll::-webkit-scrollbar-thumb {
    background: rgba(59, 130, 246, 0.3);
    border-radius: 3px;
}

.videos-horizontal {
    display: flex;
    gap: 1.5rem;
    padding-bottom: 0.5rem;
}

.video-card-horizontal {
    flex: 0 0 280px;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(67, 23, 72, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
}

.video-card-horizontal:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(67, 23, 72, 0.3);
    border-color: rgba(67, 23, 72, 0.4);
}

.video-thumbnail-horizontal {
    position: relative;
    aspect-ratio: 16/9;
    background: linear-gradient(135deg, #431748, #0a5b0a);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.continue-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.8);
    padding: 0.5rem;
}

.continue-progress .progress-bar {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 2px;
    overflow: hidden;
    margin-bottom: 0.25rem;
}

.continue-progress .progress-fill {
    height: 100%;
    background: #10b981;
    border-radius: 2px;
    transition: width 0.3s ease;
}

.progress-text {
    font-size: 0.7rem;
    color: white;
    text-align: center;
}

.video-info-horizontal {
    padding: 1rem;
}

.video-info-horizontal h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #1e293b;
    margin: 0 0 0.25rem 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.video-info-horizontal p {
    color: #64748b;
    font-size: 0.8rem;
    margin: 0 0 0.5rem 0;
}

.last-watched {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.7rem;
    color: #64748b;
}

/* Categories Grid */
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
}

.category-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid rgba(67, 23, 72, 0.2);
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.category-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(67, 23, 72, 0.3);
    border-color: rgba(67, 23, 72, 0.4);
}

.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(67, 23, 72, 0.1), transparent);
    transition: left 0.5s ease;
}

.category-card:hover::before {
    left: 100%;
}

.category-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #431748, #0a5b0a);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    margin-bottom: 1.5rem;
    box-shadow: 0 0 30px rgba(59, 130, 246, 0.3);
}

.category-content h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 0.5rem 0;
}

.category-content p {
    color: #64748b;
    font-size: 1rem;
    line-height: 1.6;
    margin: 0 0 1.5rem 0;
}

.category-stats {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: #ffffff;
    margin-bottom: 1rem;
}

.category-stats i {
    color: #431748;
}

.category-arrow {
    position: absolute;
    top: 2rem;
    right: 2rem;
    width: 40px;
    height: 40px;
    background: rgba(59, 130, 246, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #431748;
    transition: all 0.3s ease;
}

.category-card:hover .category-arrow {
    background: #431748;
    color: white;
    transform: translateX(5px);
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in {
    animation: fadeIn 0.6s ease forwards;
}

/* Responsive Design for Modern Platform */
@media (max-width: 1200px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }
    
    .hero-text h1 {
        font-size: 2.5rem;
    }
    
    .videos-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
    
    .categories-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    .modern-sidebar {
        transform: translateX(-100%);
        width: 320px;
    }
    
    .modern-sidebar.show {
        transform: translateX(0);
        z-index: 1000;
    }
    
    .modern-sidebar.show::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: -1;
    }
    
    .main-content {
        margin-left: 0;
    }
    
    .mobile-menu-toggle {
        display: block !important;
    }
    
    .platform-header {
        padding: 1rem;
    }
    
    .header-center {
        margin: 0 1rem;
        max-width: none;
    }
    
    .header-actions {
        gap: 0.5rem;
    }
    
    .content-wrapper {
        padding: 1rem;
    }
    
    .hero-section {
        padding: 2rem 1rem;
    }
    
    .hero-text h1 {
        font-size: 2rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }
    
    .videos-grid {
        grid-template-columns: 1fr;
    }
    
    .categories-grid {
        grid-template-columns: 1fr;
    }
    
    .video-card-horizontal {
        flex: 0 0 250px;
    }
    
    .section-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .platform-header {
        flex-direction: column;
        gap: 1rem;
        padding: 1rem 0.5rem;
    }
    
    .header-left,
    .header-center,
    .header-right {
        width: 100%;
        margin: 0;
    }
    
    .search-input-wrapper {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .search-btn {
        border-radius: 8px;
        width: 100%;
    }
    
    .hero-text h1 {
        font-size: 1.75rem;
    }
    
    .hero-text p {
        font-size: 1rem;
    }
    
    .category-card {
        padding: 1.5rem;
    }
    
    .category-icon {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    .category-content h3 {
        font-size: 1.25rem;
    }
    
    .video-card-horizontal {
        flex: 0 0 220px;
    }
    
    .modern-video-card {
        margin-bottom: 1rem;
    }
    
    .video-thumbnail {
        aspect-ratio: 16/9;
    }
    
    .video-info {
        padding: 1rem;
    }
    
    .video-title {
        font-size: 1rem;
        line-height: 1.4;
    }
    
    .video-description {
        font-size: 0.85rem;
        line-height: 1.4;
    }
    
    .video-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .meta-row {
        flex-direction: column;
        gap: 0.25rem;
    }
    
    .category-tag,
    .upload-date,
    .views {
        font-size: 0.8rem;
    }
    
    .featured-video-card {
        flex-direction: column;
    }
    
    .featured-thumbnail {
        width: 100%;
        height: 200px;
    }
    
    .featured-info {
        padding: 1rem;
    }
    
    .featured-info h3 {
        font-size: 1.25rem;
    }
    
    .featured-info p {
        font-size: 0.9rem;
    }
    
    .hero-video {
        margin-top: 1rem;
    }
    
    .hero-stats {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .hero-stat {
        text-align: center;
        padding: 0.75rem;
    }
    
    .stat-number {
        font-size: 1.5rem;
    }
    
    .stat-label {
        font-size: 0.8rem;
    }
    
    .modern-video-card {
        border-radius: 12px;
    }
    
    .video-info {
        padding: 1rem;
    }
    
    .video-title {
        font-size: 1rem;
    }
    
    .video-meta {
        gap: 0.25rem;
    }
    
    .meta-row {
        gap: 0.5rem;
        font-size: 0.75rem;
    }
}

/* Watch Page Styles */
.back-navigation {
    margin-bottom: 2rem;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: #64748b;
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.back-link:hover {
    color: #431748;
}

.video-watch-container {
    background: #ffffff;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.video-player-wrapper {
    position: relative;
    background: #000;
}

.video-player {
    width: 100%;
    aspect-ratio: 16/9;
}

.video-player video {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.video-error {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 4rem 2rem;
    text-align: center;
    background: #f8fafc;
}

.error-icon {
    font-size: 3rem;
    color: #ef4444;
    margin-bottom: 1rem;
}

.error-icon i {
    background: linear-gradient(135deg, #ef4444, #dc2626);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.video-error h3 {
    color: #1e293b;
    margin-bottom: 0.5rem;
}

.video-error p {
    color: #64748b;
}

.video-details-section {
    padding: 2rem;
}

.video-header-info {
    margin-bottom: 2rem;
}

.video-watch-title {
    font-size: 1.75rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 1rem 0;
    line-height: 1.3;
}

.video-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 1rem;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #64748b;
    font-size: 0.9rem;
}

.stat-item i {
    color: #431748;
}

.video-description-section {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #0a5b0a;
}

.video-description-section h3 {
    color: #1e293b;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.video-description-section p {
    color: #64748b;
    line-height: 1.6;
    margin: 0;
}

.video-technical-info h3 {
    color: #1e293b;
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.tech-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.tech-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem;
    background: #f8fafc;
    border-radius: 8px;
    border: 1px solid #0a5b0a;
}

.tech-label {
    color: #64748b;
    font-weight: 500;
}

.tech-value {
    color: #1e293b;
    font-weight: 600;
}

.related-videos-section {
    margin-top: 2rem;
}

.related-videos-section .section-header {
    margin-bottom: 2rem;
}

.related-videos-section .section-header h2 {
    color: #1e293b;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 0.5rem 0;
}

.related-videos-section .section-header p {
    color: #64748b;
    margin: 0;
}

/* Responsive Design for Watch Page */
@media (max-width: 768px) {
    .video-watch-title {
        font-size: 1.5rem;
    }
    
    .video-stats {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .tech-grid {
        grid-template-columns: 1fr;
    }
    
    .video-watch-container {
        padding: 1rem;
    }
    
    .video-player-wrapper {
        margin-bottom: 1.5rem;
    }
    
    .video-player {
        width: 100%;
        height: 200px;
        border-radius: 12px;
    }
    
    .video-details-section {
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    .video-details-section {
        padding: 1rem;
    }
    
    .video-watch-title {
        font-size: 1.25rem;
    }
}

/* Admin Settings Page Styles */
.settings-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.settings-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 2rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(67, 23, 72, 0.1);
}

.settings-card.full-width {
    grid-column: 1 / -1;
}

.settings-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(67, 23, 72, 0.1);
}

.settings-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #431748, #0a5b0a);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.2rem;
}

.settings-title h3 {
    color: #1e293b;
    font-size: 1.25rem;
    font-weight: 600;
    margin: 0 0 0.25rem 0;
}

.settings-title p {
    color: #64748b;
    margin: 0;
    font-size: 0.9rem;
}

.site-settings-form {
    width: 100%;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-group label {
    color: #1e293b;
    font-weight: 500;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.form-group input,
.form-group textarea {
    padding: 0.75rem 1rem;
    border: 1px solid rgba(67, 23, 72, 0.2);
    border-radius: 8px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    background: #ffffff;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #431748;
    box-shadow: 0 0 0 3px rgba(67, 23, 72, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 80px;
}

.form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(67, 23, 72, 0.1);
}

.save-btn {
    background: linear-gradient(135deg, #431748, #0a5b0a);
    color: white;
    border: none;
    padding: 0.75rem 2rem;
    border-radius: 8px;
    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 8px 25px rgba(67, 23, 72, 0.3);
}

.current-favicon,
.no-favicon {
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: #f8fafc;
    border-radius: 8px;
    text-align: center;
}

.current-favicon h4 {
    color: #1e293b;
    margin: 0 0 1rem 0;
    font-size: 0.9rem;
}

.favicon-preview {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.favicon-preview span {
    color: #64748b;
    font-size: 0.8rem;
}

.no-favicon {
    color: #64748b;
}

.no-favicon i {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    display: block;
}

.favicon-upload-form {
    margin-top: 1rem;
}

.file-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    border: 2px dashed rgba(67, 23, 72, 0.3);
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    background: #f8fafc;
}

.file-label:hover {
    border-color: #431748;
    background: rgba(67, 23, 72, 0.05);
}

.file-label i {
    font-size: 2rem;
    color: #431748;
    margin-bottom: 0.5rem;
}

.file-label span {
    color: #1e293b;
    font-weight: 500;
}

.file-label input[type="file"] {
    display: none;
}

.file-info {
    color: #64748b;
    font-size: 0.8rem;
    margin-top: 0.5rem;
    text-align: center;
}

.upload-btn {
    background: linear-gradient(135deg, #431748, #0a5b0a);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
    width: 100%;
    justify-content: center;
}

.upload-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(67, 23, 72, 0.3);
}

.current-logo {
    margin-bottom: 1.5rem;
}

.current-logo h4 {
    color: #1e293b;
    margin: 0 0 1rem 0;
    font-size: 0.9rem;
}

.logo-preview {
    display: flex;
    justify-content: center;
}

.no-logo {
    text-align: center;
    padding: 2rem;
    color: #64748b;
    background: #f8fafc;
    border-radius: 8px;
    margin-bottom: 1.5rem;
}

.no-logo i {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    display: block;
}

.logo-upload-form {
    margin-top: 1rem;
}

.login-preview {
    background: linear-gradient(135deg, #431748, #0a5b0a);
    border-radius: 12px;
    padding: 2rem;
    color: white;
    text-align: center;
}

.preview-header h4 {
    color: white;
    margin: 0 0 1.5rem 0;
    font-size: 1rem;
}

.preview-content h3 {
    color: white;
    margin: 1rem 0 0.5rem 0;
    font-size: 1.25rem;
}

.preview-content p {
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    font-size: 0.9rem;
}

.preview-logo-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.6);
}

.preview-actions {
    margin-top: 1.5rem;
}

.preview-btn {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    text-decoration: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
}

.preview-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    color: white;
    text-decoration: none;
}

/* Responsive Design for Settings */
@media (max-width: 768px) {
    .settings-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .form-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .settings-card {
        padding: 1.5rem;
    }
    
    .settings-header {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }
}

/* Admin Add Video Page Styles */
.page-navigation {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 2rem;
    padding: 1rem 0;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.5rem;
    background: rgba(59, 130, 246, 0.1);
    border: 1px solid rgba(59, 130, 246, 0.3);
    border-radius: 10px;
    color: #431748;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.back-link:hover {
    background: rgba(59, 130, 246, 0.2);
    border-color: rgba(59, 130, 246, 0.4);
    transform: translateX(-3px);
}

.page-actions {
    display: flex;
    gap: 1rem;
}

.action-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 10px;
    color: #10b981;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
}

.action-link:hover {
    background: rgba(16, 185, 129, 0.2);
    border-color: rgba(16, 185, 129, 0.4);
    transform: translateY(-2px);
}

.upload-form-container {
    background: rgba(30, 41, 59, 0.6);
    backdrop-filter: blur(20px);
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid rgba(59, 130, 246, 0.2);
    max-width: 1000px;
    margin: 0 auto;
}

.form-header {
    text-align: center;
    margin-bottom: 3rem;
}

.form-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #431748, #0a5b0a);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    box-shadow: 0 0 30px rgba(59, 130, 246, 0.4);
}

.form-icon i {
    font-size: 2.5rem;
    color: white;
}

.form-header h2 {
    font-size: 2rem;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 0.5rem 0;
}

.form-header p {
    font-size: 1rem;
    color: #ffffff;
    margin: 0;
}

.empty-categories {
    text-align: center;
    padding: 4rem 2rem;
    color: #ffffff;
}

.empty-categories .empty-icon {
    width: 120px;
    height: 120px;
    background: rgba(245, 158, 11, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
}

.empty-categories .empty-icon i {
    font-size: 3rem;
    color: #f59e0b;
}

.empty-categories h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: #ffffff;
    margin: 0 0 1rem 0;
}

.empty-categories p {
    font-size: 1rem;
    margin: 0 0 2rem 0;
    color: #ffffff;
}

.modern-upload-form {
    margin-top: 2rem;
}

.form-sections {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 2rem;
}

.form-section {
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(20px);
    border-radius: 12px;
    padding: 2rem;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.section-header {
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(59, 130, 246, 0.2);
}

.section-header h3 {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.25rem;
    font-weight: 600;
    color: #1e293b;
    margin: 0 0 0.5rem 0;
}

.section-header h3 i {
    color: #431748;
}

.section-header p {
    font-size: 0.9rem;
    color: #64748b;
    margin: 0;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    font-weight: 600;
    color: #ffffff;
}

.form-label i {
    color: #431748;
    font-size: 1rem;
}

.required {
    color: #ef4444;
    font-weight: 700;
}

.input-wrapper {
    position: relative;
}

.input-wrapper input,
.input-wrapper textarea {
    width: 100%;
    padding: 1rem;
    background: rgba(15, 23, 42, 0.8);
    border: 2px solid rgba(59, 130, 246, 0.3);
    border-radius: 10px;
    color: #ffffff;
    font-size: 1rem;
    transition: all 0.3s ease;
    resize: vertical;
}

.input-wrapper input:focus,
.input-wrapper textarea:focus {
    outline: none;
    border-color: #3b82f6;
    background: rgba(15, 23, 42, 0.9);
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.2);
}

.input-wrapper input::placeholder,
.input-wrapper textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.input-feedback {
    display: flex;
    justify-content: flex-end;
    margin-top: 0.5rem;
}

.char-count {
    font-size: 0.8rem;
    color: #ffffff;
    font-weight: 500;
}

.select-wrapper {
    position: relative;
}

.select-wrapper select {
    width: 100%;
    padding: 1rem;
    background: rgba(15, 23, 42, 0.8);
    border: 2px solid rgba(59, 130, 246, 0.3);
    border-radius: 10px;
    color: #ffffff;
    font-size: 1rem;
    cursor: pointer;
    appearance: none;
    transition: all 0.3s ease;
}

.select-wrapper select:focus {
    outline: none;
    border-color: #3b82f6;
    background: rgba(15, 23, 42, 0.9);
    box-shadow: 0 0 0 4px rgba(59, 130, 246, 0.2);
}

.select-arrow {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: #ffffff;
    pointer-events: none;
    transition: transform 0.3s ease;
}

.select-wrapper:hover .select-arrow {
    transform: translateY(-50%) rotate(180deg);
}

.upload-area {
    position: relative;
    border: 2px dashed rgba(59, 130, 246, 0.3);
    border-radius: 12px;
    padding: 3rem 2rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    background: rgba(15, 23, 42, 0.4);
}

.upload-area:hover,
.upload-area.drag-over {
    border-color: #3b82f6;
    background: rgba(59, 130, 246, 0.1);
    transform: translateY(-2px);
}

.upload-area.has-file {
    border-color: #10b981;
    background: rgba(16, 185, 129, 0.1);
}

.upload-area input[type="file"] {
    position: absolute;
    opacity: 0;
    width: 100%;
    height: 100%;
    cursor: pointer;
}

.upload-content {
    pointer-events: none;
}

.upload-icon {
    width: 80px;
    height: 80px;
    background: rgba(59, 130, 246, 0.2);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
}

.upload-icon i {
    font-size: 2.5rem;
    color: #431748;
}

.upload-content h4 {
    font-size: 1.25rem;
    font-weight: 600;
    color: #ffffff;
    margin: 0 0 0.5rem 0;
}

.upload-content p {
    font-size: 1rem;
    color: #ffffff;
    margin: 0 0 2rem 0;
}

.upload-specs {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.spec-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    color: #ffffff;
}

.spec-item i {
    color: #431748;
}

.upload-preview {
    pointer-events: none;
}

.preview-content {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    background: rgba(16, 185, 129, 0.1);
    border-radius: 10px;
    border: 1px solid rgba(16, 185, 129, 0.3);
    position: relative;
}

.file-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #10b981, #059669);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.file-icon i {
    font-size: 1.5rem;
    color: white;
}

.file-info {
    flex: 1;
}

.file-info h5 {
    font-size: 1.1rem;
    font-weight: 600;
    color: #ffffff;
    margin: 0 0 0.25rem 0;
    word-break: break-all;
}

.file-info p {
    font-size: 0.9rem;
    color: #ffffff;
    margin: 0 0 0.5rem 0;
}

.file-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    color: #10b981;
    font-weight: 500;
}

.remove-file {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 32px;
    height: 32px;
    background: rgba(239, 68, 68, 0.2);
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 50%;
    color: #ef4444;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    pointer-events: all;
}

.remove-file:hover {
    background: rgba(239, 68, 68, 0.3);
    transform: scale(1.1);
}

.upload-progress {
    padding: 2rem;
}

.progress-bar {
    width: 100%;
    height: 8px;
    background: rgba(59, 130, 246, 0.2);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 1rem;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6);
    border-radius: 4px;
    transition: width 0.3s ease;
    width: 0%;
}

.progress-text {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    color: #ffffff;
}

.form-actions {
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(20px);
    border-radius: 12px;
    padding: 2rem;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.action-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.btn-submit {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #431748, #0a5b0a);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
}

.btn-submit:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(59, 130, 246, 0.5);
}

.btn-submit:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.btn-loading {
    display: none;
    align-items: center;
    gap: 0.75rem;
}

.btn-cancel {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
}

.btn-cancel:hover {
    background: rgba(239, 68, 68, 0.3);
    transform: translateY(-2px);
}

.form-tips {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.tip-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem;
    background: rgba(59, 130, 246, 0.1);
    border-radius: 8px;
    border: 1px solid rgba(59, 130, 246, 0.2);
    font-size: 0.9rem;
    color: #ffffff;
}

.tip-item i {
    color: #431748;
    font-size: 1rem;
}

.success-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.success-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.25rem;
    background: rgba(16, 185, 129, 0.2);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.success-btn:hover {
    background: rgba(16, 185, 129, 0.3);
    transform: translateY(-1px);
}

/* Responsive Design for Add Video Page */
@media (max-width: 1024px) {
    .form-grid {
        grid-template-columns: 1fr;
    }
    
    .upload-specs {
        flex-direction: column;
        gap: 1rem;
    }
}

@media (max-width: 768px) {
    .page-navigation {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .upload-form-container {
        padding: 1.5rem;
    }
    
    .form-section {
        padding: 1.5rem;
    }
    
    .upload-area {
        padding: 2rem 1rem;
    }
    
    .action-buttons {
        flex-direction: column;
    }
    
    .form-tips {
        gap: 0.75rem;
    }
    
    .success-actions {
        flex-direction: column;
    }
    
    .preview-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .upload-form-container {
        padding: 1rem;
    }
    
    .form-header {
        margin-bottom: 2rem;
    }
    
    .form-icon {
        width: 60px;
        height: 60px;
    }
    
    .form-icon i {
        font-size: 2rem;
    }
    
    .form-header h2 {
        font-size: 1.5rem;
    }
    
    .form-section {
        padding: 1rem;
    }
    
    .upload-area {
        padding: 1.5rem 1rem;
    }
    
    .upload-icon {
        width: 60px;
        height: 60px;
    }
    
    .upload-icon i {
        font-size: 2rem;
    }
    
    .upload-content h4 {
        font-size: 1.1rem;
    }
    
    .spec-item {
        font-size: 0.8rem;
    }
    
    .btn-submit,
    .btn-cancel {
        padding: 0.875rem 1.5rem;
        font-size: 0.9rem;
    }
}

/* Admin Categories Page Styles */
.category-stats-overview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.category-management-panel {
    background: rgba(30, 41, 59, 0.6);
    backdrop-filter: blur(20px);
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.category-filters {
    margin-bottom: 2rem;
}

.category-list-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    padding: 1rem;
    background: rgba(15, 23, 42, 0.6);
    border-radius: 12px;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.category-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
}

.category-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.category-card {
    background: rgba(15, 23, 42, 0.6);
    backdrop-filter: blur(20px);
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid rgba(59, 130, 246, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.category-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(59, 130, 246, 0.3);
    border-color: rgba(59, 130, 246, 0.4);
}

.category-list .category-card {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
}

.category-list .category-card:hover {
    transform: none;
}

.category-checkbox {
    position: absolute;
    top: 1rem;
    left: 1rem;
    z-index: 2;
}

.category-list .category-checkbox {
    position: static;
    order: -1;
}

.category-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1rem;
}

.category-list .category-header {
    flex-direction: column;
    align-items: center;
    margin-bottom: 0;
    width: 80px;
    flex-shrink: 0;
}

.category-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #431748, #0a5b0a);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    margin-bottom: 0.5rem;
}

.category-list .category-icon {
    margin-bottom: 0.25rem;
}

.category-badge {
    display: flex;
    gap: 0.5rem;
}

.badge {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge.empty {
    background: rgba(239, 68, 68, 0.2);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.badge.active {
    background: rgba(16, 185, 129, 0.2);
    color: #10b981;
    border: 1px solid rgba(16, 185, 129, 0.3);
}

.badge.popular {
    background: rgba(245, 158, 11, 0.2);
    color: #f59e0b;
    border: 1px solid rgba(245, 158, 11, 0.3);
}

.category-content {
    flex: 1;
}

.category-list .category-content {
    margin-right: 1rem;
}

.category-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #ffffff;
    margin: 0 0 0.5rem 0;
    line-height: 1.4;
}

.category-description {
    color: #ffffff;
    font-size: 0.9rem;
    line-height: 1.5;
    margin: 0 0 1rem 0;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.category-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.category-list .category-meta {
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 0;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.8rem;
    color: #ffffff;
}

.meta-item i {
    color: #431748;
    width: 14px;
    text-align: center;
}

.category-actions {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

.category-list .category-actions {
    margin-top: 0;
    flex-direction: column;
    width: 40px;
}

.category-progress {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid rgba(59, 130, 246, 0.2);
}

.category-progress .progress-bar {
    width: 100%;
    height: 6px;
    background: rgba(59, 130, 246, 0.2);
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 0.5rem;
}

.category-progress .progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #10b981, #059669);
    border-radius: 3px;
    transition: width 0.3s ease;
}

.progress-text {
    font-size: 0.75rem;
    color: #ffffff;
    text-align: center;
}

/* Category Card Animations */
.category-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(67, 23, 72, 0.1), transparent);
    transition: left 0.5s ease;
}

.category-card:hover::before {
    left: 100%;
}

/* Responsive Design for Categories Page */
@media (max-width: 1200px) {
    .category-stats-overview {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .category-grid {
        grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    }
}

@media (max-width: 768px) {
    .modern-sidebar {
        transform: translateX(-100%);
        width: 320px;
        z-index: 1001;
        position: fixed;
        left: 0;
        top: 0;
        height: 100vh;
        overflow-y: auto;
    }
    
    .modern-sidebar.show {
        transform: translateX(0);
    }
    
    /* Mobile overlay */
    .sidebar-overlay {
        display: none;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        bottom: 0;
        background: rgba(0, 0, 0, 0.5);
        z-index: 1000;
    }
    
    .sidebar-overlay.show {
        display: block;
    }
    
    .main-content {
        margin-left: 0;
        width: 100%;
    }
    
    .main-content.expanded {
        margin-left: 0;
    }
    
    .mobile-menu-toggle {
        display: block !important;
    }
    
    .category-list .category-actions {
        flex-direction: row;
        width: auto;
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .category-management-panel {
        padding: 1rem;
    }
    
    .category-card {
        padding: 1rem;
    }
    
    .category-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .category-icon {
        width: 50px;
        height: 50px;
        font-size: 1.25rem;
    }
    
    .category-title {
        font-size: 1.1rem;
    }
    
    .category-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .category-actions {
        justify-content: center;
    }
    
    .bulk-actions {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
}

/* Admin Dashboard Background */
.admin-dashboard-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #ffffff;
    z-index: -1;
}

.admin-dashboard-background .floating-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    opacity: 0.05;
}

.admin-dashboard-background .shape {
    position: absolute;
    background: rgba(67, 23, 72, 0.08);
    border-radius: 50%;
    animation: float 25s infinite linear;
}

.admin-dashboard-background .shape-1 {
    width: 100px;
    height: 100px;
    top: 15%;
    left: 8%;
    animation-delay: 0s;
}

.admin-dashboard-background .shape-2 {
    width: 150px;
    height: 150px;
    top: 65%;
    right: 12%;
    animation-delay: -8s;
}

.admin-dashboard-background .shape-3 {
    width: 80px;
    height: 80px;
    bottom: 25%;
    left: 15%;
    animation-delay: -16s;
}

.admin-dashboard-background .shape-4 {
    width: 120px;
    height: 120px;
    top: 35%;
    right: 25%;
    animation-delay: -24s;
}

/* Support Page Styles */
.support-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #ffffff;
    z-index: -1;
}

.support-background .floating-shapes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    opacity: 0.1;
}

.support-background .shape {
    position: absolute;
    background: rgba(67, 23, 72, 0.1);
    border-radius: 50%;
    animation: float 20s infinite linear;
}

.support-background .shape-1 {
    width: 80px;
    height: 80px;
    top: 20%;
    left: 10%;
    animation-delay: 0s;
}

.support-background .shape-2 {
    width: 120px;
    height: 120px;
    top: 60%;
    right: 15%;
    animation-delay: -5s;
}

.support-background .shape-3 {
    width: 60px;
    height: 60px;
    bottom: 30%;
    left: 20%;
    animation-delay: -10s;
}

.support-background .shape-4 {
    width: 100px;
    height: 100px;
    top: 40%;
    right: 30%;
    animation-delay: -15s;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
    }
}

.support-form-container {
    background: #ffffff;
    border-radius: 20px;
    padding: 2.5rem;
    margin-bottom: 2rem;
    border: 1px solid rgba(67, 23, 72, 0.2);
    box-shadow: 0 8px 30px rgba(67, 23, 72, 0.1);
    position: relative;
    overflow: hidden;
}

.support-form-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #431748, #0a5b0a);
    border-radius: 20px 20px 0 0;
}

.support-form {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    position: relative;
    z-index: 1;
}

.form-row {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 1.5rem;
}

.support-form .form-group {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.support-form label {
    font-weight: 600;
    color: #1e293b;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.support-form label i {
    color: #431748;
    width: 16px;
}

.support-form input,
.support-form select,
.support-form textarea {
    padding: 1rem 1.25rem;
    border: 2px solid rgba(67, 23, 72, 0.2);
    border-radius: 12px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #ffffff;
    color: #1e293b;
    font-family: inherit;
}

.support-form input:focus,
.support-form select:focus,
.support-form textarea:focus {
    outline: none;
    border-color: #431748;
    box-shadow: 0 0 0 4px rgba(67, 23, 72, 0.15);
    background: #ffffff;
    transform: translateY(-2px);
}

.support-form textarea {
    resize: vertical;
    min-height: 140px;
    line-height: 1.6;
}

.form-actions {
    display: flex;
    justify-content: center;
    margin-top: 1rem;
}

.form-actions .btn-primary {
    padding: 1rem 2rem;
    font-size: 1.1rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.3s ease;
}

.form-actions .btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(67, 23, 72, 0.4);
}

.tickets-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(400px, 1fr));
    gap: 1.5rem;
}

.ticket-card {
    background: #ffffff;
    border-radius: 16px;
    padding: 2rem;
    border: 1px solid rgba(67, 23, 72, 0.2);
    box-shadow: 0 6px 20px rgba(67, 23, 72, 0.08);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.ticket-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(135deg, #431748, #0a5b0a);
    border-radius: 16px 16px 0 0;
}

.ticket-card:hover {
    box-shadow: 0 10px 30px rgba(67, 23, 72, 0.15);
    transform: translateY(-3px);
    border-color: rgba(67, 23, 72, 0.3);
}

.ticket-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
}

.ticket-info h3 {
    color: #1e293b;
    margin: 0 0 0.75rem 0;
    font-size: 1.2rem;
    font-weight: 600;
    line-height: 1.4;
}

.ticket-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.ticket-date {
    color: #64748b;
    font-size: 0.9rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.ticket-date i {
    color: #431748;
}

.ticket-status {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: flex-end;
}

.ticket-content {
    position: relative;
    z-index: 1;
}

.status-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.status-open {
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.status-in_progress {
    background: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
    border: 1px solid rgba(245, 158, 11, 0.2);
}

.status-resolved {
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
    border: 1px solid rgba(34, 197, 94, 0.2);
}

.status-closed {
    background: rgba(107, 114, 128, 0.1);
    color: #6b7280;
    border: 1px solid rgba(107, 114, 128, 0.2);
}

.priority-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.priority-low {
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
    border: 1px solid rgba(34, 197, 94, 0.2);
}

.priority-medium {
    background: rgba(59, 130, 246, 0.1);
    color: #3b82f6;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.priority-high {
    background: rgba(245, 158, 11, 0.1);
    color: #f59e0b;
    border: 1px solid rgba(245, 158, 11, 0.2);
}

.priority-urgent {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.ticket-message {
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.ticket-message {
    color: #64748b;
    line-height: 1.6;
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.ticket-reply {
    background: linear-gradient(135deg, rgba(67, 23, 72, 0.08), rgba(10, 91, 10, 0.08));
    border: 1px solid rgba(67, 23, 72, 0.2);
    border-radius: 12px;
    padding: 1.5rem;
    margin-top: 1.5rem;
    position: relative;
}

.ticket-reply::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: linear-gradient(135deg, #431748, #0a5b0a);
    border-radius: 12px 0 0 12px;
}

.reply-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.reply-header h4 {
    color: #431748;
    margin: 0;
    font-size: 1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.reply-header h4 i {
    color: #0a5b0a;
}

.reply-date {
    color: #64748b;
    font-size: 0.85rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.reply-content p {
    color: #1e293b;
    margin: 0;
    line-height: 1.6;
    font-size: 0.95rem;
}

.ticket-pending {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1), rgba(245, 158, 11, 0.05));
    border: 1px solid rgba(245, 158, 11, 0.3);
    border-radius: 12px;
    padding: 1.5rem;
    margin-top: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    color: #f59e0b;
    font-weight: 500;
}

.ticket-pending i {
    font-size: 1.2rem;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* Support Page Responsive */
@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .tickets-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .support-form-container {
        padding: 1rem;
        margin: 1rem;
    }
    
    .support-form {
        padding: 1.5rem;
    }
    
    .form-row {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .form-group {
        margin-bottom: 1rem;
    }
    
    .form-group label {
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 0.75rem;
        font-size: 0.9rem;
    }
    
    .form-actions {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .btn-primary,
    .btn-secondary {
        width: 100%;
        padding: 0.75rem 1rem;
        font-size: 0.9rem;
    }
    
    .ticket-card {
        padding: 1rem;
        margin-bottom: 1rem;
    }
    
    .ticket-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .ticket-info h3 {
        font-size: 1rem;
        line-height: 1.4;
    }
    
    .ticket-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .ticket-message {
        font-size: 0.9rem;
        line-height: 1.5;
    }
    
    /* Category Page Mobile Styles */
    .container {
        padding: 0.5rem;
    }
    
    .header {
        padding: 1rem 0.5rem;
        flex-direction: column;
        gap: 1rem;
    }
    
    .header h1 {
        font-size: 1.5rem;
        text-align: center;
    }
    
    .nav {
        flex-direction: column;
        gap: 0.5rem;
        width: 100%;
    }
    
    .nav a {
        padding: 0.75rem 1rem;
        text-align: center;
        border-radius: 8px;
    }
    
    .content {
        padding: 1rem 0.5rem;
    }
    
    .videos-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .video-card {
        margin-bottom: 1rem;
    }
    
    .video-thumbnail {
        height: 200px;
    }
    
    .video-info {
        padding: 1rem;
    }
    
    .video-title {
        font-size: 1rem;
        line-height: 1.4;
        margin-bottom: 0.5rem;
    }
    
    .video-description {
        font-size: 0.85rem;
        line-height: 1.4;
        margin-bottom: 0.75rem;
    }
    
    .video-meta {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .video-meta span {
        font-size: 0.8rem;
    }
    
    .support-form-container {
        padding: 1.5rem;
        margin-bottom: 1.5rem;
    }
    
    .ticket-card {
        padding: 1.5rem;
    }
    
    .ticket-header {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }
    
    .ticket-status {
        align-items: flex-start;
        flex-direction: row;
        gap: 0.75rem;
    }
    
    .form-actions .btn-primary {
        width: 100%;
        justify-content: center;
    }
}

/* Admin Support Styles */
.tickets-table {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.ticket-row {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid rgba(67, 23, 72, 0.2);
    box-shadow: 0 4px 15px rgba(67, 23, 72, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
}

.ticket-row .ticket-info {
    flex: 1;
}

.ticket-row .ticket-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: flex-end;
}

.ticket-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    font-size: 0.85rem;
    color: #64748b;
}

.user-info,
.ticket-date {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.admin-reply {
    background: rgba(67, 23, 72, 0.05);
    border-left: 4px solid #431748;
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1rem;
}

.admin-reply h4 {
    color: #431748;
    margin: 0 0 0.5rem 0;
    font-size: 0.9rem;
    font-weight: 600;
}

.admin-reply p {
    color: #1e293b;
    margin: 0 0 0.5rem 0;
    line-height: 1.6;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 16px;
    padding: 2rem;
    width: 90%;
    max-width: 500px;
    max-height: 80vh;
    overflow-y: auto;
    border: 1px solid rgba(67, 23, 72, 0.2);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(67, 23, 72, 0.2);
}

.modal-header h3 {
    color: #1e293b;
    margin: 0;
}

.modal-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    color: #64748b;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: rgba(67, 23, 72, 0.1);
    color: #431748;
}

.modal-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.modal-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 1rem;
}

/* Settings Page Styles */
.settings-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.settings-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.1);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.settings-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.15);
    border-color: rgba(255, 255, 255, 0.2);
}

.settings-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.settings-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #431748 0%, #0a5b0a 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
}

.settings-title h3 {
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 0.5rem 0;
}

.settings-title p {
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
    font-size: 0.9rem;
}

.settings-content {
    color: rgba(255, 255, 255, 0.9);
}

.current-logo h4 {
    color: #ffffff;
    margin-bottom: 1rem;
    font-weight: 600;
}

.logo-preview {
    margin-bottom: 2rem;
}

.no-logo {
    text-align: center;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    border: 2px dashed rgba(255, 255, 255, 0.2);
    margin-bottom: 2rem;
}

.no-logo i {
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 1rem;
}

.no-logo p {
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

.logo-upload-form {
    margin-top: 1.5rem;
}

.file-label {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #431748 0%, #0a5b0a 100%);
    color: white;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    margin-bottom: 1rem;
}

.file-label:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(67, 23, 72, 0.4);
}

.file-label input[type="file"] {
    display: none;
}

.file-info {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
    margin: 0 0 1.5rem 0;
}

.upload-btn {
    width: 100%;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, #0a5b0a 0%, #431748 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.upload-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(10, 91, 10, 0.4);
}

.login-preview {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    margin-bottom: 1.5rem;
}

.preview-header h4 {
    color: #ffffff;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.preview-content {
    color: rgba(255, 255, 255, 0.9);
}

.preview-logo {
    margin-bottom: 1.5rem;
}

.preview-logo-placeholder {
    width: 80px;
    height: 80px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    color: rgba(255, 255, 255, 0.5);
}

.preview-logo-placeholder i {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.preview-logo-placeholder span {
    font-size: 0.8rem;
}

.preview-content h3 {
    color: #ffffff;
    font-size: 1.5rem;
    font-weight: 700;
    margin: 0 0 0.5rem 0;
}

.preview-content p {
    color: rgba(255, 255, 255, 0.8);
    margin: 0;
    font-size: 0.9rem;
}

.preview-actions {
    text-align: center;
}

.preview-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.preview-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .settings-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .settings-card {
        padding: 1.5rem;
    }
    
    .settings-header {
        flex-direction: column;
        text-align: center;
        gap: 0.75rem;
    }
}
