:root {
    --access-green: #6bac24;
    --access-green-dark: #3f7b19;
    --access-ink: #162018;
    --access-muted: #647067;
    --access-line: #dfe8dd;
    --access-soft: #f3f8f0;
    --access-card: #ffffff;
    --access-teal: #13756e;
}

* {
    box-sizing: border-box;
}

body {
    min-height: 100vh;
    margin: 0;
    background:
        linear-gradient(90deg, rgba(107, 172, 36, 0.08) 1px, transparent 1px),
        linear-gradient(0deg, rgba(107, 172, 36, 0.08) 1px, transparent 1px),
        linear-gradient(135deg, #f7fbf4 0%, #eef7ea 48%, #ffffff 100%);
    background-size: 34px 34px, 34px 34px, auto;
    color: var(--access-ink);
    font-family: "Segoe UI", Arial, sans-serif;
}

.access-page {
    min-height: 100vh;
    width: 100%;
    display: grid;
    place-items: center;
    padding: 32px;
}

.access-shell {
    width: min(1120px, 100%);
    min-height: 650px;
    display: grid;
    grid-template-columns: minmax(0, 1.08fr) minmax(360px, 0.92fr);
    overflow: hidden;
    background: rgba(255, 255, 255, 0.9);
    border: 1px solid rgba(107, 172, 36, 0.18);
    border-radius: 8px;
    box-shadow: 0 24px 60px rgba(22, 32, 24, 0.14);
}

.access-brand-panel,
.access-form-panel {
    position: relative;
    padding: 42px;
}

.access-brand-panel {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 34px;
    background:
        linear-gradient(145deg, rgba(22, 32, 24, 0.92), rgba(31, 73, 28, 0.9)),
        linear-gradient(135deg, var(--access-green), var(--access-teal));
    color: #fff;
}

.brand-top {
    display: flex;
    align-items: center;
    gap: 14px;
}

.brand-top img {
    width: 72px;
    height: 72px;
    object-fit: contain;
    background: #fff;
    border-radius: 8px;
    padding: 8px;
}

.brand-top span,
.brand-kicker,
.form-heading span {
    font-size: 0.78rem;
    font-weight: 800;
    letter-spacing: 0;
    text-transform: uppercase;
}

.brand-top span {
    color: rgba(255, 255, 255, 0.78);
}

.brand-copy {
    max-width: 560px;
}

.brand-kicker {
    color: #caefad;
}

.brand-copy h1 {
    margin: 14px 0 16px;
    font-size: clamp(2rem, 5vw, 3.9rem);
    line-height: 1;
    font-weight: 850;
}

.brand-copy p {
    max-width: 520px;
    margin: 0;
    color: rgba(255, 255, 255, 0.78);
    font-size: 1.02rem;
    line-height: 1.7;
}

.access-benefits {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 12px;
}

.access-benefits article {
    min-width: 0;
    padding: 16px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
}

.access-benefits i {
    width: 38px;
    height: 38px;
    display: inline-grid;
    place-items: center;
    margin-bottom: 12px;
    border-radius: 8px;
    background: rgba(202, 239, 173, 0.16);
    color: #d7f5bd;
}

.access-benefits strong,
.access-benefits span {
    display: block;
}

.access-benefits strong {
    margin-bottom: 5px;
    font-size: 0.94rem;
}

.access-benefits span {
    color: rgba(255, 255, 255, 0.68);
    font-size: 0.82rem;
    line-height: 1.45;
}

.access-form-panel {
    display: flex;
    flex-direction: column;
    justify-content: center;
    background: var(--access-card);
}

.access-pet-badge {
    align-self: flex-start;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    margin-bottom: 28px;
    border: 1px solid var(--access-line);
    border-radius: 8px;
    background: var(--access-soft);
    color: var(--access-green-dark);
    font-size: 0.9rem;
    font-weight: 800;
}

.access-pet-badge img {
    width: 42px;
    height: 42px;
    object-fit: contain;
}

.form-heading {
    margin-bottom: 24px;
}

.form-heading span {
    color: var(--access-green-dark);
}

.form-heading h2 {
    margin: 8px 0 8px;
    font-size: clamp(1.85rem, 4vw, 2.5rem);
    line-height: 1.08;
    font-weight: 850;
}

.form-heading p {
    margin: 0;
    color: var(--access-muted);
    line-height: 1.6;
}

.access-alert {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 12px 14px;
    margin-bottom: 18px;
    border: 1px solid #f3c0bc;
    border-radius: 8px;
    background: #fff0ef;
    color: #a33028;
    font-weight: 700;
}

.access-form {
    display: grid;
    gap: 18px;
}

.form-field {
    display: grid;
    gap: 8px;
}

.form-field label {
    color: var(--access-ink);
    font-size: 0.92rem;
    font-weight: 800;
}

.input-shell {
    min-height: 54px;
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 0 14px;
    border: 1px solid var(--access-line);
    border-radius: 8px;
    background: #fbfdf9;
    transition: border-color 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.input-shell:focus-within {
    border-color: rgba(107, 172, 36, 0.72);
    background: #fff;
    box-shadow: 0 0 0 4px rgba(107, 172, 36, 0.16);
}

.input-shell i {
    color: var(--access-green-dark);
}

.input-shell input {
    width: 100%;
    min-width: 0;
    border: 0;
    outline: 0;
    background: transparent;
    color: var(--access-ink);
    font: inherit;
}

.input-shell input::placeholder {
    color: #9aa69d;
}

.password-shell {
    padding-right: 8px;
}

.password-toggle {
    width: 40px;
    height: 40px;
    flex: 0 0 40px;
    display: grid;
    place-items: center;
    border: 0;
    border-radius: 8px;
    background: transparent;
    color: var(--access-muted);
    cursor: pointer;
}

.password-toggle:hover {
    background: #edf5e8;
    color: var(--access-green-dark);
}

.access-submit {
    min-height: 54px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    border: 0;
    border-radius: 8px;
    background: var(--access-green);
    color: #fff;
    font-weight: 850;
    box-shadow: 0 14px 28px rgba(107, 172, 36, 0.28);
    transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.access-submit:hover {
    background: var(--access-green-dark);
    box-shadow: 0 16px 30px rgba(63, 123, 25, 0.28);
    transform: translateY(-1px);
}

.access-footer {
    margin-top: 24px;
    padding-top: 18px;
    border-top: 1px solid var(--access-line);
    color: var(--access-muted);
    font-size: 0.92rem;
    line-height: 1.55;
}

@media (max-width: 991px) {
    .access-page {
        padding: 20px;
    }

    .access-shell {
        grid-template-columns: 1fr;
        min-height: auto;
    }

    .access-brand-panel {
        padding: 30px;
    }

    .brand-copy h1 {
        max-width: 720px;
    }

    .access-benefits {
        grid-template-columns: 1fr;
    }

    .access-form-panel {
        padding: 30px;
    }
}

@media (max-width: 575px) {
    .access-page {
        padding: 0;
        place-items: stretch;
    }

    .access-shell {
        width: 100%;
        min-height: 100vh;
        border: 0;
        border-radius: 0;
        box-shadow: none;
    }

    .access-brand-panel,
    .access-form-panel {
        padding: 24px 18px;
    }

    .brand-top img {
        width: 58px;
        height: 58px;
    }

    .brand-copy h1 {
        font-size: 2rem;
    }

    .access-pet-badge {
        margin-bottom: 20px;
    }
}
