﻿/* ========================================
   ST. MARY'S COLLEGE OF HEALTH SCIENCES
   Learning Management System - Master CSS
   Works with inline styles - No conflicts
======================================== */

/* ========================================
   CRITICAL RESET - Prevents conflicts
======================================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
    scroll-behavior: smooth;
}

body {
    margin: 0 !important;
    padding: 0 !important;
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: #f8fafc !important;
    color: #1e293b;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Remove ALL body pseudo-elements to prevent background conflicts */
body::before,
body::after {
    content: none !important;
    display: none !important;
}

/* ========================================
   CSS VARIABLES
======================================== */
:root {
    --smchs-primary: #1e40af;
    --smchs-secondary: #059669;
    --smchs-accent: #dc2626;
    --primary-blue: #1e40af;
    --primary-blue-dark: #1e3a8a;
    --success: #10b981;
    --danger: #dc2626;
    --light-green: #d1fae5;
    --light-green-dark: #10b981;
    --white: #ffffff;
    --off-white: #f8fafc;
    --border: #e2e8f0;
    --text-primary: #1e293b;
    --text-secondary: #64748b;
    --shadow: rgba(0, 0, 0, 0.05);
}

/* ========================================
   LOGIN PAGE - COMPLETE WITH BACKGROUND
======================================== */

/* Body Layout with Background */
body.login-page {
    background: #f8fafc !important;
    position: relative;
    min-height: 100vh;
    display: flex !important;
    align-items: center;
    justify-content: center;
    padding: 20px;
    overflow: hidden;
}

/* Blurred Background Logo */
body.login-page::before {
    content: '' !important;
    display: block !important;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../assets/images/smchs-logo.png');
    background-size: 500px;
    background-position: center;
    background-repeat: no-repeat;
    filter: blur(12px);
    opacity: 0.12;
    z-index: 0;
}

/* Color Gradient Overlay */
body.login-page::after {
    content: '' !important;
    display: block !important;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(30, 64, 175, 0.85), rgba(5, 150, 105, 0.85));
    z-index: 0;
}

/* Login Container - Compact */
.login-container {
    position: relative;
    z-index: 1;
    background: white;
    border-radius: 20px;
    max-width: 420px !important;
    width: 100%;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
    overflow: visible;
}

/* Logo Circle - Properly Sized */
.login-container::before {
    content: '';
    position: absolute;
    top: -50px;
    left: 50%;
    transform: translateX(-50%);
    width: 85px !important;
    height: 85px !important;
    background: white url('../assets/images/smchs-logo.png') center/70px no-repeat;
    border-radius: 50%;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    z-index: 2;
    padding: 0 !important;
}

