﻿/* Standalone login styles: independent of the dashboard bundle. */
.auth26-root {
    font-size: 100%;
    color-scheme: light;
}

.auth26 {
    --auth26-primary: #0066dd;
    --auth26-primary-hover: #0055b8;
    --auth26-primary-soft: #e8f1fd;
    --auth26-aside-from: #0b3a82;
    --auth26-aside-to: #0055b8;
    --auth26-text: #0f172a;
    --auth26-text-muted: #526077;
    --auth26-placeholder: #64748b;
    --auth26-border: #8492a6;
    --auth26-border-hover: #526077;
    --auth26-surface: #ffffff;
    --auth26-bg: #f6f8fb;
    --auth26-danger: #c62828;
    --auth26-warning: #92400e;
    --auth26-warning-bg: #fffbeb;
    --auth26-warning-border: #d97706;
    --auth26-on-brand: #ffffff;
    --auth26-on-brand-muted: rgba(255, 255, 255, 0.88);
    --auth26-on-brand-hover: rgba(255, 255, 255, 0.12);
    --auth26-radius: 10px;
    margin: 0;
    min-height: 100vh;
    min-height: 100dvh;
    background: var(--auth26-surface);
    color: var(--auth26-text);
    font-family: "Poppins", system-ui, -apple-system, "Segoe UI", sans-serif;
    font-size: 1rem;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
}

.auth26--sayurbang {
    --auth26-primary: #027a0c;
    --auth26-primary-hover: #01660a;
    --auth26-primary-soft: #e7f5e8;
    --auth26-aside-from: #034d0b;
    --auth26-aside-to: #01660a;
}

.auth26 *,
.auth26 *::before,
.auth26 *::after { box-sizing: border-box; }
.auth26 [hidden] { display: none !important; }
.auth26 :where(button, input) { font: inherit; touch-action: manipulation; }
.auth26 button { cursor: pointer; }
.auth26 ::selection {
    color: var(--auth26-on-brand);
    background: var(--auth26-primary);
}

