/* Admin authentication shell — uses existing vt-admin / admin_ui tokens */

.auth-shell {
    min-height: 100vh;
    background: var(--color-main-light, #ecfdf5);
}

.auth-shell__main {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px 16px;
}

.auth-shell__card {
    width: 100%;
    max-width: 420px;
    padding: 28px 24px 24px;
}

.auth-shell__brand {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
}

.auth-shell__logo {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    background: var(--color-main, #035122);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.04em;
    flex-shrink: 0;
}

.auth-shell__eyebrow {
    margin: 0 0 2px;
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: var(--color-main, #035122);
}

.auth-shell__title {
    margin: 0;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.25;
    color: #111827;
}

.auth-shell__subtitle {
    margin: 0 0 18px;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.auth-form--compact {
    margin-bottom: 8px;
}

.auth-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.auth-field label {
    color: #374151;
}

.auth-field input {
    width: 100%;
}

.auth-password-field {
    position: relative;
}

.auth-password-field input {
    padding-right: 72px;
}

.auth-password-toggle {
    position: absolute;
    top: 50%;
    right: 6px;
    transform: translateY(-50%);
    border: none;
    background: transparent;
    color: var(--color-main, #035122);
    font-size: 12px;
    font-weight: 600;
    padding: 6px 8px;
    border-radius: var(--admin-radius-sm, 4px);
    cursor: pointer;
}

.auth-password-toggle:hover,
.auth-password-toggle:focus {
    background: rgba(3, 81, 34, 0.08);
    outline: none;
}

.auth-form__row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.auth-checkbox {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #4b5563;
    cursor: pointer;
}

.auth-checkbox input {
    width: 16px;
    height: 16px;
    accent-color: var(--color-main, #035122);
}

.auth-link {
    font-size: 13px;
    font-weight: 500;
    color: var(--color-main, #035122);
    text-decoration: none;
}

.auth-link:hover,
.auth-link:focus {
    text-decoration: underline;
}

.auth-form__submit {
    width: 100%;
    justify-content: center;
    min-height: 36px;
    margin-top: 4px;
}

.auth-form__submit--secondary {
    background: #fff;
    color: var(--color-main, #035122);
    border: 1px solid #d1d5db;
}

.auth-form__submit--secondary:hover {
    background: #f9fafb;
}

.auth-form__submit.is-loading {
    opacity: 0.7;
    pointer-events: none;
}

.auth-form__submit:disabled {
    opacity: 0.55;
    cursor: not-allowed;
}

.auth-code-input {
    text-align: center;
    letter-spacing: 0.18em;
    font-weight: 600;
}

.auth-meta,
.auth-help {
    margin: 0;
    font-size: 12px;
    color: #6b7280;
    line-height: 1.45;
}

.auth-footer {
    margin: 16px 0 0;
    text-align: center;
    font-size: 13px;
}

.auth-notice {
    border-radius: var(--admin-radius-md, 6px);
    padding: 12px 14px;
    margin-bottom: 16px;
    border: 1px solid transparent;
}

.auth-notice__title {
    margin: 0 0 4px;
    font-size: 13px;
    font-weight: 600;
    line-height: 1.35;
}

.auth-notice__message {
    margin: 0;
    font-size: 13px;
    line-height: 1.45;
}

.auth-notice--success {
    background: #ecfdf5;
    border-color: #a7f3d0;
    color: #065f46;
}

.auth-notice--error {
    background: #fef2f2;
    border-color: #fecaca;
    color: #991b1b;
}

.auth-notice--warning {
    background: #fffbeb;
    border-color: #fde68a;
    color: #92400e;
}

.auth-notice--info {
    background: #eff6ff;
    border-color: #bfdbfe;
    color: #1e40af;
}

@media (max-width: 480px) {
    .auth-shell__card {
        padding: 22px 18px 18px;
    }
}