/* Top Header - Reduced Padding */
.login-container > .login-header {
    background: linear-gradient(135deg, #1e40af, #059669);
    color: white;
    padding: 50px 30px 18px !important;
    text-align: center;
    border-radius: 20px 20px 0 0;
}

.login-container > .login-header h1 {
    margin: 0;
    font-size: 1.8rem;
    color: white;
}

.login-container > .login-header::after {
    content: 'St. Mary\'s College of Health Sciences';
    display: block;
    margin-top: 8px;
    font-size: 0.85rem;
    opacity: 0.95;
}

/* Right Section - Compact Padding */
.login-right {
    padding: 25px 30px 30px !important;
}

.login-right .login-header {
    text-align: center;
    margin-bottom: 20px !important;
}

.login-right .login-header h2 {
    margin: 0 0 6px 0 !important;
    color: #1e40af;
    font-size: 1.5rem;
}

.login-right .login-header p {
    margin: 0 !important;
    color: #64748b;
    font-size: 0.9rem;
}

/* Tabs - Reduced Gap */
.login-tabs {
    display: flex;
    gap: 8px !important;
    margin-bottom: 25px;
    background: #f1f5f9;
    padding: 5px;
    border-radius: 10px;
}

.tab-btn {
    flex: 1;
    padding: 10px 8px !important;
    background: transparent;
    border: none;
    border-radius: 8px;
    color: #64748b;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s ease;
    font-size: 0.9rem;
}

.tab-btn:hover {
    background: rgba(30, 64, 175, 0.1);
}

.tab-btn.active {
    background: white;
    color: #1e40af;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Tab Content */
.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* Form Fields - Compact Spacing */
.form-group {
    margin-bottom: 18px !important;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #1e40af;
    font-weight: 600;
    font-size: 0.9rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 11px 14px !important;
    border: 2px solid #e2e8f0;
    border-radius: 10px;
    font-size: 0.95rem;
    transition: 0.3s ease;
    font-family: inherit;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #1e40af;
    box-shadow: 0 0 0 3px rgba(30, 64, 175, 0.1);
}

/* Button - Reduced Spacing */
.btn {
    width: 100%;
    padding: 13px !important;
    margin-top: 8px !important;
    background: linear-gradient(135deg, #1e40af, #059669);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s ease;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(30, 64, 175, 0.3);
}

.btn:active {
    transform: translateY(0);
}

/* Register Link - Reduced Margin */
.register-link {
    text-align: center;
    margin-top: 16px !important;
    color: #64748b;
    font-size: 0.9rem;
}

.register-link a {
    color: #1e40af;
    text-decoration: none;
    font-weight: 600;
}

.register-link a:hover {
    text-decoration: underline;
}

/* Alert */
.alert {
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 15px;
    display: none;
}

.alert.show {
    display: block;
}

/* ========================================
   WELCOME SECTION & SEMESTER BADGE
   ======================================== */

.welcome-section {
    background: linear-gradient(135deg, #1e40af, #1e3a8a);
    color: white;
    padding: 30px 25px;
    border-radius: 15px;
    margin-bottom: 30px;
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.welcome-content {
    flex: 1;
    min-width: 200px;
}

.welcome-section h2 {
    margin: 0 0 8px 0;
    font-size: 1.8rem;
    font-weight: 700;
}

.welcome-section p {
    margin: 0;
    opacity: 0.9;
    font-size: 1rem;
}

.semester-badge {
    background: rgba(255, 255, 255, 0.25);
    padding: 10px 20px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
    white-space: nowrap;
    text-align: center;
}

.semester-year {
    opacity: 0.9;
}

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

.stat-box {
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    border-left: 4px solid var(--primary-blue);
}

.stat-label {
    font-size: 0.9rem;
    color: #64748b;
    margin-bottom: 8px;
    font-weight: 500;
}

.stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-blue-dark);
    margin-bottom: 8px;
}

.stat-change {
    font-size: 0.85rem;
    color: #64748b;
}

.stat-change.positive {
    color: var(--success);
}

/* Mobile Responsive */
@media (max-width: 480px) {
    .login-container {
        margin: 10px;
        border-radius: 15px;
        max-width: 100% !important;
    }
    
    .login-container::before {
        width: 75px !important;
        height: 75px !important;
        background-size: 60px;
        top: -45px;
    }
    
    .login-container > .login-header {
        padding: 45px 20px 15px !important;
    }
    
    .login-container > .login-header h1 {
        font-size: 1.5rem;
    }
    
    .login-right {
        padding: 20px !important;
    }
    
    .login-tabs {
        flex-direction: column;
        gap: 6px !important;
    }
}
@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
    20%, 40%, 60%, 80% { transform: translateX(5px); }
}

.shake {
    animation: shake 0.5s ease-in-out;
}

/* ========================================
   DASHBOARD LAYOUT
======================================== */
.dashboard {
    display: flex !important;
    min-height: 100vh;
    background: #f8fafc !important;
    width: 100%;
}

/* ========================================
   SIDEBAR
======================================== */
.sidebar {
    width: 280px;
    background: linear-gradient(180deg, #1e40af 0%, #1e3a8a 100%) !important;
    color: white;
    position: fixed;
    height: 100vh;
    overflow-y: auto;
    z-index: 1000;
    box-shadow: 4px 0 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

/* Sidebar Footer (now at top) */
.sidebar-footer {
    padding: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.2);
    margin-bottom: 0;
}

/* Sidebar Header (now below profile) */
.sidebar-header {
    padding: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.1);
}
.sidebar-logo,
.logo-container {
    display: flex;
    align-items: center;
    gap: 12px;
}

.sidebar-logo img,
.logo-icon {
    width: 40px !important;
    height: 40px !important;
    border-radius: 8px;
    background: white;
    padding: 4px;
    object-fit: contain;
}

.logo-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
    color: #1e40af;
}

.sidebar-title,
.logo-text h2 {
    color: white !important;
    font-size: 1.1rem;
    font-weight: 700;
    margin: 0 !important;
}

.sidebar-subtitle,
.logo-text p {
    color: rgba(255, 255, 255, 0.8) !important;
    font-size: 0.75rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin: 0 !important;
}

.sidebar-menu {
    padding: 20px 15px;
}

.menu-section {
    margin-bottom: 25px;
}

.menu-section-title {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 10px;
    padding-left: 15px;
    font-weight: 600;
}

.menu-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    border-radius: 10px;
    transition: 0.2s;
    margin-bottom: 4px;
    font-size: 0.95rem;
}

.menu-item:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.menu-item.active {
    background: #d1fae5 !important;
    color: #1e40af !important;
    font-weight: 600;
}

.menu-item .icon {
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.9;
    position: relative;
}

.notification-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #ef4444;
    color: white;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 2px 6px;
    border-radius: 10px;
    min-width: 18px;
    height: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 4px rgba(239, 68, 68, 0.4);
    animation: pulse 2s infinite;
}

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



.user-profile {
    display: flex;
    align-items: center;
    gap: 12px;
}

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: #d1fae5;
    color: #1e40af;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.1rem;
}

.user-name {
    font-weight: 600;
    font-size: 0.9rem;
    color: white;
}

.user-role {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.7);
}

/* ========================================
   MAIN CONTENT AREA
======================================== */
.main-content {
    flex: 1;
    margin-left: 280px;
    padding: 30px;
    background: #f8fafc !important;
    min-height: 100vh;
    position: relative;
}

