﻿
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', sans-serif;
    background: #f0f2f8;
    overflow-x: hidden;
    min-height: 100vh;
}

/* preloader styles */
#preloader {
    position: fixed;
    inset: 0;
    background: #ffffff;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.4s;
}

body.loaded #preloader {
    opacity: 0;
    visibility: hidden;
}

.preloader-card {
    text-align: center;
}

.preloader-logo img {
    width: 70px;
    margin-bottom: 1rem;
}

.preloader-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #e2e8f0;
    border-top: 4px solid #1e4a76;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin: 1rem auto;
}

@keyframes spin {
    0% {
        transform: rotate(0deg);
    }

    100% {
        transform: rotate(360deg);
    }
}

.preloader-text {
    font-size: 0.9rem;
    color: #1e4a76;
    font-weight: 500;
}

/* ADMIN DASHBOARD LAYOUT - Perfect Sidebar + Header + Content */
.admin-dashboard {
    display: flex;
    min-height: 100vh;
    width: 100%;
    position: relative;
}

/* ========= SIDEBAR STYLES - UPDATED: COOL WHITE / GRAY BACKGROUND ========= */
.admin-sidebar {
    width: 280px;
    background: #f8fafc; /* cool off-white / light grayish background */
    background: linear-gradient(145deg, #ffffff 0%, #f1f5f9 100%);
    color: #1e2f3e;
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    left: 0;
    bottom: 0;
    z-index: 1050;
    transition: transform 0.3s ease-in-out, width 0.2s;
    box-shadow: 4px 0 20px rgba(0, 0, 0, 0.06);
    overflow-y: auto;
    scrollbar-width: thin;
    border-right: 1px solid rgba(0, 0, 0, 0.05);
}

.sidebar-brand {
    padding: 28px 24px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    margin-bottom: 20px;
}

.brand-logo {
    display: flex;
    justify-content: center;
    align-items: center;
}

    .brand-logo img {
        width: 200px;
        filter: none; /* original color on white bg */
        transition: transform 0.2s;
    }

.sidebar-nav {
    flex: 1;
    padding: 0 16px;
}

.nav-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.nav-item {
    margin-bottom: 6px;
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 12px 18px;
    border-radius: 14px;
    color: #2c3e50;
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: all 0.2s;
    background: transparent;
}

    .nav-link i {
        width: 24px;
        font-size: 1.25rem;
        text-align: center;
        color: #2c6280;
    }

    .nav-link:hover {
        background: #e6edf4;
        color: #0f3b5c;
        transform: translateX(4px);
    }

        .nav-link:hover i {
            color: #0f5b7a;
        }

    .nav-item.active .nav-link,
    .nav-link:active {
        background: #dce7f0;
        color: #0a2b3e;
        box-shadow: 0 2px 6px rgba(0,0,0,0.02);
        font-weight: 600;
    }

        .nav-item.active .nav-link i {
            color: #1a5d7a;
        }

.logout-item {
    margin-top: 40px;
    border-top: 1px solid rgba(0, 0, 0, 0.07);
    padding-top: 20px;
}

.sidebar-footer {
    padding: 20px 20px 28px;
    border-top: 1px solid rgba(0, 0, 0, 0.07);
    margin-top: 20px;
}

.support-info {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(44, 98, 128, 0.08);
    padding: 10px 12px;
    border-radius: 40px;
}

    .support-info i {
        font-size: 1.4rem;
        color: #2c6280;
    }

    .support-info div {
        display: flex;
        flex-direction: column;
    }

    .support-info small {
        font-size: 0.7rem;
        opacity: 0.7;
        color: #2c3e50;
    }

    .support-info span {
        font-weight: 600;
        font-size: 0.85rem;
        letter-spacing: 0.3px;
        color: #0f2c3f;
    }

/* ========= MAIN CONTENT WRAPPER ========= */
.main-content-wrapper {
    flex: 1;
    margin-left: 280px;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    transition: margin-left 0.3s ease;
    width: calc(100% - 280px);
}

/* ========= TOP NAVBAR (HEADER) - UPDATED: BLUE BACKGROUND ========= */
.top-navbar {
    background: #0b2a4a; /* vivid blue primary */
    /*            background: linear-gradient(95deg, #1565C0, #1E88E5);*/

    background: linear-gradient(95deg, #0b2a4a, #0b2a4a);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
    position: sticky;
    top: 0;
    z-index: 1020;
    padding: 12px 28px;
    border-bottom: none;
}

.navbar-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.mobile-sidebar-toggle {
    display: none;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    font-size: 1.6rem;
    padding: 8px 12px;
    border-radius: 12px;
    color: white;
    cursor: pointer;
    transition: 0.2s;
}

    .mobile-sidebar-toggle:hover {
        background: rgba(255, 255, 255, 0.3);
    }

.navbar-brand-area {
    flex: 2;
}

.inst-title h2 {
    font-size: 1.35rem;
    font-weight: 700;
    margin: 0;
    color: white;
    font-family: 'Cormorant Garamond', serif;
    letter-spacing: -0.2px;
    text-shadow: 0 1px 1px rgba(0,0,0,0.05);
}

.session-badge {
    background: rgba(255, 255, 255, 0.2);
    padding: 4px 12px;
    border-radius: 50px;
    font-size: 0.75rem;
    font-weight: 600;
    color: #ffffff;
    display: inline-block;
    margin-top: 6px;
    backdrop-filter: blur(2px);
}

.navbar-contact {
    display: flex;
    gap: 24px;
    align-items: center;
}

.contact-detail {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255,255,255,0.12);
    padding: 6px 14px;
    border-radius: 40px;
    backdrop-filter: blur(2px);
}

    .contact-detail i {
        font-size: 1.2rem;
        color: #f0f9ff;
    }

    .contact-detail div {
        display: flex;
        flex-direction: column;
        line-height: 1.3;
    }

    .contact-detail small {
        font-size: 0.7rem;
        color: #e3f2fd;
    }

    .contact-detail strong {
        font-size: 0.85rem;
        color: white;
        font-weight: 600;
    }

/* ========= PAGE CONTENT ========= */
.page-content {
    flex: 1;
    padding: 10px;
    background: #f8fafd;
}

.content-container {
    max-width: 1400px;
    margin: 0 auto;
    width: 100%;
}

/* Welcome card demo styles */
.welcome-card {
    background: white;
    border-radius: 28px;
    padding: 48px 32px;
    text-align: center;
    box-shadow: 0 10px 25px -5px rgba(0,0,0,0.05);
    border: 1px solid #eef2f8;
}

.welcome-icon {
    font-size: 4rem;
    color: #1976D2;
    margin-bottom: 20px;
}

.welcome-card h3 {
    font-weight: 700;
    color: #0a2b3e;
    margin-bottom: 12px;
}

.welcome-card p {
    color: #4a5b6e;
    max-width: 500px;
    margin: 0 auto;
}

/* ========= FOOTER ========= */
.admin-footer {
    background: white;
    border-top: 1px solid #e9edf2;
    padding: 16px 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 0.8rem;
    color: #5c6f87;
}

.footer-left {
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-logo {
    width: 108px;
    opacity: 0.7;
}

.design-tag i {
    color: #1976D2;
}

/* ========= RESPONSIVE BREAKPOINTS ========= */
@media screen and (max-width: 992px) {
    .admin-sidebar {
        transform: translateX(-100%);
        width: 280px;
        box-shadow: 4px 0 20px rgba(0,0,0,0.2);
    }

        .admin-sidebar.mobile-open {
            transform: translateX(0);
        }

    .main-content-wrapper {
        margin-left: 0;
        width: 100%;
    }

    .mobile-sidebar-toggle {
        display: block;
    }

    .navbar-container {
        flex-wrap: wrap;
    }

    .navbar-contact {
        margin-left: auto;
    }

    .inst-title h2 {
        font-size: 1.1rem;
    }

    .page-content {
        padding: 20px 20px;
    }
}

@media screen and (max-width: 768px) {
    .top-navbar {
        padding: 12px 16px;
    }

    .navbar-contact {
        width: 100%;
        justify-content: space-between;
    }

    .contact-detail {
        gap: 6px;
        padding: 4px 10px;
    }

        .contact-detail strong {
            font-size: 0.75rem;
        }

    .admin-footer {
        flex-direction: column;
        text-align: center;
        padding: 16px;
    }

    .welcome-card {
        padding: 32px 20px;
    }

        .welcome-card h3 {
            font-size: 1.4rem;
        }
}

@media screen and (max-width: 480px) {
    .navbar-contact {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }

    .inst-title h2 {
        font-size: 1rem;
    }

    .page-content {
        padding: 16px;
    }
}

/* scrollbar customization for sidebar white mode */
.admin-sidebar::-webkit-scrollbar {
    width: 5px;
}

.admin-sidebar::-webkit-scrollbar-track {
    background: #e2e8f0;
}

.admin-sidebar::-webkit-scrollbar-thumb {
    background: #a0b8cc;
    border-radius: 10px;
}

/* for any content placeholder consistency */
.content-container > * {
    animation: fadeSlideUp 0.3s ease;
}

@keyframes fadeSlideUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Ensure no overflow on body */
body, .admin-dashboard {
    overflow-x: hidden;
}




p.MsoNormal {
    margin-top: 0in;
    margin-right: 0in;
    margin-bottom: 10.0pt;
    margin-left: 0in;
    line-height: 115%;
    font-size: 11.0pt;
    font-family: "Calibri", sans-serif;
}

/* =============================================
       MERIT LIST PAGE STYLES
    ============================================= */

/* Page wrapper */
.ml-page-wrapper {
    /*        padding: 20px;*/
    background: #F5F9FF;
    min-height: 80vh;
    font-family: 'Inter', sans-serif;
}

/* Top action bar */
.ml-action-bar {
    display: flex;
    justify-content: end;
    align-items: center;
    gap: 16px;
    /*        background: white;*/
    /*        padding: 14px 20px;*/
    border-radius: 14px;
    /*        box-shadow: 0 2px 8px rgba(11,42,74,0.07);*/
    /*        margin-bottom: 20px;*/
    flex-wrap: wrap;
}

.ml-print-btn {
    background: linear-gradient(135deg, #0B2A4A 0%, #1A3F60 100%) !important;
    border: none !important;
    color: white !important;
    padding: 9px 22px !important;
    border-radius: 10px !important;
    font-weight: 600 !important;
    font-size: 13px !important;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(11,42,74,0.18);
    transition: all 0.25s ease;
    font-family: 'Inter', sans-serif;
}

    .ml-print-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(11,42,74,0.28) !important;
    }

.ml-divider {
    border: none;
    border-top: 1px solid #E2E8F0;
    margin: 0 0 20px 0;
}

/* Main card wrapping everything */
.ml-main-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 2px 16px rgba(11,42,74,0.07);
    overflow: hidden;
    border: 1px solid #E9EDF2;
}

/* Header section inside card */
.ml-header-section {
    padding: 24px 20px 16px;
    text-align: center;
    border-bottom: 1px solid #EEF2F6;
    background: white;
}

    .ml-header-section img {
        margin-bottom: 10px;
    }

/* Filter bar */
.ml-filter-bar {
    background: #F8FAFD;
    padding: 14px 30px;
    border-bottom: 1px solid #EEF2F6;
    display: flex;
    align-items: center;
    gap: 20px;
    flex-wrap: wrap;
}

    .ml-filter-bar label {
        font-weight: 600;
        font-size: 13px;
        color: #0B2A4A;
        margin-right: 6px;
    }

    .ml-filter-bar .form-control {
        border: 1px solid #E2E8F0 !important;
        border-radius: 8px !important;
        padding: 7px 11px !important;
        font-size: 13px !important;
        background: white !important;
        width: 175px !important;
        font-family: 'Inter', sans-serif;
        transition: border-color 0.2s;
    }

        .ml-filter-bar .form-control:focus {
            border-color: #CBA258 !important;
            box-shadow: 0 0 0 3px rgba(203,162,88,0.12) !important;
            outline: none !important;
        }

.ml-show-btn {
    background: #0B2A4A !important;
    border: none !important;
    color: white !important;
    padding: 8px 22px !important;
    border-radius: 8px !important;
    font-weight: 600 !important;
    font-size: 13px !important;
    cursor: pointer;
    transition: all 0.2s;
    font-family: 'Inter', sans-serif;
}

    .ml-show-btn:hover {
        background: #1A3F60 !important;
        transform: translateY(-1px);
    }

/* Spacer row */
.ml-spacer {
    height: 10px;
    background: white;
}

/* Grid container with scroll */
.ml-grid-wrapper {
    padding: 0 16px 16px;
    background: white;
}

.ml-scroll-panel {
    width: 100% !important;
    max-width: 100% !important;
    height: 460px !important;
    overflow: auto !important;
    border-radius: 12px;
    border: 1px solid #E9EDF2;
    background: white;
    display: block;
}

    /* Scrollbar */
    .ml-scroll-panel::-webkit-scrollbar {
        width: 7px;
        height: 7px;
    }

    .ml-scroll-panel::-webkit-scrollbar-track {
        background: #F1F3F7;
        border-radius: 10px;
    }

    .ml-scroll-panel::-webkit-scrollbar-thumb {
        background: #CBA258;
        border-radius: 10px;
    }

        .ml-scroll-panel::-webkit-scrollbar-thumb:hover {
            background: #0B2A4A;
        }

    /* GridView table overrides */
    .ml-scroll-panel table {
        width: 100% !important;
        font-family: 'Inter', sans-serif !important;
        font-size: 13px !important;
        border-collapse: collapse !important;
        min-width: 1000px;
    }

        .ml-scroll-panel table th {
            background: #0B2A4A !important;
            color: white !important;
            padding: 13px 10px !important;
            font-size: 12px !important;
            font-weight: 600 !important;
            text-align: center !important;
            white-space: nowrap;
            position: sticky;
            top: 0;
            z-index: 5;
            border: none !important;
            letter-spacing: 0.3px;
        }

        .ml-scroll-panel table td {
            padding: 11px 10px !important;
            text-align: center !important;
            border-bottom: 1px solid #EEF2F6 !important;
            color: #1E2A3E !important;
            font-size: 12px !important;
            white-space: nowrap;
            border-left: none !important;
            border-right: none !important;
            border-top: none !important;
        }

        .ml-scroll-panel table tr:nth-child(odd) td {
            background: #ffffff !important;
        }

        .ml-scroll-panel table tr:nth-child(even) td {
            background: #F7FAFD !important;
        }

        .ml-scroll-panel table tr:hover td {
            background: #EFF4FB !important;
            transition: background 0.15s;
        }

/* Signature section */
.ml-signature-section {
    padding: 20px 20px 16px;
    background: white;
    border-top: 1px solid #EEF2F6;
}

    .ml-signature-section table {
        width: 100%;
    }

    .ml-signature-section td {
        font-size: 13px;
        color: #5C6F87;
        font-weight: 600;
    }

/* =============================================
       PRINT — keep inner layout exactly as before
    ============================================= */
@media print {
    @page {
        margin-top: 0;
        margin-bottom: 0;
    }

    body {
        padding-top: 10px;
        padding-bottom: 72px;
        background: white !important;
    }

/*    .ml-action-bar,
    .ml-print-btn,
    .ml-divider,
    .ml-filter-bar {
        display: none !important;
    }
*/
    .ml-print-btn {
        display: none;
    }

    .ml-page-wrapper {
        padding: 0 !important;
        background: white !important;
    }

    .ml-main-card {
        box-shadow: none !important;
        border: 1px solid #ccc !important;
        border-radius: 0 !important;
    }

    .ml-scroll-panel {
        height: auto !important;
        overflow: visible !important;
        border: none !important;
    }

        .ml-scroll-panel table {
            min-width: 100% !important;
        }

            .ml-scroll-panel table th {
                background: #0B2A4A !important;
                color: white !important;
                -webkit-print-color-adjust: exact;
                print-color-adjust: exact;
            }

            .ml-scroll-panel table td {
                border: 1px solid #ddd !important;
            }


    .ml-signature-section {
        border-top: 1px solid #ccc;
        margin-top: 30px;
    }
}

/* =============================================
       ENROLL LIST PAGE STYLES (Based on Merit List Pattern)
    ============================================= */

/* Page wrapper for Enroll List */
.enroll-page-wrapper {
    background: #F5F9FF;
    min-height: 80vh;
    font-family: 'Inter', sans-serif;
    padding: 20px;
}

/* Top action bar for Enroll */
.enroll-action-bar {
    display: flex;
    justify-content: end;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
}

.enroll-print-btn {
    background: linear-gradient(135deg, #0B2A4A 0%, #1A3F60 100%) !important;
    border: none !important;
    color: white !important;
    padding: 9px 22px !important;
    border-radius: 10px !important;
    font-weight: 600 !important;
    font-size: 13px !important;
    cursor: pointer;
    box-shadow: 0 2px 8px rgba(11,42,74,0.18);
    transition: all 0.25s ease;
    font-family: 'Inter', sans-serif;
}

    .enroll-print-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 5px 15px rgba(11,42,74,0.28) !important;
    }

.enroll-divider {
    border: none;
    border-top: 1px solid #E2E8F0;
    margin: 0 0 20px 0;
}

/* Main card for Enroll */
.enroll-main-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 2px 16px rgba(11,42,74,0.07);
    overflow: hidden;
    border: 1px solid #E9EDF2;
}

