/* Custom styles for Exam Management System */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700;800&display=swap');

:root {
    /* Single Color "Royal Blue" Theme */
    --primary-color: #2563eb;
    /* Blue 600 */
    --primary-dark: #1d4ed8;
    /* Blue 700 */
    --primary-light: #dbeafe;
    /* Blue 100 */
    --primary-soft: #bfdbfe;
    /* Blue 200 */

    --accent-color: #2563eb;
    /* Blue 600 */
    --accent-light: #dbeafe;
    /* Blue 100 */

    /* Gradients adjusted to be solid colors or very subtle single-hue shifts */
    --gradient-primary: linear-gradient(135deg, #2563eb 0%, #2563eb 100%);
    --gradient-hover: linear-gradient(135deg, #1d4ed8 0%, #1d4ed8 100%);
    --gradient-sidebar: linear-gradient(180deg, #ffffff 0%, #eff6ff 100%);

    --secondary-color: #475569;
    /* Slate 600 */
    --secondary-dark: #334155;
    /* Slate 700 */

    --success-color: #059669;
    /* Emerald 600 */
    --success-bg: #d1fae5;
    /* Emerald 100 */

    --info-color: #3b82f6;
    /* Blue 500 */
    --info-bg: #eff6ff;
    /* Blue 50 */

    --warning-color: #d97706;
    /* Amber 600 */
    --warning-bg: #fef3c7;
    /* Amber 100 */

    --danger-color: #dc2626;
    /* Red 600 */
    --danger-bg: #fee2e2;
    /* Red 100 */

    /* Backgrounds */
    --bg-body: #f8fafc;
    /* Slate 50 */
    --bg-card: #ffffff;
    --bg-sidebar: rgba(255, 255, 255, 0.95);
    --bg-header: rgba(255, 255, 255, 0.9);

    /* Text Colors */
    --text-main: #0f172a;
    /* Slate 900 */
    --text-secondary: #334155;
    /* Slate 700 */
    --text-muted: #64748b;
    /* Slate 500 */
    --text-light: #94a3b8;
    /* Slate 400 */

    /* Dimensions */
    --sidebar-width: 280px;
    --header-height: 70px;
    --border-radius: 16px;
    --border-radius-sm: 8px;

    /* Borders */
    --border-color: #e2e8f0;
    /* Slate 200 */

    /* Shadows */
    --shadow-sm: 0 1px 3px 0 rgba(0, 0, 0, 0.1), 0 1px 2px 0 rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px 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);
    --shadow-glow: 0 0 15px rgba(37, 99, 235, 0.2);

    /* Typography */
    --font-family: 'Outfit', system-ui, -apple-system, sans-serif;
}

/* Base Styles */
* {
    box-sizing: border-box;
}

body {
    background-color: var(--bg-body);
    /* Subtle single-color background effect */
    background-image:
        radial-gradient(at 0% 0%, rgba(37, 99, 235, 0.03) 0px, transparent 50%),
        radial-gradient(at 100% 100%, rgba(37, 99, 235, 0.03) 0px, transparent 50%);
    background-attachment: fixed;
    font-family: var(--font-family);
    font-size: 0.95rem;
    color: var(--text-main);
    margin: 0;
    padding: 0;
    display: flex;
    min-height: 100vh;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    text-decoration: none;
    color: var(--primary-color);
    transition: all 0.2s ease;
}

a:hover {
    color: var(--primary-dark);
}

h1,
h2,
h3,
h4,
h5,
h6 {
    margin-top: 0;
    color: var(--text-main);
    font-weight: 700;
    letter-spacing: -0.025em;
}

/* Sidebar Navigation */
.sidebar {
    width: var(--sidebar-width);
    background: var(--bg-sidebar);
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    box-shadow: var(--shadow-lg);
    z-index: 1000;
    display: flex;
    flex-direction: column;
    border-right: 1px solid var(--border-color);
    backdrop-filter: blur(8px);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.sidebar-header {
    height: var(--header-height);
    display: flex;
    align-items: center;
    padding: 0 28px;
    border-bottom: 1px solid var(--border-color);
    background: transparent;
}

.sidebar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    color: var(--primary-color);
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: -0.03em;
}

.sidebar-brand i {
    font-size: 1.6rem;
    color: var(--primary-color);
    padding: 8px;
    border-radius: 10px;
    background-color: var(--primary-light);
}

.sidebar-menu {
    padding: 24px 16px;
    flex: 1;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 20px;
    color: var(--text-secondary);
    border-radius: var(--border-radius-sm);
    font-weight: 600;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.nav-link:hover {
    background-color: var(--primary-light);
    color: var(--primary-color);
    transform: translateX(4px);
}

.nav-link.active {
    background-color: var(--primary-color);
    color: white;
    box-shadow: var(--shadow-md);
}

.nav-link i {
    width: 24px;
    text-align: center;
    font-size: 1.2rem;
    transition: transform 0.2s;
}

.nav-link:hover i {
    transform: scale(1.1);
}

.logout-link {
    margin-top: auto;
    color: var(--danger-color);
    border-top: 1px solid var(--border-color);
    border-radius: 0;
    padding: 24px 28px;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.5);
}

.logout-link:hover {
    background-color: var(--danger-bg);
    color: #dc2626;
    transform: none;
}

/* Main Content Area */
.main-content {
    flex: 1;
    margin-left: var(--sidebar-width);
    width: calc(100% - var(--sidebar-width));
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    transition: margin-left 0.3s ease;
}

.dashboard-container,
.container {
    flex: 1;
    padding: 40px;
    width: 100%;
    max-width: 1800px;
    margin: 0 auto;
}

/* Page Header */
.dashboard-header,
.page-title {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-main);
    margin-bottom: 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding-bottom: 20px;
    border-bottom: 2px solid var(--border-color);
}

.dashboard-header i,
.page-title i {
    color: var(--primary-color);
    margin-right: 12px;
}

.current-datetime {
    font-size: 1rem;
    font-weight: 600;
    color: var(--primary-color);
    background: white;
    padding: 10px 20px;
    border-radius: 30px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--primary-light);
}

