:root {
    /* Enhanced Luxury Theme Color Palette - Dashboard Matched */
    --luxury-primary: #2C1810;
    --luxury-secondary: #4A2C2A;
    --luxury-accent: #8B4513;
    --luxury-gold: #D4AF37;
    --luxury-cream: #F5E6D3;
    --luxury-white: #FFFFFF;
    --luxury-gray: #E8E8E8;
    --luxury-dark: #1A0E08;
    --luxury-light: #FFF8F3;
    
    /* Unified Color System */
    --primary-color: var(--luxury-primary);
    --secondary-color: var(--luxury-secondary);
    --accent-color: var(--luxury-accent);
    --gold-color: var(--luxury-gold);
    --cream-color: var(--luxury-cream);
    --white-color: var(--luxury-white);
    --gray-color: var(--luxury-gray);
    --dark-color: var(--luxury-dark);
    --light-color: var(--luxury-light);
    
    /* Text Colors */
    --text-primary: var(--luxury-primary);
    --text-secondary: var(--luxury-secondary);
    --text-accent: var(--luxury-accent);
    --text-white: var(--luxury-white);
    --text-on-dark: var(--luxury-white);
    --text-on-light: var(--luxury-primary);
    --text-muted: var(--luxury-secondary);
    
    /* Background Colors */
    --bg-primary: var(--luxury-white);
    --bg-secondary: var(--luxury-cream);
    --bg-accent: var(--luxury-gray);
    --bg-dark: var(--luxury-primary);
    --bg-luxury: var(--luxury-secondary);
    --bg-light: var(--luxury-light);
    
    /* Border Colors */
    --border-primary: var(--luxury-gray);
    --border-secondary: var(--luxury-accent);
    --border-luxury: var(--luxury-primary);
    --border-gold: var(--luxury-gold);
    --border-dark: var(--luxury-dark);
    
    /* Shadow Colors */
    --shadow-light: rgba(44, 24, 16, 0.08);
    --shadow-medium: rgba(44, 24, 16, 0.15);
    --shadow-strong: rgba(44, 24, 16, 0.25);
    --shadow-luxury: rgba(212, 175, 55, 0.15);
    --shadow-gold: rgba(212, 175, 55, 0.3);
    
    /* Gradient Definitions - Enhanced */
    --gradient-luxury: linear-gradient(135deg, var(--luxury-primary) 0%, var(--luxury-secondary) 40%, var(--luxury-accent) 100%);
    --gradient-gold: linear-gradient(135deg, var(--luxury-gold) 0%, #F4E4BC 50%, #FAEBD7 100%);
    --gradient-cream: linear-gradient(135deg, var(--luxury-cream) 0%, var(--luxury-light) 50%, var(--luxury-white) 100%);
    --gradient-dark: linear-gradient(135deg, var(--luxury-dark) 0%, var(--luxury-primary) 50%, var(--luxury-secondary) 100%);
    
    /* Status Colors */
    --success: #2C7A2C;
    --warning: var(--luxury-gold);
    --error: var(--luxury-primary);
    --info: #4A90A4;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    font-size: 16px;
    font-weight: 400;
    letter-spacing: -0.01em;
    position: relative;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(128, 0, 32, 0.3) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(92, 0, 16, 0.3) 0%, transparent 50%),
                radial-gradient(circle at 40% 40%, rgba(165, 42, 42, 0.2) 0%, transparent 50%);
    pointer-events: none;
    z-index: 1;
}

.container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 20px;
    position: relative;
    z-index: 2;
    background: transparent;
}

.form-wrapper {
    background: var(--bg-primary);
    backdrop-filter: blur(20px);
    border-radius: 16px;
    box-shadow: 
        0 20px 25px var(--shadow-light),
        0 10px 10px rgba(0, 0, 0, 0.04),
        var(--shadow-medium);
    padding: 48px;
    width: 100%;
    max-width: 480px;
    border: 1px solid var(--border-primary);
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.form-wrapper::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-luxury);
    border-radius: 16px 16px 0 0;
}

.form-wrapper:hover {
    transform: translateY(-5px);
    box-shadow: 
        0 25px 50px var(--shadow-medium),
        0 15px 15px rgba(0, 0, 0, 0.06),
        var(--shadow-strong);
}

.form-header {
    text-align: center;
    margin-bottom: 40px;
    position: relative;
}

.form-header h1 {
    background: var(--gradient-luxury);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.form-header p {
    color: var(--text-secondary);
    font-size: 16px;
    font-weight: 500;
    letter-spacing: 0.01em;
    line-height: 1.5;
}

.form-group {
    margin-bottom: 28px;
    position: relative;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    color: var(--primary-color);
    font-weight: 600;
    font-size: 15px;
    letter-spacing: 0.01em;
}

.form-group input {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid var(--border-primary);
    border-radius: 14px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: var(--bg-primary);
    color: var(--text-primary);
    box-shadow: 0 2px 4px var(--shadow-light);
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 
        0 0 0 4px rgba(44, 24, 16, 0.15),
        var(--shadow-medium);
    transform: translateY(-2px);
    background: var(--bg-primary);
}

.form-group input::placeholder {
    color: var(--text-muted);
    opacity: 0.7;
}

.form-group small {
    display: block;
    margin-top: 8px;
    color: var(--text-muted);
    font-size: 13px;
    font-weight: 500;
    line-height: 1.4;
}

.btn {
    padding: 16px 32px;
    border: none;
    border-radius: 14px;
    font-size: 16px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    position: relative;
    overflow: hidden;
    letter-spacing: 0.3px;
}

.btn-primary {
    background: var(--gradient-luxury);
    color: var(--text-white);
    width: 100%;
    box-shadow: 
        var(--shadow-medium),
        0 4px 15px rgba(44, 24, 16, 0.3);
}

.btn-primary::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 
        var(--shadow-strong),
        0 8px 25px rgba(44, 24, 16, 0.4);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-secondary {
    background: var(--bg-primary);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    color: var(--text-white);
    border-color: var(--border-luxury);
}

.btn-large {
    padding: 16px 32px;
    font-size: 16px;
}

.alert {
    padding: 18px 22px;
    border-radius: 14px;
    margin-bottom: 28px;
    font-size: 15px;
    font-weight: 600;
    border-left: 4px solid;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.alert-error {
    background: rgba(44, 24, 16, 0.1);
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.alert-success {
    background: rgba(212, 175, 55, 0.1);
    color: var(--gold-color);
    border-color: var(--gold-color);
}

.form-footer {
    text-align: center;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--border-light);
}

.form-footer p {
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
    line-height: 1.5;
}

.form-footer a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
}

.form-footer a::after {
    content: "";
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-luxury);
    transition: width 0.3s ease;
}

.form-footer a:hover {
    color: var(--luxury-primary);
}

.form-footer a:hover::after {
    width: 100%;
}

/* Navbar */
.navbar {
    background: var(--bg-white);
    box-shadow: var(--shadow-sm);
    padding: 18px 0;
    border-bottom: 1px solid var(--border-color);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    font-size: 26px;
    font-weight: 700;
    color: var(--primary-blue);
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-brand::before {
    content: "📚";
    font-size: 28px;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 20px;
}

.nav-user {
    color: var(--text-gray);
    font-size: 14px;
    font-weight: 500;
    padding: 8px 16px;
    background: var(--bg-light);
    border-radius: 8px;
}

/* Modern Dashboard Layout */
.modern-layout {
    margin-top: 80px;
    min-height: calc(100vh - 80px);
    padding: 40px 32px;
    background: transparent;
    position: relative;
    z-index: 2;
}

/* Modern Header */
.modern-header {
    background: var(--bg-primary);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 40px;
    box-shadow: 
        0 20px 25px var(--shadow-light),
        0 10px 10px rgba(0, 0, 0, 0.04);
    border: 1px solid var(--border-primary);
}

.header-welcome h1 {
    font-size: 36px;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0 0 12px 0;
    background: var(--gradient-luxury);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.header-welcome p {
    color: var(--text-secondary);
    font-size: 18px;
    margin: 0;
    font-weight: 400;
    line-height: 1.5;
    letter-spacing: 0.01em;
}

.header-metrics {
    display: flex;
    gap: 32px;
    margin-top: 32px;
    flex-wrap: wrap;
}

.metric-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px 28px;
    background: var(--bg-secondary);
    border-radius: 16px;
    box-shadow: 0 4px 12px var(--shadow-light);
    border: 1px solid var(--border-primary);
    transition: all 0.3s ease;
    flex: 1;
    min-width: 200px;
}

.metric-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 12px 32px var(--shadow-medium);
    border-color: var(--gold-color);
}

.metric-card.primary {
    background: var(--gradient-luxury);
    color: var(--text-white);
}

.metric-card.secondary {
    background: var(--gradient-gold);
    color: var(--text-primary);
}

