/* ──────────────────────────────────────────────────────────────
   Blossom House — Reservation System
   Shared styles: reservation form, check-in, attendee view
   ──────────────────────────────────────────────────────────── */

/* ── Notices ─────────────────────────────────────────────────── */
.bh-notice {
    background: #F9F7F4;
    border-left: 3px solid #C8A882;
    padding: 14px 18px;
    margin: 1.5rem 0;
    font-size: .95rem;
    color: #3a3830;
    border-radius: 4px;
}
.bh-notice--error {
    background: #FEF2F2;
    border-left-color: #ef4444;
    color: #991b1b;
}
.bh-notice--ok {
    background: #ECFDF5;
    border-left-color: #10b981;
    color: #065F46;
}

/* ── Reservation Form ────────────────────────────────────────── */
.bh-reserve-section {
    background: #F9F7F4;
    border-top: 1px solid #E4E0DA;
    border-bottom: 1px solid #E4E0DA;
}
.bh-reserve-header {
    text-align: center;
    margin-bottom: 2.5rem;
}
.bh-reserve-header h2 {
    margin-top: .5rem;
    font-weight: 400;
}
.bh-reserve-form {
    max-width: 520px;
    margin: 0 auto;
    background: #fff;
    border: 1px solid #E4E0DA;
    border-radius: 10px;
    padding: 2.5rem 2rem;
}
.bh-form-field {
    margin-bottom: 1.25rem;
}
.bh-form-field label,
.bh-form-field__label {
    display: block;
    font-size: .7rem;
    text-transform: uppercase;
    letter-spacing: .12em;
    color: #8B8680;
    margin-bottom: .5rem;
    font-weight: 600;
    font-family: var(--font-sans, 'Space Grotesk', sans-serif);
}
.bh-form-field__hint {
    font-size: .85rem;
    color: #6b6860;
    margin: 0 0 .75rem;
    font-style: italic;
}
.bh-form-field .bh-optional {
    font-weight: 400;
    color: #A8A49E;
    text-transform: none;
    letter-spacing: 0;
    font-size: .75rem;
    font-style: italic;
    margin-left: .3rem;
}
.bh-form-field input[type="text"],
.bh-form-field input[type="email"],
.bh-form-field textarea,
.bh-form-field select {
    width: 100%;
    padding: .75rem .9rem;
    border: 1px solid #E4E0DA;
    border-radius: 4px;
    font-size: 1rem;
    font-family: inherit;
    color: #1A1A18;
    background: #fff;
    transition: border-color .2s;
}
.bh-form-field input:focus,
.bh-form-field textarea:focus,
.bh-form-field select:focus {
    outline: none;
    border-color: #C8A882;
}
.bh-form-field textarea {
    resize: vertical;
    min-height: 70px;
}
.bh-form-check {
    display: flex;
    align-items: flex-start;
    gap: .65rem;
    margin: 1.25rem 0 1.5rem;
    font-size: .9rem;
    color: #3a3830;
    cursor: pointer;
    line-height: 1.4;
}
.bh-form-check input[type="checkbox"] {
    margin-top: 2px;
    flex-shrink: 0;
}
.bh-reserve-form .btn {
    width: 100%;
    padding: .95rem 1rem;
}
.bh-reserve-pay {
    text-align: center;
    margin-top: 1.25rem;
    font-size: .85rem;
    color: #8B8680;
    font-style: italic;
}

/* ── Add-ons (form + attendee view) ──────────────────────────── */
.bh-reserve-addons,
.bh-addon-list {
    display: flex;
    flex-direction: column;
    gap: .65rem;
}
.bh-reserve-addon,
.bh-addon-item {
    display: flex;
    align-items: flex-start;
    gap: .75rem;
    padding: 1rem 1.1rem;
    border: 1px solid #E4E0DA;
    border-radius: 8px;
    background: #F9F7F4;
    cursor: pointer;
    transition: border-color .2s, background .2s;
}
.bh-reserve-addon:hover,
.bh-addon-item:hover {
    border-color: #C8A882;
}
.bh-reserve-addon.is-full,
.bh-addon-item.is-full {
    opacity: .5;
    cursor: not-allowed;
}
.bh-addon-item.is-mine {
    border-color: #C8A882;
    background: #FFFBF5;
}
.bh-reserve-addon input,
.bh-addon-item input {
    margin-top: 3px;
    flex-shrink: 0;
}
.bh-reserve-addon strong,
.bh-addon-item strong {
    display: block;
    font-size: 1rem;
    color: #1A1A18;
    margin-bottom: .15rem;
}
.bh-reserve-addon em,
.bh-addon-item em {
    display: block;
    font-size: .85rem;
    color: #6b6860;
    font-style: italic;
    margin-bottom: .15rem;
}
.bh-reserve-addon small,
.bh-addon-item small {
    display: block;
    font-size: .75rem;
    color: #8B8680;
    text-transform: uppercase;
    letter-spacing: .08em;
    margin-top: .25rem;
}