/* Welcome Section */
.welcome-section {
    background-color: var(--primary-color);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    margin-bottom: 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: white;
    position: relative;
    overflow: hidden;
}

/* Subtle pattern for texture instead of gradient */
.welcome-section::before {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background-image: radial-gradient(circle at 2px 2px, rgba(255, 255, 255, 0.15) 1px, transparent 0);
    background-size: 24px 24px;
}

.welcome-text {
    flex: 1;
    z-index: 1;
}

.welcome-text h2 {
    font-size: 2.5rem;
    margin: 0 0 10px 0;
    font-weight: 800;
    color: white;
}

.welcome-text p {
    font-size: 1.2rem;
    opacity: 0.95;
    margin: 0 0 24px 0;
    max-width: 600px;
}

.profile-photo {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid rgba(255, 255, 255, 0.5);
    margin-left: 40px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    z-index: 1;
    transition: transform 0.3s ease;
}

.profile-photo:hover {
    transform: scale(1.05);
}

.nav-links {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.nav-links a {
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.2);
    color: white;
    text-decoration: none;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.nav-links a:hover {
    background: white;
    color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Cards */
.card,
.dashboard-card,
.stat-card {
    background: var(--bg-card);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    padding: 0;
    margin-bottom: 30px;
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
    position: relative;
}

.card:hover,
.dashboard-card:hover,
.stat-card:hover {
    box-shadow: var(--shadow-xl);
    transform: translateY(-5px);
    border-color: var(--primary-light);
}

/* Top border accent */
.card::before,
.dashboard-card::before,
.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background-color: var(--primary-color);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.card:hover::before,
.dashboard-card:hover::before,
.stat-card:hover::before {
    opacity: 1;
}

.card-body {
    padding: 32px;
}

/* Card Headers */
.card h3,
.dashboard-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--text-main);
    margin: 0;
    padding: 24px 32px;
    background: white;
    display: flex;
    align-items: center;
    gap: 12px;
    border-bottom: 1px solid var(--border-color);
}