.metric-card.tertiary {
    background: var(--gradient-cream);
    color: var(--text-primary);
}

.metric-icon {
    font-size: 36px;
    opacity: 0.9;
}

.metric-data {
    flex: 1;
}

.metric-number {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 6px;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.metric-label {
    font-size: 15px;
    opacity: 0.9;
    font-weight: 500;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

/* Modern Main Content */
.modern-main {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

/* Quick Actions Section */
.quick-actions-section {
    background: var(--bg-primary);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 
        0 20px 25px var(--shadow-light),
        0 10px 10px rgba(0, 0, 0, 0.04);
    border: 1px solid var(--border-primary);
}

.section-header {
    margin-bottom: 32px;
}

.section-header h2 {
    font-size: 28px;
    font-weight: 600;
    color: var(--luxury-primary);
    margin: 0 0 8px 0;
    letter-spacing: -0.01em;
    line-height: 1.3;
}

.section-header p {
    color: var(--text-secondary);
    font-size: 16px;
    margin: 0;
    font-weight: 400;
    line-height: 1.5;
}

.actions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
}

.action-card {
    background: var(--bg-secondary);
    border-radius: 16px;
    padding: 32px 24px;
    text-align: center;
    border: 3px solid var(--luxury-secondary);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 12px var(--shadow-light);
}

.action-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-luxury);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.action-card:hover::before {
    transform: scaleX(1);
}

.action-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 48px var(--shadow-medium);
    border-color: var(--gold-color);
    border-width: 4px;
}

.action-icon {
    font-size: 44px;
    margin-bottom: 20px;
    display: block;
    color: var(--gold-color);
}

.action-card h3 {
    font-size: 18px;
    font-weight: 600;
    color: var(--primary-color);
    margin: 0 0 6px 0;
    letter-spacing: -0.01em;
    line-height: 1.3;
}

.action-card p {
    color: var(--text-secondary);
    font-size: 15px;
    margin: 0;
    line-height: 1.4;
}

/* Content Grid */
.content-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
}

/* Modern Cards */
.modern-card {
    background: var(--bg-primary);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 40px;
    box-shadow: 
        0 20px 25px var(--shadow-light),
        0 10px 10px rgba(0, 0, 0, 0.04);
    border: 1px solid var(--border-primary);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.modern-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-luxury);
    border-radius: 20px 20px 0 0;
}

.modern-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 30px 60px var(--shadow-medium);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 32px;
}

.card-title-group h2 {
    font-size: 22px;
    font-weight: 600;
    color: var(--luxury-primary);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 16px;
    letter-spacing: -0.01em;
    line-height: 1.3;
}

.card-icon {
    font-size: 28px;
    color: var(--gold-color);
}

.card-status {
    background: var(--gradient-gold);
    color: var(--luxury-primary);
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 600;
    margin-top: 6px;
    display: inline-block;
    letter-spacing: 0.02em;
}

.card-status.search-results {
    background: var(--gradient-luxury);
    color: var(--text-white);
}

.card-actions {
    display: flex;
    gap: 8px;
    align-items: center;
}

.help-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 2px solid var(--border-primary);
    background: var(--bg-secondary);
    color: var(--text-secondary);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.help-btn:hover {
    border-color: var(--gold-color);
    color: var(--gold-color);
    background: var(--bg-primary);
}

/* Upload Zone */
.upload-zone {
    margin-bottom: 32px;
}

.upload-label {
    display: block;
    cursor: pointer;
}

.upload-visual {
    border: 2px dashed var(--border-primary);
    border-radius: 16px;
    padding: 56px 32px;
    text-align: center;
    transition: all 0.3s ease;
    background: var(--bg-secondary);
}

.upload-zone:hover .upload-visual,
.upload-zone .upload-visual.highlight {
    border-color: var(--gold-color);
    background: var(--bg-primary);
}

.upload-icon-large {
    font-size: 64px;
    margin-bottom: 20px;
    display: block;
    color: var(--gold-color);
}

.upload-text strong {
    display: block;
    color: var(--primary-color);
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 8px;
    letter-spacing: -0.01em;
    line-height: 1.3;
}

.upload-text span {
    color: var(--text-secondary);
    font-size: 16px;
    line-height: 1.4;
}

.upload-formats {
    margin-top: 12px;
}

.upload-formats small {
    color: var(--text-muted);
    font-size: 13px;
    line-height: 1.4;
}

.upload-btn {
    background: var(--gradient-luxury);
    color: var(--text-white);
    border: none;
    border-radius: 12px;
    padding: 16px 32px;
    font-size: 17px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
    letter-spacing: 0.01em;
}

.upload-btn:hover {
    background: var(--gradient-gold);
    transform: translateY(-3px);
    box-shadow: 0 12px 32px var(--shadow-medium);
}

/* Students List */
.students-list {
    max-height: 520px;
    overflow-y: auto;
    padding-right: 12px;
}

.student-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px;
    background: var(--bg-secondary);
    border-radius: 16px;
    margin-bottom: 16px;
    border: 1px solid var(--border-primary);
    transition: all 0.3s ease;
}

.student-item:hover {
    background: var(--bg-primary);
    box-shadow: 0 8px 24px var(--shadow-light);
    transform: translateX(6px);
    border-color: var(--gold-color);
}

.student-avatar {
    flex-shrink: 0;
}

.avatar-circle {
    width: 52px;
    height: 52px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    font-weight: 700;
    font-size: 18px;
    text-transform: uppercase;
    background: var(--gradient-luxury);
    box-shadow: 0 6px 16px var(--shadow-medium);
}

.student-details {
    flex: 1;
    min-width: 0;
}

.student-email {
    color: var(--text-secondary);
    font-size: 15px;
    margin: 0 0 12px 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    line-height: 1.4;
}

.student-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.tag {
    padding: 6px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 600;
    border: 1px solid;
    letter-spacing: 0.02em;
    color: var(--text-primary);
}

.id-tag {
    background: rgba(44, 24, 16, 0.1);
    color: var(--primary-color);
    border-color: var(--border-luxury);
}

.course-tag {
    background: rgba(212, 175, 55, 0.1);
    color: var(--gold-color);
    border-color: var(--border-gold);
}

.student-meta {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
    flex-shrink: 0;
}

.time-badge {
    background: var(--bg-primary);
    color: var(--text-secondary);
    padding: 6px 10px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 500;
    letter-spacing: 0.01em;
}


/* Empty State */
.empty-state {
    text-align: center;
    padding: 56px 32px;
    color: var(--text-secondary);
}

.empty-icon {
    font-size: 72px;
    margin-bottom: 20px;
    opacity: 0.6;
}

.empty-state h4 {
    font-size: 20px;
    font-weight: 600;
    color: var(--luxury-primary);
    margin: 0 0 12px 0;
    letter-spacing: -0.01em;
    line-height: 1.3;
}

.empty-state p {
    font-size: 16px;
    margin: 0;
    line-height: 1.5;
    color: var(--text-secondary);
}

/* Responsive Design for Modern Layout */
@media (max-width: 1200px) {
    .modern-layout {
        padding: 24px 16px;
    }
    
    .content-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .header-metrics {
        gap: 16px;
    }
}

@media (max-width: 768px) {
    .modern-layout {
        padding: 16px 12px;
    }
    
    .modern-header,
    .quick-actions-section,
    .modern-card {
        padding: 20px;
    }
    
    .header-welcome h1 {
        font-size: 24px;
    }
    
    .header-metrics {
        flex-direction: column;
        gap: 12px;
    }
    
    .metric-card {
        min-width: 100%;
    }
    
    .actions-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    
    .student-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .student-meta {
        align-items: flex-start;
        flex-direction: row;
        gap: 12px;
    }
}

@media (max-width: 480px) {
    .modern-layout {
        padding: 12px 8px;
    }
    
    .modern-header,
    .quick-actions-section,
    .modern-card {
        padding: 16px;
    }
    
    .header-welcome h1 {
        font-size: 20px;
    }
    
    .metric-number {
        font-size: 24px;
    }
    
    .upload-visual {
        padding: 32px 16px;
    }
    
    .upload-icon-large {
        font-size: 40px;
    }
}

/* Enhanced Pink Theme Dashboard */
body {
    background: var(--bg-primary);
    background-attachment: fixed;
    margin: 0;
    padding: 0;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    color: var(--text-dark);
    position: relative;
    overflow-x: hidden;
}

body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(44, 24, 16, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(212, 175, 55, 0.03) 0%, transparent 50%),
                radial-gradient(circle at 40% 40%, rgba(74, 44, 42, 0.02) 0%, transparent 50%);
    pointer-events: none;
    z-index: 1;
}