/* ── Reservation Confirmation (post-submit success panel) ────── */
.bh-reserve-confirmation {
    max-width: 520px;
    margin: 0 auto;
    text-align: center;
    background: #fff;
    border: 1px solid #E4E0DA;
    border-radius: 10px;
    padding: 3rem 2rem;
}
.bh-reserve-confirmation__spark {
    font-size: 2rem;
    margin: 0 0 1rem;
    color: #C8A882;
}
.bh-reserve-confirmation h2 {
    font-weight: 400;
    margin-bottom: .5rem;
}

/* ── Attendee reservation view page (/my-reservation/) ───────── */
.bh-reservation-view .section { padding-top: 3rem; padding-bottom: 4rem; }

.bh-qr-card {
    max-width: 400px;
    margin: 2rem auto;
    background: #fff;
    border: 1px solid #E4E0DA;
    border-radius: 12px;
    padding: 2.5rem 2rem;
    text-align: center;
    box-shadow: 0 4px 20px rgba(26, 22, 18, 0.06);
}
.bh-qr-card__eyebrow {
    font-size: .7rem;
    text-transform: uppercase;
    letter-spacing: .15em;
    color: #A8A49E;
    margin: 0 0 1.25rem;
    font-family: var(--font-sans, 'Space Grotesk', sans-serif);
}
#bh-qr {
    display: flex;
    justify-content: center;
    margin-bottom: 1.5rem;
}
#bh-qr svg {
    width: 240px;
    height: 240px;
    max-width: 100%;
}
.bh-qr-card__hello {
    font-size: 1.5rem;
    font-weight: 400;
    color: #1A1A18;
    margin: 0 0 .5rem;
    font-family: var(--font-serif, Georgia, serif);
}
.bh-qr-card__hint {
    font-size: .85rem;
    color: #8B8680;
    font-style: italic;
    margin: 0;
}

