:root {
    --auth-navy-950: #061a35;
    --auth-navy-900: #082447;
    --auth-navy-800: #0b315d;
    --auth-navy-700: #174584;
    --auth-gold-500: #d3aa23;
    --auth-gold-400: #e3bf46;
    --auth-text: #152b49;
    --auth-muted: #7b8799;
    --auth-border: #dfe5ed;
    --auth-background: #f3f5fa;
    --auth-danger: #dc4c53;
    --auth-success: #15956a;
}

html,
body {
    min-height: 100%;
}

.auth-body {
    min-height: 100vh;
    margin: 0;
    overflow-x: hidden;
    background: var(--auth-background);
    font-family: "Poppins", sans-serif;
}

.auth-main {
    min-height: 100vh;
}

.auth-shell {
    display: grid;
    grid-template-columns: minmax(440px, 47%) 1fr;
    min-height: 100vh;
}

/* LEFT PANEL */

.auth-brand-panel {
    position: relative;
    display: flex;
    justify-content: space-between;
    flex-direction: column;
    min-height: 100vh;
    overflow: hidden;
    padding: 48px 58px 35px;
    background:
        radial-gradient(
            circle at 10% 15%,
            rgba(211, 170, 35, 0.12),
            transparent 28%
        ),
        linear-gradient(
            145deg,
            var(--auth-navy-950),
            var(--auth-navy-800)
        );
    color: #fff;
}

.auth-brand-content {
    position: relative;
    z-index: 2;
}

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

.auth-brand-logo {
    display: flex;
    flex: 0 0 52px;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: var(--auth-gold-500);
    box-shadow: 0 10px 28px rgba(211, 170, 35, 0.2);
    color: var(--auth-navy-950);
    font-size: 17px;
    font-weight: 800;
}

.auth-brand strong,
.auth-mobile-brand strong {
    display: block;
    color: #fff;
    font-size: 20px;
    font-weight: 700;
    letter-spacing: 0.02em;
}

.auth-brand span,
.auth-mobile-brand span {
    display: block;
    margin-top: 2px;
    color: var(--auth-gold-400);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.auth-intro {
    max-width: 600px;
    margin-top: clamp(70px, 13vh, 130px);
}

.auth-eyebrow {
    display: inline-flex;
    align-items: center;
    padding: 7px 13px;
    border: 1px solid rgba(227, 191, 70, 0.28);
    border-radius: 50rem;
    background: rgba(227, 191, 70, 0.09);
    color: var(--auth-gold-400);
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.auth-intro h1 {
    max-width: 620px;
    margin: 23px 0 17px;
    color: #fff;
    font-size: clamp(32px, 3.5vw, 50px);
    font-weight: 700;
    letter-spacing: -0.035em;
    line-height: 1.2;
}

.auth-intro h1 span {
    color: var(--auth-gold-400);
}

.auth-intro p {
    max-width: 560px;
    margin: 0;
    color: rgba(223, 231, 242, 0.78);
    font-family: "Inter", sans-serif;
    font-size: 14px;
    line-height: 1.8;
}

.auth-features {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 13px;
    margin-top: 46px;
}

.auth-feature {
    padding: 16px;
    border: 1px solid rgba(255, 255, 255, 0.09);
    border-radius: 15px;
    background: rgba(255, 255, 255, 0.045);
    backdrop-filter: blur(4px);
}

.auth-feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 37px;
    height: 37px;
    margin-bottom: 12px;
    border-radius: 10px;
    background: rgba(211, 170, 35, 0.15);
    color: var(--auth-gold-400);
    font-size: 14px;
}

.auth-feature strong,
.auth-feature span {
    display: block;
}

.auth-feature strong {
    color: #fff;
    font-size: 11px;
    font-weight: 600;
}

.auth-feature span {
    margin-top: 5px;
    color: rgba(223, 231, 242, 0.6);
    font-family: "Inter", sans-serif;
    font-size: 9.5px;
    line-height: 1.5;
}

.auth-brand-footer {
    position: relative;
    z-index: 2;
    display: flex;
    justify-content: space-between;
    gap: 15px;
    padding-top: 26px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: rgba(223, 231, 242, 0.54);
    font-family: "Inter", sans-serif;
    font-size: 10px;
}

.auth-decoration {
    position: absolute;
    border: 1px solid rgba(211, 170, 35, 0.09);
    border-radius: 50%;
}

.auth-decoration-one {
    right: -180px;
    bottom: -220px;
    width: 520px;
    height: 520px;
}

.auth-decoration-two {
    right: -70px;
    bottom: -105px;
    width: 280px;
    height: 280px;
}

/* RIGHT PANEL */

.auth-form-panel {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 45px;
    background:
        radial-gradient(
            circle at 90% 10%,
            rgba(23, 69, 132, 0.06),
            transparent 26%
        ),
        #f4f6fa;
}

.auth-form-wrapper {
    width: 100%;
    max-width: 445px;
    padding: 39px 42px 32px;
    border: 1px solid rgba(220, 226, 235, 0.8);
    border-radius: 24px;
    background: #fff;
    box-shadow: 0 24px 65px rgba(13, 39, 72, 0.09);
}

.auth-mobile-brand {
    display: none;
    align-items: center;
    gap: 12px;
    margin-bottom: 34px;
}

.auth-mobile-brand strong {
    color: var(--auth-navy-900);
}

.auth-form-header {
    margin-bottom: 28px;
}

.auth-form-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    margin-bottom: 18px;
    border-radius: 14px;
    background: #eaf1fb;
    color: var(--auth-navy-700);
    font-size: 17px;
}

.auth-form-header h2 {
    margin: 0 0 8px;
    color: var(--auth-text);
    font-size: 25px;
    font-weight: 700;
    letter-spacing: -0.025em;
}

