/* Professional admin login screen — Nobel STEM School & College */

.np-login-page {
    min-height: 100vh;
    display: flex;
    align-items: stretch;
    background: #f4f5f7;
    font-family: 'Roboto', sans-serif;
    color: #1c1c1c;
}

/* ---------- Left / form panel ---------- */

.np-login-left {
    flex: 0 0 440px;
    max-width: 440px;
    background: #ffffff;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 56px 52px;
    box-shadow: 0 0 40px rgba(0, 0, 0, .06);
    position: relative;
    z-index: 2;
}

.np-login-logo {
    display: block;
    height: 88px;
    width: auto;
    margin: 0 auto 22px;
}

.np-login-head {
    text-align: center;
    margin-bottom: 30px;
}

.np-login-head h1 {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 25px;
    margin: 0 0 6px;
    color: #17140f;
}

.np-login-head p {
    font-size: 13.5px;
    color: #7a7a7a;
    margin: 0;
}

.np-alert {
    border-radius: 8px;
    padding: 11px 14px;
    font-size: 13px;
    margin-bottom: 18px;
    border-left: 4px solid transparent;
}

.np-alert-danger {
    background: #fdecec;
    border-color: #e2222a;
    color: #a3121a;
}

.np-alert-success {
    background: #eaf7ee;
    border-color: #2e9e50;
    color: #1c6b37;
}

.np-field {
    margin-bottom: 18px;
}

.np-field label {
    display: block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .06em;
    text-transform: uppercase;
    color: #8d8d8d;
    margin-bottom: 7px;
}

.np-input-wrap {
    position: relative;
    display: flex;
    align-items: center;
    border: 1.5px solid #e4e4e8;
    border-radius: 10px;
    background: #fafafb;
    transition: border-color .15s ease, box-shadow .15s ease, background .15s ease;
}

.np-input-wrap:focus-within {
    border-color: #e2222a;
    background: #fff;
    box-shadow: 0 0 0 3px rgba(226, 34, 42, .1);
}

.np-input-wrap .np-ic {
    width: 42px;
    text-align: center;
    color: #b7b7bd;
    font-size: 14px;
    flex: 0 0 auto;
}

.np-input-wrap:focus-within .np-ic {
    color: #e2222a;
}

.np-input-wrap input {
    border: 0;
    background: transparent;
    outline: 0;
    box-shadow: none;
    flex: 1 1 auto;
    height: 46px;
    font-size: 14px;
    color: #26241f;
    padding: 0 10px 0 0;
}

.np-toggle-pass {
    flex: 0 0 auto;
    width: 40px;
    text-align: center;
    color: #b7b7bd;
    cursor: pointer;
    font-size: 13px;
}

.np-toggle-pass:hover {
    color: #6a6a6a;
}

.np-field-error {
    display: block;
    font-size: 12px;
    color: #e2222a;
    margin-top: 6px;
}

.np-captcha-row {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 18px;
}

.np-captcha-img {
    background: #fafafb;
    border: 1.5px solid #e4e4e8;
    border-radius: 10px;
    padding: 4px 8px;
    display: flex;
    align-items: center;
}

.np-captcha-refresh {
    flex: 0 0 auto;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1.5px solid #e4e4e8;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #7a7a7a;
    cursor: pointer;
    transition: all .15s ease;
}

.np-captcha-refresh:hover {
    border-color: #e2222a;
    color: #e2222a;
    transform: rotate(75deg);
}

.np-captcha-row .np-input-wrap {
    flex: 1 1 auto;
}