.card h3 i,
.dashboard-card h3 i {
    color: var(--primary-color);
    background: var(--primary-light);
    padding: 10px;
    border-radius: 12px;
    font-size: 1.1rem;
}

/* Content inside cards */
.card>*:not(h3),
.dashboard-card>*:not(h3) {
    padding: 32px;
}

/* Stat Cards */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

.stat-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    padding: 32px;
    background: white;
    border-left: none;
}

.stat-card h3 {
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--text-muted);
    margin-bottom: 16px;
    background: none;
    padding: 0;
    border: none;
    display: flex;
    align-items: center;
    width: 100%;
}

.stat-card h3 i {
    margin-left: auto;
    font-size: 1.8rem;
    color: var(--primary-color);
    background: none;
    padding: 0;
}

.stat-card .number {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--primary-color);
    line-height: 1;
    margin-bottom: 8px;
}

/* Dashboard Grid */
.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

/* Generic Grid System */
.grid {
    display: grid;
    gap: 24px;
    margin-bottom: 24px;
}

.grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

@media (min-width: 768px) {
    .grid-2 {
        grid-template-columns: 1fr 1fr;
    }
}

/* Forms */
.form-group {
    margin-bottom: 24px;
}

.form-group label {
    display: block;
    margin-bottom: 10px;
    font-weight: 600;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.form-control {
    width: 100%;
    padding: 14px 18px;
    font-size: 1rem;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    background-color: #f8fafc;
    transition: all 0.2s;
    color: var(--text-main);
}

.form-control:focus {
    outline: none;
    border-color: var(--primary-color);
    background-color: white;
    box-shadow: 0 0 0 4px var(--primary-light);
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 14px 28px;
    font-size: 1rem;
    font-weight: 600;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    line-height: 1.5;
    box-shadow: var(--shadow-sm);
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.85rem;
    border-radius: 8px;
}

.btn-primary {
    background-color: var(--primary-color);
    color: white;
}

.btn-primary:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-secondary {
    background: white;
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background: #f1f5f9;
    color: var(--text-main);
    border-color: var(--text-muted);
}

.btn-success {
    background-color: var(--success-color);
    color: white;
}

.btn-success:hover {
    background-color: #047857;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-danger {
    background-color: var(--danger-color);
    color: white;
}

.btn-danger:hover {
    background-color: #b91c1c;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-warning {
    background-color: var(--warning-color);
    color: white;
}

.btn-warning:hover {
    background-color: #b45309;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-info {
    background-color: var(--info-color);
    color: white;
}

.btn-info:hover {
    background-color: #2563eb;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* Alerts */
.alert {
    padding: 16px 20px;
    border-radius: 12px;
    margin-bottom: 24px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 12px;
}

.alert-success {
    background-color: var(--success-bg);
    color: #065f46;
    border: 1px solid #6ee7b7;
}

.alert-danger {
    background-color: var(--danger-bg);
    color: #991b1b;
    border: 1px solid #fca5a5;
}

.alert-warning {
    background-color: var(--warning-bg);
    color: #92400e;
    border: 1px solid #fcd34d;
}

.alert-info {
    background-color: var(--info-bg);
    color: #1e40af;
    border: 1px solid #bfdbfe;
}

/* Badges */
.badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 6px 14px;
    border-radius: 9999px;
    font-size: 0.8rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.025em;
    text-transform: uppercase;
}

.badge-primary {
    background-color: var(--primary-color);
    color: white;
    border: 1px solid var(--primary-dark);
}

.badge-success,
.present-badge {
    background-color: var(--success-bg);
    color: #059669;
    border: 1px solid #a7f3d0;
}

.badge-danger,
.absent-badge {
    background-color: var(--danger-bg);
    color: #dc2626;
    border: 1px solid #fecaca;
}

.badge-warning {
    background-color: var(--warning-bg);
    color: #d97706;
    border: 1px solid #fde68a;
}

.badge-info {
    background-color: var(--info-bg);
    color: #0284c7;
    border: 1px solid #bae6fd;
}

/* List Items */
.list-item {
    padding: 20px 28px;
    border-bottom: 1px solid var(--border-color);
    transition: all 0.2s;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.list-item:last-child {
    border-bottom: none;
}

.list-item:hover {
    background-color: #f8fafc;
    padding-left: 32px;
    border-left: 4px solid var(--primary-color);
}

.list-item p {
    margin: 0;
    display: flex;
    align-items: center;
    gap: 10px;
}

.list-item strong {
    color: var(--text-main);
    font-size: 1.05rem;
}

.list-item .meta {
    color: var(--text-muted);
    font-size: 0.9rem;
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
}

.list-item .meta i {
    color: var(--primary-color);
}

/* Profile Info Grid */
.profile-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 20px;
}

.profile-info p {
    margin: 0;
    padding: 20px;
    background: white;
    border-radius: 16px;
    display: flex;
    align-items: center;
    gap: 16px;
    font-weight: 600;
    color: var(--text-secondary);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-sm);
    transition: transform 0.2s;
}