/* Enhanced Top Bar - Maroon Theme */
.top-bar {
    background: var(--bg-primary);
    backdrop-filter: blur(20px);
    height: 70px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 30px;
    border-bottom: 1px solid var(--border-primary);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px var(--shadow-light);
}

.top-bar-left {
    display: flex;
    align-items: center;
}

.logo-section {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    font-size: 28px;
}

.logo-text {
    font-size: 24px;
    font-weight: 800;
    color: var(--primary-color);
    margin: 0;
    text-shadow: none;
    letter-spacing: -0.01em;
}

.top-bar-center {
    flex: 1;
    max-width: 500px;
    margin: 0 40px;
}

.search-container {
    display: flex;
    align-items: center;
    background: var(--bg-secondary);
    border-radius: 25px;
    padding: 10px 24px;
    border: 2px solid var(--border-primary);
    transition: all 0.3s ease;
}

.search-container:focus-within {
    border-color: var(--gold-color);
    box-shadow: 0 0 0 4px rgba(212, 175, 55, 0.15);
    background: var(--bg-primary);
}

.search-input {
    border: none;
    background: none;
    outline: none;
    flex: 1;
    font-size: 15px;
    color: var(--text-primary);
    font-weight: 400;
    letter-spacing: 0.01em;
}

.search-input::placeholder {
    color: var(--text-muted);
    opacity: 0.8;
}

.search-btn {
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
    color: var(--gold-color);
    transition: all 0.3s ease;
}

.search-btn:hover {
    color: var(--primary-color);
    transform: scale(1.1);
}

.top-bar-right {
    display: flex;
    align-items: center;
}

.user-profile {
    display: flex;
    align-items: center;
    gap: 15px;
}

.user-avatar {
    position: relative;
}

.avatar-small {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-white);
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    background: var(--gradient-luxury);
    box-shadow: 0 4px 12px var(--shadow-medium);
}

.user-info {
    display: flex;
    flex-direction: column;
}

.user-name-small {
    font-size: 15px;
    font-weight: 600;
    color: var(--luxury-secondary);
    letter-spacing: 0.01em;
}

.user-role {
    font-size: 13px;
    color: var(--luxury-secondary);
    font-weight: 500;
}

.logout-btn {
    background: var(--gradient-luxury);
    color: var(--text-white);
    border: none;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    padding: 10px 18px;
    border-radius: 10px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    letter-spacing: 0.01em;
}

.logout-btn:hover {
    background: var(--gradient-gold);
    color: var(--luxury-secondary);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px var(--shadow-medium);
}

.dark-mode-toggle {
    background: none;
    border: none;
    font-size: 18px;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: all 0.3s ease;
    margin-right: 8px;
}

.dark-mode-toggle:hover {
    background: var(--shadow-medium);
}

.dark-mode-icon {
    font-size: 16px;
    display: block;
}

/* Enhanced Pink Theme Dashboard Layout */
.unique-layout {
    display: grid;
    grid-template-columns: 1fr;
    grid-template-rows: auto 1fr;
    gap: 24px;
    margin-top: 80px;
    min-height: calc(100vh - 80px);
    position: relative;
    padding: 0 16px 24px;
    max-width: 100%;
    margin-left: 0;
    margin-right: 0;
    box-sizing: border-box;
    width: 100%;
}

/* Enhanced Header Section */
.dashboard-header {
    background: var(--bg-primary);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 24px;
    border: 2px solid var(--border-primary);
    box-shadow: var(--shadow-medium);
    position: relative;
    overflow: hidden;
}

.dashboard-header::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-luxury);
    border-radius: 20px 20px 0 0;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.header-left h1 {
    font-size: 28px;
    font-weight: 800;
    color: var(--luxury-primary);
    margin: 0 0 8px 0;
    background: var(--gradient-luxury);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.header-left p {
    color: var(--luxury-secondary);
    font-size: 16px;
    margin: 0;
}

.header-stats {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.stat-item-enhanced {
    text-align: center;
    padding: 16px 20px;
    background: var(--bg-secondary);
    border-radius: 16px;
    border: 2px solid var(--border-primary);
    transition: all 0.3s ease;
    min-width: 100px;
    flex-shrink: 0;
}

.stat-item-enhanced:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
    background: var(--bg-primary);
}

.stat-number-enhanced {
    font-size: 24px;
    font-weight: 800;
    color: var(--luxury-primary);
    margin-bottom: 4px;
}

.stat-label-enhanced {
    font-size: 11px;
    color: var(--luxury-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

/* Enhanced Main Content Grid */
.dashboard-main {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    align-items: start;
    width: 100%;
}

/* Enhanced Card Styles */
.enhanced-card {
    background: var(--bg-primary);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 24px;
    border: 2px solid var(--border-primary);
    box-shadow: var(--shadow-medium);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    height: 100%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
}

.enhanced-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-luxury);
    border-radius: 24px 24px 0 0;
}

.enhanced-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-strong);
    border-color: var(--gold-color);
}

.card-header-enhanced {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 24px;
}

.card-title-enhanced {
    font-size: 20px;
    font-weight: 700;
    color: var(--luxury-primary);
    margin: 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.card-icon-enhanced {
    font-size: 24px;
    color: var(--luxury-gold);
}

.card-badge-enhanced {
    background: rgba(44, 24, 16, 0.2);
    color: var(--luxury-primary);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    border: 2px solid rgba(44, 24, 16, 0.3);
}

/* Enhanced Upload Area */
.upload-area-enhanced {
    border: 2px dashed var(--border-primary);
    border-radius: 16px;
    padding: 40px 20px;
    text-align: center;
    transition: all 0.3s ease;
    background: var(--bg-secondary);
    cursor: pointer;
}

.upload-area-enhanced:hover,
.upload-area-enhanced.highlight {
    border-color: var(--luxury-gold);
    background: rgba(212, 175, 55, 0.1);
    transform: translateY(-2px);
}

.upload-label-enhanced {
    cursor: pointer;
    display: block;
}

.upload-icon-enhanced {
    font-size: 48px;
    color: var(--luxury-gold);
    margin-bottom: 16px;
}

.upload-label-enhanced span {
    display: block;
    color: var(--luxury-primary);
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
}

.upload-label-enhanced small {
    color: var(--luxury-secondary);
    font-size: 14px;
}

.upload-submit-enhanced {
background: var(--gradient-luxury);
color: var(--text-white);
border: none;
border-radius: 12px;
padding: 14px 28px;
font-size: 16px;
font-weight: 600;
cursor: pointer;
transition: all 0.3s ease;
width: 100%;
margin-top: 20px;
    margin-top: 20px;
}

.upload-submit-enhanced:hover {
    background: var(--gradient-gold);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--shadow-gold);
}

/* Enhanced Students Grid */
.students-grid-enhanced {
    display: grid;
    gap: 16px;
    max-height: 400px;
    overflow-y: auto;
    padding-right: 8px;
}

.student-card-enhanced {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: var(--bg-secondary);
    border-radius: 12px;
    border: 2px solid var(--border-primary);
    transition: all 0.3s ease;
}

.student-card-enhanced:hover {
    background: var(--bg-primary);
    transform: translateX(4px);
}

.student-avatar-enhanced {
    flex-shrink: 0;
}

.avatar-enhanced {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 16px;
    text-transform: uppercase;
    box-shadow: var(--shadow-medium);
}

.student-info-enhanced {
    flex: 1;
    min-width: 0;
}

.student-info-enhanced h4 {
    margin: 0 0 4px 0;
    font-size: 16px;
    font-weight: 600;
    color: var(--luxury-primary);
}