.auth26-shell {
    display: flex;
    min-height: 100vh;
    min-height: 100dvh;
}
.auth26-form-side {
    display: flex;
    flex: 1 1 100%;
    flex-direction: column;
    min-width: 0;
    padding: 40px 24px 24px;
}
.auth26-form-wrap {
    display: flex;
    flex: 1;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    padding: 24px 0;
}
.auth26-logo {
    display: inline-flex;
    align-self: flex-start;
    max-width: 100%;
    margin-bottom: 48px;
    border-radius: 4px;
}
.auth26-logo img {
    display: block;
    width: auto;
    max-width: 100%;
    height: 40px;
}
.auth26-heading { margin-bottom: 32px; }
.auth26-heading h1 {
    margin: 0 0 12px;
    color: var(--auth26-text);
    font-size: clamp(1.625rem, 2.2vw, 1.875rem);
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: -0.025em;
    text-wrap: balance;
}
.auth26-heading p {
    margin: 0;
    color: var(--auth26-text-muted);
    font-size: 0.9375rem;
}
.auth26-testing {
    margin-bottom: 24px;
    padding: 16px;
    border: 1px solid var(--auth26-warning-border);
    border-radius: var(--auth26-radius);
    background: var(--auth26-warning-bg);
    color: var(--auth26-warning);
    font-size: 0.875rem;
}
.auth26-testing strong { display: block; font-weight: 600; }
.auth26-testing p { margin: 4px 0 0; }
.auth26-testing a { color: inherit; text-decoration: underline; text-underline-offset: 3px; }
.auth26-field { margin-bottom: 24px; }
.auth26-label {
    display: block;
    margin-bottom: 8px;
    font-size: 0.875rem;
    font-weight: 500;
}
.auth26-input-wrap { position: relative; }
.auth26-input-icon {
    position: absolute;
    top: 50%;
    left: 16px;
    width: 20px;
    height: 20px;
    transform: translateY(-50%);
    color: var(--auth26-text-muted);
    pointer-events: none;
}
.auth26-input {
    display: block;
    width: 100%;
    min-width: 0;
    min-height: 52px;
    padding: 12px 16px 12px 48px;
    border: 1px solid var(--auth26-border);
    border-radius: var(--auth26-radius);
    background: var(--auth26-surface);
    color: var(--auth26-text);
    caret-color: var(--auth26-primary);
    font-size: 1rem;
    line-height: 1.5;
    transition: border-color 160ms ease;
}
.auth26-input--toggle { padding-right: 56px; }
.auth26-input::placeholder { color: var(--auth26-placeholder); opacity: 1; }
.auth26-input:hover { border-color: var(--auth26-border-hover); }
.auth26-input:focus {
    border-color: var(--auth26-primary);
    outline: 2px solid var(--auth26-primary);
    outline-offset: 2px;
}
.auth26-input.is-invalid { border-color: var(--auth26-danger); }
.auth26-input.is-invalid:focus { outline-color: var(--auth26-danger); }
.auth26-error,
.auth26-hint {
    margin: 8px 0 0;
    font-size: 0.875rem;
    overflow-wrap: anywhere;
}
.auth26-error { color: var(--auth26-danger); }
.auth26-hint {
    display: flex;
    align-items: center;
    gap: 6px;
    color: var(--auth26-warning);
}
.auth26-hint svg { flex: 0 0 16px; width: 16px; height: 16px; }
.auth26-alert {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin-bottom: 24px;
    padding: 16px;
    border-radius: var(--auth26-radius);
    background: var(--auth26-primary-soft);
    color: var(--auth26-text);
    font-size: 0.875rem;
    overflow-wrap: anywhere;
}
.auth26-alert p { min-width: 0; margin: 0; }
.auth26-alert-icon {
    flex: 0 0 20px;
    width: 20px;
    height: 20px;
    margin-top: 1px;
    color: var(--auth26-primary);
}
.auth26-toggle {
    position: absolute;
    top: 50%;
    right: 4px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    padding: 0;
    transform: translateY(-50%);
    border: 0;
    border-radius: 6px;
    background: transparent;
    color: var(--auth26-text-muted);
    transition: background-color 160ms ease, color 160ms ease;
}
.auth26-toggle:hover { background: var(--auth26-bg); color: var(--auth26-text); }
.auth26-toggle svg { width: 20px; height: 20px; }
.auth26-toggle .auth26-eye-off,
.auth26-toggle[aria-pressed="true"] .auth26-eye { display: none; }
.auth26-toggle[aria-pressed="true"] .auth26-eye-off { display: block; }
.auth26-remember {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: -8px 0 24px;
}
.auth26-remember input {
    flex: 0 0 20px;
    width: 20px;
    height: 20px;
    margin: 0;
    accent-color: var(--auth26-primary);
    cursor: pointer;
}
.auth26-remember label {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    color: var(--auth26-text-muted);
    font-size: 0.875rem;
    cursor: pointer;
}
.auth26-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    min-height: 52px;
    padding: 12px 24px;
    border: 0;
    border-radius: var(--auth26-radius);
    background: var(--auth26-primary);
    color: var(--auth26-on-brand);
    font-weight: 600;
    line-height: 1.5;
    transition: background-color 160ms ease;
}
.auth26-submit:hover { background: var(--auth26-primary-hover); }
.auth26-submit:active { background: var(--auth26-aside-from); }
.auth26-submit:disabled { background: var(--auth26-primary-hover); cursor: progress; }
.auth26-submit-progress { display: none; align-items: center; gap: 10px; }
.auth26-submit.is-loading .auth26-submit-label { display: none; }
.auth26-submit.is-loading .auth26-submit-progress { display: inline-flex; }
.auth26-spinner {
    width: 18px;
    height: 18px;
    border: 2px solid currentColor;
    border-right-color: transparent;
    border-radius: 50%;
    animation: auth26-spin 700ms linear infinite;
}
@keyframes auth26-spin { to { transform: rotate(360deg); } }
.auth26-footer {
    margin-top: 32px;
    color: var(--auth26-text-muted);
    font-size: 0.75rem;
    line-height: 1.7;
    text-align: center;
}
.auth26-footer p { margin: 0; }
.auth26-footer-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0 16px;
    margin-bottom: 8px;
    font-size: 0.8125rem;
}
.auth26-footer-nav a {
    display: inline-flex;
    align-items: center;
    min-height: 44px;
    color: var(--auth26-text-muted);
    text-decoration: underline;
    text-decoration-color: var(--auth26-border);
    text-underline-offset: 4px;
}
.auth26-footer-nav a:hover {
    color: var(--auth26-primary);
    text-decoration-color: currentColor;
}
.auth26 a:focus-visible,
.auth26 button:focus-visible,
.auth26-remember input:focus-visible {
    outline: 2px solid var(--auth26-primary);
    outline-offset: 4px;
}

