:root {
    --bg-1: #071a2b;
    --bg-2: #0b3b2e;
    --primary: #0f6b4f;
    --primary-dark: #0b4f3d;
    --accent: #8fd6b5;
    --text-main: #0f172a;
    --text-soft: #64748b;
    --white: #ffffff;
    --border: rgba(148, 163, 184, 0.20);
    --shadow-lg: 0 30px 80px rgba(15, 23, 42, 0.22);
    --shadow-md: 0 18px 45px rgba(15, 23, 42, 0.14);
    --radius-xl: 32px;
    --radius-lg: 22px;
    --radius-md: 16px;
}

* {
    box-sizing: border-box;
}

body.login-page {
    margin: 0;
    min-height: 100vh;
    font-family: "Aptos Display", "Bahnschrift", "Segoe UI", Tahoma, Geneva, Verdana, sans-serif;
    background:
        radial-gradient(circle at 12% 12%, rgba(143, 214, 181, 0.24), transparent 30%),
        radial-gradient(circle at 86% 82%, rgba(41, 128, 185, 0.22), transparent 32%),
        linear-gradient(135deg, #061622 0%, #0b2c35 46%, #0b3b2e 100%);
    color: var(--white);
}

.login-shell {
    position: relative;
    overflow: hidden;
    width: 100%;
}

.auth-frame {
    min-height: 690px;
    border-radius: var(--radius-xl);
    overflow: hidden;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255,255,255,0.12);
    box-shadow: var(--shadow-lg);
}

.auth-frame-compact {
    min-height: 620px;
}

.auth-showcase {
    position: relative;
    min-height: 100%;
    padding: 48px;
    display: flex;
    align-items: stretch;
    background:
        linear-gradient(160deg, rgba(255,255,255,0.08), rgba(255,255,255,0.02)),
        linear-gradient(135deg, #0f5132, #0f172a 68%);
    overflow: hidden;
}

.showcase-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom right, rgba(255,255,255,0.08), transparent 40%);
    pointer-events: none;
}

.showcase-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(24px);
    opacity: 0.45;
}

.orb-one {
    width: 240px;
    height: 240px;
    top: -40px;
    right: -60px;
    background: rgba(143, 214, 181, 0.45);
}

.orb-two {
    width: 280px;
    height: 280px;
    bottom: -60px;
    left: -80px;
    background: rgba(29, 78, 216, 0.22);
}

.showcase-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    width: 100%;
}

.brand-badge {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 36px;
}

.brand-logo-shell {
    width: 72px;
    height: 72px;
    border-radius: 20px;
    background: rgba(255,255,255,0.14);
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: inset 0 0 0 1px rgba(255,255,255,0.08);
    overflow: hidden;
}

.brand-logo,
.mobile-brand-logo {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.eyebrow {
    display: inline-block;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: rgba(255,255,255,0.72);
    margin-bottom: 4px;
}

.auth-page-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 12px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.13);
    color: rgba(255, 255, 255, 0.84);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 18px;
}

.brand-title,
.mobile-brand-title {
    display: block;
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
}

.showcase-copy h1 {
    font-size: clamp(2rem, 3vw, 2.75rem);
    line-height: 1.18;
    font-weight: 850;
    margin-bottom: 18px;
    max-width: 540px;
}

.showcase-copy p {
    font-size: 1.02rem;
    line-height: 1.75;
    color: rgba(255,255,255,0.82);
    max-width: 520px;
    margin-bottom: 34px;
}

.showcase-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 14px;
    margin-bottom: 26px;
}

.showcase-card {
    padding: 18px 20px;
    border-radius: 18px;
    background: rgba(255,255,255,0.09);
    border: 1px solid rgba(255,255,255,0.10);
    box-shadow: 0 10px 30px rgba(0,0,0,0.10);
}

.card-kicker {
    display: block;
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: #bbf7d0;
    margin-bottom: 8px;
}

.showcase-card strong {
    font-size: 0.98rem;
    line-height: 1.5;
    color: #fff;
}

