/* ══════════════════════════════════════════
           RESET & BASE
        ══════════════════════════════════════════ */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Inter', 'Segoe UI', sans-serif;
    background: #f0f4fa;
    color: #1a2744;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
}

/* ══════════════════════════════════════════
           TOP INFO BAR
        ══════════════════════════════════════════ */
.top-bar {
    background: #1a2744;
    color: #c8d3e8;
    font-size: .76rem;
    font-weight: 500;
    letter-spacing: .02em;
    padding: 6px 0;
}

.top-bar-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 6px;
}

.top-bar-left {
    display: flex;
    align-items: center;
    gap: 6px;
}

.top-bar-right {
    display: flex;
    align-items: center;
    gap: 18px;
}

    .top-bar-right a {
        color: #c8d3e8;
        text-decoration: none;
        transition: color .2s;
    }

        .top-bar-right a:hover {
            color: #ff7a18;
        }



/* ══════════════════════════════════════════
           SITE HEADER
        ══════════════════════════════════════════ */
.site-header {
    background: #ffffff;
    border-bottom: 3px solid #1f3c88;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 16px rgba(31,60,136,.10);
}

.header-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 12px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 14px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 14px;
}

.brand-logo {
    height: 60px;
    width: 60px;
    object-fit: contain;
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-family: 'Poppins', sans-serif;
    font-size: 1.12rem;
    font-weight: 700;
    color: #1f3c88;
    line-height: 1.25;
}

.brand-sub {
    font-size: .72rem;
    color: #5a6a85;
    font-weight: 500;
    margin-top: 1px;
}

.brand-tagline {
    font-size: .65rem;
    color: #ff7a18;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .07em;
    margin-top: 2px;
}

.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.hdr-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 8px 18px;
    border-radius: 8px;
    font-family: 'Poppins', sans-serif;
    font-size: .8rem;
    font-weight: 600;
    text-decoration: none;
    transition: all .22s;
}

.hdr-btn--outline {
    border: 2px solid #1f3c88;
    color: #1f3c88;
    background: transparent;
}

    .hdr-btn--outline:hover {
        background: #1f3c88;
        color: #fff;
        text-decoration: none;
    }

/* ══════════════════════════════════════════
           NOTIFICATION STRIP
        ══════════════════════════════════════════ */
.notif-strip {
    background: #1f3c88;
    display: flex;
    align-items: center;
    overflow: hidden;
    border-bottom: 2px solid #ff7a18;
}

.notif-label {
    background: #ff7a18;
    color: #fff;
    font-size: .74rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .06em;
    padding: 9px 16px;
    white-space: nowrap;
    flex-shrink: 0;
}

.notif-scroll {
    flex: 1;
    overflow: hidden;
    padding: 0 14px;
    color: #c8d8f8;
    font-size: .78rem;
}

    .notif-scroll marquee {
        line-height: 2.4;
    }

/* ══════════════════════════════════════════
           Hero + Login
        ══════════════════════════════════════════ */

.page-bg {
    background: linear-gradient(rgba(20, 30, 60, 0.75), rgba(20, 30, 60, 0.85)), url('/assets/images/lnmu_bg.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

/* ══════════════════════════════════════════
   MINI HERO BANNER — bg-banner.png version
══════════════════════════════════════════ */
.mini-hero {
    position: relative;
    width: 100%;
    height: 270px;
    background: transparent;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
}

.mini-hero-overlay {
    display: none;
}
/* Remove the old geometric shape rules — not needed with photo bg */
.hero-shape {
    display: none;
}

.mini-hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 20px;
}

.hero-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    color: rgba(255, 255, 255, 0.95);
    font-size: .74rem;
    font-weight: 600;
    letter-spacing: .07em;
    text-transform: uppercase;
    padding: 6px 16px;
    border-radius: 50px;
    margin-bottom: 14px;
}

.mini-hero-title {
    font-family: 'Poppins', sans-serif;
    font-size: 2.4rem;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.15;
    margin-bottom: 10px;
    letter-spacing: -.5px;
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.4);
}

.mini-hero-sub {
    font-size: .95rem;
    color: rgba(255, 255, 255, 0.85);
    max-width: 400px;
    margin: 0 auto;
    line-height: 1.65;
    text-shadow: 0 1px 6px rgba(0, 0, 0, 0.35);
}

/* Responsive */
@media (max-width: 768px) {
    .mini-hero {
        height: 260px;
        background-position: center center;
    }

    .mini-hero-title {
        font-size: 1.75rem;
    }

    .mini-hero-sub {
        font-size: .85rem;
    }
}

@media (max-width: 480px) {
    .mini-hero {
        height: 220px;
    }

    .mini-hero-title {
        font-size: 1.45rem;
    }
}

/* ══════════════════════════════════════════
           LOGIN SECTION (two-column)
        ══════════════════════════════════════════ */
.login-section {
    background: transparent;
    padding: 0px 24px 50px;
}

.login-card-wrap {
    max-width: 940px;
    margin: 0 auto;
    background: #ffffff;
    border-radius: 20px;
    box-shadow: 0 4px 8px rgba(0,0,0,.05), 0 20px 56px rgba(31,60,136,.14);
    display: flex;
    overflow: hidden;
    animation: lmuFadeUp .72s ease both;
}

/* ── LEFT: Student Image ─────────────────── */
.login-card-image {
    flex: 0 0 44%;
    position: relative;
    overflow: hidden;
    background: #1a2744;
}

    .login-card-image img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
        opacity: .92;
    }

