.access-page {
    min-height: 100vh;
    margin: 0;
    display: flex;
    flex-direction: column;
    color: var(--laf-black);
    background: var(--laf-surface);
    font-family: "Segoe UI", sans-serif;
}

.access-layout {
    min-height: calc(100vh - 67px);
    flex: 1 0 auto;
    display: grid;
    grid-template-columns: minmax(360px, 0.9fr) minmax(420px, 1.1fr);
}

.access-brand-panel {
    position: relative;
    min-height: calc(100vh - 67px);
    padding: 3rem clamp(2rem, 6vw, 6rem);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow: hidden;
    color: var(--laf-white);
    background:
        linear-gradient(
            145deg,
            var(--laf-primary) 0%,
            var(--laf-secondary) 68%,
            #7a3b36 100%
        );
}

.access-brand-panel::before {
    position: absolute;
    right: -180px;
    bottom: -180px;
    width: 520px;
    height: 520px;
    content: "";
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    box-shadow:
        0 0 0 42px rgba(255, 255, 255, 0.04),
        0 0 0 84px rgba(255, 255, 255, 0.035);
}

.access-brand-panel::after {
    position: absolute;
    top: 38%;
    right: 12%;
    width: 110px;
    height: 110px;
    content: "";
    border: 1px solid rgba(159, 133, 103, 0.55);
    transform: rotate(45deg);
}

.access-logo,
.access-eyebrow,
.access-brand-panel h1,
.access-back-link {
    position: relative;
    z-index: 1;
}

.access-logo {
    width: fit-content;
    display: inline-flex;
    align-items: center;
}

.access-logo img {
    width: 92px;
    height: 92px;
    object-fit: contain;
}

.access-eyebrow {
    margin-bottom: 1.25rem;
    color: var(--laf-accent);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.18em;
    text-transform: uppercase;
}

.access-brand-panel h1 {
    max-width: 520px;
    margin: auto 0;
    font-size: clamp(3.4rem, 6vw, 6.6rem);
    font-weight: 700;
    line-height: 0.94;
    letter-spacing: -0.04em;
}

.access-back-link {
    width: fit-content;
    color: rgba(255, 255, 255, 0.78);
    font-size: 0.95rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.4);
    transition:
        color 180ms ease,
        border-color 180ms ease;
}

.access-back-link:hover {
    color: var(--laf-white);
    border-color: var(--laf-white);
}

.access-form-panel {
    min-height: 100vh;
    display: grid;
    place-items: center;
    padding: 3rem clamp(1.5rem, 6vw, 7rem);
    background: var(--laf-white);
}

.access-form-wrapper {
    width: min(100%, 470px);
}

.access-form-wrapper .section-eyebrow {
    margin-bottom: 0.85rem;
    color: var(--laf-accent);
}

.access-form-wrapper h2 {
    margin: 0;
    color: var(--laf-primary);
    font-size: clamp(2.2rem, 4vw, 3.6rem);
    line-height: 1;
    letter-spacing: -0.03em;
}

#loginForm,
#forgotPasswordForm,
#resetPasswordForm {
    display: flex;
    flex-direction: column;
    gap: 1.25rem;
    margin-top: 2rem;
}

.access-field {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.access-field label {
    color: var(--laf-primary);
    font-size: 0.9rem;
    font-weight: 700;
}

.access-field input[type="email"],
.access-field input[type="text"],
.access-field input[type="password"] {
    width: 100%;
    min-height: 52px;
    padding: 0.8rem 0.95rem;
    color: var(--laf-black);
    background: var(--laf-white);
    border: 1px solid rgba(75, 2, 2, 0.22);
    border-radius: 4px;
    outline: none;
    font: inherit;
    transition:
        border-color 180ms ease,
        box-shadow 180ms ease;
}

.access-field input::placeholder {
    color: #a69b97;
}

.access-field input:focus {
    border-color: var(--laf-accent);
    box-shadow: 0 0 0 3px rgba(159, 133, 103, 0.2);
}

.access-field input.input-validation-error {
    border-color: #b02a37;
}

.field-validation-error {
    color: #b02a37;
    font-size: 0.82rem;
}

.access-options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    color: var(--laf-muted);
    font-size: 0.86rem;
}

.access-options a {
    color: var(--laf-secondary);
    font-weight: 700;
}

.access-options a:hover {
    color: var(--laf-primary);
    text-decoration: underline;
}

.remember-option {
    display: inline-flex;
    align-items: center;
    gap: 0.55rem;
    cursor: pointer;
}

.remember-option input {
    width: 17px;
    height: 17px;
    accent-color: var(--laf-primary);
}

.laf-button-submit {
    width: 100%;
    min-height: 52px;
    margin-top: 0.75rem;
    color: var(--laf-white);
    background: var(--laf-primary);
    border-color: var(--laf-primary);
    cursor: pointer;
}

.laf-button-submit:hover {
    color: var(--laf-white);
    background: var(--laf-secondary);
    border-color: var(--laf-secondary);
}

.laf-button-submit:focus-visible,
.access-back-link:focus-visible,
.access-logo:focus-visible,
.access-options a:focus-visible {
    outline: 3px solid rgba(159, 133, 103, 0.55);
    outline-offset: 4px;
}

.validation-summary-valid {
    display: none;
}

.validation-summary-errors {
    margin: 0;
    padding: 0.85rem 1rem;
    color: #842029;
    background: #f8d7da;
    border: 1px solid #f1aeb5;
    border-radius: 4px;
    font-size: 0.9rem;
}

.validation-summary-errors ul {
    margin: 0;
    padding-left: 1.1rem;
}

@media (max-width: 900px) {
    .access-layout {
        grid-template-columns: 1fr;
    }

    .access-brand-panel {
        min-height: 420px;
        padding: 2rem;
    }

    .access-brand-panel h1 {
        margin: 3rem 0;
        font-size: clamp(3rem, 12vw, 5rem);
    }

    .access-form-panel {
        min-height: auto;
        padding: 4rem 2rem;
    }
}

@media (max-width: 520px) {
    .access-brand-panel {
        min-height: 360px;
    }

    .access-logo img {
        width: 70px;
        height: 70px;
    }

    .access-brand-panel h1 {
        margin: 2rem 0;
        font-size: 3rem;
    }

    .access-form-panel {
        padding: 3rem 1.25rem;
    }

    .access-options {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (prefers-reduced-motion: reduce) {
    .access-field input,
    .access-back-link,
    .access-options a,
    .laf-button {
        transition: none;
    }
}