.showcase-metrics {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 8px;
}

.metric-pill {
    min-width: 120px;
    padding: 14px 16px;
    border-radius: 16px;
    background: rgba(255,255,255,0.10);
    border: 1px solid rgba(255,255,255,0.10);
}

    .metric-pill strong {
        display: block;
        font-size: 1rem;
        font-weight: 700;
        color: #fff;
    }

    .metric-pill span {
        font-size: 0.85rem;
        color: rgba(255,255,255,0.75);
    }

.showcase-footer {
    margin-top: 28px;
    font-size: 0.95rem;
    color: rgba(255,255,255,0.72);
}

.auth-panel {
    height: 100%;
    background: #ffffff;
    color: var(--text-main);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 42px 34px;
}

.auth-panel-soft {
    background:
        radial-gradient(circle at top right, rgba(15, 107, 79, 0.07), transparent 22rem),
        #ffffff;
}

.auth-panel-inner {
    width: 100%;
    max-width: 470px;
}

.mobile-brand {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 28px;
}

.brand-logo-shell-mobile {
    width: 60px;
    height: 60px;
    border-radius: 16px;
    background: #eff6ff;
    padding: 8px;
}

.auth-pill {
    display: inline-flex;
    align-items: center;
    padding: 8px 14px;
    border-radius: 999px;
    background: #ecfdf5;
    color: var(--primary-dark);
    font-size: 0.83rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.auth-header h2 {
    font-size: 2rem;
    font-weight: 850;
    color: var(--text-main);
    margin-bottom: 10px;
}

.auth-header p {
    margin: 0 0 28px;
    color: var(--text-soft);
    line-height: 1.7;
    font-size: 0.98rem;
}

.auth-label {
    font-size: 0.92rem;
    font-weight: 600;
    color: #334155;
    margin-bottom: 10px;
}

.input-shell {
    position: relative;
}

.auth-input {
    min-height: 58px;
    border-radius: 16px;
    border: 1px solid #dbe4f0;
    background: #f8fafc;
    color: #0f172a;
    padding-left: 16px;
    padding-right: 16px;
    box-shadow: none;
    transition: all 0.25s ease;
}

    .auth-input:focus {
        border-color: #7acfa7;
        background: #ffffff;
        box-shadow: 0 0 0 4px rgba(15, 107, 79, 0.12);
    }

.auth-input-icon {
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    color: #94a3b8;
    z-index: 2;
}

.auth-input-icon + .auth-input {
    padding-left: 46px;
}

.password-group {
    border-radius: 16px;
    overflow: hidden;
}

    .password-group .auth-input {
        border-radius: 16px 0 0 16px;
    }

.auth-toggle {
    min-width: 78px;
    background: #f8fafc;
    border: 1px solid #dbe4f0;
    border-left: 0;
    color: var(--primary-dark);
    font-weight: 600;
    border-radius: 0 16px 16px 0;
}

    .auth-toggle:hover {
        background: #eff6ff;
        color: var(--primary-dark);
    }

.auth-check .form-check-input {
    border-color: #cbd5e1;
    box-shadow: none;
}

    .auth-check .form-check-input:checked {
        background-color: var(--primary);
        border-color: var(--primary);
    }

.auth-check .form-check-label {
    color: #475569;
    font-size: 0.95rem;
}

.auth-link {
    color: var(--primary-dark);
    font-weight: 600;
    text-decoration: none;
}

    .auth-link:hover {
        color: var(--primary);
        text-decoration: underline;
    }

.auth-link-sm {
    font-size: 0.9rem;
}

.auth-submit {
    min-height: 58px;
    border: 0;
    border-radius: 16px;
    background: linear-gradient(135deg, #12805f, var(--primary-dark));
    font-weight: 700;
    font-size: 1rem;
    box-shadow: 0 16px 30px rgba(15, 107, 79, 0.22);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

    .auth-submit:hover {
        transform: translateY(-1px);
        box-shadow: 0 18px 34px rgba(15, 107, 79, 0.28);
    }

.auth-alert {
    border-radius: 16px;
    font-size: 0.95rem;
    margin-bottom: 18px;
}

.auth-error {
    display: block;
    margin-top: 8px;
    font-size: 0.86rem;
}

.auth-divider {
    position: relative;
    text-align: center;
    margin: 26px 0 22px;
}

    .auth-divider::before {
        content: "";
        position: absolute;
        left: 0;
        right: 0;
        top: 50%;
        border-top: 1px solid #e2e8f0;
        transform: translateY(-50%);
    }

    .auth-divider span {
        position: relative;
        z-index: 1;
        background: #fff;
        padding: 0 12px;
        font-size: 0.85rem;
        color: #94a3b8;
    }

.auth-support-card {
    padding: 18px 18px;
    border-radius: 18px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
}

.auth-security-strip {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
    margin-top: 22px;
}

.auth-security-item {
    min-width: 0;
    padding: 13px 14px;
    border-radius: 16px;
    background: #f8fafc;
    border: 1px solid #e2e8f0;
}

.auth-security-item i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    border-radius: 10px;
    background: #ecfdf5;
    color: var(--primary);
    margin-bottom: 8px;
}

.auth-security-item strong {
    display: block;
    color: #0f172a;
    font-size: 0.84rem;
    line-height: 1.25;
}

.auth-security-item span {
    display: block;
    margin-top: 3px;
    color: #64748b;
    font-size: 0.76rem;
    line-height: 1.35;
}

.auth-help-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
    margin-top: 18px;
}

.auth-external-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.auth-external-button {
    min-height: 46px;
    border-radius: 14px;
    font-weight: 700;
}

.auth-success-orb {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 78px;
    height: 78px;
    border-radius: 26px;
    color: #fff;
    background: linear-gradient(135deg, #12805f, #0b4f3d);
    box-shadow: 0 18px 34px rgba(15, 107, 79, 0.26);
    margin-bottom: 18px;
}

.auth-success-orb i {
    font-size: 2.1rem;
}

.auth-password-meter {
    margin-top: 16px;
    padding: 16px;
    border-radius: 18px;
    border: 1px solid #e2e8f0;
    background: linear-gradient(180deg, #fff, #f8fafc);
}

.auth-password-meter-track {
    height: 8px;
    overflow: hidden;
    border-radius: 999px;
    background: #e5e7eb;
}

.auth-password-meter-bar {
    width: 0%;
    height: 100%;
    border-radius: inherit;
    background: #b91c1c;
    transition: width 0.2s ease, background-color 0.2s ease;
}

.auth-password-meter-meta {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-top: 10px;
    color: #64748b;
    font-size: 0.84rem;
    font-weight: 700;
}

.auth-reset-checklist {
    display: grid;
    gap: 10px;
    margin-top: 18px;
}

.auth-reset-checklist-item {
    display: grid;
    grid-template-columns: 34px minmax(0, 1fr);
    gap: 10px;
    align-items: start;
    padding: 12px;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    background: #f8fafc;
}

.auth-reset-checklist-item i {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border-radius: 12px;
    background: #ecfdf5;
    color: var(--primary);
}

.auth-reset-checklist-item strong {
    display: block;
    color: #0f172a;
    font-size: 0.86rem;
}

.auth-reset-checklist-item span {
    display: block;
    margin-top: 2px;
    color: #64748b;
    font-size: 0.78rem;
    line-height: 1.4;
}

.erp-submit-loading {
    align-items: center;
    display: inline-flex;
    gap: 0.45rem;
    justify-content: center;
    pointer-events: none;
}

.erp-submit-spinner {
    animation: erp-submit-spin 0.65s linear infinite;
    border: 0.13rem solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    display: inline-block;
    height: 0.9rem;
    width: 0.9rem;
}

@keyframes erp-submit-spin {
    to {
        transform: rotate(360deg);
    }
}

.validation-summary-valid {
    display: none;
}

.support-title {
    font-weight: 700;
    color: #0f172a;
    margin-bottom: 6px;
}

.auth-support-card p {
    margin: 0;
    color: #64748b;
    line-height: 1.6;
    font-size: 0.93rem;
}

.auth-footer {
    margin-top: 28px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    justify-content: center;
    font-size: 0.9rem;
    color: #94a3b8;
}

.footer-dot {
    color: #cbd5e1;
}

@media (max-width: 991.98px) {
    .auth-frame {
        min-height: auto;
    }

    .auth-panel {
        border-radius: 28px;
        padding: 28px 20px;
    }

    .auth-panel-inner {
        max-width: 100%;
    }

    .auth-security-strip {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 575.98px) {
    .auth-header h2 {
        font-size: 1.65rem;
    }

    .auth-header p {
        font-size: 0.94rem;
    }

    .auth-submit,
    .auth-input {
        min-height: 54px;
    }

    .auth-panel {
        padding: 24px 16px;
    }

    .auth-help-row {
        align-items: flex-start;
        flex-direction: column;
    }

    .auth-external-grid {
        grid-template-columns: 1fr;
    }
}

body.sap-login-page {
    background:
        linear-gradient(120deg, rgba(8, 84, 160, 0.94), rgba(2, 42, 80, 0.92)),
        radial-gradient(circle at 15% 15%, rgba(255, 255, 255, 0.22), transparent 28%),
        #0a2f57;
    color: #16202a;
    font-family: "Segoe UI", "Aptos", Tahoma, Geneva, Verdana, sans-serif;
    margin: 0;
    min-height: 100vh;
}

.sap-auth-shell {
    display: grid;
    grid-template-columns: minmax(0, 1.12fr) minmax(390px, 0.88fr);
    min-height: 100vh;
    overflow: hidden;
    position: relative;
}

.sap-auth-shell::before {
    background-image:
        linear-gradient(rgba(255, 255, 255, 0.10) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 255, 255, 0.10) 1px, transparent 1px);
    background-size: 64px 64px;
    content: "";
    inset: 0;
    opacity: 0.23;
    pointer-events: none;
    position: absolute;
}

.sap-auth-brand-panel,
.sap-auth-login-panel {
    position: relative;
    z-index: 1;
}

.sap-auth-brand-panel {
    color: #fff;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    padding: clamp(2rem, 4vw, 4.25rem);
}

.sap-auth-brand-top {
    align-items: center;
    display: flex;
    gap: 1rem;
}

.sap-auth-logo-card,
.sap-auth-card-logo {
    align-items: center;
    background: rgba(255, 255, 255, 0.96);
    border-radius: 0.35rem;
    box-shadow: 0 1.4rem 3.2rem rgba(0, 0, 0, 0.18);
    display: inline-flex;
    justify-content: center;
    overflow: hidden;
}

.sap-auth-logo-card {
    height: 4.6rem;
    padding: 0.6rem;
    width: 4.6rem;
}

.sap-auth-logo-card img,
.sap-auth-card-logo img {
    max-height: 100%;
    max-width: 100%;
    object-fit: contain;
}

.sap-auth-eyebrow,
.sap-auth-module {
    display: block;
    font-size: 0.73rem;
    font-weight: 700;
    letter-spacing: 0.11em;
    text-transform: uppercase;
}

.sap-auth-eyebrow {
    color: rgba(255, 255, 255, 0.74);
}

.sap-auth-brand-top h1 {
    color: #fff;
    font-size: clamp(1.35rem, 2vw, 2rem);
    font-weight: 650;
    letter-spacing: -0.02em;
    margin: 0.15rem 0 0;
}

.sap-auth-hero-copy {
    max-width: 45rem;
}

.sap-auth-status-pill {
    align-items: center;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 999px;
    display: inline-flex;
    gap: 0.5rem;
    margin-bottom: 1.35rem;
    padding: 0.46rem 0.82rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-size: 0.72rem;
    font-weight: 700;
}

.sap-auth-hero-copy h2 {
    color: #fff;
    font-size: clamp(2.15rem, 5vw, 4.65rem);
    font-weight: 650;
    letter-spacing: -0.055em;
    line-height: 0.98;
    margin: 0 0 1.35rem;
}

.sap-auth-hero-copy p {
    color: rgba(255, 255, 255, 0.78);
    font-size: clamp(1rem, 1.35vw, 1.16rem);
    line-height: 1.72;
    margin: 0;
    max-width: 38rem;
}

.sap-auth-system-strip {
    display: grid;
    gap: 0.85rem;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    max-width: 42rem;
}

.sap-auth-system-strip article {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.17);
    border-radius: 0.4rem;
    padding: 0.95rem 1rem;
}

.sap-auth-system-strip span {
    color: rgba(255, 255, 255, 0.62);
    display: block;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    margin-bottom: 0.24rem;
    text-transform: uppercase;
}

.sap-auth-system-strip strong {
    color: #fff;
    display: block;
    font-size: 1.02rem;
    font-weight: 650;
}

.sap-auth-login-panel {
    align-items: center;
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.94), rgba(244, 248, 252, 0.98)),
        #f7f9fb;
    box-shadow: -1.1rem 0 3.5rem rgba(0, 0, 0, 0.16);
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: clamp(1.4rem, 4vw, 3.25rem);
}

