body {
    background:
        radial-gradient(circle at top, rgba(217, 184, 156, 0.2), transparent 34%),
        linear-gradient(180deg, #f6f0e8 0%, #f8f9fa 100%);
    color: #433c37;
    min-height: 100vh;
}

.auth-main {
    min-height: calc(100vh - 66px);
}

.auth-shell {
    align-items: center;
    display: flex;
    justify-content: center;
    min-height: calc(100vh - 66px);
    padding: 2.5rem 0;
}

.auth-card {
    position: relative;
    z-index: 1;
}

.auth-card-wrap {
    align-items: center;
    display: flex;
    justify-content: center;
    width: 100%;
}

.auth-card {
    background: rgba(255, 252, 248, 0.94);
    border: 1px solid rgba(155, 125, 85, 0.14);
    border-radius: 2rem;
    box-shadow: 0 28px 60px rgba(84, 66, 47, 0.12);
    padding: 2.5rem;
    max-width: 560px;
    width: 100%;
}

.auth-card-head {
    margin-bottom: 2rem;
}

.auth-card-kicker {
    color: #9b7d55;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    margin-bottom: 0.75rem;
    text-transform: uppercase;
}

.auth-card-title {
    color: #433c37;
    font-size: clamp(2rem, 3vw, 2.8rem);
    font-weight: 700;
    letter-spacing: -0.04em;
    line-height: 1.05;
    margin-bottom: 0.75rem;
}

.auth-card-copy {
    color: #766d66;
    line-height: 1.7;
    margin-bottom: 0;
}

.auth-form fieldset {
    border: 0;
    margin: 0;
    padding: 0;
}

.auth-form .input {
    margin-bottom: 1.2rem;
}

.auth-form label {
    color: #433c37;
    font-size: 0.95rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.auth-form input[type='email'],
.auth-form input[type='password'],
.auth-form input[type='text'] {
    background: #fffdf9;
    border: 1px solid rgba(118, 109, 102, 0.2);
    border-radius: 1rem;
    box-shadow: none;
    color: #433c37;
    min-height: 3.5rem;
    padding: 0.95rem 1rem;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.auth-form input:focus {
    border-color: #9b7d55;
    box-shadow: 0 0 0 0.2rem rgba(155, 125, 85, 0.12);
}

.auth-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.85rem;
    margin-top: 1.75rem;
}

.auth-link-row {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1.5rem;
}

.auth-link-row a {
    color: #9b7d55;
    font-weight: 700;
    text-decoration: none;
}

.auth-link-row a:hover,
.auth-link-row a:focus {
    color: #8c704c;
}

.auth-button-primary,
.auth-button-secondary,
.auth-button-ghost {
    align-items: center;
    border-radius: 999px;
    display: inline-flex;
    font-size: 0.96rem;
    font-weight: 700;
    justify-content: center;
    letter-spacing: 0.01em;
    line-height: 1;
    min-height: 3.35rem;
    padding: 0.95rem 1.45rem;
    text-decoration: none;
    text-transform: none;
    white-space: nowrap;
    margin: 0;
    vertical-align: middle;
}

.auth-button-primary {
    background: #9b7d55;
    border: 1px solid #9b7d55;
    color: #fff8f0;
    flex: 1 1 220px;
}

button.auth-button-primary,
button.auth-button-secondary {
    appearance: none;
    display: inline-flex;
    width: auto;
}

.auth-button-primary:hover,
.auth-button-primary:focus {
    background: #8c704c;
    border-color: #8c704c;
    color: #fff8f0;
}

.auth-button-secondary {
    background: transparent;
    border: 1px solid rgba(155, 125, 85, 0.28);
    color: #433c37;
    flex: 1 1 180px;
}

.auth-button-secondary:hover,
.auth-button-secondary:focus {
    background: rgba(217, 184, 156, 0.14);
    border-color: rgba(155, 125, 85, 0.46);
    color: #433c37;
}

.auth-button-ghost {
    align-items: center;
    color: #9b7d55;
    display: inline-flex;
    min-height: auto;
    padding: 0;
}

.auth-button-ghost:hover,
.auth-button-ghost:focus {
    color: #8c704c;
}

.auth-form .message {
    border-radius: 1rem;
    margin-bottom: 1.5rem;
}

.auth-footer {
    color: #766d66;
    padding: 0 0 1.5rem;
}

@media (max-width: 991.98px) {
    .auth-shell {
        min-height: auto;
        padding: 1.5rem 0 2rem;
    }

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

@media (max-width: 575.98px) {
    .auth-actions {
        grid-template-columns: 1fr;
    }
}