.profile-info p:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-soft);
}

.profile-info i {
    color: var(--primary-color);
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-light);
    border-radius: 10px;
    font-size: 1.2rem;
}

/* Stats Section (Faculty) */
.stats-section {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 30px;
    margin-bottom: 40px;
}

/* Action Buttons Grid */
.action-buttons {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.action-button {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px;
    background: white;
    border-radius: 20px;
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 700;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    gap: 16px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.action-button i {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 8px;
    transition: all 0.3s ease;
}

.action-button:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-light);
}

.action-button:hover i {
    transform: scale(1.1);
}

.action-button.logout {
    color: var(--danger-color);
}

.action-button.logout i {
    color: var(--danger-color);
}

.action-button.logout:hover {
    background-color: var(--danger-bg);
    border-color: var(--danger-color);
}

/* Footer */
.main-footer {
    background: white;
    padding: 32px 0;
    margin-top: auto;
    border-top: 1px solid var(--border-color);
}

.footer-content {
    max-width: 1800px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* Mobile Toggle */
.mobile-toggle {
    display: none;
    position: fixed;
    top: 16px;
    left: 16px;
    z-index: 1100;
    background: white;
    border: 1px solid var(--border-color);
    padding: 10px 14px;
    border-radius: 10px;
    box-shadow: var(--shadow-md);
    color: var(--primary-color);
    font-size: 1.25rem;
    cursor: pointer;
}

/* Responsive Design */
@media (max-width: 1200px) {
    .dashboard-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .sidebar {
        transform: translateX(-100%);
    }

    .sidebar.show {
        transform: translateX(0);
    }

    .main-content {
        margin-left: 0;
        width: 100%;
        padding-top: 70px;
    }

    /* Overlay when sidebar is open */
    .sidebar.show::before {
        content: '';
        position: fixed;
        top: 0;
        left: var(--sidebar-width);
        right: 0;
        bottom: 0;
        background: rgba(15, 23, 42, 0.6);
        z-index: 999;
        width: 100vw;
        backdrop-filter: blur(2px);
    }

    .dashboard-container,
    .container {
        padding: 20px;
    }

    .mobile-toggle {
        display: block;
    }

    .page-header,
    .dashboard-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .stats-grid,
    .stats-section {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .welcome-section {
        flex-direction: column;
        text-align: center;
        padding: 30px;
    }

    .profile-photo {
        margin: 24px 0 0 0;
    }

    .nav-links {
        justify-content: center;
    }
}

/* Utilities */
.text-center {
    text-align: center;
}

.text-right {
    text-align: right;
}

.mb-4 {
    margin-bottom: 1.5rem;
}

.mt-4 {
    margin-top: 1.5rem;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-soft);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}

/* Colorful Table Styles */
.attendance-table,
.faculty-table,
.exam-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-sm);
}