.sap-auth-card {
    background: #fff;
    border: 1px solid rgba(13, 40, 68, 0.10);
    border-radius: 0.28rem;
    box-shadow: 0 1.8rem 4rem rgba(13, 40, 68, 0.16);
    max-width: 28.75rem;
    padding: clamp(1.55rem, 3vw, 2.35rem);
    width: 100%;
}

.sap-auth-card-header {
    margin-bottom: 1.65rem;
}

.sap-auth-card-logo {
    height: 3.1rem;
    margin-bottom: 1rem;
    padding: 0.45rem;
    width: 3.1rem;
}

.sap-auth-module {
    color: #0a6ed1;
    margin-bottom: 0.45rem;
}

.sap-auth-card-header h2 {
    color: #152536;
    font-size: clamp(1.75rem, 3vw, 2.35rem);
    font-weight: 650;
    letter-spacing: -0.035em;
    margin: 0;
}

.sap-auth-card-header p {
    color: #5f6f7f;
    font-size: 0.96rem;
    line-height: 1.55;
    margin: 0.45rem 0 0;
}

.sap-auth-form {
    display: grid;
    gap: 1rem;
}

.sap-auth-alert {
    border-radius: 0.28rem;
    font-size: 0.9rem;
    margin: 0;
}

.sap-auth-field {
    display: grid;
    gap: 0.42rem;
}