.student-email-enhanced {
    margin: 0 0 8px 0;
    font-size: 14px;
    color: var(--luxury-secondary);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.student-meta-enhanced {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.meta-tag-enhanced {
    background: rgba(44, 24, 16, 0.2);
    color: var(--luxury-primary);
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 600;
    border: 2px solid rgba(44, 24, 16, 0.3);
}

.student-time-enhanced {
    flex-shrink: 0;
    color: var(--luxury-secondary);
    font-size: 12px;
    font-weight: 500;
}

.empty-state-enhanced {
    text-align: center;
    padding: 40px 20px;
    color: var(--luxury-secondary);
}

.empty-icon-enhanced {
    font-size: 48px;
    margin-bottom: 16px;
}

.empty-state-enhanced h4 {
    margin: 0 0 8px 0;
    color: var(--luxury-primary);
    font-size: 18px;
}

.empty-state-enhanced p {
    margin: 0;
    color: var(--luxury-secondary);
    font-size: 14px;
}

.card-footer-enhanced {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 2px solid var(--border-primary);
    text-align: center;
}


/* Enhanced Footer */
.dashboard-footer {
    background: var(--bg-primary);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 24px;
    border: 2px solid var(--border-primary);
    box-shadow: var(--shadow-medium);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 32px;
}

.system-status-enhanced h3,
.quick-actions-enhanced h3 {
    margin: 0 0 16px 0;
    font-size: 16px;
    font-weight: 700;
    color: var(--luxury-primary);
}

.status-items-enhanced {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.status-item-enhanced {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--luxury-secondary);
    font-size: 14px;
}

.status-dot-enhanced {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    flex-shrink: 0;
}

.status-dot-enhanced.green {
    background: #10B981;
    box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.5);
}

.action-buttons-enhanced {
    display: flex;
    gap: 12px;
}

.action-btn-enhanced {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 16px 20px;
    background: rgba(44, 24, 16, 0.1);
    border: 2px solid rgba(44, 24, 16, 0.3);
    border-radius: 12px;
    text-decoration: none;
    color: var(--luxury-primary);
    transition: all 0.3s ease;
    min-width: 80px;
    flex-shrink: 0;
}

.action-btn-enhanced:hover {
    background: var(--bg-primary);
    transform: translateY(-2px);
    box-shadow: var(--shadow-medium);
}

.action-icon-enhanced {
    font-size: 20px;
}

.action-btn-enhanced span:last-child {
    font-size: 12px;
    font-weight: 600;
}

/* Quick Actions Card - Matching Other Cards */
.quick-actions-card {
    background: var(--bg-primary);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 32px;
    border: 2px solid var(--border-primary);
    box-shadow: var(--shadow-medium);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.quick-actions-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-luxury);
    border-radius: 20px 20px 0 0;
}

.quick-actions-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-strong);
    border-color: var(--gold-color);
}

/* Enhanced Full Width Quick Actions */
.quick-actions-enhanced-full {
    background: var(--bg-primary);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 32px;
    border: 2px solid var(--border-primary);
    box-shadow: var(--shadow-medium);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.quick-actions-enhanced-full::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #EC4899, #F472B6);
    border-radius: 20px 20px 0 0;
}

.quick-actions-enhanced-full:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-strong);
    border-color: var(--gold-color);
}

.action-buttons-grid-enhanced {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 20px;
}

.action-row {
    display: flex;
    gap: 12px;
    justify-content: flex-start;
}

.action-btn-large {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 16px;
    background: var(--luxury-primary);
    border: 2px solid var(--luxury-primary);
    border-radius: 8px;
    text-decoration: none;
    color: var(--text-white);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    min-width: 140px;
    flex-shrink: 0;
}

.action-btn-large::before {
    content: "";
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.action-btn-large:hover::before {
    left: 100%;
}

.action-btn-large:hover {
    background: var(--luxury-secondary);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px var(--shadow-medium);
    border-color: var(--luxury-secondary);
}

.action-icon-large {
    font-size: 18px;
    flex-shrink: 0;
    color: var(--text-white);
}

.action-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1px;
}

.action-title {
    font-size: 12px;
    font-weight: 600;
    color: var(--text-white);
    line-height: 1.2;
}

.action-desc {
    font-size: 10px;
    color: var(--text-white);
    opacity: 0.8;
    line-height: 1.1;
}

.action-arrow {
    font-size: 14px;
    color: var(--text-white);
    flex-shrink: 0;
    transition: all 0.3s ease;
}

.action-btn-large:hover .action-arrow {
    color: var(--text-white);
    transform: translateX(2px);
}

/* Responsive Design for All Screen Sizes */
@media (max-width: 1200px) {
    .unique-layout {
        padding: 0 12px 20px;
    }
    
    .header-content {
        gap: 20px;
    }
    
    .header-stats {
        gap: 16px;
    }
}

@media (max-width: 1024px) {
    .unique-layout {
        padding: 0 8px 16px;
        gap: 20px;
    }
    
    .dashboard-header {
        padding: 20px;
    }
    
    .header-left h1 {
        font-size: 24px;
    }
    
    .header-left p {
        font-size: 14px;
    }
    
    .stat-item-enhanced {
        padding: 12px 16px;
        min-width: 80px;
    }
    
    .stat-number-enhanced {
        font-size: 20px;
    }
    
    .stat-label-enhanced {
        font-size: 10px;
    }
    
    .enhanced-card {
        padding: 20px;
    }
    
    .dashboard-main {
        grid-template-columns: 1fr;
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .unique-layout {
        margin-top: 70px;
        min-height: calc(100vh - 70px);
        padding: 0 6px 12px;
        gap: 16px;
    }
    
    .dashboard-header {
        padding: 16px;
    }
    
    .header-content {
        flex-direction: column;
        gap: 16px;
        text-align: center;
    }
    
    .header-left h1 {
        font-size: 22px;
    }
    
    .header-left p {
        font-size: 14px;
    }
    
    .header-stats {
        justify-content: center;
        gap: 12px;
    }
    
    .stat-item-enhanced {
        padding: 10px 14px;
        min-width: 70px;
    }
    
    .stat-number-enhanced {
        font-size: 18px;
    }
    
    .enhanced-card {
        padding: 16px;
    }
    
    .card-header-enhanced {
        margin-bottom: 16px;
    }
    
    .card-title-enhanced {
        font-size: 18px;
    }
}

@media (max-width: 480px) {
    .unique-layout {
        padding: 0 4px 8px;
        gap: 12px;
    }
    
    .dashboard-header {
        padding: 12px;
    }
    
    .header-left h1 {
        font-size: 20px;
    }
    
    .header-left p {
        font-size: 13px;
    }
    
    .header-stats {
        flex-direction: column;
        gap: 8px;
        width: 100%;
    }
    
    .stat-item-enhanced {
        padding: 8px 12px;
        min-width: 100%;
    }
    
    .stat-number-enhanced {
        font-size: 16px;
    }
    
    .enhanced-card {
        padding: 12px;
    }
    
    .card-title-enhanced {
        font-size: 16px;
    }
    
    .upload-icon-enhanced {
        font-size: 36px;
    }
    
    .upload-label-enhanced span {
        font-size: 14px;
    }
    
    .upload-label-enhanced small {
        font-size: 12px;
    }
}

.panel-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #374151;
}

.panel-header h2 {
    font-size: 20px;
    font-weight: 700;
    color: #A78BFA;
    margin: 0;
}

.live-time {
    font-size: 12px;
    color: #9CA3AF;
    font-weight: 500;
    background: #1F2937;
    padding: 6px 12px;
    border-radius: 12px;
}

/* Stats Stack */
.stats-stack {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 40px;
}

.stat-card-unique {
    background: linear-gradient(135deg, #4C1D95, #6B21A8);
    border-radius: 16px;
    padding: 20px;
    display: flex;
    align-items: center;
    gap: 16px;
    color: white;
    box-shadow: 0 8px 25px rgba(76, 29, 149, 0.4);
    transition: all 0.3s ease;
}

.stat-card-unique:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(76, 29, 149, 0.6);
}

