* {
    box-sizing: border-box;
}

body {
    margin: 0;
    min-height: 100vh;
    font-family: Arial, sans-serif;
    background: #111111;
    color: #f5f5f5;
}

.public-site-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 20px 60px;
    border-bottom: 1px solid #333333;
    background: #1a1a1a;
}

.public-logo {
    color: #d4af37;
    font-size: 26px;
    font-weight: 800;
    text-decoration: none;
}

.public-site-nav {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 22px;
}

.public-site-nav a {
    color: #ffffff;
    font-weight: 700;
    text-decoration: none;
}

.public-site-nav a:hover {
    color: #d4af37;
}

.public-booking-page {
    width: min(1180px, calc(100% - 32px));
    margin: 0 auto;
    padding: 48px 0 70px;
}

.public-booking-hero {
    margin-bottom: 28px;
}

.public-booking-label {
    margin: 0 0 10px;
    color: #d4af37;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1.6px;
    text-transform: uppercase;
}

.public-booking-hero h1 {
    margin: 0 0 14px;
    color: #ffffff;
    font-size: clamp(34px, 5vw, 56px);
    line-height: 1.05;
}

.public-booking-hero p {
    max-width: 680px;
    margin: 0;
    color: #cbd5e1;
    font-size: 17px;
    line-height: 1.6;
}

.public-booking-layout {
    display: block;
}

.public-booking-card,
.public-booking-summary {
    border: 1px solid #333333;
    border-radius: 18px;
    background: #1a1a1a;
    box-shadow: 0 24px 70px rgba(0, 0, 0, 0.32);
}

.public-booking-form {
    display: grid;
    grid-template-areas:
        "main summary"
        "actions summary";
    grid-template-columns: minmax(0, 1fr) 340px;
    column-gap: 24px;
    align-items: start;
}

.public-booking-form-main {
    grid-area: main;
}

.public-booking-actions {
    grid-area: actions;
}

.public-booking-summary {
    grid-area: summary;
}

.public-step {
    padding: 24px;
    border-bottom: 1px solid #333333;
}

.public-step:last-of-type {
    border-bottom: none;
}

.public-step-head {
    display: flex;
    gap: 14px;
    align-items: flex-start;
    margin-bottom: 18px;
}

.public-step-head > span {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 34px;
    height: 34px;
    flex: 0 0 34px;
    border-radius: 50%;
    background: #d4af37;
    color: #111111;
    font-weight: 900;
}

.public-step-head h2 {
    margin: 0 0 5px;
    color: #ffffff;
    font-size: 22px;
}

.public-step-head p {
    margin: 0;
    color: #94a3b8;
    line-height: 1.5;
}

.public-booking-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 16px;
}

.public-booking-field {
    display: grid;
    gap: 8px;
}

.public-booking-field span {
    color: #cbd5e1;
    font-size: 13px;
    font-weight: 800;
}

.public-booking-field input,
.public-booking-field select {
    width: 100%;
    height: 46px;
    border: 1px solid #333333;
    border-radius: 10px;
    padding: 0 12px;
    background: #0f0f0f;
    color: #ffffff;
    font: inherit;
}

.public-booking-field input:focus,
.public-booking-field select:focus {
    outline: none;
    border-color: #d4af37;
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.16);
}

.public-native-select {
    margin-bottom: 14px;
}

.public-time-select {
    display: none;
}

.public-option-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.public-option-card,
.public-slot-button {
    min-height: 72px;
    border: 1px solid #333333;
    border-radius: 12px;
    padding: 14px;
    background: #101010;
    color: #ffffff;
    text-align: left;
    cursor: pointer;
    transition: border-color .2s, background .2s, transform .2s;
}

.public-option-card:hover,
.public-slot-button:hover {
    border-color: #d4af37;
    transform: translateY(-1px);
}

.public-option-card.is-active,
.public-slot-button.is-active {
    border-color: #d4af37;
    background: rgba(212, 175, 55, .12);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, .12);
}

.public-option-card strong {
    display: block;
    margin-bottom: 7px;
    font-size: 15px;
}

.public-option-card span {
    color: #d4af37;
    font-size: 13px;
    font-weight: 800;
}

.public-slots-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(94px, 1fr));
    gap: 10px;
    margin-top: 16px;
}

.public-slot-button {
    min-height: 46px;
    text-align: center;
    font-weight: 800;
}

.public-slot-button strong,
.public-slot-button span {
    display: block;
}

.public-slot-button span {
    margin-top: 4px;
    color: #d4af37;
    font-size: 12px;
}