.attendance-table th,
.faculty-table th,
.exam-table th {
    background-color: var(--primary-color);
    color: white;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
    padding: 20px 28px;
    text-align: left;
    border-bottom: none;
}

.attendance-table td,
.faculty-table td,
.exam-table td {
    padding: 20px 28px;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-secondary);
    vertical-align: middle;
    font-size: 0.95rem;
    transition: background-color 0.2s;
}

.attendance-table tr:last-child td,
.faculty-table tr:last-child td,
.exam-table tr:last-child td {
    border-bottom: none;
}

/* Striped Rows */
.attendance-table tbody tr:nth-child(even),
.faculty-table tbody tr:nth-child(even),
.exam-table tbody tr:nth-child(even) {
    background-color: #f8fafc;
}

.attendance-table tbody tr:hover,
.faculty-table tbody tr:hover,
.exam-table tbody tr:hover {
    background-color: var(--primary-light) !important;
    transform: scale(1.005);
    transition: transform 0.2s ease, background-color 0.2s;
    box-shadow: var(--shadow-sm);
    z-index: 1;
    position: relative;
}

/* Total Row Styling */
.total-row {
    background-color: var(--primary-light) !important;
    font-weight: 700;
}

.total-row td {
    color: var(--primary-dark);
    border-top: 2px solid var(--primary-color);
}

/* Faculty Table Specifics */
.avatar-sm {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary-color);
    padding: 2px;
    background: white;
}

.faculty-info {
    display: flex;
    align-items: center;
    gap: 16px;
}

.faculty-details {
    display: flex;
    flex-direction: column;
}

.faculty-name {
    font-weight: 700;
    color: var(--text-main);
}

.faculty-id {
    font-size: 0.85rem;
    color: var(--primary-color);
    font-weight: 500;
}

.action-buttons-cell {
    display: flex;
    gap: 8px;
}

/* Seating Dashboard Specifics */
.seating-stat-card {
    background: white;
    padding: 20px;
    /* Smaller padding than standard 32px */
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 20px;
    transition: transform 0.2s;
}

.seating-stat-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
    border-color: var(--primary-light);
}

.seating-stat-card .stat-icon {
    font-size: 2.5rem;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: var(--bg-body);
}

.seating-stat-card .stat-icon.primary {
    color: var(--primary-color);
    background: var(--primary-light);
}

.seating-stat-card .stat-icon.success {
    color: var(--success-color);
    background: var(--success-bg);
}

.seating-stat-card .stat-info h3 {
    font-size: 2.5rem;
    /* Large font size */
    margin: 0;
    line-height: 1;
    color: var(--primary-color);
}

/* Student Details */
.student-details-container {
    margin-top: 20px;
    padding: 20px;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    animation: slideDown 0.3s ease;
}

.student-details-container h3 {
    margin-bottom: 20px;
    color: var(--primary-color);
    font-size: 1.25rem;
    border-bottom: 2px solid var(--primary-light);
    padding-bottom: 10px;
}

.student-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.student-info-item {
    display: flex;
    flex-direction: column;
    gap: 5px;
}


.student-info-item label {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.student-info-item span {
    font-size: 1.1rem;
    color: var(--text-main);
    font-weight: 500;
}

.sidebar-footer {
    padding: 12px 20px;
    text-align: center;
    font-size: 0.8rem;
    color: var(--text-light);
    border-top: 1px solid var(--border-color);
    background: rgba(255, 255, 255, 0.5);
}