.stat-card-unique.secondary {
    background: linear-gradient(135deg, #6B21A8, #7C3AED);
}

.stat-card-unique.tertiary {
    background: linear-gradient(135deg, #7C3AED, #A78BFA);
}

.stat-icon-large {
    font-size: 32px;
    opacity: 0.9;
}

.stat-data {
    flex: 1;
}

.stat-number {
    font-size: 24px;
    font-weight: 800;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 14px;
    opacity: 0.9;
    margin-bottom: 4px;
}

.stat-trend {
    font-size: 12px;
    opacity: 0.8;
}

/* Actions Grid */
.actions-grid h3 {
    font-size: 16px;
    font-weight: 700;
    color: #F9FAFB;
    margin-bottom: 16px;
}

.action-buttons-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.action-btn-unique {
    background: #1F2937;
    border: 2px solid #374151;
    border-radius: 12px;
    padding: 16px 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: #D1D5DB;
    transition: all 0.3s ease;
    cursor: pointer;
}

.action-btn-unique:hover {
    background: #4C1D95;
    color: white;
    border-color: #6B21A8;
    transform: translateY(-2px);
    text-decoration: none;
    color: white;
}

.action-btn-unique.primary {
    grid-column: 1 / -1;
    background: linear-gradient(135deg, #4C1D95, #6B21A8);
    color: white;
    border: none;
}

.action-icon {
    font-size: 20px;
}

.action-text {
    font-size: 12px;
    font-weight: 600;
    text-align: center;
}

/* Main Content */
.main-content {
    background: #111827;
    padding: 30px;
    min-height: 100%;
}

/* Upload Section - Unique */
.upload-section-unique {
    background: #1F2937;
    border-radius: 20px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: 0 8px 25px rgba(76, 29, 149, 0.3);
    border: 1px solid rgba(124, 58, 237, 0.2);
}

.upload-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.upload-header h3 {
    font-size: 18px;
    font-weight: 700;
    color: #A78BFA;
    margin: 0;
}

.upload-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.upload-badge {
    background: linear-gradient(135deg, #4C1D95, #6B21A8);
    color: white;
    font-size: 11px;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.upload-area-unique {
    border: 2px dashed #374151;
    border-radius: 16px;
    padding: 40px;
    text-align: center;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.upload-area-unique.highlight {
    border-color: #7C3AED;
    background: rgba(124, 58, 237, 0.1);
}

.upload-label-unique {
    cursor: pointer;
    display: block;
}

.upload-icon {
    font-size: 48px;
    margin-bottom: 16px;
    opacity: 0.6;
    color: #9CA3AF;
}

.upload-label-unique span {
    display: block;
    color: #F9FAFB;
    font-weight: 600;
    margin-bottom: 8px;
}

.upload-label-unique small {
    color: #9CA3AF;
    font-size: 12px;
}

.upload-submit {
    background: linear-gradient(135deg, #4C1D95, #6B21A8);
    color: white;
    border: none;
    border-radius: 12px;
    padding: 14px 28px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.upload-submit:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(76, 29, 149, 0.5);
}

/* Students Timeline */
.students-timeline {
    background: #1F2937;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 8px 25px rgba(76, 29, 149, 0.3);
    border: 1px solid rgba(124, 58, 237, 0.2);
}

.timeline-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.timeline-header h3 {
    font-size: 18px;
    font-weight: 700;
    color: #A78BFA;
    margin: 0;
}

.timeline-stats {
    display: flex;
    align-items: center;
    gap: 16px;
}

.total-badge {
    background: #374151;
    color: #A78BFA;
    font-size: 12px;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 12px;
}


.search-results {
    background: #374151;
    color: #A78BFA;
    font-size: 12px;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 12px;
}

/* Timeline Container */
.timeline-container {
    position: relative;
}

.timeline-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    position: relative;
}

.timeline-marker {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex-shrink: 0;
}

.marker-dot {
    width: 12px;
    height: 12px;
    background: #7C3AED;
    border-radius: 50%;
    border: 3px solid #1F2937;
    box-shadow: 0 0 0 3px #7C3AED;
    z-index: 2;
}

.marker-line {
    width: 2px;
    height: 100%;
    background: #374151;
    margin-top: 8px;
}

.timeline-content {
    flex: 1;
}

.student-card-unique {
    background: #111827;
    border-radius: 16px;
    padding: 20px;
    border: 1px solid #374151;
    transition: all 0.3s ease;
}

.student-card-unique:hover {
    background: #1F2937;
    box-shadow: 0 8px 25px rgba(76, 29, 149, 0.3);
}

.student-header-unique {
    display: flex;
    align-items: center;
    gap: 16px;
}

.student-avatar-unique {
    position: relative;
    flex-shrink: 0;
}

.avatar-medium {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 16px;
    text-transform: uppercase;
    box-shadow: 0 4px 12px rgba(76, 29, 149, 0.4);
}

.status-indicator {
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 12px;
    height: 12px;
    background: #10B981;
    border: 2px solid #111827;
    border-radius: 50%;
}

.student-info-unique {
    flex: 1;
}

.student-info-unique h4 {
    font-size: 16px;
    font-weight: 700;
    color: #F9FAFB;
    margin: 0 0 4px 0;
}

.student-email {
    color: #9CA3AF;
    font-size: 14px;
    margin: 0 0 12px 0;
}

.student-meta-unique {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.meta-item {
    background: #374151;
    color: #A78BFA;
    font-size: 11px;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 6px;
    border: 1px solid #4B5563;
}

.student-time {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 8px;
    flex-shrink: 0;
}

.time-ago {
    font-size: 12px;
    color: #9CA3AF;
    font-weight: 500;
}


/* Empty Timeline */
.empty-timeline {
    text-align: center;
    padding: 60px 20px;
}

.empty-icon-large {
    font-size: 64px;
    opacity: 0.3;
    margin-bottom: 20px;
}

.empty-timeline h4 {
    font-size: 20px;
    font-weight: 700;
    color: #F9FAFB;
    margin-bottom: 8px;
}

.empty-timeline p {
    color: #9CA3AF;
    margin-bottom: 24px;
}

/* Right Panel */
.right-panel {
    background: rgba(17, 24, 39, 0.95);
    backdrop-filter: blur(20px);
    border-left: 1px solid rgba(124, 58, 237, 0.2);
    padding: 30px 20px;
    min-height: 100%;
}

.activity-filter {
    margin-bottom: 20px;
}

.filter-select {
    width: 100%;
    padding: 8px 12px;
    border: 1px solid #374151;
    border-radius: 8px;
    background: #1F2937;
    color: #F9FAFB;
    font-size: 12px;
}

/* Activity Feed */
.activity-feed {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 40px;
}

.activity-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: #111827;
    border-radius: 12px;
    border: 1px solid #374151;
}

.activity-icon {
    font-size: 20px;
    flex-shrink: 0;
}

.activity-content {
    flex: 1;
}

.activity-title {
    font-size: 13px;
    font-weight: 600;
    color: #F9FAFB;
    margin-bottom: 2px;
}

.activity-time {
    font-size: 11px;
    color: #9CA3AF;
}

/* System Info */
.system-info {
    background: #111827;
    border-radius: 16px;
    padding: 20px;
    border: 1px solid #374151;
    margin-top: 20px;
}

.system-info h3 {
    font-size: 14px;
    font-weight: 700;
    color: #A78BFA;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.system-info h3::before {
    content: "💻";
    font-size: 16px;
}

.status-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.status-item-unique {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    background: #1F2937;
    border-radius: 12px;
    border: 1px solid #374151;
    transition: all 0.3s ease;
}

.status-item-unique:hover {
    background: #4C1D95;
    transform: translateX(4px);
}

.status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
    position: relative;
}

.status-dot.green {
    background: #10B981;
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
    animation: pulse-green 2s ease-in-out infinite;
}

@keyframes pulse-green {
    0%, 100% { 
        box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.2);
    }
    50% { 
        box-shadow: 0 0 0 6px rgba(16, 185, 129, 0.1);
    }
}

.status-item-unique span {
    font-size: 12px;
    font-weight: 600;
    color: #2C1810;
    flex: 1;
}

.status-item-unique .status-text {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.status-item-unique .status-label {
    font-size: 12px;
    font-weight: 600;
    color: #F9FAFB;
}

.status-item-unique .status-value {
    font-size: 10px;
    color: #9CA3AF;
    font-weight: 500;
}

/* Hero Section */
.hero-section {
    background: var(--gradient-luxury);
    border-radius: 32px;
    padding: 60px;
    margin-bottom: 48px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(128, 0, 32, 0.25);
}

.hero-section::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="hero-pattern" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23hero-pattern)"/></svg>');
    pointer-events: none;
}

.hero-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-text {
    flex: 1;
}

.hero-title {
    font-size: 56px;
    font-weight: 900;
    color: white;
    margin-bottom: 16px;
    line-height: 1.1;
}

.greeting {
    display: block;
    font-size: 32px;
    font-weight: 600;
    opacity: 0.9;
    margin-bottom: 8px;
}

.user-name {
    display: block;
    background: linear-gradient(45deg, #FFD700, #FFF8DC);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 32px;
    font-weight: 500;
}

.hero-stats {
    display: flex;
    gap: 48px;
}

.hero-stat {
    text-align: center;
}

.hero-number {
    display: block;
    font-size: 36px;
    font-weight: 800;
    color: white;
    margin-bottom: 4px;
}

.hero-label {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 600;
}

.hero-visual {
    position: relative;
    width: 300px;
    height: 200px;
}

.floating-card {
    position: absolute;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 20px;
    text-align: center;
    color: white;
    font-weight: 600;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    animation: float 6s ease-in-out infinite;
}

.card-1 {
    top: 20px;
    left: 20px;
    animation-delay: 0s;
}

.card-2 {
    top: 80px;
    right: 40px;
    animation-delay: 2s;
}

.card-3 {
    bottom: 20px;
    left: 60px;
    animation-delay: 4s;
}

.card-icon {
    font-size: 24px;
    margin-bottom: 8px;
}

.card-text {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.hero-time {
    position: absolute;
    top: 30px;
    right: 30px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    padding: 12px 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.time-display {
    color: white;
    font-size: 14px;
    font-weight: 600;
}

/* Stats Overview */
.stats-overview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
    margin-bottom: 48px;
}

.stat-item {
    background: white;
    border-radius: 24px;
    padding: 32px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    gap: 24px;
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.12);
}

.stat-circle {
    position: relative;
    width: 80px;
    height: 80px;
    flex-shrink: 0;
}

.progress-ring {
    transform: rotate(-90deg);
}

.progress-bg {
    fill: none;
    stroke: #f0f0f0;
    stroke-width: 6;
}

.progress-fill {
    fill: none;
    stroke: url(#gradient);
    stroke-width: 6;
    stroke-linecap: round;
    transition: stroke-dasharray 1s ease;
}

.stat-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
}

.stat-percent {
    font-size: 18px;
    font-weight: 800;
    color: #333;
}

.course-icon {
    width: 80px;
    height: 80px;
    background: var(--gradient-luxury);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    color: white;
}

.stat-info {
    flex: 1;
}

.stat-info h3 {
    font-size: 20px;
    font-weight: 700;
    color: #333;
    margin-bottom: 4px;
}

.stat-info p {
    color: #666;
    font-size: 14px;
    margin-bottom: 8px;
}

.stat-change {
    font-size: 12px;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 6px;
    display: inline-block;
}

.stat-change.positive {
    background: #E8F5E8;
    color: #228B22;
}

.stat-change.neutral {
    background: #f3f4f6;
    color: #6b7280;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.header-text h1 {
    font-size: 42px;
    font-weight: 800;
    background: var(--bg-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
}

.header-text p {
    font-size: 18px;
    color: var(--text-gray);
    font-weight: 500;
}

.header-time {
    text-align: right;
    color: var(--text-gray);
    font-size: 14px;
    font-weight: 600;
    background: var(--bg-light);
    padding: 12px 20px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    margin-bottom: 48px;
}

.stat-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 32px;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: 20px;
}

.stat-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--bg-gradient);
}

.stat-card.primary::before { background: linear-gradient(135deg, #667eea, #764ba2); }
.stat-card.secondary::before { background: linear-gradient(135deg, #a855f7, #ec4899); }
.stat-card.tertiary::before { background: linear-gradient(135deg, #14b8a6, #10b981); }
.stat-card.success::before { background: linear-gradient(135deg, #10b981, #22c55e); }

.stat-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-xl);
}

.stat-icon {
    font-size: 48px;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-light);
    border-radius: 16px;
    flex-shrink: 0;
}

.stat-content {
    flex: 1;
}

.stat-value {
    font-size: 36px;
    font-weight: 800;
    color: var(--text-dark);
    margin-bottom: 4px;
    line-height: 1;
}

.stat-label {
    font-size: 14px;
    color: var(--text-gray);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.stat-trend {
    text-align: right;
    flex-shrink: 0;
}

.stat-trend span {
    display: block;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 2px;
}

.trend-positive { color: var(--success); }
.trend-neutral { color: var(--text-gray); }
.trend-success { color: var(--success); }

.stat-trend small {
    font-size: 11px;
    color: var(--text-gray);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.upload-section, .recent-imports, .view-data-section {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 40px;
    margin-bottom: 32px;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Main Grid Layout */
.main-grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 32px;
    margin-bottom: 48px;
}

.content-section {
    background: white;
    border-radius: 24px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.section-header-modern {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f8f9fa;
}

.section-title {
    display: flex;
    align-items: center;
    gap: 16px;
}

.section-title h2 {
    font-size: 28px;
    font-weight: 800;
    color: #333;
    margin: 0;
}

.section-badge {
    background: var(--gradient-luxury);
    color: white;
    font-size: 12px;
    font-weight: 700;
    padding: 6px 12px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}


/* Student List */
.student-list {
    display: grid;
    gap: 20px;
}

.student-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 24px;
    background: #fafbfc;
    border-radius: 16px;
    border: 1px solid #e9ecef;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.student-item::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: var(--gradient-luxury);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.student-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
    background: white;
}

.student-item:hover::before {
    transform: scaleY(1);
}

.student-avatar-new {
    position: relative;
    flex-shrink: 0;
}

.avatar-circle {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 18px;
    text-transform: uppercase;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    position: relative;
}

.status-dot {
    position: absolute;
    bottom: 2px;
    right: 2px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    border: 3px solid white;
}

.status-dot.online {
    background: #22c55e;
}


.student-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 4px;
}

.student-header h4 {
    font-size: 16px;
    font-weight: 700;
    color: #333;
    margin: 0;
}

.student-id-new {
    background: #f3f4f6;
    color: #6b7280;
    font-size: 12px;
    font-weight: 600;
    padding: 2px 8px;
    border-radius: 6px;
    font-family: 'Courier New', monospace;
}

.student-email-new {
    color: #6b7280;
    font-size: 14px;
    margin-bottom: 12px;
}

.student-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.tag {
    font-size: 11px;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.course-tag {
    background: var(--bg-light);
    color: var(--luxury-primary);
    border: 1px solid var(--border-primary);
}

.year-tag {
    background: var(--bg-secondary);
    color: var(--luxury-primary);
    border: 1px solid var(--border-primary);
}

.student-actions {
    display: none;
}

.action-btn {
    width: 36px;
    height: 36px;
    border-radius: 8px;
    border: none;
    background: #f3f4f6;
    color: #6b7280;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.action-btn:hover {
    background: var(--gradient-luxury);
    color: white;
    transform: scale(1.05);
}

.join-date {
    font-size: 12px;
    color: #9ca3af;
    font-weight: 500;
}

/* Empty State */
.empty-state-new {
    text-align: center;
    padding: 80px 40px;
}

.empty-illustration {
    position: relative;
    margin-bottom: 32px;
}

.empty-icon-big {
    font-size: 80px;
    opacity: 0.3;
    margin-bottom: 16px;
}

.empty-dots {
    display: flex;
    justify-content: center;
    gap: 8px;
}

.empty-dots span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #e5e7eb;
    animation: pulse 2s ease-in-out infinite;
}

.empty-dots span:nth-child(2) {
    animation-delay: 0.5s;
}

.empty-dots span:nth-child(3) {
    animation-delay: 1s;
}

@keyframes pulse {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.2); }
}

.empty-state-new h3 {
    font-size: 24px;
    font-weight: 700;
    color: #333;
    margin-bottom: 8px;
}

.empty-state-new p {
    color: #6b7280;
    font-size: 16px;
    margin-bottom: 32px;
}

.empty-actions {
    display: flex;
    justify-content: center;
}

/* Sidebar */
.sidebar {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.sidebar-card {
    background: white;
    border-radius: 20px;
    padding: 28px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.06);
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.sidebar-card h3 {
    font-size: 18px;
    font-weight: 700;
    color: #333;
    margin-bottom: 20px;
}

.action-list {
    display: grid;
    gap: 12px;
}

.action-item {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    border-radius: 12px;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.action-item:hover {
    background: #f8fafc;
    border-color: #e2e8f0;
    transform: translateX(4px);
    text-decoration: none;
    color: inherit;
}

.action-icon-new {
    width: 40px;
    height: 40px;
    background: #f3f4f6;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6b7280;
    transition: all 0.3s ease;
}

.action-item:hover .action-icon-new {
    background: var(--gradient-luxury);
    color: white;
}

.action-content {
    flex: 1;
}

.action-content span {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 2px;
}

.action-content small {
    font-size: 12px;
    color: #6b7280;
}

/* Status Card */
.status-list {
    display: grid;
    gap: 16px;
}

.status-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.status-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    flex-shrink: 0;
}

.status-indicator.green {
    background: #228B22;
    box-shadow: 0 0 0 4px rgba(34, 139, 34, 0.1);
}

.status-text {
    flex: 1;
}

.status-text span {
    display: block;
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 2px;
}

.status-text small {
    font-size: 12px;
    color: #6b7280;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
}

.section-header h2 {
    color: var(--luxury-primary);
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 4px;
}

.section-header p {
    color: var(--text-gray);
    font-size: 14px;
    margin-bottom: 0;
}

.section-actions {
    display: flex;
    gap: 12px;
}

/* Student Cards */
.student-cards {
    display: grid;
    gap: 20px;
}

.student-card {
    background: var(--bg-white);
    border-radius: 16px;
    padding: 24px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 20px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.student-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--bg-gradient);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.student-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.student-card:hover::before {
    opacity: 1;
}

.student-avatar {
    flex-shrink: 0;
}

.avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 18px;
    text-transform: uppercase;
    box-shadow: var(--shadow-sm);
}

.student-info {
    flex: 1;
}

.student-info h4 {
    color: var(--luxury-primary);
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 4px;
}

.student-id {
    color: var(--primary-blue);
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 2px;
}

.student-email {
    color: var(--text-gray);
    font-size: 13px;
    margin-bottom: 8px;
}

.student-meta {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.course-badge, .year-badge {
    background: var(--bg-light);
    color: var(--text-gray);
    font-size: 11px;
    font-weight: 600;
    padding: 4px 8px;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.student-date {
    flex-shrink: 0;
    color: var(--text-gray);
    font-size: 12px;
    font-weight: 500;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 60px 20px;
    color: var(--text-gray);
}

.empty-icon {
    font-size: 64px;
    margin-bottom: 20px;
    opacity: 0.5;
}

.empty-state h3 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.empty-state p {
    font-size: 14px;
    color: var(--text-gray);
}

/* Quick Actions */
.quick-actions {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 32px;
    box-shadow: var(--shadow-md);
    border: 1px solid rgba(255, 255, 255, 0.2);
    height: fit-content;
}

.quick-actions h3 {
    color: var(--luxury-primary);
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 24px;
}

.action-grid {
    display: grid;
    gap: 16px;
}

.action-card {
    background: var(--bg-white);
    border-radius: 12px;
    padding: 20px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    text-decoration: none;
    color: inherit;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: all 0.3s ease;
}

.action-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
    text-decoration: none;
    color: inherit;
}

.action-icon {
    width: 48px;
    height: 48px;
    background: var(--bg-light);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.action-card h4 {
    color: var(--luxury-primary);
    font-size: 14px;
    font-weight: 700;
    margin-bottom: 4px;
}

.action-card p {
    color: var(--text-gray);
    font-size: 12px;
    margin: 0;
}

/* Upload Area Enhancements */
.upload-label.highlight {
    border-color: var(--primary-blue);
    background: rgba(102, 126, 234, 0.05);
    transform: scale(1.02);
}

.section-header h2 {
    color: var(--text-dark);
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
}

.section-header p {
    color: var(--text-gray);
    font-size: 14px;
    margin-bottom: 24px;
}

.upload-area {
    margin-bottom: 24px;
}

.upload-area input[type="file"] {
    display: none;
}

.upload-label {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 48px;
    border: 3px dashed var(--border-color);
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    color: var(--text-gray);
    background: var(--bg-light);
}

.upload-label:hover {
    border-color: var(--primary-blue);
    background: #dbeafe;
}

.upload-label svg {
    color: var(--primary-blue);
    margin-bottom: 16px;
}

.upload-label span {
    font-size: 15px;
    font-weight: 500;
}

.file-name {
    margin-top: 12px;
    color: var(--primary-blue);
    font-weight: 600;
    font-size: 14px;
}

.data-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin-top: 24px;
    min-width: 800px;
}

.data-table thead {
    background: var(--luxury-primary);
}

.data-table th {
    padding: 16px 20px;
    text-align: left;
    font-weight: 700;
    color: var(--text-white);
    border-bottom: 2px solid var(--luxury-primary);
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 0.03em;
    background: var(--maroon-dark);
}

.data-table td {
    padding: 16px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    font-size: 14px;
    color: var(--text-white);
    background: rgba(44, 24, 16, 0.8);
}

.data-table tbody tr {
    transition: all 0.2s ease;
}

.data-table tbody tr:hover {
    background: var(--bg-secondary);
    transform: scale(1.01);
    box-shadow: var(--shadow-medium);
    border-bottom: 1px solid rgba(255, 255, 255, 0.5);
}

.text-success {
    color: var(--success);
    font-weight: 600;
}

.text-error {
    color: var(--error);
    font-weight: 600;
}

.no-data {
    text-align: center;
    color: var(--text-gray);
    padding: 48px;
    font-size: 15px;
}

.view-data-section {
    text-align: center;
}

.table-container {
    background: var(--bg-primary);
    border-radius: 16px;
    overflow-x: auto;
    box-shadow: var(--shadow-medium);
    padding: 25px;
    border: 2px solid var(--border-primary);
}

.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 32px;
}

.page-info {
    color: var(--text-white);
    font-size: 14px;
    font-weight: 600;
    padding: 8px 16px;
    background: var(--maroon-primary);
    border-radius: 8px;
}

.result-wrapper {
    background: var(--bg-white);
    border-radius: 16px;
    padding: 48px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
}

.result-wrapper h1 {
    color: var(--luxury-primary);
    margin-bottom: 24px;
    font-weight: 700;
}

.import-summary {
    margin: 32px 0;
}

.import-summary h2 {
    color: var(--luxury-primary);
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 24px;
}

.summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 24px;
    margin-bottom: 32px;
}

.summary-item {
    background: var(--bg-light);
    padding: 24px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    border: 1px solid var(--border-color);
}

.summary-label {
    font-size: 13px;
    color: var(--luxury-primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 600;
}

.summary-value {
    font-size: 36px;
    font-weight: 700;
    color: var(--luxury-primary);
}

.error-details {
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-left: 4px solid var(--error);
    border-radius: 12px;
    padding: 24px;
    margin-top: 24px;
}

.error-details h3 {
    color: var(--luxury-primary);
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 16px;
}

.error-details ul {
    list-style: none;
    padding: 0;
}

.error-details li {
    padding: 10px 0;
    color: var(--luxury-primary);
    font-size: 13px;
    border-bottom: 1px solid #fee2e2;
}

.error-details li:last-child {
    border-bottom: none;
}

.note {
    margin-top: 16px;
    font-size: 13px;
    color: var(--text-secondary);
    font-style: italic;
}

.action-buttons {
    display: flex;
    gap: 16px;
    margin-top: 32px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Enhanced Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.form-wrapper {
    animation: fadeInUp 0.6s ease-out;
}

.form-group {
    animation: fadeInUp 0.6s ease-out backwards;
}

.form-group:nth-child(1) { animation-delay: 0.1s; }
.form-group:nth-child(2) { animation-delay: 0.2s; }

@media (max-width: 480px) {
    .top-bar {
        height: 60px;
        padding: 0 15px;
    }
    
    .logo-icon {
        font-size: 24px;
    }
    
    .logo-text {
        font-size: 18px;
    }
    
    .stat-label {
        font-size: 12px;
    }
    .action-btn-unique {
        padding: 12px 8px;
    }
    
    .action-icon {
        font-size: 18px;
    }
    
    .action-text {
        font-size: 11px;
    }
    
    .upload-section-unique {
        padding: 15px;
    }
    
    .upload-area-unique {
        padding: 20px 15px;
    }
    
    .upload-icon {
        font-size: 36px;
    }
    
    .students-timeline {
        padding: 15px;
    }
    
    .student-card-unique {
        padding: 15px;
    }
    
    .avatar-medium {
        width: 40px;
        height: 40px;
        font-size: 14px;
    }
    
    .student-info-unique h4 {
        font-size: 14px;
    }
    
    .student-email {
        font-size: 12px;
    }
    
    .meta-item {
        font-size: 10px;
        padding: 3px 6px;
    }
    
}

/* Light Mode Styles */
body.light-mode {
    background: linear-gradient(135deg, #F3F4F6 0%, #E5E7EB 50%, #D1D5DB 100%);
    color: #1F2937;
}

body.light-mode .top-bar {
    background: rgba(255, 255, 255, 0.95);
    border-bottom: 1px solid rgba(156, 163, 175, 0.2);
}

body.light-mode .logo-text {
    color: var(--luxury-secondary);
}

body.light-mode .search-container {
    background: #F9FAFB;
    border-color: #E5E7EB;
}

body.light-mode .search-container:focus-within {
    border-color: #6B46C1;
    box-shadow: 0 0 0 4px rgba(107, 70, 193, 0.1);
}

body.light-mode .search-input {
    color: #1F2937;
}

body.light-mode .search-input::placeholder {
    color: #6B7280;
}

body.light-mode .search-btn {
    color: #6B46C1;
}

body.light-mode .user-name-small {
    color: var(--luxury-secondary);
}

body.light-mode .user-role {
    color: var(--luxury-secondary);
}

body.light-mode .logout-btn {
    background: var(--gradient-luxury);
    color: var(--text-white);
}

body.light-mode .logout-btn:hover {
    background: var(--gradient-gold);
    color: var(--text-white);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px var(--shadow-medium);
}

body.light-mode .dark-mode-toggle:hover {
    background: rgba(107, 70, 193, 0.1);
}

body.light-mode .left-panel {
    background: rgba(255, 255, 255, 0.95);
    border-right: 1px solid rgba(156, 163, 175, 0.2);
}

body.light-mode .panel-header {
    border-bottom: 2px solid #E5E7EB;
}

body.light-mode .panel-header h2 {
    color: #6B46C1;
}

body.light-mode .live-time {
    background: #F3F4F6;
    color: #6B7280;
}

body.light-mode .main-content {
    background: #F9FAFB;
}

body.light-mode .upload-section-unique {
    background: white;
    border: 1px solid #E5E7EB;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

body.light-mode .upload-header h3 {
    color: #6B46C1;
}

body.light-mode .upload-area-unique {
    border-color: #D1D5DB;
}

body.light-mode .upload-area-unique.highlight {
    border-color: #6B46C1;
    background: rgba(107, 70, 193, 0.05);
}

body.light-mode .upload-icon {
    color: #9CA3AF;
}

body.light-mode .upload-label-unique span {
    color: #1F2937;
}

body.light-mode .upload-label-unique small {
    color: #6B7280;
}

body.light-mode .students-timeline {
    background: white;
    border: 1px solid #E5E7EB;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

body.light-mode .timeline-header h3 {
    color: #6B46C1;
}

body.light-mode .total-badge,
body.light-mode .search-results {
    background: #F3F4F6;
    color: #6B46C1;
}


body.light-mode .marker-dot {
    background: #6B46C1;
    border-color: white;
    box-shadow: 0 0 0 3px #6B46C1;
}

body.light-mode .marker-line {
    background: #E5E7EB;
}

body.light-mode .student-card-unique {
    background: white;
    border: 1px solid #E5E7EB;
}

body.light-mode .student-card-unique:hover {
    background: #F9FAFB;
    box-shadow: 0 8px 25px rgba(107, 70, 193, 0.1);
}

body.light-mode .student-info-unique h4 {
    color: #1F2937;
}

body.light-mode .student-email {
    color: #6B7280;
}

body.light-mode .meta-item {
    background: #F3F4F6;
    color: #6B46C1;
    border: 1px solid #E5E7EB;
}

body.light-mode .time-ago {
    color: #6B7280;
}


body.light-mode .empty-timeline h4 {
    color: #1F2937;
}

body.light-mode .empty-timeline p {
    color: #6B7280;
}

body.light-mode .right-panel {
    background: rgba(255, 255, 255, 0.95);
    border-left: 1px solid rgba(156, 163, 175, 0.2);
}

body.light-mode .filter-select {
    background: white;
    border: 1px solid #E5E7EB;
    color: #1F2937;
}

body.light-mode .activity-item {
    background: white;
    border: 1px solid #E5E7EB;
}

body.light-mode .activity-title {
    color: #1F2937;
}

body.light-mode .activity-time {
    color: #6B7280;
}

body.light-mode .system-info {
    background: white;
    border: 1px solid #E5E7EB;
}

body.light-mode .system-info h3 {
    color: #6B46C1;
}

body.light-mode .status-item-unique {
    background: white;
    border: 1px solid #E5E7EB;
}

body.light-mode .status-item-unique:hover {
    background: #F3F4F6;
}

body.light-mode .status-item-unique .status-label {
    color: #1F2937;
}

body.light-mode .status-item-unique .status-value {
    color: #6B7280;
}

/* Modal Styles */
.modal-overlay {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.modal-container {
    position: relative;
    background: #1F2937;
    margin: 5% auto;
    padding: 0;
    border-radius: 20px;
    width: 90%;
    max-width: 600px;
    max-height: 90vh;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(124, 58, 237, 0.3);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 24px 30px;
    border-bottom: 1px solid #374151;
    background: linear-gradient(135deg, #4C1D95, #6B21A8);
}

.modal-header h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
    color: white;
}

.modal-close {
    background: none;
    border: none;
    font-size: 28px;
    font-weight: 700;
    color: white;
    cursor: pointer;
    padding: 0;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.2);
}

.modal-body {
    padding: 30px;
    max-height: calc(90vh - 80px);
    overflow-y: auto;
}

/* Student Detail View */
.student-detail-view {
    color: #F9FAFB;
}

.detail-header {
    display: flex;
    align-items: center;
    gap: 20px;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 1px solid #374151;
}

.detail-avatar {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: 700;
    font-size: 24px;
    text-transform: uppercase;
    box-shadow: 0 8px 25px rgba(76, 29, 149, 0.4);
    flex-shrink: 0;
}

.detail-info h2 {
    margin: 0 0 8px 0;
    font-size: 24px;
    font-weight: 700;
    color: #A78BFA;
}

.detail-id {
    margin: 0 0 4px 0;
    font-size: 14px;
    color: #9CA3AF;
    font-weight: 500;
}

.detail-email {
    margin: 0;
    font-size: 16px;
    color: #D1D5DB;
}

.detail-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    background: #111827;
    border-radius: 12px;
    border: 1px solid #374151;
}

.detail-label {
    font-size: 14px;
    font-weight: 600;
    color: #9CA3AF;
}

.detail-value {
    font-size: 14px;
    font-weight: 500;
    color: #F9FAFB;
    text-align: right;
}

.detail-timestamps {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 30px;
    padding: 20px;
    background: #111827;
    border-radius: 12px;
    border: 1px solid #374151;
}

.timestamp-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.timestamp-label {
    font-size: 13px;
    font-weight: 600;
    color: #9CA3AF;
}

.timestamp-value {
    font-size: 13px;
    color: #D1D5DB;
}

.detail-actions {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
}

.btn-close {
    background: linear-gradient(135deg, #4C1D95, #6B21A8);
    color: white;
    border: none;
    border-radius: 12px;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-close:hover {
    background: linear-gradient(135deg, #6B21A8, #7C3AED);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(76, 29, 149, 0.4);
}

.loading-spinner {
    text-align: center;
    padding: 40px;
    color: #A78BFA;
    font-size: 16px;
}

.error-message {
    text-align: center;
    padding: 40px;
    color: #EF4444;
    font-size: 16px;
}

/* Light Mode Modal Styles */
body.light-mode .modal-container {
    background: white;
    border: 1px solid #E5E7EB;
}

body.light-mode .modal-header {
    border-bottom: 1px solid #E5E7EB;
}

body.light-mode .modal-header h3 {
    color: #1F2937;
}

body.light-mode .modal-close {
    color: #1F2937;
}

body.light-mode .modal-close:hover {
    background: rgba(0, 0, 0, 0.1);
}

body.light-mode .detail-header {
    border-bottom: 1px solid #E5E7EB;
}

body.light-mode .detail-info h2 {
    color: #6B46C1;
}

body.light-mode .detail-id {
    color: #6B7280;
}

body.light-mode .detail-email {
    color: #374151;
}

body.light-mode .detail-item {
    background: #F9FAFB;
    border: 1px solid #E5E7EB;
}

body.light-mode .detail-label {
    color: #6B7280;
}

body.light-mode .detail-value {
    color: #1F2937;
}

body.light-mode .detail-timestamps {
    background: #F9FAFB;
    border: 1px solid #E5E7EB;
}

body.light-mode .timestamp-label {
    color: #6B7280;
}

body.light-mode .timestamp-value {
    color: #374151;
}

body.light-mode .loading-spinner {
    color: #6B46C1;
}

body.light-mode .error-message {
    color: #EF4444;
}

@media (max-width: 768px) {
    .dashboard-container {
        padding: 0 20px;
    }
    
    .hero-section {
        padding: 40px 24px;
        border-radius: 20px;
    }
    
    .hero-content {
        flex-direction: column;
        text-align: center;
        gap: 32px;
    }
    
    .hero-title {
        font-size: 36px;
    }
    
    .greeting {
        font-size: 24px;
    }
    
    .hero-stats {
        justify-content: center;
        gap: 32px;
    }
    
    .hero-visual {
        width: 250px;
        height: 150px;
    }
    
    .stats-overview {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .stat-item {
        padding: 24px;
        flex-direction: column;
        text-align: center;
        gap: 16px;
    }
    
    .content-section {
        padding: 24px;
        border-radius: 16px;
    }
    
    .section-header-modern {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
        padding-bottom: 16px;
    }
    
    .section-title h2 {
        font-size: 22px;
    }
    
    .student-item {
        flex-direction: column;
        text-align: center;
        gap: 16px;
        padding: 20px;
    }
    
    .student-header {
        flex-direction: column;
        gap: 8px;
    }
    
    .student-actions {
        justify-content: center;
    }
    
    .sidebar {
        grid-template-columns: 1fr;
    }
    
    .sidebar-card {
        padding: 20px;
    }
    
    .upload-section, .recent-imports, .view-data-section {
        padding: 24px;
        border-radius: 16px;
    }
    
    .form-wrapper {
        padding: 32px 24px;
        margin: 16px;
    }
    
    .form-header h1 {
        font-size: 28px;
    }
    
    .form-group input {
        padding: 14px 18px;
        font-size: 15px;
    }
    
    .btn {
        padding: 14px 28px;
        font-size: 15px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .summary-grid {
        grid-template-columns: 1fr;
    }
    
    .action-buttons {
        flex-direction: column;
    }
    
    .nav-menu {
        flex-direction: column;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .hero-section {
        padding: 32px 16px;
    }
    
    .hero-title {
        font-size: 28px;
    }
    
    .greeting {
        font-size: 20px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .hero-stats {
        gap: 24px;
    }
    
    .hero-number {
        font-size: 28px;
    }
    
    .content-section {
        padding: 20px 16px;
    }
    
    .section-title h2 {
        font-size: 20px;
    }
    
    .student-item {
        padding: 16px;
    }
    
    .avatar-circle {
        width: 48px;
        height: 48px;
        font-size: 16px;
    }
    
    .sidebar-card {
        padding: 16px;
    }
}
