/* Brand tokens are kept in one place so the login page stays easy to retheme. */
:root {
    --zoo-green: #55844a;
    --zoo-green-dark: #3f6738;
    --zoo-ink: #243126;
    --zoo-soft: #f4f8f2;
}

/* Page canvas and main card layout. */
body.auth-page {
    background: #eef4ec;
    color: var(--zoo-ink);
}

.auth-page .auth-shell {
    max-width: 1040px;
    padding: 28px 16px;
}

.auth-page .auth-card {
    border: 0;
    border-radius: 24px;
    box-shadow: 0 18px 55px rgba(46, 78, 42, .14);
}

/* Left-side brand panel: green background, logo, and welcome messaging. */
.auth-page .brand-panel {
    min-height: 560px;
    padding: 48px 42px;
    background: linear-gradient(150deg, var(--zoo-green-dark), var(--zoo-green));
    color: #fff;
}

.auth-page .brand-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: auto;
    height: auto;
    margin-bottom: 42px;
    padding: 12px;
    border-radius: 22px;
    background: #fff;
    box-shadow: 0 10px 24px rgba(22, 49, 20, .15);
}

.auth-page .brand-logo img {
    width: 100%;
    height: auto;
}

.auth-page .brand-kicker {
    letter-spacing: .14em;
}

.auth-page .brand-panel h2 {
    max-width: 310px;
    font-size: 2.35rem;
    line-height: 1.15;
    letter-spacing: -.04em;
}

.auth-page .brand-panel p {
    max-width: 320px;
    color: rgba(255, 255, 255, .8);
    line-height: 1.7;
}

.auth-page .brand-note {
    display: flex;
    gap: 12px;
    align-items: center;
    margin-top: 42px;
    color: rgba(255, 255, 255, .9);
    font-size: .9rem;
}

.auth-page .brand-note i {
    color: #d9efce;
}

/* Right-side form panel and its typography hierarchy. */
.auth-page .form-panel {
    padding: 52px clamp(28px, 5vw, 64px);
}

.auth-page .eyebrow {
    color: var(--zoo-green);
    font-size: .75rem;
    font-weight: 700;
    letter-spacing: .13em;
    text-transform: uppercase;
}

.auth-page .form-panel h1 {
    margin: 8px 0 10px;
    color: var(--zoo-ink);
    font-size: 2rem;
    letter-spacing: -.035em;
}

.auth-page .form-intro {
    margin-bottom: 30px;
    color: #718071;
}

.auth-page .form-label {
    color: #344334;
    font-size: .88rem;
    font-weight: 600;
}

/* Form controls use a soft green surface with a clear focus state. */
.auth-page .input-group-text,
.auth-page .form-control {
    min-height: 48px;
    border-color: #dce7d9;
    background: var(--zoo-soft);
}

.auth-page .input-group-text {
    padding-right: 0;
    color: var(--zoo-green);
}

.auth-page .form-control {
    border-left: 0;
    color: var(--zoo-ink);
}

.auth-page .form-control:focus {
    border-color: var(--zoo-green);
    box-shadow: 0 0 0 .2rem rgba(85, 132, 74, .13);
}

.auth-page .input-group:focus-within .input-group-text {
    border-color: var(--zoo-green);
}

.auth-page .password-toggle {
    border: 1px solid #dce7d9;
    border-left: 0;
    background: var(--zoo-soft);
    color: #718071;
}

/* Primary submit action and secondary navigation links. */
.auth-page .submit-button {
    min-height: 50px;
    border: 0;
    background: var(--zoo-green);
    font-weight: 600;
    transition: background .2s ease, transform .2s ease;
}

.auth-page .submit-button:hover,
.auth-page .submit-button:focus {
    background: var(--zoo-green-dark);
    transform: translateY(-1px);
}

.auth-page .secondary-actions {
    border-top: 1px solid #edf1eb;
    margin-top: 26px;
    padding-top: 22px;
}

.auth-page .home-link {
    color: var(--zoo-green);
    font-size: .9rem;
    font-weight: 600;
    text-decoration: none;
}

.auth-page .home-link:hover {
    color: var(--zoo-green-dark);
}

/* Collapse the brand panel into a compact header on smaller screens. */
@media (max-width: 991.98px) {
    .auth-page .brand-panel {
        min-height: auto;
        padding: 32px;
    }

    .auth-page .brand-logo {
        margin-bottom: 24px;
    }

    .auth-page .brand-note {
        margin-top: 24px;
    }
}