.public-empty-state {
    grid-column: 1 / -1;
    min-height: 48px;
    border: 1px dashed #444444;
    border-radius: 12px;
    padding: 14px;
    color: #94a3b8;
    background: rgba(255, 255, 255, .03);
}

.public-loading-state {
    color: #d4af37;
}

.public-quick-dates {
    display: grid;
    grid-template-columns: repeat(7, minmax(0, 1fr));
    gap: 8px;
    margin-top: 14px;
}

.public-quick-date {
    display: grid;
    gap: 4px;
    min-height: 62px;
    border: 1px solid #333333;
    border-radius: 10px;
    padding: 8px;
    background: #101010;
    color: #ffffff;
    text-align: center;
    cursor: pointer;
}

.public-quick-date span {
    color: #94a3b8;
    font-size: 12px;
}

.public-quick-date:hover:not(:disabled),
.public-quick-date.is-active {
    border-color: #d4af37;
    background: rgba(212, 175, 55, .1);
}

.public-quick-date:disabled {
    color: #64748b;
    cursor: not-allowed;
    opacity: .55;
}

.public-comment-field {
    margin-top: 16px;
}

.public-booking-field textarea {
    width: 100%;
    min-height: 88px;
    resize: vertical;
    border: 1px solid #333333;
    border-radius: 10px;
    padding: 12px;
    background: #0f0f0f;
    color: #ffffff;
    font: inherit;
}

.public-contact-method {
    margin: 18px 0 0;
    border: 0;
    padding: 0;
}

.public-contact-method legend,
.public-consent-field span {
    color: #cbd5e1;
    font-size: 13px;
    font-weight: 800;
}

.public-contact-options {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 9px;
}

.public-contact-options label {
    position: relative;
}

.public-contact-options input {
    position: absolute;
    opacity: 0;
}

.public-contact-options span {
    display: inline-flex;
    min-height: 38px;
    align-items: center;
    border: 1px solid #333333;
    border-radius: 9px;
    padding: 0 13px;
    color: #cbd5e1;
    cursor: pointer;
}

.public-contact-options input:checked + span {
    border-color: #d4af37;
    background: rgba(212, 175, 55, .12);
    color: #f4d66f;
}

.public-consent-field {
    display: flex;
    align-items: flex-start;
    gap: 9px;
    margin-top: 18px;
    cursor: pointer;
}

.public-consent-field input {
    width: 17px;
    height: 17px;
    margin-top: 1px;
    accent-color: #d4af37;
}

.public-privacy-link,
.public-client-preview {
    display: inline-block;
    margin-top: 8px;
    color: #d4af37;
    font-size: 13px;
}

.public-client-preview {
    color: #94a3b8;
}

.public-privacy-page {
    width: min(100% - 48px, 800px);
}

.public-privacy-card {
    display: grid;
    gap: 0;
}

.public-privacy-card section {
    padding: 22px 26px;
    border-bottom: 1px solid #333333;
}

.public-privacy-card section:last-child {
    border-bottom: 0;
}

.public-privacy-card h2 {
    margin: 0 0 8px;
    color: #ffffff;
    font-size: 18px;
}

.public-privacy-card p {
    margin: 0;
    color: #cbd5e1;
    line-height: 1.6;
}

.public-reschedule-page {
    width: min(100% - 48px, 900px);
}

.public-reschedule-card {
    overflow: hidden;
}

.public-reschedule-details {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.public-reschedule-details > div,
.public-reschedule-compare > div {
    display: grid;
    gap: 6px;
    border: 1px solid #333333;
    border-radius: 10px;
    padding: 13px;
    background: #101010;
}

.public-reschedule-details dt,
.public-reschedule-compare span {
    color: #94a3b8;
    font-size: 12px;
    font-weight: 800;
}

.public-reschedule-details dd {
    margin: 0;
    color: #ffffff;
}

.public-reschedule-date {
    margin-top: 16px;
}

.public-hidden-select {
    display: none;
}

.public-reschedule-compare {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 12px;
}

.public-reschedule-compare strong {
    color: #ffffff;
    line-height: 1.45;
}

.public-reschedule-error {
    padding: 28px;
    text-align: center;
}

.public-reschedule-error h2 {
    color: #ffffff;
}

.public-reschedule-error p {
    color: #cbd5e1;
}

.public-nearest-search {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    margin-top: 18px;
    padding: 14px;
    border: 1px solid #333333;
    border-radius: 12px;
    background: rgba(255, 255, 255, .025);
}

.public-nearest-search div,
.public-nearest-head {
    display: grid;
    gap: 4px;
}

.public-nearest-search strong,
.public-nearest-head strong,
.public-nearest-empty strong {
    color: #ffffff;
}

.public-nearest-search span,
.public-nearest-head span,
.public-nearest-empty span {
    color: #94a3b8;
    font-size: 13px;
    line-height: 1.45;
}

.public-nearest-search button,
.public-nearest-back {
    min-height: 42px;
    border: 1px solid #d4af37;
    border-radius: 10px;
    padding: 0 16px;
    background: transparent;
    color: #d4af37;
    font: inherit;
    font-weight: 800;
    cursor: pointer;
}

.public-nearest-search button:hover:not(:disabled),
.public-nearest-back:hover {
    background: rgba(212, 175, 55, .12);
}

.public-nearest-search button:disabled {
    border-color: #3d3d3d;
    color: #64748b;
    cursor: not-allowed;
}

.public-nearest-results {
    margin-top: 14px;
}

.public-nearest-results[hidden] {
    display: none;
}

.public-nearest-head {
    margin-bottom: 10px;
}

.public-nearest-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 10px;
}