.auth-form-header p {
    margin: 0;
    color: var(--auth-muted);
    font-family: "Inter", sans-serif;
    font-size: 12.5px;
    line-height: 1.65;
}

.auth-alert {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    padding: 11px 13px;
    border-radius: 10px;
    font-size: 11px;
}

.auth-field {
    margin-bottom: 19px;
}

.auth-field label {
    display: block;
    margin-bottom: 7px;
    color: #344054;
    font-size: 11.5px;
    font-weight: 600;
}

.auth-input-group {
    position: relative;
}

.auth-input-group input {
    width: 100%;
    height: 48px;
    padding: 0 46px;
    border: 1px solid var(--auth-border);
    border-radius: 11px;
    outline: 0;
    background: #fbfcfe;
    color: var(--auth-text);
    font-family: "Inter", sans-serif;
    font-size: 12.5px;
    transition:
        border-color 0.18s ease,
        box-shadow 0.18s ease,
        background 0.18s ease;
}

.auth-input-group input::placeholder {
    color: #a3adbb;
}

.auth-input-group input:focus {
    border-color: var(--auth-navy-700);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(23, 69, 132, 0.09);
}

.auth-input-group input.is-invalid {
    border-color: var(--auth-danger);
}

.auth-input-icon {
    position: absolute;
    top: 50%;
    left: 16px;
    color: #8a95a5;
    font-size: 13px;
    transform: translateY(-50%);
    pointer-events: none;
}

.auth-password-toggle {
    position: absolute;
    top: 50%;
    right: 9px;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: #8490a0;
    transform: translateY(-50%);
}

.auth-password-toggle:hover {
    background: #eef2f7;
    color: var(--auth-navy-700);
}

.auth-field-error {
    margin-top: 6px;
    color: var(--auth-danger);
    font-family: "Inter", sans-serif;
    font-size: 10.5px;
}

.auth-options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 15px;
    margin: 2px 0 23px;
}

.auth-checkbox {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #596579;
    font-family: "Inter", sans-serif;
    font-size: 11px;
    cursor: pointer;
}

.auth-checkbox input {
    position: absolute;
    opacity: 0;
    pointer-events: none;
}

.auth-checkbox-box {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 17px;
    height: 17px;
    border: 1px solid #ccd3de;
    border-radius: 5px;
    background: #fff;
    color: #fff;
    font-size: 8px;
    transition: 0.15s ease;
}

.auth-checkbox input:checked + .auth-checkbox-box {
    border-color: var(--auth-navy-700);
    background: var(--auth-navy-700);
}

.auth-security-text {
    color: #8b95a4;
    font-family: "Inter", sans-serif;
    font-size: 10px;
}

.auth-security-text i {
    margin-right: 3px;
    color: var(--auth-success);
}

.auth-submit {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 49px;
    border: 0;
    border-radius: 11px;
    background:
        linear-gradient(
            135deg,
            var(--auth-gold-500),
            var(--auth-gold-400)
        );
    box-shadow: 0 10px 25px rgba(211, 170, 35, 0.22);
    color: var(--auth-navy-950);
    font-size: 12.5px;
    font-weight: 700;
    transition:
        transform 0.15s ease,
        box-shadow 0.15s ease,
        opacity 0.15s ease;
}

.auth-submit span {
    display: flex;
    align-items: center;
    gap: 10px;
}

.auth-submit:hover:not(:disabled) {
    transform: translateY(-1px);
    box-shadow: 0 14px 30px rgba(211, 170, 35, 0.27);
}

.auth-submit:disabled {
    opacity: 0.72;
    cursor: not-allowed;
}

.auth-help {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    margin-top: 22px;
    padding: 12px;
    border-radius: 10px;
    background: #f5f7fa;
    color: #7c8797;
    font-family: "Inter", sans-serif;
    font-size: 9.5px;
    line-height: 1.55;
}

.auth-help i {
    margin-top: 2px;
    color: var(--auth-navy-700);
}

.auth-copyright {
    margin-top: 25px;
    color: #a0a8b5;
    font-family: "Inter", sans-serif;
    font-size: 9px;
    text-align: center;
}

@media (max-width: 1100px) {
    .auth-shell {
        grid-template-columns: 43% 1fr;
    }

    .auth-brand-panel {
        padding: 40px;
    }

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

    .auth-feature {
        display: flex;
        align-items: center;
        gap: 12px;
    }

    .auth-feature-icon {
        flex: 0 0 37px;
        margin-bottom: 0;
    }
}

@media (max-width: 850px) {
    .auth-shell {
        display: block;
    }

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

    .auth-form-panel {
        padding: 30px 18px;
    }

    .auth-mobile-brand {
        display: flex;
    }
}

@media (max-width: 480px) {
    .auth-form-panel {
        align-items: flex-start;
        padding: 18px 13px;
    }

    .auth-form-wrapper {
        padding: 30px 23px 26px;
        border-radius: 18px;
    }

    .auth-options {
        align-items: flex-start;
        flex-direction: column;
    }
}
.auth-brand-logo-pemprov {
    display: flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 58px;
    width: 58px;
    height: 58px;
    padding: 5px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.28);
    border-radius: 14px;
    background: #ffffff;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.14);
}

.auth-brand-logo-pemprov img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.auth-mobile-brand .auth-brand-logo-pemprov {
    flex-basis: 48px;
    width: 48px;
    height: 48px;
    padding: 4px;
    border: 1px solid #e4e8ef;
    box-shadow: 0 5px 16px rgba(15, 39, 71, 0.12);
}

@media (max-width: 767.98px) {
    .auth-brand-logo-pemprov {
        flex-basis: 48px;
        width: 48px;
        height: 48px;
    }
}