/* Mobile and tablet layouts focus on the login form. */
.auth26-aside {
    display: none;
    min-width: 0;
    background: linear-gradient(155deg, var(--auth26-aside-from), var(--auth26-aside-to));
    color: var(--auth26-on-brand);
}
.auth26-aside-inner {
    display: flex;
    flex-direction: column;
    width: 100%;
    max-width: 456px;
}
.auth26-aside-title {
    margin: 0 0 16px;
    color: inherit;
    font-size: clamp(1.75rem, 2.2vw, 2.125rem);
    font-weight: 600;
    line-height: 1.3;
    letter-spacing: -0.025em;
    text-wrap: balance;
}
.auth26-aside-lead {
    margin: 0 0 32px;
    color: var(--auth26-on-brand-muted);
    font-size: 0.875rem;
    line-height: 1.7;
}
.auth26-benefits {
    display: grid;
    gap: 20px;
    margin: 0;
    padding: 0;
    list-style: none;
}
.auth26-benefits li { display: flex; align-items: flex-start; gap: 14px; }
.auth26-benefits li > div { min-width: 0; }
.auth26-benefits strong {
    display: block;
    margin-bottom: 2px;
    font-size: 0.875rem;
    font-weight: 500;
}
.auth26-benefits li > div > span {
    display: block;
    color: var(--auth26-on-brand-muted);
    font-size: 0.8125rem;
    line-height: 1.6;
}
.auth26-benefit-icon { display: inline-flex; flex: 0 0 22px; margin-top: 2px; }
.auth26-benefit-icon svg { width: 22px; height: 22px; }
.auth26-audience {
    margin: 28px 0 0;
    color: var(--auth26-on-brand-muted);
    font-size: 0.75rem;
}

/* Preserve the existing brand artwork, without perpetual floating animation. */
.auth26-figure { order: -1; width: 100%; max-width: 320px; margin: 0 auto 24px; }
.auth26-illustration { display: block; width: 100%; height: auto; overflow: visible; }
.auth26-ill-defs { position: absolute; width: 0; height: 0; overflow: hidden; }
.auth26-slides { position: relative; aspect-ratio: 560 / 400; }
.auth26-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 400ms ease, visibility 0s linear 400ms;
}
.auth26-slide.is-active {
    opacity: 1;
    visibility: visible;
    transition: opacity 400ms ease, visibility 0s;
}
.auth26-slides-controls,
.auth26-dots { display: flex; align-items: center; justify-content: center; gap: 4px; }
.auth26-slides-controls { margin-top: 8px; }
.auth26-dot,
.auth26-slides-pause {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    flex: 0 0 44px;
    width: 44px;
    height: 44px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: transparent;
    color: var(--auth26-on-brand);
    transition: background-color 160ms ease;
}
.auth26-dot:hover,
.auth26-slides-pause:hover { background: var(--auth26-on-brand-hover); }
.auth26-dot::before {
    content: "";
    width: 7px;
    height: 7px;
    border: 1px solid currentColor;
    border-radius: 50%;
}
.auth26-dot[aria-current="true"]::before { background: currentColor; }
.auth26-slides-pause svg { width: 14px; height: 14px; }
.auth26-slides-pause .auth26-icon-play,
.auth26-slides-pause[aria-pressed="true"] .auth26-icon-pause { display: none; }
.auth26-slides-pause[aria-pressed="true"] .auth26-icon-play { display: block; }
.auth26-aside button:focus-visible { outline-color: var(--auth26-on-brand); }
.auth26-illustration text { font-family: "Poppins", system-ui, sans-serif; }
.auth26-ill-primary { fill: var(--auth26-primary); }
.auth26-ill-primary-dark { fill: var(--auth26-primary-hover); }
.auth26-ill-primary-stroke { stroke: var(--auth26-primary); }