.img-overlay-badge {
    position: absolute;
    bottom: 28px;
    left: 24px;
    background: rgba(26, 39, 68, 0.82);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,.1);
    border-radius: 14px;
    padding: 14px 18px;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 13px;
    font-family: 'Poppins', sans-serif;
    font-size: .84rem;
    font-weight: 600;
    line-height: 1.35;
}

    .img-overlay-badge i {
        font-size: 1.5rem;
        color: #ffb347;
        flex-shrink: 0;
    }

/* ── RIGHT: Form Section ─────────────────── */
.login-form-section {
    flex: 1;
    padding: 50px 46px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

/* Form Header */
.form-header {
    text-align: center;
    margin-bottom: 24px;
}

.form-logo-ring {
    width: 66px;
    height: 66px;
    border-radius: 50%;
    border: 2px solid rgba(31,60,136,.12);
    background: #fff;
    box-shadow: 0 4px 18px rgba(31,60,136,.12);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 14px;
    overflow: hidden;
}

    .form-logo-ring img {
        width: 46px;
        height: 46px;
        object-fit: contain;
    }

.form-title {
    font-family: 'Poppins', sans-serif;
    font-size: 1.65rem;
    font-weight: 700;
    color: #1a2744;
    margin: 0 0 6px;
}

.form-sub {
    font-size: .85rem;
    color: #6b7a90;
    margin: 0;
    line-height: 1.6;
}

/* College name / type */
.portal-college-name {
    font-family: 'Poppins', sans-serif;
    font-size: .95rem;
    font-weight: 600;
    color: #ff7a18;
    text-align: center;
    margin-bottom: 6px;
    min-height: 1.4em;
}

.college-type-wrap {
    text-align: center;
    margin-bottom: 22px;
}

.college-type-pill {
    display: inline-block;
    background: rgba(31,60,136,.07);
    border: 1px solid rgba(31,60,136,.16);
    color: #1f3c88;
    font-size: .67rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    padding: 4px 14px;
    border-radius: 20px;
}

/* Card divider */
.card-divider {
    height: 1px;
    background: #edf0f7;
    margin: 0 0 22px;
}

/* Login Button */
.login-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 14px 28px;
    background: #1a2744;
    color: #ffffff;
    font-family: 'Poppins', sans-serif;
    font-size: .92rem;
    font-weight: 600;
    letter-spacing: .3px;
    border: none;
    border-radius: 8px;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 6px 22px rgba(26,39,68,.30);
    transition: background .25s ease, transform .25s ease, box-shadow .25s ease;
}

    .login-btn:hover {
        background: #1f3c88;
        transform: translateY(-2px);
        box-shadow: 0 12px 30px rgba(31,60,136,.38);
        color: #ffffff;
        text-decoration: none;
    }

/* Forgot row */
.forgot-row {
    text-align: center;
    margin-top: 14px;
    font-size: .82rem;
    color: #6b7a90;
}

    .forgot-row a {
        color: #1f3c88;
        font-weight: 600;
        text-decoration: none;
        transition: opacity .2s;
    }

        .forgot-row a:hover {
            opacity: .75;
            text-decoration: underline;
        }

/* Form divider "Need help?" */
.form-divider {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 20px 0 14px;
    color: #9baabf;
    font-size: .76rem;
    text-transform: uppercase;
    letter-spacing: .08em;
}

    .form-divider::before, .form-divider::after {
        content: '';
        flex: 1;
        height: 1px;
        background: #e4e9f2;
    }

/* Support row */
.support-row {
    display: flex;
    flex-wrap: wrap;
    gap: 10px 20px;
    justify-content: center;
    font-size: .8rem;
    color: #5a6a85;
}

    .support-row span {
        display: flex;
        align-items: center;
        gap: 6px;
    }

    .support-row i {
        color: #ff7a18;
    }

/* Help text below card */
.help-text {
    max-width: 940px;
    margin: 18px auto 0;
    text-align: center;
    font-size: .78rem;
    color: #6b7a90;
}

    .help-text a {
        color: #1f3c88;
        font-weight: 600;
        text-decoration: none;
    }

        .help-text a:hover {
            text-decoration: underline;
        }

/* ══════════════════════════════════════════
           SITE FOOTER BAR
        ══════════════════════════════════════════ */
.site-footer-bar {
    background: #1a2744;
    padding: 18px 24px;
    margin-top: 0;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

.footer-managed {
    color: #ff7a18;
    font-size: .78rem;
    font-weight: 700;
}

.footer-copy {
    color: rgba(200,216,248,.45);
    font-size: .75rem;
}

    .footer-copy a {
        color: rgba(255,122,24,.65);
        text-decoration: none;
        font-weight: 600;
    }

        .footer-copy a:hover {
            color: #ff7a18;
        }

/* ══════════════════════════════════════════
           UTILITIES
        ══════════════════════════════════════════ */
.hidden-label {
    display: none !important;
}

@keyframes lmuFadeUp {
    from {
        opacity: 0;
        transform: translateY(22px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ══════════════════════════════════════════
           RESPONSIVE
        ══════════════════════════════════════════ */
@media (max-width: 820px) {
    .login-card-wrap {
        flex-direction: column;
        border-radius: 16px;
    }

    .login-card-image {
        flex: 0 0 220px;
        min-height: 220px;
    }

    .login-form-section {
        padding: 36px 32px 40px;
    }

    .mini-hero-title {
        font-size: 2rem;
    }
}

@media (max-width: 540px) {
    .login-section {
        padding: 36px 16px 40px;
    }

    .login-form-section {
        padding: 28px 20px 32px;
    }

    .mini-hero {
        padding: 44px 20px;
    }

    .mini-hero-title {
        font-size: 1.65rem;
    }

    .brand-name {
        font-size: .95rem;
    }

    .side-btn {
        display: none;
    }

    .header-actions {
        display: none;
    }

    .footer-inner {
        flex-direction: column;
        text-align: center;
        gap: 4px;
    }
}
