.crz-booking,
.crz-booking * {
    box-sizing: border-box;
}

.crz-booking {
    --crz-bg: #fff;
    --crz-fg: #1c1917;
    --crz-muted: #57534e;
    --crz-border: #e7e5e4;
    --crz-accent: #1e3a5f;
    max-width: 42rem;
    margin: 1.5rem 0 2rem;
    color: var(--crz-fg);
    font-family: inherit;
}

.crz-intro,
.crz-duration,
.crz-muted,
.crz-empty {
    color: var(--crz-muted);
    font-size: 0.95rem;
    line-height: 1.5;
}

.crz-intro p {
    margin: 0 0 0.75rem;
}

.crz-intro p:last-child {
    margin-bottom: 0;
}

.crz-intro strong,
.crz-intro b {
    font-weight: 700;
}

.crz-intro em,
.crz-intro i {
    font-style: italic;
}

.crz-intro u {
    text-decoration: underline;
}

.crz-intro a {
    color: var(--crz-accent);
    text-decoration: underline;
}

.crz-intro ul,
.crz-intro ol {
    margin: 0.4rem 0 0.75rem 1.25rem;
}

.crz-duration {
    margin-top: 0;
}

.crz-card {
    margin: 0 0 1rem;
    padding: 1.25rem;
    border: 1px solid var(--crz-border);
    border-radius: 0.9rem;
    background: var(--crz-bg);
}

.crz-step {
    margin: 0 0 1rem;
    font-size: 1.05rem;
    color: var(--crz-fg);
}

.crz-toolbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.crz-week-label {
    flex: 1;
    text-align: center;
    font-size: 0.95rem;
    text-transform: capitalize;
}

.crz-booking button.crz-nav,
.crz-booking button.crz-slot,
.crz-booking button.crz-submit {
    appearance: none;
    margin: 0;
    font-family: inherit;
    font-weight: 600;
    letter-spacing: normal;
    text-transform: none;
    line-height: 1.2;
    box-shadow: none;
    float: none;
    cursor: pointer;
}

.crz-booking button.crz-nav {
    width: 2.25rem;
    height: 2.25rem;
    padding: 0;
    border: 1px solid var(--crz-border);
    border-radius: 0.5rem;
    background: #fafaf9;
    color: var(--crz-fg);
    font-size: 1.25rem;
}

.crz-booking button.crz-nav:hover:not(:disabled) {
    border-color: var(--crz-accent);
    color: var(--crz-accent);
}

.crz-booking button.crz-nav:disabled {
    opacity: 0.35;
    cursor: not-allowed;
}

.crz-field {
    display: grid;
    gap: 0.35rem;
    margin-bottom: 1rem;
}

.crz-field span {
    font-size: 0.875rem;
    color: var(--crz-muted);
}

.crz-row {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0 1rem;
}

@media (min-width: 640px) {
    .crz-row {
        grid-template-columns: 1fr 1fr;
    }
}

.crz-booking input,
.crz-booking textarea {
    width: 100%;
    margin: 0;
    padding: 0.65rem 0.9rem;
    border: 1px solid var(--crz-border);
    border-radius: 0.75rem;
    background: #fff;
    color: var(--crz-fg);
    font: inherit;
    box-shadow: none;
}

.crz-day {
    padding-top: 1rem;
    border-top: 1px solid var(--crz-border);
}

.crz-day:first-child {
    padding-top: 0;
    border-top: 0;
}

.crz-day h3 {
    margin: 0 0 0.75rem;
    font-size: 0.9rem;
    text-transform: capitalize;
}

.crz-slot-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(5rem, 1fr));
    gap: 0.5rem;
}

.crz-booking button.crz-slot {
    width: auto;
    min-height: 0;
    padding: 0.65rem 0.5rem;
    border: 1px solid var(--crz-border);
    border-radius: 0.5rem;
    background: #fff;
    color: var(--crz-fg);
    font-size: 0.875rem;
    font-weight: 500;
}

.crz-booking button.crz-slot:hover,
.crz-booking button.crz-slot.is-selected {
    border-color: var(--crz-accent);
    background: #eef3f8;
    color: var(--crz-accent);
}

.crz-empty,
.crz-alert,
.crz-status {
    margin: 0 0 0.75rem;
    font-size: 0.875rem;
}

.crz-alert,
.crz-status {
    color: #9f1239;
}

.crz-booking button.crz-submit {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 0;
    border-radius: 0.75rem;
    background: var(--crz-accent);
    color: #fff;
    font-size: 1rem;
}

.crz-booking button.crz-submit:hover:not(:disabled) {
    background: #16304f;
}

.crz-booking button.crz-submit:disabled {
    opacity: 0.7;
    cursor: progress;
}

.crz-success {
    margin: 0;
    padding: 1rem;
    border-radius: 0.75rem;
    background: #ecfdf3;
    color: #14532d;
    line-height: 1.5;
}

.crz-honeypot {
    position: absolute;
    left: -9999px;
    width: 1px;
    height: 1px;
    overflow: hidden;
}

.crz-unavailable {
    padding: 1rem;
    border: 1px solid #e7e5e4;
    border-radius: 0.75rem;
}

.crz-credit {
    margin: 1.25rem 0 0;
    color: var(--crz-muted);
    font-size: 0.8125rem;
    line-height: 1.4;
}

.crz-credit a {
    color: var(--crz-accent);
    text-decoration: underline;
}