@media (min-width: 768px) {
    .auth26-form-side { padding: 48px 40px 24px; }
}
@media (min-width: 992px) {
    .auth26-form-side {
        flex: 1 1 50%;
        padding: 48px clamp(32px, 4vw, 80px) 28px;
    }
    .auth26-aside {
        display: flex;
        flex: 1 1 50%;
        align-items: center;
        justify-content: center;
        margin: 16px 16px 16px 0;
        padding: 40px clamp(28px, 3.3vw, 64px);
        border-radius: 24px;
    }
}
@media (min-width: 992px) and (max-height: 860px) {
    .auth26-aside { padding-top: 32px; padding-bottom: 32px; }
    .auth26-figure { max-width: 256px; margin-bottom: 20px; }
    .auth26-aside-title { font-size: 1.75rem; }
    .auth26-aside-lead { margin-bottom: 24px; }
    .auth26-benefits { gap: 16px; }
    .auth26-benefits li > div > span { display: none; }
    .auth26-audience { margin-top: 24px; }
}
@media (min-width: 992px) and (max-height: 640px) {
    .auth26-figure { display: none; }
}
@media (max-height: 640px) {
    .auth26-form-side { padding-top: 24px; }
    .auth26-form-wrap { padding-top: 8px; }
    .auth26-logo { margin-bottom: 28px; }
}

/* Fluid gutters and a bounded form keep phones balanced without scaling text. */
@media (max-width: 991px) {
    .auth26-form-side {
        padding: clamp(16px, 4vh, 32px) clamp(20px, 6vw, 32px) 16px;
    }
    .auth26-form-wrap {
        max-width: 380px;
        padding: 16px 0;
    }
    .auth26-logo { margin-bottom: 28px; }
    .auth26-logo img { height: 36px; }
    .auth26-heading { margin-bottom: 24px; }
    .auth26-heading h1 { font-size: clamp(1.5rem, 6vw, 1.75rem); }
    .auth26-field { margin-bottom: 20px; }
    .auth26-input { min-height: 48px; padding-top: 10px; padding-bottom: 10px; }
    .auth26-submit { min-height: 48px; padding-top: 10px; padding-bottom: 10px; }
    .auth26-remember { margin-bottom: 16px; }
    .auth26-testing { padding: 12px 16px; margin-bottom: 20px; }
    .auth26-footer { width: 100%; max-width: 380px; margin: 24px auto 0; }
}
@media (max-width: 991px) and (max-height: 700px) {
    .auth26-form-side { padding-top: 16px; }
    .auth26-form-wrap { padding-top: 8px; padding-bottom: 8px; }
    .auth26-logo { margin-bottom: 20px; }
    .auth26-heading { margin-bottom: 20px; }
    .auth26-footer { margin-top: 16px; }
}
@media (prefers-reduced-motion: reduce) {
    .auth26-input,
    .auth26-toggle,
    .auth26-submit,
    .auth26-slide,
    .auth26-slide.is-active,
    .auth26-dot,
    .auth26-slides-pause { transition: none; }
    .auth26-spinner { animation: none; }
}