.sap-auth-label {
    color: #263b4f;
    font-size: 0.84rem;
    font-weight: 650;
    margin: 0;
}

.sap-auth-input-shell {
    align-items: center;
    background: #f7f9fb;
    border: 1px solid #c7d3df;
    border-radius: 0.22rem;
    display: flex;
    min-height: 3.05rem;
    transition: border-color 0.16s ease, box-shadow 0.16s ease, background-color 0.16s ease;
}

.sap-auth-input-shell:focus-within {
    background: #fff;
    border-color: #0a6ed1;
    box-shadow: 0 0 0 0.18rem rgba(10, 110, 209, 0.16);
}

.sap-auth-input-shell i {
    color: #6c7c8c;
    font-size: 1.04rem;
    padding-left: 0.88rem;
}

.sap-auth-input {
    background: transparent;
    border: 0;
    box-shadow: none !important;
    color: #152536;
    font-size: 0.95rem;
    min-height: 3rem;
    padding-left: 0.68rem;
}

.sap-auth-input::placeholder {
    color: #8494a4;
}

.sap-auth-password-shell {
    align-items: stretch;
    display: flex;
    gap: 0.45rem;
}

.sap-auth-password-toggle {
    align-items: center;
    background: #edf4fb;
    border: 1px solid #c7d3df;
    border-radius: 0.22rem;
    color: #0a6ed1;
    display: inline-flex;
    font-size: 1.05rem;
    justify-content: center;
    min-width: 3.2rem;
    transition: background-color 0.16s ease, border-color 0.16s ease;
}