.public-nearest-option {
    display: grid;
    gap: 5px;
    min-width: 0;
    min-height: 86px;
    border: 1px solid #333333;
    border-radius: 12px;
    padding: 12px;
    background: #101010;
    color: #ffffff;
    text-align: left;
    cursor: pointer;
}

.public-nearest-option:hover,
.public-nearest-option.is-active {
    border-color: #d4af37;
    background: rgba(212, 175, 55, .1);
}

.public-nearest-date,
.public-nearest-option small {
    color: #94a3b8;
    font-size: 12px;
}

.public-nearest-option strong {
    overflow-wrap: anywhere;
    color: #ffffff;
    font-size: 14px;
}

.public-nearest-option small {
    color: #d4af37;
}

.public-nearest-empty {
    display: grid;
    gap: 7px;
    border: 1px dashed #444444;
    border-radius: 12px;
    padding: 16px;
    background: rgba(255, 255, 255, .03);
}

.public-nearest-back {
    justify-self: start;
    margin-top: 4px;
}

.public-phone-input {
    display: flex;
    align-items: center;
    height: 46px;
    border: 1px solid #333333;
    border-radius: 10px;
    background: #0f0f0f;
    overflow: hidden;
}

.public-phone-input span {
    display: inline-flex;
    align-items: center;
    height: 100%;
    padding: 0 12px;
    border-right: 1px solid #333333;
    color: #d4af37;
    font-size: 15px;
    font-weight: 800;
}

.public-phone-input input {
    height: 100%;
    border: none;
    border-radius: 0;
    background: transparent;
}

.public-phone-input:focus-within {
    border-color: #d4af37;
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.16);
}

.public-booking-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 22px 24px;
    border-top: 1px solid #333333;
}

.public-booking-actions p {
    margin: 0;
    color: #cbd5e1;
    line-height: 1.5;
}

.public-booking-actions button {
    min-width: 160px;
    height: 46px;
    border: none;
    border-radius: 10px;
    background: #d4af37;
    color: #111111;
    font: inherit;
    font-weight: 900;
    cursor: pointer;
}

.public-booking-actions button:disabled {
    opacity: .65;
    cursor: wait;
}

.public-cancel-link {
    margin-top: 8px;
}

.public-cancel-link a {
    color: #d4af37;
    font-weight: 800;
    text-decoration: none;
}

.public-booking-summary {
    position: sticky;
    top: 18px;
    padding: 24px;
}

.public-booking-summary h2 {
    margin: 0 0 18px;
    color: #ffffff;
    font-size: 24px;
}

.public-booking-summary dl,
.public-booking-details {
    display: grid;
    gap: 0;
    margin: 0;
    padding: 0;
}

.public-booking-summary dl div,
.public-booking-details div {
    display: flex;
    justify-content: space-between;
    gap: 16px;
    padding: 13px 0;
    border-bottom: 1px solid #333333;
}

.public-booking-summary dt,
.public-booking-details dt {
    color: #94a3b8;
    font-size: 14px;
    font-weight: 800;
}

.public-booking-summary dd,
.public-booking-details dd {
    margin: 0;
    color: #ffffff;
    font-size: 15px;
    font-weight: 800;
    text-align: right;
}

.public-summary-note {
    margin: 18px 0 0;
    color: #94a3b8;
    line-height: 1.55;
}

.public-cancel-card {
    margin-top: 80px;
}

.public-cancel-hero {
    margin-bottom: 0;
}

.public-success-page {
    width: min(720px, calc(100% - 32px));
    padding-top: 62px;
}

.public-success-intro {
    margin: 0 auto 28px;
    text-align: center;
}