.np-btn-submit {
    width: 100%;
    height: 48px;
    border: 0;
    border-radius: 10px;
    background: linear-gradient(135deg, #e63a2e 0%, #c81824 100%);
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 15px;
    letter-spacing: .02em;
    cursor: pointer;
    box-shadow: 0 8px 18px rgba(200, 24, 36, .28);
    transition: transform .12s ease, box-shadow .12s ease, filter .12s ease;
}

.np-btn-submit:hover {
    filter: brightness(1.06);
    box-shadow: 0 10px 22px rgba(200, 24, 36, .35);
}

.np-btn-submit:active {
    transform: translateY(1px);
}

.np-forgot {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    margin-top: 20px;
    font-size: 13px;
    color: #9a7300;
    text-decoration: none;
}

.np-forgot:hover {
    color: #e2222a;
    text-decoration: none;
}

.np-login-footer {
    margin-top: 36px;
    text-align: center;
    font-size: 11.5px;
    color: #b3b3b3;
}

/* ---------- Right / brand panel ---------- */

.np-login-right {
    flex: 1 1 auto;
    position: relative;
    overflow: hidden;
    background-color: #171310;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    z-index: 1;
}

.np-login-right::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(15, 13, 11, .96) 0%, rgba(178, 24, 32, .88) 55%, rgba(244, 180, 0, .55) 100%);
}

.np-login-watermark {
    position: absolute;
    right: -60px;
    bottom: -60px;
    width: 460px;
    max-width: 55%;
    opacity: .08;
    pointer-events: none;
}

.np-login-right-inner {
    position: relative;
    z-index: 2;
    max-width: 560px;
    padding: 40px 64px;
    color: #fff;
}

.np-eyebrow {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .16em;
    text-transform: uppercase;
    color: #ffd35c;
    margin-bottom: 16px;
}

.np-login-right-inner h2 {
    font-family: 'Poppins', sans-serif;
    font-weight: 800;
    font-size: 38px;
    line-height: 1.18;
    margin: 0 0 14px;
}

.np-login-tagline {
    font-family: 'Poppins', sans-serif;
    font-style: italic;
    font-weight: 600;
    color: #ffd35c;
    font-size: 16px;
    margin: 0 0 26px;
}

.np-divider {
    width: 56px;
    height: 3px;
    background: #ffd35c;
    border-radius: 3px;
    margin-bottom: 26px;
}

.np-feature-list {
    list-style: none;
    margin: 0 0 32px;
    padding: 0;
}

.np-feature-list li {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 16px;
    font-size: 14.5px;
    color: rgba(255, 255, 255, .92);
}

.np-feature-ic {
    flex: 0 0 auto;
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: rgba(255, 255, 255, .12);
    border: 1px solid rgba(255, 255, 255, .18);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    color: #ffd35c;
}

.np-notice-box {
    background: rgba(255, 255, 255, .08);
    border: 1px solid rgba(255, 255, 255, .15);
    border-radius: 12px;
    padding: 18px 20px;
    backdrop-filter: blur(2px);
}

.np-notice-box h4 {
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 700;
    margin: 0 0 12px;
    color: #ffd35c;
}

.np-notice-scroll {
    max-height: 168px;
    overflow-y: auto;
    padding-right: 6px;
}

.np-notice-scroll::-webkit-scrollbar {
    width: 5px;
}

.np-notice-scroll::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, .3);
    border-radius: 5px;
}

.np-notice-item {
    padding-bottom: 12px;
    margin-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, .12);
    font-size: 13px;
    line-height: 1.5;
}

.np-notice-item:last-child {
    border-bottom: 0;
    margin-bottom: 0;
    padding-bottom: 0;
}

.np-notice-item strong {
    display: block;
    font-size: 13.5px;
    margin-bottom: 3px;
    color: #fff;
}

.np-notice-item p {
    margin: 0;
    color: rgba(255, 255, 255, .78);
}

.np-notice-item a.more {
    color: #ffd35c;
    font-weight: 600;
}

/* ---------- Responsive ---------- */

@media (max-width: 991px) {
    .np-login-page {
        align-items: center;
        justify-content: center;
        padding: 32px 16px;
        background: linear-gradient(135deg, #171310 0%, #b21820 55%, #f4b400 100%);
    }

    .np-login-right {
        display: none;
    }

    .np-login-left {
        flex: 0 1 auto;
        max-width: 420px;
        width: 100%;
        border-radius: 18px;
        box-shadow: 0 20px 50px rgba(0, 0, 0, .35);
        padding: 42px 32px;
    }
}

@media (max-width: 420px) {
    .np-login-left {
        padding: 34px 22px;
    }

    .np-login-logo {
        height: 72px;
    }
}