.sap-auth-password-toggle:hover,
.sap-auth-password-toggle:focus {
    background: #d8eafc;
    border-color: #0a6ed1;
    outline: 0;
}

.sap-auth-error {
    font-size: 0.8rem;
    margin-top: 0.08rem;
}

.sap-auth-help-row {
    align-items: center;
    display: flex;
    flex-wrap: wrap;
    gap: 0.85rem;
    justify-content: space-between;
    margin-top: 0.1rem;
}

.sap-auth-check .form-check-input {
    border-color: #a8b7c5;
    box-shadow: none;
}

.sap-auth-check .form-check-input:checked {
    background-color: #0a6ed1;
    border-color: #0a6ed1;
}

.sap-auth-check .form-check-label,
.sap-auth-link {
    color: #42566a;
    font-size: 0.88rem;
}

.sap-auth-link {
    color: #0a6ed1;
    font-weight: 650;
    text-decoration: none;
}

.sap-auth-link:hover {
    color: #075caf;
    text-decoration: underline;
}

.sap-auth-submit {
    align-items: center;
    background: #0a6ed1;
    border: 1px solid #0a6ed1;
    border-radius: 0.22rem;
    color: #fff;
    display: inline-flex;
    font-weight: 650;
    gap: 0.35rem;
    justify-content: center;
    margin-top: 0.55rem;
    min-height: 3.05rem;
    transition: background-color 0.16s ease, border-color 0.16s ease, box-shadow 0.16s ease;
}