.bh-addon-form {
    max-width: 520px;
    margin: 2.5rem auto 1rem;
    background: #F9F7F4;
    border-radius: 10px;
    padding: 2rem;
}
.bh-addon-form h2 {
    font-size: 1.3rem;
    font-weight: 400;
    margin: 0 0 .5rem;
}
.bh-small { font-size: .85rem; color: #6b6860; margin: 0 0 1.25rem; }
.bh-addon-form .btn { margin-top: 1rem; }

.bh-cancel-link {
    text-align: center;
    margin-top: 2rem;
    font-size: .85rem;
    color: #8B8680;
}
.bh-cancel-link a { color: #8B6010; }

.bh-cancel-stage {
    max-width: 520px;
    margin: 2.5rem auto 0;
    background: #fff;
    border: 1px solid #E4E0DA;
    border-radius: 10px;
    padding: 2.5rem 2rem;
}
.bh-cancel-stage h2 {
    font-size: 1.3rem;
    font-weight: 400;
    margin: 0 0 1rem;
    font-style: italic;
    color: #1A1A18;
}
.bh-cancel-stage p { color: #3a3830; margin: 0 0 1.5rem; line-height: 1.6; }
.bh-cancel-check {
    display: flex;
    align-items: flex-start;
    gap: .65rem;
    padding: 1rem;
    background: #F9F7F4;
    border-radius: 6px;
    font-size: .95rem;
    color: #3a3830;
    margin-bottom: 1.5rem;
    cursor: pointer;
}
.bh-cancel-check input { margin-top: 3px; }
.bh-cancel-actions {
    display: flex;
    gap: .75rem;
    flex-wrap: wrap;
}
.bh-cancel-actions .btn { flex: 1; min-width: 140px; }
.btn--ghost {
    background: transparent;
    color: #8B8680;
    border: 1px solid #E4E0DA;
    padding: .75rem 1.25rem;
}
.btn--ghost:hover { background: #F9F7F4; color: #1A1A18; }

/* ── Check-in pages ──────────────────────────────────────────── */
.bh-checkin { background: #F9F7F4; min-height: 100vh; }

.bh-checkin-events {
    list-style: none;
    padding: 0;
    margin: 2rem 0 0;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}
.bh-checkin-events li a {
    display: block;
    padding: 1.5rem 1.75rem;
    background: #fff;
    border: 1px solid #E4E0DA;
    border-radius: 8px;
    text-decoration: none;
    color: #1A1A18;
    transition: border-color .2s, transform .2s;
}
.bh-checkin-events li a:hover {
    border-color: #C8A882;
    transform: translateX(4px);
}
.bh-checkin-events h3 {
    margin: 0 0 .4rem;
    font-weight: 400;
    font-size: 1.2rem;
}
.bh-checkin-events__meta {
    font-size: .85rem;
    color: #6b6860;
    margin: 0 0 .3rem;
}
.bh-checkin-events__counts {
    font-size: .8rem;
    color: #8B8680;
    text-transform: uppercase;
    letter-spacing: .1em;
    margin: 0;
    font-family: var(--font-sans, 'Space Grotesk', sans-serif);
}
.bh-checkin-events__section {
    font-size: .7rem;
    text-transform: uppercase;
    letter-spacing: .15em;
    color: #8B8680;
    margin: 1.5rem 0 .75rem;
    font-family: var(--font-sans, 'Space Grotesk', sans-serif);
    font-weight: 600;
}
.bh-checkin-events__section--muted {
    color: #B0ACA6;
    font-weight: 400;
    font-style: italic;
    text-transform: none;
    letter-spacing: .02em;
}
.bh-checkin-events--muted li a {
    opacity: .65;
    background: transparent;
}
.bh-checkin-events--muted li a:hover { opacity: 1; }

.bh-checkin-bar {
    background: #1A1A18;
    color: #F9F7F4;
    padding: 1rem 1.5rem;
    border-radius: 8px;
    margin: 1.5rem 0 2rem;
    display: flex;
    align-items: center;
    gap: .75rem;
    font-size: .95rem;
    font-family: var(--font-sans, 'Space Grotesk', sans-serif);
    letter-spacing: .02em;
}
.bh-checkin-bar strong { font-size: 1.3rem; color: #C8A882; }
.bh-checkin-bar span { color: #8B8680; }

.bh-checkin-welcome {
    padding: 2rem 1.75rem;
    border-radius: 10px;
    margin: 0 0 2rem;
    text-align: center;
    animation: bh-welcome-fade .4s ease;
}
.bh-checkin-welcome.is-first {
    background: linear-gradient(135deg, #8B6010 0%, #C8A882 100%);
    color: #fff;
}
.bh-checkin-welcome.is-returning {
    background: linear-gradient(135deg, #1E6B5C 0%, #5C3A7A 100%);
    color: #fff;
}
.bh-checkin-welcome .eyebrow {
    color: rgba(255,255,255,.85);
    margin: 0 0 .5rem;
    font-size: .7rem;
    letter-spacing: .2em;
    text-transform: uppercase;
}
.bh-checkin-welcome h2 {
    font-size: 2.25rem;
    font-weight: 400;
    margin: 0 0 .5rem;
    color: #fff;
}
.bh-checkin-welcome p { color: rgba(255,255,255,.9); margin: 0; font-size: .95rem; }
.bh-checkin-welcome__addons { margin-top: .75rem !important; font-style: italic; }
.bh-checkin-welcome__time {
    margin-top: 1rem !important;
    font-size: .75rem !important;
    opacity: .7;
    text-transform: uppercase;
    letter-spacing: .1em;
}
@keyframes bh-welcome-fade {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.bh-checkin-search {
    margin-bottom: 1rem;
}
.bh-checkin-search input {
    width: 100%;
    padding: .85rem 1rem;
    border: 1px solid #E4E0DA;
    border-radius: 6px;
    background: #fff;
    font-size: 1rem;
    font-family: inherit;
}
.bh-checkin-search input:focus { outline: none; border-color: #C8A882; }

.bh-checkin-list {
    list-style: none;
    padding: 0;
    margin: 0 0 2rem;
    display: flex;
    flex-direction: column;
    gap: .5rem;
}
.bh-checkin-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 1rem 1.25rem;
    background: #fff;
    border: 1px solid #E4E0DA;
    border-radius: 8px;
    transition: background .2s;
}
.bh-checkin-row.is-checked { background: #F5F3EE; opacity: .7; }
.bh-checkin-row__info { flex: 1; min-width: 0; }
.bh-checkin-row__info strong {
    display: block;
    font-size: 1.05rem;
    color: #1A1A18;
    margin-bottom: .15rem;
}
.bh-checkin-row__info span {
    display: block;
    font-size: .8rem;
    color: #8B8680;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}
.bh-checkin-row__info small {
    display: block;
    font-size: .75rem;
    color: #C8A882;
    margin-top: .25rem;
    font-style: italic;
}
.bh-checkin-row__checked {
    color: #10b981;
    font-weight: 600;
    font-size: .9rem;
    padding: .5rem 1rem;
}
.btn--sm { padding: .55rem 1rem; font-size: .85rem; }

/* ── Paid tracking on the check-in roster ─────────────────── */
.bh-checkin-row__action {
    display: flex;
    flex-direction: column;
    gap: .4rem;
    align-items: flex-end;
}
.bh-checkin-row__paid-form {
    display: inline-flex;
    gap: .35rem;
    margin: 0;
}
.bh-paid-btn {
    background: #fff;
    border: 1px solid #E4E0DA;
    border-radius: 4px;
    padding: .45rem .75rem;
    font-size: .8rem;
    font-family: var(--font-sans, 'Space Grotesk', sans-serif);
    color: #3a3830;
    cursor: pointer;
    transition: background .2s, border-color .2s;
}
.bh-paid-btn:hover {
    background: #FFFBF5;
    border-color: #C8A882;
}
.bh-paid-btn.is-paid {
    background: #ECFDF5;
    color: #065F46;
    border-color: #A7F3D0;
    font-weight: 600;
}
.bh-paid-btn.is-paid:hover {
    background: #D1FAE5;
    border-color: #6EE7B7;
}
.bh-checkin-row__paid-badge {
    display: inline-block;
    margin-top: .4rem;
    padding: .15rem .55rem;
    background: #ECFDF5;
    color: #065F46;
    border-radius: 999px;
    font-size: .72rem !important;
    font-weight: 600;
    letter-spacing: .02em;
    font-style: normal !important;
    color: #065F46 !important;
}
.bh-checkin-row.is-paid .bh-checkin-row__info strong { color: #065F46; }

.bh-checkin-walkin,
.bh-checkin-scan {
    background: #fff;
    border: 1px solid #E4E0DA;
    border-radius: 8px;
    padding: 1.25rem 1.5rem;
    margin-bottom: 1rem;
}
.bh-checkin-walkin summary,
.bh-checkin-scan summary {
    cursor: pointer;
    font-family: var(--font-sans, 'Space Grotesk', sans-serif);
    font-size: .9rem;
    color: #3a3830;
    user-select: none;
    font-weight: 500;
}
.bh-checkin-walkin[open] summary,
.bh-checkin-scan[open] summary { margin-bottom: 1rem; }
.bh-checkin-walkin form,
.bh-checkin-scan form {
    display: flex;
    flex-direction: column;
    gap: .75rem;
}
.bh-checkin-walkin label {
    display: flex;
    flex-direction: column;
    font-size: .75rem;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: #8B8680;
    gap: .3rem;
}
.bh-checkin-walkin input,
.bh-checkin-scan input[type="text"] {
    padding: .75rem;
    border: 1px solid #E4E0DA;
    border-radius: 4px;
    font-size: 1rem;
    font-family: inherit;
}
.bh-checkin-scan__hint {
    font-size: .8rem;
    color: #8B8680;
    font-style: italic;
    margin: .5rem 0 0;
}

/* ── Continue the signal (post-event reflection) ─────────────── */
.bh-continue-form {
    max-width: 560px;
    margin: 0 auto;
}
.bh-continue-intents {
    display: flex;
    flex-direction: column;
    gap: .75rem;
}
.bh-continue-intent {
    display: flex;
    align-items: flex-start;
    gap: .9rem;
    padding: 1.15rem 1.25rem;
    border: 1px solid #E4E0DA;
    border-radius: 10px;
    background: #fff;
    cursor: pointer;
    transition: border-color .2s, background .2s, transform .15s;
}
.bh-continue-intent:hover { border-color: #C8A882; transform: translateX(2px); }
.bh-continue-intent input { margin-top: 3px; flex-shrink: 0; }
.bh-continue-intent:has(input:checked) { border-color: #C8A882; background: #FFFBF5; }
.bh-continue-intent strong {
    display: block;
    font-size: 1.05rem;
    color: #1A1A18;
    margin-bottom: .2rem;
}
.bh-continue-intent em {
    display: block;
    font-size: .9rem;
    color: #6b6860;
    font-style: italic;
    line-height: 1.45;
}
.bh-continue-types {
    display: flex;
    flex-wrap: wrap;
    gap: .65rem;
}
.bh-continue-types label {
    display: inline-flex;
    align-items: center;
    gap: .5rem;
    padding: .55rem 1rem;
    border: 1px solid #E4E0DA;
    border-radius: 999px;
    background: #fff;
    font-size: .9rem;
    color: #3a3830;
    cursor: pointer;
    transition: border-color .2s, background .2s;
}
.bh-continue-types label:has(input:checked) { border-color: #C8A882; background: #FFFBF5; color: #1A1A18; }
.bh-continue-form .btn { width: 100%; padding: .95rem; margin-top: 1.5rem; }
.bh-continue-privacy {
    text-align: center;
    margin-top: 1.25rem;
    font-size: .8rem;
    color: #8B8680;
    font-style: italic;
}

/* Mobile tweaks */
@media (max-width: 600px) {
    .bh-reserve-form { padding: 2rem 1.5rem; }
    .bh-checkin-welcome h2 { font-size: 1.75rem; }
    .bh-checkin-row { flex-direction: column; align-items: stretch; }
    .bh-checkin-row__action { margin-top: .5rem; }
    .bh-cancel-actions .btn { min-width: 100%; }
}