/* Header section for Enroll */
.enroll-header-section {
    padding: 24px 20px 16px;
    text-align: center;
    border-bottom: 1px solid #EEF2F6;
    background: white;
}

    .enroll-header-section img {
        margin-bottom: 10px;
    }

/* Subject filter section */
.enroll-subject-filter {
    background: #F8FAFD;
    padding: 14px 30px;
    border-bottom: 1px solid #EEF2F6;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

    .enroll-subject-filter label {
        font-weight: 700;
        font-size: 14px;
        color: #0B2A4A;
        margin-right: 8px;
    }

.enroll-subject-dropdown {
    border: 1px solid #E2E8F0 !important;
    border-radius: 8px !important;
    padding: 8px 14px !important;
    font-size: 13px !important;
    background: white !important;
    width: 50% !important;
    min-width: 250px;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    cursor: pointer;
}

    .enroll-subject-dropdown:focus {
        border-color: #CBA258 !important;
        box-shadow: 0 0 0 3px rgba(203,162,88,0.12) !important;
        outline: none !important;
    }

/* Grid container for Enroll */
.enroll-grid-wrapper {
    padding: 0 16px 16px;
    background: white;
}

.enroll-scroll-panel {
    width: 100% !important;
    max-width: 100% !important;
    height: 460px !important;
    overflow: auto !important;
    border-radius: 12px;
    border: 1px solid #E9EDF2;
    background: white;
    display: block;
}

    /* Scrollbar for Enroll panel */
    .enroll-scroll-panel::-webkit-scrollbar {
        width: 7px;
        height: 7px;
    }

    .enroll-scroll-panel::-webkit-scrollbar-track {
        background: #F1F3F7;
        border-radius: 10px;
    }

    .enroll-scroll-panel::-webkit-scrollbar-thumb {
        background: #CBA258;
        border-radius: 10px;
    }

        .enroll-scroll-panel::-webkit-scrollbar-thumb:hover {
            background: #0B2A4A;
        }

    /* GridView table overrides for Enroll */
    .enroll-scroll-panel table {
        width: 100% !important;
        font-family: 'Inter', sans-serif !important;
        font-size: 13px !important;
        border-collapse: collapse !important;
        min-width: 1000px;
    }

        .enroll-scroll-panel table th {
            background: #0B2A4A !important;
            color: white !important;
            padding: 13px 10px !important;
            font-size: 12px !important;
            font-weight: 600 !important;
            text-align: center !important;
            white-space: nowrap;
            position: sticky;
            top: 0;
            z-index: 5;
            border: none !important;
            letter-spacing: 0.3px;
        }

        .enroll-scroll-panel table td {
            padding: 11px 10px !important;
            text-align: center !important;
            border-bottom: 1px solid #EEF2F6 !important;
            color: #1E2A3E !important;
            font-size: 12px !important;
            white-space: nowrap;
            border-left: none !important;
            border-right: none !important;
            border-top: none !important;
        }

        .enroll-scroll-panel table tr:nth-child(odd) td {
            background: #ffffff !important;
        }

        .enroll-scroll-panel table tr:nth-child(even) td {
            background: #F7FAFD !important;
        }

        .enroll-scroll-panel table tr:hover td {
            background: #EFF4FB !important;
            transition: background 0.15s;
        }

/* Select button/image styling */
.enroll-select-btn {
    transition: transform 0.2s ease;
    cursor: pointer;
}

    .enroll-select-btn:hover {
        transform: scale(1.05);
    }

/* Signature section for Enroll */
.enroll-signature-section {
    padding: 20px 20px 16px;
    background: white;
    border-top: 1px solid #EEF2F6;
}

    .enroll-signature-section table {
        width: 100%;
    }

    .enroll-signature-section td {
        font-size: 13px;
        color: #5C6F87;
        font-weight: 600;
    }

/* Blue info text styling */
.enroll-info-text {
    color: #0B2A4A;
    font-weight: 600;
}

.enroll-red-label {
    color: #DC2626;
    font-weight: 700;
}

/* =============================================
       PRINT STYLES FOR ENROLL LIST
    ============================================= */
@media print {
    .no-print,
    .enroll-action-bar,
    .enroll-print-btn,
    .enroll-divider,
    .ml-action-bar,
    .ml-print-btn,
    .ml-divider,
    .ml-filter-bar,
    .btn-success {
        display: none !important;
    }

    @page {
        margin-top: 0;
        margin-bottom: 0;
    }

    body {
        padding-top: 10px;
        padding-bottom: 72px;
        background: white !important;
    }

    .enroll-page-wrapper,
    .ml-page-wrapper {
        padding: 0 !important;
        background: white !important;
    }

    .enroll-main-card,
    .ml-main-card {
        box-shadow: none !important;
        border: 1px solid #ccc !important;
        border-radius: 0 !important;
        margin: 0 !important;
    }

    .enroll-scroll-panel,
    .ml-scroll-panel {
        height: auto !important;
        overflow: visible !important;
        border: none !important;
    }

        .enroll-scroll-panel table,
        .ml-scroll-panel table {
            min-width: 100% !important;
        }

            .enroll-scroll-panel table th,
            .ml-scroll-panel table th {
                background: #0B2A4A !important;
                color: white !important;
                -webkit-print-color-adjust: exact;
                print-color-adjust: exact;
            }

            .enroll-scroll-panel table td,
            .ml-scroll-panel table td {
                border: 1px solid #ddd !important;
            }

    .enroll-signature-section,
    .ml-signature-section {
        border-top: 1px solid #ccc;
        margin-top: 30px;
    }
}

/* =============================================
       WATERMARK STYLES (Optional)
    ============================================= */
.watermark {
    position: fixed;
    opacity: 0.08;
    z-index: -1;
    width: 100%;
    height: auto;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    pointer-events: none;
}

/* =============================================
       RESPONSIVE ADJUSTMENTS FOR ENROLL PAGE
    ============================================= */
@media screen and (max-width: 992px) {
    .enroll-page-wrapper,
    .ml-page-wrapper {
        padding: 10px;
    }

    .enroll-subject-filter {
        padding: 12px 16px;
        flex-direction: column;
        align-items: stretch;
    }

    .enroll-subject-dropdown {
        width: 100% !important;
    }

    .enroll-scroll-panel,
    .ml-scroll-panel {
        height: 350px !important;
    }
}

@media screen and (max-width: 768px) {
    .enroll-scroll-panel table,
    .ml-scroll-panel table {
        font-size: 11px !important;
    }

        .enroll-scroll-panel table th,
        .enroll-scroll-panel table td,
        .ml-scroll-panel table th,
        .ml-scroll-panel table td {
            padding: 8px 6px !important;
        }
}

/* =============================================
       ENHANCED PRINT STYLES FOR BOTH PAGES
    ============================================= */
/*@media print {*/
    /* Hide all buttons and action bars */
    /*.btn,
    .btn-success,
    .ml-print-btn,
    .enroll-print-btn,
    .ml-show-btn,
    .ml-action-bar,
    .enroll-action-bar,
    .ml-filter-bar,
    .enroll-subject-filter,
    .ml-divider,
    .enroll-divider,
    .no-print {
        display: none !important;
    }*/

    /* Ensure tables print nicely */
    /*table {
        page-break-inside: avoid;
    }

    tr {
        page-break-inside: avoid;
        page-break-after: avoid;
    }*/

    /* Keep header on each page if needed */
    /*.enroll-header-section,
    .ml-header-section {
        page-break-after: avoid;
    }*/

    /* Signature stays at bottom */
    /*.enroll-signature-section,
    .ml-signature-section {
        page-break-before: avoid;
        position: fixed;
        bottom: 0;
        width: 100%;
    }
}*/

/* =============================================
       UTILITY CLASSES
    ============================================= */
.text-center {
    text-align: center;
}

.mt-20 {
    margin-top: 20px;
}

.mb-20 {
    margin-bottom: 20px;
}

.rounded-lg {
    border-radius: 12px;
}

.shadow-sm {
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}



#google_translate_element {
    margin-right: 10px;
}

.goog-te-gadget {
    font-size: 0 !important;
}

    .goog-te-gadget .goog-te-combo {
        background: var(--white);
        border: 1px solid var(--border);
        border-radius: 8px;
        padding: 6px 10px;
        font-size: 13px;
        color: var(--ink);
        outline: none;
        cursor: pointer;
    }



.notranslate {
    all: unset; /* removes unwanted browser styling that may come with Google Translate */
}