.sap-auth-submit:hover,
.sap-auth-submit:focus {
    background: #0854a0;
    border-color: #0854a0;
    box-shadow: 0 0.65rem 1.2rem rgba(10, 110, 209, 0.24);
    color: #fff;
}

.sap-auth-submit i {
    font-size: 1.35rem;
}

.sap-auth-divider {
    align-items: center;
    color: #718191;
    display: flex;
    font-size: 0.8rem;
    gap: 0.7rem;
    margin: 1.35rem 0 1rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.sap-auth-divider::before,
.sap-auth-divider::after {
    background: #d7e0e9;
    content: "";
    flex: 1;
    height: 1px;
}

.sap-auth-external-grid {
    display: grid;
    gap: 0.7rem;
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.sap-auth-external-button {
    align-items: center;
    background: #fff;
    border: 1px solid #c7d3df;
    border-radius: 0.22rem;
    color: #263b4f;
    display: inline-flex;
    font-weight: 650;
    gap: 0.45rem;
    justify-content: center;
    min-height: 2.65rem;
}

.sap-auth-external-button:hover {
    background: #edf4fb;
    border-color: #0a6ed1;
    color: #0a6ed1;
}

.sap-auth-security-note {
    align-items: flex-start;
    background: #f5f9fc;
    border: 1px solid #d7e0e9;
    border-radius: 0.28rem;
    color: #53677a;
    display: flex;
    gap: 0.7rem;
    line-height: 1.5;
    margin-top: 1.35rem;
    padding: 0.9rem;
}

.sap-auth-security-note i {
    color: #0a6ed1;
    margin-top: 0.12rem;
}

.sap-auth-message-panel {
    background: #f5f9fc;
    border: 1px solid #d7e0e9;
    border-radius: 0.28rem;
    color: #42566a;
    line-height: 1.58;
    padding: 1rem;
}

.sap-auth-message-panel strong {
    color: #152536;
}

.sap-auth-message-panel p:last-child,
.sap-auth-message-panel ul:last-child {
    margin-bottom: 0;
}

.sap-auth-message-icon {
    align-items: center;
    border-radius: 999px;
    display: inline-flex;
    font-size: 1.85rem;
    height: 4rem;
    justify-content: center;
    margin-bottom: 1rem;
    width: 4rem;
}

.sap-auth-message-icon-success {
    background: #ecfdf3;
    color: #107e3e;
}

.sap-auth-message-icon-info {
    background: #edf4fb;
    color: #0a6ed1;
}

.sap-auth-message-icon-warning {
    background: #fff7e6;
    color: #b35c00;
}

.sap-auth-message-icon-danger {
    background: #fff1f1;
    color: #bb0000;
}

.sap-auth-action-stack {
    display: grid;
    gap: 0.75rem;
    margin-top: 1rem;
}

.sap-auth-secondary-action {
    align-items: center;
    background: #fff;
    border: 1px solid #c7d3df;
    border-radius: 0.22rem;
    color: #263b4f;
    display: inline-flex;
    font-weight: 650;
    gap: 0.45rem;
    justify-content: center;
    min-height: 2.85rem;
    text-decoration: none;
}

.sap-auth-secondary-action:hover {
    background: #edf4fb;
    border-color: #0a6ed1;
    color: #0a6ed1;
}

.sap-auth-inline-note {
    color: #657587;
    font-size: 0.84rem;
    line-height: 1.55;
    margin-top: 0.85rem;
    text-align: center;
}

.sap-auth-mini-list {
    display: grid;
    gap: 0.65rem;
    margin: 1rem 0 0;
    padding: 0;
}

.sap-auth-mini-list li {
    align-items: flex-start;
    color: #53677a;
    display: grid;
    font-size: 0.88rem;
    gap: 0.55rem;
    grid-template-columns: 1.1rem minmax(0, 1fr);
    line-height: 1.45;
    list-style: none;
}

.sap-auth-mini-list i {
    color: #0a6ed1;
    margin-top: 0.08rem;
}

.sap-auth-password-meter {
    background: #f5f9fc;
    border: 1px solid #d7e0e9;
    border-radius: 0.28rem;
    padding: 0.85rem;
}

.sap-auth-password-meter-track {
    background: #d7e0e9;
    border-radius: 999px;
    height: 0.42rem;
    overflow: hidden;
}

.sap-auth-password-meter-bar {
    background: #bb0000;
    border-radius: inherit;
    height: 100%;
    transition: width 0.2s ease, background-color 0.2s ease;
    width: 0;
}

.sap-auth-password-meter-meta {
    color: #657587;
    display: flex;
    flex-wrap: wrap;
    font-size: 0.78rem;
    font-weight: 650;
    gap: 0.45rem 0.85rem;
    justify-content: space-between;
    margin-top: 0.65rem;
}

.sap-auth-register-note {
    color: #657587;
    font-size: 0.9rem;
    line-height: 1.55;
    margin-top: 1rem;
}

.sap-auth-footer {
    color: #657587;
    display: flex;
    flex-wrap: wrap;
    font-size: 0.84rem;
    gap: 0.5rem;
    justify-content: center;
    margin-top: 1.2rem;
    text-align: center;
}

.sap-auth-footer-dot {
    color: #9aa8b5;
}

@media (max-width: 991.98px) {
    .sap-auth-shell {
        background:
            radial-gradient(circle at top left, rgba(10, 110, 209, 0.18), transparent 20rem),
            #edf4fb;
        display: flex;
        min-height: 100vh;
    }

    .sap-auth-brand-panel {
        display: none;
    }

    .sap-auth-login-panel {
        background: transparent;
        box-shadow: none;
        justify-content: flex-start;
        min-height: 100vh;
        padding: 1.4rem;
        width: 100%;
    }

    .sap-auth-card {
        margin: auto;
    }
}

@media (max-width: 575.98px) {
    .sap-auth-login-panel {
        padding: 0.9rem;
    }

    .sap-auth-card {
        border-radius: 0.22rem;
        padding: 1.25rem;
    }

    .sap-auth-password-shell {
        gap: 0.35rem;
    }

    .sap-auth-help-row {
        align-items: flex-start;
        flex-direction: column;
    }

    .sap-auth-external-grid {
        grid-template-columns: 1fr;
    }
}
