.customer-shell {
    width: min(960px, calc(100% - 28px));
    margin: 0 auto;
    padding: 44px 0 110px;
}

.customer-auth-card {
    max-width: 620px;
    margin: 0 auto;
    padding: 24px;
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow);
}

.customer-auth-card h1,
.customer-dashboard-head h1 {
    margin: 7px 0 12px;
    font-size: clamp(40px, 9vw, 64px);
    line-height: 1;
    letter-spacing: -0.04em;
}

.customer-form {
    display: grid;
    gap: 16px;
    margin-top: 22px;
}

.customer-two-col {
    display: grid;
    gap: 16px;
}

.remember-row {
    display: flex;
    gap: 10px;
    align-items: center;
    font-weight: 500;
}

.remember-row input {
    width: 20px;
    min-width: 20px;
    min-height: 20px;
    margin: 0;
}

.customer-auth-footer {
    margin: 20px 0 0;
    text-align: center;
}

.customer-auth-footer a,
.customer-login-hint a,
.customer-booking-banner a,
.create-account-after-booking a {
    color: var(--green-800);
    font-weight: 800;
    text-decoration: underline;
}

.customer-dashboard-head {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-bottom: 26px;
}

.customer-dashboard-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.customer-booking-list {
    display: grid;
    gap: 12px;
}

.customer-booking-card {
    position: relative;
    display: grid;
    gap: 12px;
    padding: 18px;
    border-radius: 18px;
    background: var(--white);
    border: 1px solid rgba(13,43,32,.1);
}

.customer-booking-card strong,
.customer-booking-card span {
    display: block;
}

.customer-booking-date {
    color: var(--muted);
    font-size: 13px;
    font-weight: 700;
}

.customer-booking-status {
    align-self: center;
    justify-self: start;
    padding: 7px 10px;
    border-radius: 999px;
    background: #eee;
    font-size: 12px;
    font-weight: 900;
}

.customer-booking-card.state-paid {
    background: #edf8ef;
    border-color: #b9ddbf;
}

.customer-booking-card.state-held {
    background: #fff5e5;
    border-color: #f1cf98;
}

.customer-booking-card.state-closed {
    background: #eeeeec;
    opacity: .68;
}

.customer-empty {
    padding: 34px 22px;
    border-radius: var(--radius);
    background: var(--white);
    box-shadow: var(--shadow);
    text-align: center;
}

.customer-booking-banner,
.customer-login-hint {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 18px;
    padding: 16px 18px;
    border-radius: 16px;
    background: #edf8ef;
    border: 1px solid #b9ddbf;
}

.customer-booking-banner span,
.customer-login-hint span {
    display: block;
    color: var(--muted);
}

.logged-customer-details {
    display: grid;
    gap: 10px;
    margin-bottom: 18px;
}

.logged-customer-details > div {
    padding: 12px 14px;
    border-radius: 14px;
    background: #f7f8f6;
}

.logged-customer-details span {
    display: block;
    color: var(--muted);
    font-size: 12px;
}

.create-account-after-booking {
    margin-top: 16px;
    padding: 14px;
    border-radius: 14px;
    background: #f7f8f6;
}

.customer-password-section {
    padding-top: 8px;
    border-top: 1px solid rgba(13,43,32,.1);
}

@media (min-width: 700px) {
    .customer-two-col {
        grid-template-columns: 1fr 1fr;
    }

    .customer-dashboard-head {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }

    .customer-booking-card {
        grid-template-columns: 1.4fr 1fr auto;
        align-items: center;
    }

    .customer-booking-status {
        justify-self: end;
    }

    .customer-booking-banner {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}


/* Mobile spacing refinement for customer login / registration */
@media (max-width: 699px) {
    .customer-shell {
        width: 100%;
        padding: 28px 16px 100px;
    }

    .customer-auth-card {
        width: 100%;
        max-width: none;
        margin: 0;
        padding: 22px 18px;
        border-radius: 20px;
    }

    .customer-auth-card h1 {
        font-size: clamp(38px, 11vw, 52px);
        margin-bottom: 14px;
    }

    .customer-form {
        gap: 14px;
    }

    .customer-auth-footer {
        margin-top: 18px;
    }
}
