:root {
    --auth-navy: #08224b;
    --auth-navy-deep: #051a3a;
    --auth-green: #079b55;
    --auth-green-dark: #057541;
    --auth-blue: #0878f9;
    --auth-ink: #11254a;
    --auth-body: #4e6382;
    --auth-muted: #7585a0;
    --auth-line: #dbe7f3;
    --auth-surface: #f6faff;
    --auth-white: #ffffff;
}

body {
    color: var(--auth-ink) !important;
    background: var(--auth-surface) !important;
    font-family: Arial, Helvetica, sans-serif;
}

.learndora-auth-bg {
    min-height: calc(100vh - 56px) !important;
    position: relative;
    padding: 46px 24px !important;
    overflow: hidden;
    background-image:
        linear-gradient(90deg, rgba(255, 255, 255, 0.96) 0%, rgba(255, 255, 255, 0.84) 42%, rgba(8, 34, 75, 0.28) 100%),
        url('../images/content/bg/learndora-classroom.jpg') !important;
    background-position: center 38% !important;
    background-size: cover !important;
}

.learndora-auth-bg::before {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: linear-gradient(180deg, rgba(255,255,255,0) 62%, rgba(5,26,58,0.18) 100%);
}

.wrap-login100 {
    width: min(100%, 500px) !important;
    position: relative;
    z-index: 1;
    padding: 38px 42px 40px !important;
    border: 1px solid rgba(219, 231, 243, 0.96) !important;
    border-radius: 8px !important;
    background: rgba(255, 255, 255, 0.97) !important;
    box-shadow: 0 28px 74px rgba(5, 26, 58, 0.2) !important;
}

.login100-form-title {
    color: var(--auth-ink) !important;
}

.login100-form-title .auth-logo {
    display: block !important;
    width: min(230px, 72vw) !important;
    max-height: 72px !important;
    margin: 0 auto 18px !important;
}

.auth-eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin: 0 0 10px;
    color: var(--auth-blue);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 1.8px;
    text-transform: uppercase;
}

.login100-form-title h3 {
    margin: 0 0 7px !important;
    color: var(--auth-navy-deep) !important;
    font-family: Georgia, "Times New Roman", serif !important;
    font-size: 34px;
    line-height: 1.08;
    font-weight: 700 !important;
    letter-spacing: 0 !important;
}

.login100-form-title h6 {
    margin: 0 0 20px;
    color: var(--auth-body) !important;
    font-size: 14px;
    line-height: 1.55;
    font-weight: 400;
}

.auth-role-switch {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 4px;
    margin: 22px 0 24px;
    padding: 4px;
    border: 1px solid var(--auth-line);
    border-radius: 6px;
    background: var(--auth-surface);
}

.auth-role-switch a,
.auth-role-switch span {
    min-height: 43px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 8px 10px;
    border-radius: 4px;
    color: var(--auth-body) !important;
    font-size: 13px;
    font-weight: 800;
    text-decoration: none;
}

.auth-role-switch .active {
    color: var(--auth-white) !important;
    background: var(--auth-navy);
}

.auth-role-switch a:hover,
.auth-role-switch a:focus {
    color: var(--auth-green) !important;
    background: #e8f8ef;
}

.auth-status-note {
    margin: 0 0 20px;
    padding: 12px 14px;
    color: var(--auth-body);
    background: #eef6ff;
    border: 1px solid #d4e8ff;
    border-radius: 5px;
    font-size: 12px;
    line-height: 1.55;
}

.wrap-input100 {
    min-height: 72px;
    margin-bottom: 13px !important;
    padding: 0 14px !important;
    overflow: visible !important;
    border: 1px solid #becde0 !important;
    border-radius: 5px !important;
    background: var(--auth-white);
}

.wrap-input100:focus-within {
    border-color: var(--auth-blue) !important;
    box-shadow: 0 0 0 3px rgba(8, 120, 249, 0.12);
}

.label-input100 {
    padding-top: 9px;
    color: var(--auth-ink) !important;
    font-size: 10px !important;
    font-weight: 900 !important;
    letter-spacing: 1.2px !important;
    text-transform: uppercase;
}

.input100 {
    height: 42px !important;
    padding: 0 32px 0 0 !important;
    color: var(--auth-ink) !important;
    font-family: Arial, Helvetica, sans-serif !important;
    font-size: 15px !important;
}

.input100::placeholder {
    color: #8b9bb1;
}

.focus-input100 {
    display: none !important;
}

.password-visibility-toggle {
    top: 18px !important;
    right: 0 !important;
    color: var(--auth-body) !important;
}

.btn-link,
.login100-form-title a,
.auth-secondary-link {
    color: var(--auth-blue) !important;
    font-weight: 700;
}

.auth-footer-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
    font-size: 13px;
    line-height: 1.35;
    white-space: nowrap;
}

.auth-footer-links a {
    display: inline-block;
}

.auth-footer-links .auth-secondary-link {
    font-size: inherit !important;
}

.auth-footer-divider {
    color: var(--auth-muted);
}

.wrap-login100-form-btn {
    border-radius: 5px !important;
    box-shadow: 0 12px 24px rgba(7, 155, 85, 0.2) !important;
}

.login100-form-bgbtn {
    left: 0 !important;
    width: 100% !important;
    background: var(--auth-green) !important;
    transform: none !important;
}

.wrap-login100-form-btn:hover .login100-form-bgbtn {
    background: var(--auth-green-dark) !important;
}

.login100-form-btn {
    color: var(--auth-white) !important;
    font-family: Arial, Helvetica, sans-serif !important;
    font-size: 13px !important;
    font-weight: 900 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
}

.g-recaptcha {
    transform-origin: left top;
}

.learndora-auth-footer {
    min-height: 56px;
    padding: 17px 14px !important;
    color: #b8c9da !important;
    background: var(--auth-navy-deep) !important;
    border: 0 !important;
}

.learndora-auth-footer p {
    margin: 0;
}

.learndora-auth-footer,
.learndora-auth-footer a,
.learndora-auth-footer span {
    color: #b8c9da !important;
}

@media (max-width: 576px) {
    .learndora-auth-bg {
        min-height: calc(100vh - 50px) !important;
        padding: 18px 12px !important;
        background-image:
            linear-gradient(rgba(246, 250, 255, 0.9), rgba(246, 250, 255, 0.94)),
            url('../images/content/bg/learndora-classroom.jpg') !important;
    }

    .wrap-login100 {
        padding: 28px 20px 30px !important;
    }

    .login100-form-title h3 {
        font-size: 30px;
    }

    .auth-role-switch a,
    .auth-role-switch span {
        font-size: 12px;
    }

    .auth-footer-links {
        gap: 6px;
        font-size: 11px;
    }

    .g-recaptcha {
        transform: scale(0.86);
    }
}

@media (max-width: 360px) {
    .auth-footer-links {
        flex-direction: column;
        gap: 5px;
        white-space: normal;
    }

    .auth-footer-divider {
        display: none;
    }
}
