.account-page {
    min-height: 100vh;
    background: #2c3541;
    color: #2c3541;
    font-family: var(--font-body);
}

.account-shell {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    background:
        radial-gradient(circle at top left, rgba(239, 226, 204, 0.12), transparent 32%),
        linear-gradient(145deg, rgba(44, 53, 65, 0.96), rgba(120, 66, 29, 0.8)),
        linear-gradient(180deg, #2c3541 0%, #b86b33 48%, #efe2cc 100%);
}

.account-shell__shade {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 18% 18%, rgba(239, 226, 204, 0.24), transparent 26%),
        radial-gradient(circle at 82% 24%, rgba(184, 107, 51, 0.22), transparent 24%),
        linear-gradient(90deg, rgba(44, 53, 65, 0.22), rgba(251, 247, 241, 0.1));
    pointer-events: none;
}

.account-shell__container {
    position: relative;
    z-index: 1;
    display: flex;
    min-height: 100vh;
    flex-direction: column;
    justify-content: flex-start;
    width: min(1280px, calc(100% - 2rem));
    margin: 0 auto;
    padding-block: 0 clamp(2rem, 5vw, 4rem);
}

.account-layout {
    display: grid;
    grid-template-columns: minmax(0, 0.9fr) minmax(320px, 560px);
    gap: clamp(1.5rem, 5vw, 4rem);
    align-items: center;
    width: 100%;
}

.account-layout--center {
    display: flex;
    justify-content: center;
}

.account-copy {
    max-width: 560px;
    color: #fbf5ed;
}

.account-copy h1,
.account-card h1 {
    margin: 0 0 1rem;
    font-family: var(--font-display);
    font-size: clamp(2.35rem, 6vw, 4.75rem);
    font-weight: 700;
    line-height: 0.96;
}

.account-copy p {
    max-width: 34rem;
    color: rgba(251, 245, 237, 0.88);
    font-size: clamp(1rem, 2vw, 1.2rem);
    line-height: 1.75;
}

.account-eyebrow {
    margin: 0 0 0.7rem;
    color: #d58f52;
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
}

.account-card {
    width: min(100%, 560px);
    padding: clamp(1.35rem, 4vw, 2.5rem);
    border: 1px solid rgba(184, 107, 51, 0.22);
    border-radius: 18px;
    background: rgba(251, 247, 241, 0.96);
    box-shadow: 0 28px 60px rgba(27, 22, 18, 0.26);
}

.account-card--center {
    text-align: center;
}

.account-card__intro {
    margin-bottom: 1.4rem;
}

.account-card h1 {
    color: #2c3541;
    font-size: clamp(2rem, 5vw, 3.25rem);
}

.account-card p {
    color: rgba(44, 53, 65, 0.76);
    line-height: 1.65;
}

.account-messages {
    width: min(100%, 1040px);
    margin: 1.25rem auto 0;
}

.account-alert {
    border-radius: 12px;
}

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

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

.account-field .form-label {
    margin: 0;
    color: rgba(44, 53, 65, 0.78);
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.account-field .form-control,
.account-field input {
    min-height: 3.25rem;
    border-color: rgba(184, 107, 51, 0.28);
    border-radius: 12px;
    background: #fffaf4;
    color: #2c3541;
}

.account-field .form-control:focus,
.account-field input:focus {
    border-color: #b86b33;
    box-shadow: 0 0 0 0.2rem rgba(184, 107, 51, 0.16);
}

.account-help {
    color: rgba(44, 53, 65, 0.62);
    font-size: 0.86rem;
    line-height: 1.45;
}

.account-help ul {
    margin: 0.4rem 0 0;
    padding-left: 1.2rem;
}

.account-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.9rem;
    align-items: center;
    justify-content: space-between;
    margin-top: 0.25rem;
}

.account-actions--stacked {
    justify-content: center;
}

.account-button {
    display: inline-flex;
    min-height: 3rem;
    align-items: center;
    justify-content: center;
    padding: 0.85rem 1.4rem;
    border: 1px solid transparent;
    border-radius: 999px;
    font-weight: 800;
    text-decoration: none;
    transition:
        background 160ms ease,
        border-color 160ms ease,
        color 160ms ease,
        transform 160ms ease;
}

.account-button--primary {
    background: #b86b33;
    color: #fff9f2;
}

.account-button--primary:hover,
.account-button--primary:focus {
    background: #8a4b22;
    color: #fff9f2;
    transform: translateY(-1px);
}

.account-button--secondary {
    border-color: rgba(184, 107, 51, 0.24);
    background: rgba(255, 250, 244, 0.78);
    color: #78421d;
}

.account-button--secondary:hover,
.account-button--secondary:focus {
    border-color: rgba(44, 53, 65, 0.2);
    background: #efe2cc;
    color: #2c3541;
    transform: translateY(-1px);
}

.account-button--danger {
    border-color: rgba(150, 78, 58, 0.24);
    background: rgba(150, 78, 58, 0.1);
    color: #7a4035;
}

.account-button--danger:hover,
.account-button--danger:focus {
    border-color: rgba(122, 64, 53, 0.22);
    background: rgba(122, 64, 53, 0.16);
    color: #5b2c25;
    transform: translateY(-1px);
}

.account-switch {
    margin: 1.25rem 0 0;
    text-align: center;
}

.account-card a {
    color: #8a4b22;
    font-weight: 800;
}

.account-card a:hover,
.account-card a:focus {
    color: #2c3541;
}

.account-card .account-button--reset-complete {
    background: #b86b33;
    color: #fff9f2;
    box-shadow: 0 10px 24px rgba(184, 107, 51, 0.22);
}

.account-card .account-button--reset-complete:hover,
.account-card .account-button--reset-complete:focus {
    background: #8a4b22;
    color: #fff9f2;
}

@media (max-width: 900px) {
    .account-shell__container {
        padding-top: 0;
    }

    .account-layout {
        grid-template-columns: 1fr;
    }

    .account-copy {
        max-width: none;
    }
}