.public-success-check {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    margin-bottom: 18px;
    border: 1px solid rgba(212, 175, 55, .55);
    border-radius: 50%;
    background: rgba(212, 175, 55, .12);
    color: #d4af37;
    font-size: 31px;
    font-weight: 900;
}

.public-success-check.is-error {
    border-color: rgba(244, 214, 111, .62);
    background: rgba(244, 214, 111, .1);
    color: #f4d66f;
}

.public-success-intro h1 {
    margin: 0 0 12px;
    color: #ffffff;
    font-size: clamp(34px, 5vw, 48px);
    line-height: 1.1;
}

.public-success-intro > p:last-child {
    max-width: 520px;
    margin: 0 auto;
    color: #cbd5e1;
    font-size: 17px;
    line-height: 1.6;
}

.public-success-card {
    overflow: hidden;
}

.public-success-card-head {
    padding: 25px 28px 20px;
    border-bottom: 1px solid #333333;
}

.public-success-card-head .public-booking-label {
    margin-bottom: 7px;
}

.public-success-card-head h2 {
    margin: 0;
    color: #ffffff;
    font-size: 24px;
}

.public-success-details {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1px;
    padding: 1px;
    background: #333333;
}

.public-booking-details .public-success-detail {
    display: block;
    min-height: 104px;
    padding: 18px 20px;
    border: none;
    background: #161616;
}

.public-success-detail dt {
    margin-bottom: 9px;
}

.public-success-detail dd {
    color: #ffffff;
    font-size: 16px;
    line-height: 1.35;
    text-align: left;
}

.public-success-note {
    margin: 22px 28px 0;
    border: 1px solid rgba(212, 175, 55, .3);
    border-radius: 12px;
    padding: 16px 18px;
    background: rgba(212, 175, 55, .07);
}

.public-success-note strong {
    color: #f4d66f;
}

.public-success-note p,
.public-success-status {
    margin: 7px 0 0;
    color: #cbd5e1;
    line-height: 1.55;
}

.public-success-status {
    min-height: 0;
    margin: 20px 28px 0;
}

.public-success-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: flex-end;
    gap: 10px;
}

.public-secondary-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    border: 1px solid #333333;
    border-radius: 10px;
    padding: 0 14px;
    color: #d4af37;
    font-weight: 800;
    text-decoration: none;
}

.public-secondary-link:hover {
    border-color: #d4af37;
}

.public-primary-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 44px;
    border: 1px solid #d4af37;
    border-radius: 10px;
    padding: 0 14px;
    background: #d4af37;
    color: #111111;
    font-weight: 900;
    text-decoration: none;
}

.public-primary-link:hover {
    background: #e4c55a;
    border-color: #e4c55a;
}

@media (max-width: 900px) {
    .public-booking-form {
        grid-template-areas:
            "main"
            "summary"
            "actions";
        grid-template-columns: 1fr;
        gap: 18px;
    }

    .public-booking-summary {
        position: static;
    }
}

@media (max-width: 720px) {
    .public-site-header {
        align-items: flex-start;
        flex-direction: column;
        padding: 18px 24px;
    }

    .public-site-nav {
        justify-content: flex-start;
        gap: 14px;
    }

    .public-booking-page {
        width: min(100% - 24px, 1180px);
        padding: 30px 0 52px;
    }

    .public-success-page {
        width: min(100% - 24px, 720px);
        padding-top: 38px;
    }

    .public-booking-grid,
    .public-option-grid,
    .public-nearest-grid {
        grid-template-columns: 1fr;
    }

    .public-quick-dates {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .public-reschedule-details,
    .public-reschedule-compare {
        grid-template-columns: 1fr;
    }

    .public-nearest-search {
        align-items: stretch;
        flex-direction: column;
    }

    .public-nearest-search button {
        width: 100%;
    }

    .public-step,
    .public-booking-actions,
    .public-booking-summary {
        padding: 18px;
    }

    .public-booking-actions {
        align-items: stretch;
        flex-direction: column;
    }

    .public-booking-actions button {
        width: 100%;
    }

    .public-booking-summary dl div,
    .public-booking-details div {
        align-items: flex-start;
        flex-direction: column;
        gap: 4px;
    }

    .public-booking-summary dd,
    .public-booking-details dd {
        text-align: left;
    }

    .public-success-details {
        grid-template-columns: 1fr;
    }

    .public-success-card-head {
        padding: 20px 18px;
    }

    .public-success-note,
    .public-success-status {
        margin-right: 18px;
        margin-left: 18px;
    }

    .public-success-actions {
        justify-content: stretch;
    }

    .public-secondary-link,
    .public-primary-link {
        width: 100%;
    }
}
