body.auth-body {
    margin: 0;
    min-height: 100vh;
    background:
        radial-gradient(circle at top left, rgba(197, 160, 89, 0.08), transparent 28%),
        radial-gradient(circle at bottom right, rgba(15, 52, 51, 0.08), transparent 24%),
        #fbf9f4;
    color: #1b1c19;
    font-family: "Plus Jakarta Sans", sans-serif;
}

body.auth-body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    opacity: 0.35;
    background-image: radial-gradient(circle at 1px 1px, rgba(197, 160, 89, 0.08) 1px, transparent 0);
    background-size: 60px 60px;
}

.material-symbols-outlined {
    font-variation-settings: "FILL" 0, "wght" 400, "GRAD" 0, "opsz" 24;
    line-height: 1;
}

.auth-stage {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1.5rem;
}

.auth-panel {
    width: min(100%, 32rem);
    display: grid;
    gap: 1.5rem;
    justify-items: center;
}

.auth-brand {
    text-align: center;
}

.brand-logo-light,
.brand-logo-dark,
.brand-mark {
    display: block;
    object-fit: contain;
}

.auth-brand-logo {
    width: min(18rem, 86vw);
    max-height: 5.5rem;
    margin: 0 auto;
}

.auth-brand h1 {
    margin: 0;
    font-size: clamp(2.6rem, 6vw, 3.6rem);
    color: #0f3433;
}

.auth-brand p {
    margin: 0.35rem 0 0;
    color: #586463;
    text-transform: uppercase;
    letter-spacing: 0;
    font-size: 0.78rem;
    font-weight: 700;
}

.auth-card {
    width: 100%;
    border-radius: 1rem;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.92);
    border: 1px solid #e4e2dd;
    box-shadow: 0 18px 42px rgba(26, 43, 71, 0.07);
}

.auth-card-topbar {
    height: 0.6rem;
    background: #e9c176;
}

.auth-card-body {
    padding: 2rem;
}

.auth-heading {
    text-align: center;
    margin-bottom: 1.5rem;
}

.auth-heading h2 {
    margin: 0;
    font-size: clamp(2rem, 4vw, 2.8rem);
    color: #0f3433;
}

.auth-heading p {
    margin: 0.65rem 0 0;
    color: #586463;
}

.auth-alert {
    margin-bottom: 1rem;
    border-radius: 0.8rem;
    border-color: #ffdad6;
}

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

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

.auth-field label,
.auth-divider span {
    text-transform: uppercase;
    letter-spacing: 0;
    font-size: 0.72rem;
    font-weight: 700;
}

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

.auth-label-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
}

.auth-label-row a,
.auth-register-link a {
    color: #b5914c;
    text-decoration: none;
    font-weight: 600;
}

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

.auth-input-wrap span {
    position: absolute;
    top: 50%;
    left: 1rem;
    transform: translateY(-50%);
    color: #717978;
}

.auth-input-wrap input {
    width: 100%;
    min-height: 4rem;
    padding: 0.95rem 1rem 0.95rem 3.2rem;
    border-radius: 0.8rem;
    border: 1px solid #e4e2dd;
    background: #fbf9f4;
    color: #1b1c19;
    outline: none;
    transition: border-color 0.18s ease, box-shadow 0.18s ease;
}

.auth-input-wrap input:focus {
    border-color: #0f3433;
    box-shadow: 0 0 0 3px rgba(15, 52, 51, 0.08);
}

.auth-check {
    display: flex;
    align-items: center;
    gap: 0.65rem;
    color: #374241;
}

.auth-check input {
    width: 1rem;
    height: 1rem;
}

.auth-submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    min-height: 4rem;
    border: 0;
    border-radius: 0.8rem;
    background: #0f3433;
    color: #fff;
    font-weight: 700;
    box-shadow: 0 12px 24px rgba(15, 52, 51, 0.16);
}

.auth-divider {
    position: relative;
    margin: 1.4rem 0 1.1rem;
    text-align: center;
    color: #c1c8c7;
}

.auth-divider::before {
    content: "";
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: #e4e2dd;
}

.auth-divider span {
    position: relative;
    display: inline-block;
    padding: 0 1rem;
    background: #fff;
}

.auth-footer-links {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    color: #606a69;
}

.auth-footer-links button {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    border: 0;
    background: transparent;
    color: inherit;
}

.auth-dot {
    width: 0.25rem;
    height: 0.25rem;
    border-radius: 999px;
    background: #c1c8c7;
}

.auth-register-link {
    margin: 0;
    color: #586463;
    text-align: center;
}

.auth-seal {
    opacity: 0.5;
    display: grid;
    gap: 0.75rem;
    justify-items: center;
    text-align: center;
}

.auth-seal-mark {
    width: 4rem;
    height: 4rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: #f0eee9;
    border: 1px solid #e4e2dd;
    color: #0f3433;
}

.auth-seal-mark .brand-mark {
    width: 2.65rem;
    height: 2.85rem;
}

.auth-security-note {
    position: fixed;
    right: 1.5rem;
    bottom: 1.5rem;
    display: none;
    align-items: center;
    gap: 1rem;
    max-width: 20rem;
    padding: 1rem;
    border-radius: 0.85rem;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid #e4e2dd;
    box-shadow: 0 14px 30px rgba(26, 43, 71, 0.05);
}

.auth-security-icon {
    width: 2.6rem;
    height: 2.6rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 999px;
    background: #0f3433;
    color: #fff;
}

.auth-security-note strong {
    display: block;
    margin-bottom: 0.25rem;
    color: #0f3433;
    text-transform: uppercase;
    letter-spacing: 0;
    font-size: 0.72rem;
}

.auth-security-note p {
    margin: 0;
    color: #5c6665;
    font-size: 0.9rem;
}

@media (min-width: 992px) {
    .auth-security-note {
        display: flex;
    }
}

@media (max-width: 575.98px) {
    .auth-card-body {
        padding: 1.25rem;
    }

    .auth-footer-links {
        flex-wrap: wrap;
    }
}