/* Subtle watermark - ONLY in main-content */
.main-content::before {
    content: '' !important;
    display: block !important;
    position: fixed;
    top: 50%;
    right: 10%;
    transform: translateY(-50%);
    width: 300px;
    height: 300px;
    background: url('../assets/images/smchs-logo.png') center/contain no-repeat;
    filter: blur(2px);
    opacity: 0.04;
    pointer-events: none;
    z-index: 0;
}

.main-content > * {
    position: relative;
    z-index: 1;
}

/* Remove the ::after to prevent double backgrounds */
.main-content::after {
    display: none !important;
}

/* ========================================
   WELCOME SECTION
======================================== */
.welcome-section {
    background: linear-gradient(135deg, #1e40af, #059669) !important;
    color: white !important;
    padding: 30px !important;
    border-radius: 15px !important;
    margin-bottom: 30px !important;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.welcome-section h2 {
    margin: 0 0 10px 0 !important;
    font-size: 1.8rem !important;
    color: white !important;
}

.welcome-section h2::before {
    display: none !important;
}

.welcome-section p {
    margin: 0 !important;
    opacity: 0.95 !important;
    font-size: 0.95rem !important;
    color: white !important;
}

/* ========================================
   TOP BAR - Override inline conflicts
======================================== */
/* Top Bar - Force Right Alignment */
.top-bar {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    margin-bottom: 30px !important;
    padding: 25px !important;
    background: white !important;
    border-radius: 15px !important;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05) !important;
}

.top-bar h1 {
    margin: 0 !important;
    font-size: 2rem !important;
    color: #1e40af !important;
    flex-shrink: 0;
}

.top-bar .user-info {
    display: flex !important;
    align-items: center !important;
    gap: 15px !important;
    margin-left: auto !important;
}

.student-id {
    padding: 10px 20px;
    background: linear-gradient(135deg, #d1fae5, #10b981);
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 600;
    color: #1e40af;
}

.btn-print {
    padding: 10px 20px;
    background: #1e40af;
    color: white;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.95rem;
    display: flex;
    align-items: center;
    transition: all 0.3s ease;
}

.btn-print:hover {
    background: #1e3a8a;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(30, 64, 175, 0.3);
}

/* Print Styles */
@media print {
    .btn-print {
        display: none !important;
    }
    
    .sidebar,
    .top-bar button {
        display: none !important;
    }
}
/* ========================================
   STATS GRID
======================================== */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.stat-card {
    background: white !important;
    border-radius: 18px;
    padding: 28px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    display: flex;
    align-items: center;
    gap: 20px;
    border-top: 3px solid #1e40af;
    transition: 0.3s;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(30, 64, 175, 0.15);
}

.stat-icon {
    width: 65px;
    height: 65px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
}

.stat-info h3,
.stat-label {
    font-size: 0.95rem;
    color: #64748b;
    font-weight: 500;
    margin-bottom: 8px;
}

.stat-value {
    font-size: 2.2rem;
    font-weight: 700;
    color: #1e40af;
    margin: 0;
}

/* ========================================
   SECTION CONTAINERS
======================================== */
.section {
    background: white !important;
    border-radius: 18px;
    padding: 35px;
    margin-bottom: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.section h2 {
    font-size: 1.6rem;
    color: #1e40af;
    font-weight: 700;
    margin-bottom: 25px;
}

.section h2::before {
    content: '';
    display: inline-block;
    width: 4px;
    height: 28px;
    background: linear-gradient(180deg, #1e40af, #059669);
    margin-right: 12px;
    border-radius: 2px;
    vertical-align: middle;
}

/* ========================================
   TABLES
======================================== */
.table-container {
    overflow-x: auto;
    border-radius: 12px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

table {
    width: 100%;
    border-collapse: collapse;
    background: white;
}

table thead {
    background: linear-gradient(135deg, #1e40af, #1e3a8a);
    color: white;
}

table th, table td {
    padding: 18px 20px;
    text-align: left;
    border-bottom: 1px solid #e2e8f0;
}

table th {
    font-weight: 600;
    font-size: 0.95rem;
}

table tbody tr {
    transition: 0.2s;
}

table tbody tr:hover {
    background: #f8fafc;
}

/* ========================================
   COURSES
======================================== */
.courses-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 25px;
}

.course-card {
    background: white;
    border-radius: 15px;
    padding: 25px;
    border-left: 5px solid #1e40af;
    transition: 0.3s;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.course-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(30, 64, 175, 0.15);
}

.course-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    margin-bottom: 15px;
}

.course-header h3 {
    font-size: 1.15rem;
    color: #1e40af;
    font-weight: 600;
    margin: 0;
}

.course-code,
.course-code-badge {
    background: #1e40af !important;
    color: white !important;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

.course-credits,
.course-faculty {
    color: #64748b;
    font-size: 0.95rem;
    margin-bottom: 8px;
}

.btn-view {
    display: inline-block;
    margin-top: 15px;
    padding: 10px 20px;
    background: linear-gradient(135deg, #1e40af, #1e3a8a);
    color: white;
    text-decoration: none;
    border-radius: 10px;
    font-size: 0.95rem;
    font-weight: 600;
    transition: 0.3s;
}

.btn-view:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 18px rgba(30, 64, 175, 0.3);
}

/* ========================================
   GRADES
======================================== */
.grade-badge,
.grade-a,
.grade-b,
.grade-c,
.grade-d,
.grade-f {
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
    display: inline-block;
}

.grade-badge.a,
.grade-a {
    background: #d1fae5 !important;
    color: #065f46 !important;
}

.grade-badge.b,
.grade-b {
    background: #bfdbfe !important;
    color: #1e40af !important;
}

.grade-badge.c,
.grade-c {
    background: #fef3c7 !important;
    color: #92400e !important;
}

.grade-badge.d,
.grade-d,
.grade-badge.f,
.grade-f {
    background: #fee2e2 !important;
    color: #991b1b !important;
}

/* ========================================
   BUTTONS
======================================== */
.btn-submit,
.btn-primary {
    padding: 12px 30px;
    background: linear-gradient(135deg, #1e40af, #1e3a8a);
    color: white;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: 0.3s;
}

.btn-submit:hover,
.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(30, 64, 175, 0.3);
}

/* ========================================
   FORMS
======================================== */
.form-container {
    background: white;
    border-radius: 18px;
    padding: 35px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.form-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

/* ========================================
   ALERTS
======================================== */
.alert {
    padding: 15px 20px;
    border-radius: 10px;
    margin-bottom: 20px;
}

.alert-success {
    background: #d1fae5;
    color: #065f46;
    border-left: 4px solid #10b981;
}

.alert-error {
    background: #fee2e2;
    color: #991b1b;
    border-left: 4px solid #ef4444;
}

/* ========================================
   MOBILE RESPONSIVE
======================================== */
@media screen and (max-width: 768px) {
    /* Menu toggle button */
    .menu-toggle {
        position: fixed;
        top: 10px;
        left: 10px;
        z-index: 1001;
        display: flex !important;
        align-items: center;
        justify-content: center;
        background: linear-gradient(135deg, #1e40af, #1e3a8a);
        color: white;
        border: none;
        width: 50px;
        height: 50px;
        border-radius: 12px;
        font-size: 1.5rem;
        cursor: pointer;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
        transition: all 0.3s;
    }
    
    .menu-toggle:active {
        transform: scale(0.95);
    }
    
    /* Sidebar overlay */
    .sidebar-overlay {
        display: block;
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: rgba(0, 0, 0, 0.6);
        z-index: 999;
        opacity: 0;
        visibility: hidden;
        transition: opacity 0.3s ease, visibility 0.3s ease;
        backdrop-filter: blur(2px);
    }
    
    .sidebar-overlay.active {
        opacity: 1;
        visibility: visible;
    }
    
    /* Sidebar - hidden by default */
    .sidebar {
        position: fixed;
        left: -100%;
        top: 0;
        height: 100vh;
        width: 280px;
        z-index: 1000;
        transition: left 0.3s ease-in-out;
        overflow-y: auto;
        box-shadow: none;
    }
    
    .sidebar.active {
        left: 0;
        box-shadow: 5px 0 25px rgba(0, 0, 0, 0.5);
    }
    
    /* Main content full width */
    .main-content {
        margin-left: 0 !important;
        width: 100% !important;
        padding: 80px 12px 20px 12px !important;
    }
}
/* ========================================
   UTILITY CLASSES
======================================== */
.empty-message {
    text-align: center;
    padding: 60px 20px;
    color: #64748b;
    background: #f8fafc;
    border-radius: 12px;
}

.text-center {
    text-align: center;
}

.mt-20 {
    margin-top: 20px;
}

.mb-20 {
    margin-bottom: 20px;
}

/* ========================================
   PRINT STYLES
======================================== */
@media print {
    .sidebar,
    .menu-toggle,
    .btn,
    .btn-view {
        display: none !important;
    }
    
    .main-content {
        margin-left: 0 !important;
    }
    
    body::before {
        content: '';
        position: fixed;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%;
        background: url('../assets/images/smchs-logo.png') center/300px no-repeat;
        opacity: 0.05;
        z-index: -1;
    }
}
/* ========================================
   SIMPLE BAR CHART - CLEAN & MINIMAL
======================================== */

.chart-container {
    background: white;
    border-radius: 18px;
    padding: 40px;
    margin-bottom: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.chart-container h2 {
    font-size: 1.6rem;
    color: #1e40af;
    font-weight: 700;
    margin-bottom: 30px;
    text-align: center;
}

.chart-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 40px;
}

.stat-box {
    background: linear-gradient(135deg, #f8fafc, #ffffff);
    padding: 20px;
    border-radius: 12px;
    text-align: center;
    border-left: 4px solid #1e40af;
    transition: transform 0.3s ease;
}

.stat-box:hover {
    transform: translateY(-3px);
}

.stat-label {
    font-size: 0.85rem;
    color: #64748b;
    font-weight: 500;
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: #1e40af;
}

.simple-bar-chart {
    display: flex;
    align-items: flex-end;
    justify-content: space-evenly;
    height: 350px;
    padding: 20px;
    background: #f8fafc;
    border-radius: 12px;
    border-bottom: 3px solid #1e40af;
    gap: 25px;
}

.bar-wrapper {
    flex: 1;
    height: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    max-width: 60px;
}

.bar {
    width: 100%;
    border-radius: 8px 8px 0 0;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    animation: growUp 1.5s ease-out;
    position: relative;
}

.bar:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    filter: brightness(1.1);
}

.bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: white;
    border-radius: 8px 8px 0 0;
    opacity: 0.6;
}

@keyframes growUp {
    from {
        height: 0;
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .chart-stats {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .simple-bar-chart {
        height: 300px;
        gap: 15px;
        padding: 15px;
    }
    
    .bar-wrapper {
        max-width: 40px;
    }
/* Simple Semester Banner */
.semester-info-banner {
    background: linear-gradient(135deg, #1e40af, #059669);
    color: white;
    padding: 15px 25px;
    border-radius: 12px;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 2px 8px rgba(30, 64, 175, 0.15);
}

.semester-info-banner.no-semester {
    background: linear-gradient(135deg, #dc2626, #991b1b);
}

.semester-icon {
    font-size: 1.3rem;
}

.semester-text {
    font-size: 1rem;
    font-weight: 600;
    letter-spacing: 0.3px;
}

.registration-status {
    margin-left: auto;
    padding: 6px 14px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.registration-status.open {
    background: rgba(16, 185, 129, 0.3);
}
/* View Courses Button - Enhanced */
.btn-view-courses {
    width: 100%;
    padding: 12px 18px;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.2);
}

.btn-view-courses:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(99, 102, 241, 0.35);
    background: linear-gradient(135deg, #7c3aed 0%, #a855f7 100%);
}

.btn-view-courses .chevron {
    margin-left: auto;
    transition: transform 0.3s ease;
}

.btn-view-courses.open .chevron {
    transform: rotate(180deg);
}

/* Courses Detail Container */
.courses-detail {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, opacity 0.3s ease;
    opacity: 0;
}

.courses-detail.open {
    max-height: 3000px;
    opacity: 1;
}

.courses-container {
    margin-top: 25px;
    padding-top: 25px;
    border-top: 2px solid #e2e8f0;
}

/* Empty State */
.empty-courses {
    text-align: center;
    padding: 40px 20px;
    background: #f8fafc;
    border-radius: 12px;
}

/* Year Section */
.year-section {
    margin-bottom: 30px;
}

.year-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: linear-gradient(135deg, #1e40af, #1e3a8a);
    color: white;
    border-radius: 12px;
    margin-bottom: 20px;
}

.year-header h4 {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 700;
}

.course-count {
    background: rgba(255, 255, 255, 0.2);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

/* Courses Grid */
.courses-grid-detail {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

/* Course Detail Card */
.course-detail-card {
    background: white;
    border: 2px solid #e2e8f0;
    border-radius: 12px;
    padding: 18px;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
}

.course-detail-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12);
    border-color: #1e40af;
}

.course-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.course-badge {
    background: linear-gradient(135deg, #1e40af, #059669);
    color: white;
    padding: 6px 12px;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.course-credits {
    color: #059669;
    font-size: 0.85rem;
    font-weight: 600;
    background: #d1fae5;
    padding: 4px 10px;
    border-radius: 6px;
}

.course-title {
    margin: 0 0 15px 0;
    font-size: 1rem;
    font-weight: 600;
    color: #1e293b;
    line-height: 1.4;
}

.course-meta-row {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-top: 12px;
    border-top: 1px solid #f1f5f9;
}

.meta-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
}

.meta-icon {
    font-size: 1rem;
}

.meta-text {
    color: #64748b;
    font-weight: 500;
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .courses-grid-detail {
        grid-template-columns: 1fr;
    }
}
/* Courses Detail Container */
/* Courses Detail - Simple Working Version */
.courses-detail {
    display: none; /* Hidden by default */
}

/* Just basic styling, no complex transitions */
.courses-container {
    margin-top: 25px;
    padding-top: 25px;
    border-top: 2px solid #e2e8f0;
}

/* Chevron transition */
.btn-view-courses .chevron {
    transition: transform 0.25s ease;
}
/* Empty State */
.empty-courses {
    text-align: center;
    padding: 40px 20px;
    background: #f8fafc;
    border-radius: 12px;
}

/* Year Section */
.year-section {
    margin-bottom: 30px;
}

.year-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 20px;
    background: linear-gradient(135deg, #1e40af, #1e3a8a);
    color: white;
    border-radius: 12px 12px 0 0;
    margin-bottom: 0;
}

.year-header h4 {
    margin: 0;
    font-size: 1.15rem;
    font-weight: 700;
}

.course-count {
    background: rgba(255, 255, 255, 0.2);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
}

/* Table Styling */
.table-container {
    border-radius: 0 0 12px 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    margin-bottom: 20px;
}

.courses-detail table {
    width: 100%;
    border-collapse: collapse;
    background: white;
}

.courses-detail table thead {
    background: #f8fafc;
    color: #475569;
}

.courses-detail table thead tr {
    border-bottom: 2px solid #e2e8f0;
}

.courses-detail table th {
    padding: 16px 20px;
    text-align: left;
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: #1e293b;
}

.courses-detail table td {
    padding: 18px 20px;
    border-bottom: 1px solid #f1f5f9;
    color: #475569;
    font-size: 0.95rem;
}

.courses-detail table tbody tr {
    transition: all 0.2s ease;
}

.courses-detail table tbody tr:hover {
    background: #f8fafc;
}

.courses-detail table tbody tr:last-child td {
    border-bottom: none;
}

/* Course Code Badge */
.course-code-badge {
    display: inline-block;
    background: linear-gradient(135deg, #1e40af, #059669);
    color: white;
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

/* Credits Badge */
.credits-badge {
    display: inline-block;
    background: #d1fae5;
    color: #065f46;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.9rem;
    font-weight: 700;
}

/* Enrollment Badge */
.enrollment-badge {
    display: inline-block;
    background: #dbeafe;
    color: #1e40af;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: 600;
}
/* ========================================
   MOBILE RESPONSIVE - FINAL VERSION
   ======================================== */

@media screen and (max-width: 768px) {
    
    /* ========================================
       CORE MOBILE LAYOUT
       ======================================== */
    
    /* Mobile toggle button - always visible */
    .menu-toggle {
        position: fixed !important;
        top: 10px !important;
        left: 10px !important;
        z-index: 1001 !important;
        display: flex !important;
        align-items: center;
        justify-content: center;
        background: linear-gradient(135deg, #1e40af, #1e3a8a) !important;
        color: white !important;
        border: none !important;
        width: 50px !important;
        height: 50px !important;
        border-radius: 12px !important;
        font-size: 1.5rem !important;
        cursor: pointer !important;
        box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3) !important;
    }
    
    /* Sidebar overlay */
    .sidebar-overlay {
        display: block !important;
        position: fixed !important;
        top: 0 !important;
        left: 0 !important;
        width: 100% !important;
        height: 100% !important;
        background: rgba(0, 0, 0, 0.6) !important;
        z-index: 999 !important;
        opacity: 0 !important;
        visibility: hidden !important;
        transition: opacity 0.3s ease, visibility 0.3s ease !important;
        backdrop-filter: blur(2px);
    }
    
    .sidebar-overlay.active {
        opacity: 1 !important;
        visibility: visible !important;
    }
    
    /* Sidebar - HIDDEN by default */
    .sidebar {
        position: fixed !important;
        left: -100% !important;
        top: 0 !important;
        height: 100vh !important;
        width: 280px !important;
        z-index: 1000 !important;
        transition: left 0.3s ease-in-out !important;
        overflow-y: auto !important;
        box-shadow: none !important;
    }
    
    .sidebar.active {
        left: 0 !important;
        box-shadow: 5px 0 25px rgba(0, 0, 0, 0.5) !important;
    }
    
    /* Main content - full width */
    .main-content {
        margin-left: 0 !important;
        width: 100% !important;
        padding: 140px 15px 20px 15px !important;
        min-height: 100vh;
    }
    
    /* Top bar - STICKY at top */
    .top-bar {
        position: fixed !important;
        top: 65px !important;
        left: 0 !important;
        right: 0 !important;
        z-index: 98 !important;
        background: white !important;
        padding: 12px 15px !important;
        box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1) !important;
        margin: 0 !important;
    }
    
    .top-bar h1 {
        font-size: 1.2rem !important;
        margin: 0 !important;
    }
    
    .top-bar .user-info {
        display: none; /* Hide on mobile */
    }
    
    /* ========================================
       WELCOME SECTION
       ======================================== */
    
    .welcome-section {
        padding: 20px 15px !important;
        flex-direction: column !important;
        align-items: flex-start !important;
        gap: 12px !important;
        margin-bottom: 20px !important;
    }
    
    .welcome-content {
        width: 100%;
    }
    
    .welcome-section h2 {
        font-size: 1.3rem !important;
        margin-bottom: 5px !important;
    }
    
    .welcome-section p {
        font-size: 0.85rem !important;
    }
    
    .semester-badge {
        width: 100%;
        padding: 8px 12px !important;
        font-size: 0.8rem !important;
        border-radius: 8px !important;
    }
    
    /* ========================================
       STATS GRID - SINGLE COLUMN
       ======================================== */
    
    .stats-overview,
    .stats-grid,
    .dashboard-stats {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
        margin-bottom: 20px !important;
    }
    
    .stat-box,
    .stat-card {
        padding: 15px 12px !important;
        width: 100% !important;
        min-width: auto !important;
    }
    
    .stat-label {
        font-size: 0.8rem !important;
    }
    
    .stat-value {
        font-size: 1.5rem !important;
    }
    
    .stat-icon {
        width: 50px !important;
        height: 50px !important;
    }
    
    /* ========================================
       QUICK ACTIONS - SINGLE COLUMN
       ======================================== */
    
    .quick-actions {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }
    
    .action-card {
        padding: 15px 12px !important;
    }
    
    /* ========================================
       TABLES - HORIZONTAL SCROLL
       ======================================== */
    
    .table-container {
        overflow-x: auto !important;
        -webkit-overflow-scrolling: touch !important;
        margin: 0 -15px 20px -15px !important;
        padding: 0 15px !important;
        position: relative;
    }
    
    table {
        min-width: 700px !important;
        font-size: 0.8rem !important;
    }
    
    table th {
        padding: 10px 6px !important;
        font-size: 0.75rem !important;
        white-space: nowrap;
    }
    
    table td {
        padding: 8px 6px !important;
        font-size: 0.75rem !important;
        white-space: nowrap;
    }
    
    /* Action buttons in tables - stack */
    table td .action-buttons,
    table td .course-actions {
        display: flex !important;
        flex-direction: column !important;
        gap: 5px !important;
    }
    
    table td .btn-action,
    table td a.btn-action,
    table td button {
        width: 100% !important;
        padding: 6px 8px !important;
        font-size: 0.7rem !important;
        text-align: center;
    }
    
    /* Hide less important columns */
    table th.hide-mobile,
    table td.hide-mobile {
        display: none !important;
    }
    
    /* Scroll indicator */
    .table-container::after {
        content: '';
        position: absolute;
        right: 0;
        top: 0;
        bottom: 0;
        width: 30px;
        background: linear-gradient(to left, rgba(0,0,0,0.1), transparent);
        pointer-events: none;
    }
    
    /* ========================================
       CARDS - FULL WIDTH
       ======================================== */
    
    .card,
    .section,
    .form-card,
    .info-card {
        padding: 15px 12px !important;
        margin-bottom: 15px !important;
        border-radius: 10px !important;
    }
    
    .section h2,
    .card-header h2 {
        font-size: 1.1rem !important;
    }
    
    /* ========================================
       GRIDS - SINGLE COLUMN
       ======================================== */
    
    .courses-grid,
    .form-row,
    .fee-grid,
    .upload-methods {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }
    
    /* ========================================
       BUTTONS - FULL WIDTH
       ======================================== */
    
    .btn,
    .btn-action,
    .btn-submit,
    .btn-primary,
    button[type="submit"] {
        width: 100% !important;
        padding: 12px !important;
        font-size: 0.95rem !important;
        margin-bottom: 8px;
    }
    
    /* ========================================
       FORMS
       ======================================== */
    
    .form-group {
        margin-bottom: 15px !important;
    }
    
    .form-group label {
        font-size: 0.9rem !important;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        padding: 12px !important;
        font-size: 16px !important; /* Prevents iOS zoom */
    }
    
    /* ========================================
       MODALS
       ======================================== */
    
    .modal-content {
        width: 95% !important;
        padding: 20px 15px !important;
    }
    
    /* ========================================
       PREVENT SCROLL WHEN SIDEBAR OPEN
       ======================================== */
    
    body.sidebar-open {
        overflow: hidden !important;
    }
    
    /* ========================================
       TEXT WRAPPING
       ======================================== */
    
    h1, h2, h3, p, span, div {
        overflow-wrap: break-word !important;
        word-wrap: break-word !important;
    }
}

/* ========================================
   SMALL MOBILE - 480px
   ======================================== */
@media screen and (max-width: 480px) {
    .main-content {
        padding: 130px 10px 15px 10px !important;
    }
    
    .top-bar h1 {
        font-size: 1rem !important;
    }
    
    table {
        font-size: 0.7rem !important;
    }
}    /* ========================================
       CARDS AND SECTIONS
       ======================================== */
    
    .card,
    .stats-card,
    .form-card,
    .info-card,
    .section {
        padding: 15px 12px !important;
        margin-bottom: 15px !important;
        border-radius: 10px !important;
    }
    
    /* Card headers */
    .card-header h2,
    .section h2 {
        font-size: 1.1rem !important;
        margin-bottom: 12px !important;
    }
    
    /* ========================================
       GRIDS - SINGLE COLUMN
       ======================================== */
    
    .courses-grid,
    .upload-methods,
    .form-row,
    .fee-grid,
    .meta-grid,
    .info-grid {
        grid-template-columns: 1fr !important;
        gap: 12px !important;
    }
    
    /* ========================================
       BUTTONS - FULL WIDTH
       ======================================== */
    
    .btn-action,
    .btn-submit,
    .btn-generate,
    .btn-update,
    .btn-primary,
    .btn-secondary,
    button[type="submit"],
    .action-button {
        width: 100% !important;
        padding: 12px 15px !important;
        font-size: 0.95rem !important;
        margin-bottom: 8px !important;
        white-space: normal !important;
    }
    
    /* Button groups - stack */
    .button-group,
    .action-buttons,
    .btn-group {
        display: flex !important;
        flex-direction: column !important;
        gap: 8px !important;
    }
    
    /* ========================================
       FORMS
       ======================================== */
    
    .form-group {
        margin-bottom: 15px !important;
    }
    
    .form-group label {
        font-size: 0.9rem !important;
        margin-bottom: 6px !important;
    }
    
    .form-group input,
    .form-group select,
    .form-group textarea {
        width: 100% !important;
        padding: 12px !important;
        font-size: 16px !important; /* Prevents iOS zoom */
        border-radius: 8px !important;
    }
    
    /* ========================================
       SEARCH AND FILTERS
       ======================================== */
    
    .search-bar,
    .filter-section {
        padding: 12px !important;
        margin-bottom: 15px !important;
        position: relative !important;
        top: auto !important;
    }
    
    .search-input {
        font-size: 16px !important; /* Prevents iOS zoom */
        padding: 12px 15px 12px 45px !important;
    }
    
    /* ========================================
       MODALS AND POPUPS
       ======================================== */
    
    .modal,
    .popup,
    .dialog {
        padding: 15px !important;
    }
    
    .modal-content {
        width: 95% !important;
        max-width: 95% !important;
        margin: 15px auto !important;
        padding: 20px 15px !important;
    }
    
    /* ========================================
       PREVENT CONTENT GOING UNDER SIDEBAR
       ======================================== */
    
    body {
        overflow-x: hidden !important;
    }
    
    .dashboard {
        overflow-x: hidden !important;
    }
    
    /* When sidebar is open, prevent main content scroll */
    body.sidebar-open {
        overflow: hidden !important;
    }
    
    body.sidebar-open .main-content {
        overflow: hidden !important;
    }
    
    /* ========================================
       TEXT WRAPPING
       ======================================== */
    
    h1, h2, h3, h4, h5, h6,
    .course-title,
    .stat-label,
    .card-title,
    p, span, div {
        overflow-wrap: break-word !important;
        word-wrap: break-word !important;
        hyphens: auto !important;
    }
    
    /* ========================================
       IMAGES AND MEDIA
       ======================================== */
    
    img {
        max-width: 100% !important;
        height: auto !important;
    }
    
    /* ========================================
       PADDING ADJUSTMENTS
       ======================================== */
    
    /* Top spacing to account for fixed header */
    .main-content > *:first-child {
        margin-top: 0 !important;
    }
    
    /* ========================================
       COURSE CARDS
       ======================================== */
    
    .course-card {
        padding: 15px 12px !important;
        margin-bottom: 12px !important;
    }
    
    .course-card .course-code {
        font-size: 0.8rem !important;
    }
    
    .course-card .course-title {
        font-size: 1rem !important;
    }
    
    /* ========================================
       SPECIFIC ADMIN DASHBOARD FIXES
       ======================================== */
    
    /* Dashboard header */
    .dashboard-header {
        padding: 15px 12px !important;
        margin-bottom: 15px !important;
    }
    
    .dashboard-header h1 {
        font-size: 1.3rem !important;
    }
    
    /* Quick stats */
    .quick-stats {
        grid-template-columns: 1fr !important;
    }
    
    /* Recent activity */
    .recent-activity {
        padding: 12px !important;
    }
    
    /* Charts - reduce height */
    canvas,
    .chart-container {
        max-height: 250px !important;
        width: 100% !important;
    }
}

/* ========================================
   SMALL MOBILE - 480px
   ======================================== */
@media screen and (max-width: 480px) {
    .main-content {
        padding: 90px 8px 15px 8px !important;
    }
    
    .top-bar {
        top: 55px !important;
        padding: 10px 12px !important;
    }
    
    .top-bar h1 {
        font-size: 1rem !important;
    }
    
    table {
        min-width: 600px !important;
        font-size: 0.7rem !important;
    }
    
    table th,
    table td {
        padding: 6px 4px !important;
        font-size: 0.7rem !important;
    }
    
    .card {
        padding: 12px 10px !important;
    }
}

/* ========================================
   LANDSCAPE MODE
   ======================================== */
@media screen and (max-height: 500px) and (orientation: landscape) {
    .sidebar {
        width: 250px;
    }
    
    .main-content {
        padding-top: 70px !important;
    }
    
    .top-bar {
        top: 50px;
    }
}
/* Sidebar layout */
.sidebar {
    display: flex;
    flex-direction: column;
}

/* User profile at top */
.sidebar-footer {
    padding: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.2);
    order: 1;
    flex-shrink: 0;
}

/* Menu in middle */
.sidebar-menu {
    flex: 1;
    overflow-y: auto;
    order: 2;
    padding: 20px 15px;
}

/* Logo at bottom */
.sidebar-header {
    padding: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(0, 0, 0, 0.1);
    margin-top: auto;
    order: 3;
    flex-shrink: 0;
}

