/* ============================================================
   Glyphora — Buyer Tour Scheduling Flow
   ============================================================ */

/* ── Page wrapper ─────────────────────────────────────────────────────── */
.tour-page {
    min-height: 100vh;
    padding: 36px 24px 80px;
}
.tour-wrap {
    max-width: 672px;
    margin: 0 auto;
}

/* ─────────────────────────────────────────────────────────────────────
   STEPPER
   ───────────────────────────────────────────────────────────────────── */
.tour-stepper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin-bottom: 28px;
    padding-top: 80px;
}
.tour-step {
    display: flex;
    align-items: center;
    gap: 8px;
    position: relative;
}
.tour-step-circle {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.2);
    background: transparent;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 11px;
    font-weight: 700;
    color: rgba(255,255,255,0.35);
    flex-shrink: 0;
    transition: all 0.2s;
}
.tour-step.active .tour-step-circle {
    border-color: var(--buyer-accent, #d7b29d);
    background: var(--buyer-accent, #d7b29d);
    color: #121821;
}
.tour-step.done .tour-step-circle {
    border-color: var(--buyer-accent, #d7b29d);
    background: var(--buyer-accent, #d7b29d);
    color: #121821;
    font-size: 13px;
}
.tour-step-label {
    font-size: 11px;
    font-weight: 600;
    color: rgba(255,255,255,0.3);
    letter-spacing: 0.3px;
    white-space: nowrap;
}
.tour-step.active .tour-step-label { color: #ffffff; }
.tour-step.done  .tour-step-label  { color: rgba(255,255,255,0.6); }

.tour-step-line {
    width: 48px;
    height: 1px;
    background: rgba(255,255,255,0.15);
    flex-shrink: 0;
    margin: 0 6px;
}
.tour-step-line.done { background: rgba(215,178,157,0.4); }

img.tour-icon {
    height: 23px;
    width: 23px;
}

/* ─────────────────────────────────────────────────────────────────────
   PROPERTY CARD
   ───────────────────────────────────────────────────────────────────── */
.tour-property-card {
    display: flex;
    align-items: center;
    gap: 14px;
    background: rgb(22 32 50 / 40%);
    border: 1px solid rgba(255,255,255,0.09);
    border-radius: 14px;
    padding: 14px 18px;
    margin-bottom: 28px;
    height: 98px;
}
.tour-property-img {
    width: 64px;
    height: 64px;
    border-radius: 8px;
    object-fit: cover;
    flex-shrink: 0;
    background: rgba(255,255,255,0.08);
}
.tour-property-info { flex: 1; min-width: 0; }
.tour-property-name {
    font-size: 14px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.tour-property-address {
    font-size: 11px;
    color: var(--buyer-text-muted, #8a95a7);
    margin: 0;
}
.tour-property-price {
    font-size: 14px;
    font-weight: 700;
    color: var(--buyer-accent, #d7b29d);
    white-space: nowrap;
    flex-shrink: 0;
}

/* ─────────────────────────────────────────────────────────────────────
   SECTION HEADING
   ───────────────────────────────────────────────────────────────────── */
.tour-section-heading {
    margin-bottom: 20px;
}
.tour-section-heading h2 {
    font-size: 22px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 6px;
}
.tour-section-heading p {
    font-size: 13px;
    color: var(--buyer-text-muted, #8a95a7);
    margin: 0;
}

/* ─────────────────────────────────────────────────────────────────────
   STEP 1 — TOUR TYPE OPTIONS
   ───────────────────────────────────────────────────────────────────── */
.tour-options { display: flex; flex-direction: column; gap: 12px; }

.tour-option {
    display: flex;
    align-items: center;
    gap: 16px;
    background: rgb(22 32 50 / 40%);
    border: 1px solid rgba(255,255,255,0.09);
    border-radius: 14px;
    padding: 16px 18px;
    cursor: pointer;
    text-decoration: none;
    transition: border-color 0.2s, background 0.2s;
    height: 124px;
}
.tour-option:hover {
    border-color: rgba(215,178,157,0.35);
    background: rgb(22 32 50 / 60%);
}

.tour-option-icon-box {
    width: 42px;
    height: 42px;
    border-radius: 11px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 18px;
    color: var(--buyer-text-muted, #8a95a7);
}
.tour-option-body { flex: 1; min-width: 0; }
.tour-option-title-row {
    display: flex;
    align-items: center;
    gap: 9px;
    margin-bottom: 5px;
}
.tour-option-title {
    font-size: 14px;
    font-weight: 700;
    color: #ffffff;
}
.tour-option-badge {
    padding: 2px 9px;
    border-radius: 10px;
    font-size: 9px;
    font-weight: 700;
    letter-spacing: 0.4px;
}
.badge-price {
    background: rgba(215,178,157,0.15);
    border: 1px solid rgba(215,178,157,0.28);
    color: var(--buyer-accent, #d7b29d);
}
.badge-no-agency {
    background: rgba(215,178,157,0.15);
    border: 1px solid rgba(215,178,157,0.28);
    color: var(--buyer-accent, #d7b29d);
}
.tour-option-desc {
    font-size: 12px;
    font-weight: 400;
    color: var(--buyer-text-muted, #8a95a7);
    margin: 0 0 10px;
    line-height: 1.5;
}
.tour-option-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
}
.tour-tag {
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 600;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    color: var(--buyer-text-muted, #8a95a7);
}
.tour-option-arrow {
    font-size: 16px;
    color: rgba(255,255,255,0.3);
    flex-shrink: 0;
    transition: color 0.2s;
}
.tour-option:hover .tour-option-arrow { color: var(--buyer-accent, #d7b29d); }

/* ─────────────────────────────────────────────────────────────────────
   AGENT VIDEO TOUR — FEE NOTICE
   ───────────────────────────────────────────────────────────────────── */
.tour-fee-notice {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    background: rgb(22 32 50 / 40%);
    border: 1px solid rgba(255,255,255,0.09);
    border-radius: 14px;
    padding: 16px 20px;
    margin-bottom: 16px;
}
.tour-fee-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(215,178,157,0.1);
    border: 1px solid rgba(215,178,157,0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 18px;
    color: var(--buyer-accent, #d7b29d);
}
.tour-fee-body { flex: 1; min-width: 0; }
.tour-fee-title {
    font-size: 14px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 5px;
}
.tour-fee-desc {
    font-size: 12px;
    color: var(--buyer-text-muted, #8a95a7);
    line-height: 1.6;
    margin: 0;
}

/* ─────────────────────────────────────────────────────────────────────
   STEP 2 — AGREEMENT
   ───────────────────────────────────────────────────────────────────── */
.tour-agreement-card {
    background: rgb(22 32 50 / 40%);
    border: 1px solid rgba(255,255,255,0.09);
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: 20px;
}
.tour-agreement-doc-header {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px 20px 14px;
}
.tour-docusign-icon {
    width: 38px;
    height: 38px;
    border-radius: 10px;
    background: rgba(0,148,133,0.15);
    border: 1px solid rgba(0,148,133,0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    font-size: 18px;
    color: #00a896;
}
.tour-agreement-doc-info { flex: 1; }
.tour-agreement-doc-title {
    font-size: 13px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 2px;
}
.tour-agreement-doc-sub {
    font-size: 11px;
    color: var(--buyer-text-muted, #8a95a7);
    margin: 0;
}

img.tour-docusign-img {
    height: 20px;
    width: 20px;
}

.tour-agreement-body {
    margin: 0 20px 16px;
    padding: 16px 18px;
    max-height: 265px;
    overflow-y: auto;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 10px;
}
.tour-agreement-body::-webkit-scrollbar { width: 4px; }
.tour-agreement-body::-webkit-scrollbar-track { background: transparent; }
.tour-agreement-body::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.12); border-radius: 4px; }

.tour-agreement-body p {
    font-size: 12px;
    color: var(--buyer-text-muted, #8a95a7);
    line-height: 1.7;
    margin: 0 0 10px;
}
.tour-agreement-body p:last-child { margin-bottom: 0; }
.tour-agreement-body p strong {
    color: rgba(255,255,255,0.8);
    font-weight: 600;
}

.tour-agreement-protected {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 10px;
    margin: 0 20px 0 20px;
}
.tour-agreement-protected i {
    font-size: 20px;
    color: var(--buyer-text-muted, #8a95a7);
    flex-shrink: 0;
    margin-top: 1px;
}
.tour-agreement-protected-text p {
    font-size: 11px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 3px;
}
.tour-agreement-protected-text span {
    font-size: 11px;
    color: var(--buyer-text-muted, #8a95a7);
    line-height: 1.5;
}
.tour-agreement-check {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 16px 20px;
    cursor: pointer;
}
.tour-agreement-check input[type="checkbox"] {
    appearance: none;
    -webkit-appearance: none;

    width: 20px;
    height: 16px;
    border-radius: 50%; /* makes it circular */
    border: 2px solid #FFFFFF;

    cursor: pointer;
    display: inline-block;
    position: relative;
}
/* Checked state */
.tour-agreement-check input[type="checkbox"]:checked {
    background-color: var(--buyer-accent, #d7b29d);
    border-color: var(--buyer-accent, #d7b29d);
}
/* Optional: checkmark */
.tour-agreement-check input[type="checkbox"]:checked::after {
    content: "";
    position: absolute;
    top: 2px;
    left: 5px;
    width: 3px;
    height: 7px;
    border: solid white;
    border-width: 0 1px 1px 0;
    transform: rotate(45deg);
}
.tour-agreement-check label {
    font-size: 12px;
    color: var(--buyer-text-muted, #8a95a7);
    line-height: 1.6;
    cursor: pointer;
}

/* ─────────────────────────────────────────────────────────────────────
   STEP 3 — SCHEDULE
   ───────────────────────────────────────────────────────────────────── */

/* Heading */
.sch-heading { margin-bottom: 20px; }
.sch-title {
    font-size: 26px;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 4px;
}
.sch-subtitle {
    font-size: 13px;
    color: var(--buyer-text-muted, #8a95a7);
    margin: 0;
}

/* Info box */
.sch-info-box {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 14px 16px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    margin-bottom: 24px;
}
.sch-info-icon {
    font-size: 16px;
    color: var(--buyer-text-muted, #8a95a7);
    flex-shrink: 0;
    margin-top: 2px;
}
.sch-info-title {
    font-size: 13px;
    font-weight: 700;
    color: #ffffff;
    margin: 0 0 4px;
}
.sch-info-desc {
    font-size: 12px;
    color: var(--buyer-text-muted, #8a95a7);
    line-height: 1.6;
    margin: 0;
}
.sch-info-desc strong { color: #ffffff; }

/* Section label */
.sch-label {
    font-size: 13px;
    font-weight: 600;
    color: var(--buyer-text-muted, #8a95a7);
    margin: 0 0 10px;
    display: block;
}

/* Calendar card */
.sch-calendar-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.09);
    border-radius: 14px;
    padding: 20px;
    margin-bottom: 24px;
}
.sch-cal-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}
.sch-cal-nav {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: transparent;
    border: none;
    color: var(--buyer-text-muted, #8a95a7);
    font-size: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.18s, color 0.18s;
}
.sch-cal-nav:hover { background: rgba(255,255,255,0.08); color: #fff; }
.sch-cal-month-year {
    font-size: 14px;
    font-weight: 700;
    color: #ffffff;
}
.sch-cal-days-header {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    margin-bottom: 8px;
}
.sch-cal-days-header span {
    text-align: center;
    font-size: 11px;
    font-weight: 600;
    color: var(--buyer-text-muted, #8a95a7);
    padding: 4px 0;
}
.sch-cal-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
}
.sch-cal-cell {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    width: 70px;
    font-weight: 500;
    color: #ffffff;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.15s;
}
.sch-cal-cell:hover:not(.sch-cal-past):not(.sch-cal-other):not(.sch-cal-selected) {
    background: rgba(255,255,255,0.08);
}
.sch-cal-other  { color: rgba(255,255,255,0.2); cursor: default; width: 70px;}
.sch-cal-past   { color: rgba(255,255,255,0.2); cursor: default; width: 70px; }
.sch-cal-today  { border: 1px solid rgba(215,178,157,0.4); border-radius: 16px; width: 70px;}
.sch-cal-primary {
    background: rgba(215,178,157,0.18);
    color: var(--buyer-accent, #d7b29d);
    font-weight: 700;
}
.sch-cal-selected {
    background: var(--buyer-accent, #d7b29d) !important;
    color: #121821 !important;
    font-weight: 700;
    border-radius: 16px;
    width: 70px;
}

/* Time slots */
.sch-time-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-bottom: 12px;
}
.sch-time-slot {
    padding: 13px 8px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    text-align: center;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.1);
    color: var(--buyer-text-muted, #8a95a7);
    cursor: pointer;
    font-family: inherit;
    transition: all 0.18s;
}
.sch-time-slot:hover:not(.sch-time-selected) {
    border-color: rgba(215,178,157,0.35);
    color: #ffffff;
}
.sch-time-selected {
    background: var(--buyer-accent, #d7b29d) !important;
    border-color: var(--buyer-accent, #d7b29d) !important;
    color: #121821 !important;
    font-weight: 700;
}
/* Slot states — prompt / loading / empty / error */
.sch-slots-prompt,
.sch-slots-empty,
.sch-slots-error {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    padding: 18px 0 6px;
    margin: 0;
}
.sch-slots-prompt {
    color: var(--buyer-text-muted, #8a95a7);
}
.sch-slots-prompt i { font-size: 15px; opacity: .6; }
.sch-slots-empty {
    color: var(--buyer-text-muted, #8a95a7);
}
.sch-slots-empty i { color: #ef4444; font-size: 15px; }
.sch-slots-error {
    color: #ef4444;
}
.sch-slots-error i { font-size: 15px; }
.sch-slots-loading {
    grid-column: 1 / -1;
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    color: var(--buyer-text-muted, #8a95a7);
    padding: 18px 0 6px;
}
/* Spinner */
.sch-slot-spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(215,178,157,0.25);
    border-top-color: var(--buyer-accent, #d7b29d);
    border-radius: 50%;
    animation: sch-spin 0.7s linear infinite;
    flex-shrink: 0;
}
@keyframes sch-spin {
    to { transform: rotate(360deg); }
}

/* Action buttons */
.sch-actions {
    display: flex;
    align-items: center;
    gap: 12px;
}
.sch-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 13px 20px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 700;
    background: transparent;
    border: 1px solid rgba(255,255,255,0.15);
    color: #ffffff;
    text-decoration: none;
    cursor: pointer;
    font-family: inherit;
    transition: background 0.18s;
    flex-shrink: 0;
}
.sch-back-btn:hover { background: rgba(255,255,255,0.05); color: #ffffff; }
.sch-submit-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 20px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 700;
    background: var(--buyer-accent, #d7b29d);
    border: 1px solid var(--buyer-accent, #d7b29d);
    color: #121821;
    text-decoration: none;
    cursor: pointer;
    font-family: inherit;
    transition: opacity 0.18s;
}
.sch-submit-btn:hover { opacity: 0.88; color: #121821; }

.tour-time-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    margin-bottom: 0;
}
.tour-time-slot {
    padding: 10px 6px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 600;
    text-align: center;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    color: var(--buyer-text-muted, #8a95a7);
    cursor: pointer;
    transition: all 0.18s;
    user-select: none;
}
.tour-time-slot:hover {
    border-color: rgba(215,178,157,0.35);
    color: #ffffff;
}
.tour-time-slot.selected {
    background: rgba(215,178,157,0.15);
    border-color: var(--buyer-accent, #d7b29d);
    color: var(--buyer-accent, #d7b29d);
}
.tour-time-slot.unavailable {
    opacity: 0.35;
    cursor: not-allowed;
}

.tour-schedule-note {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    background: rgba(255,178,50,0.07);
    border: 1px solid rgba(255,178,50,0.18);
    border-radius: 10px;
    padding: 12px 14px;
    margin-top: 16px;
}
.tour-schedule-note i { font-size: 14px; color: #f5a623; flex-shrink: 0; margin-top: 1px; }
.tour-schedule-note span { font-size: 11px; color: var(--buyer-text-muted, #8a95a7); line-height: 1.6; }

/* ─────────────────────────────────────────────────────────────────────
   CONFIRMATION
   ───────────────────────────────────────────────────────────────────── */
.tour-confirm-wrap {
    max-width: 480px;
    margin: 0 auto;
    padding-top: 60px;
    padding-bottom: 60px;
}
.tour-confirm-card {
    background: rgb(22 32 50 / 16%);
    border: 1px solid rgba(255,255,255,0.09);
    border-radius: 20px;
    padding: 36px 28px 28px;
    text-align: center;
}

/* Clock icon circle */
.tour-confirm-icon-wrap {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: transparent;
    border: 1px solid rgba(255,255,255,0.18);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 22px;
    color: var(--buyer-text-muted, #8a95a7);
}

.tour-confirm-title {
    font-size: 22px;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 6px;
}
.tour-confirm-subtitle {
    font-size: 13px;
    color: var(--buyer-text-muted, #8a95a7);
    margin: 0 0 14px;
}

img.tour-confirm-icon {
    height: 16px;
    width: 16px;
}

/* Amber status badge */
.tour-confirm-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 16px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    background: transparent;
    border: 1px solid #d7b29d;
    color: #d7b29d;
    margin-bottom: 22px;
}
.tour-confirm-badge i { font-size: 10px; }

/* Details — bordered box */
.tour-confirm-details {
    text-align: left;
    border: 1px solid rgba(255,255,255,0.09);
    border-radius: 12px;
    padding: 4px 16px;
    margin-bottom: 14px;
    background: rgba(255,255,255,0.02);
}
.tour-confirm-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 11px 0;
    border-bottom: 1px solid rgba(255,255,255,0.06);
    gap: 16px;
}
.tour-confirm-row:last-child { border-bottom: none; }
.tour-confirm-row-label {
    font-size: 12px;
    color: var(--buyer-text-muted, #8a95a7);
    flex-shrink: 0;
}
.tour-confirm-row-value {
    font-size: 12px;
    font-weight: 600;
    color: #ffffff;
    text-align: right;
    display: flex;
    align-items: center;
    gap: 5px;
}
.tour-confirm-row-value i { font-size: 12px; color: var(--buyer-text-muted, #8a95a7); }
.tour-confirm-row-value .signed { color: #48c878; }

.tour-confirm-alert {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.09);
    border-radius: 10px;
    padding: 13px 14px;
    text-align: left;
    margin-bottom: 14px;
}
.tour-confirm-alert i { font-size: 14px; color: var(--buyer-text-muted, #8a95a7); flex-shrink: 0; margin-top: 2px; }
.tour-confirm-alert span { font-size: 12px; color: var(--buyer-text-muted, #8a95a7); line-height: 1.65; }
.tour-confirm-reminder {
    font-size: 12px;
    color: var(--buyer-text-muted, #8a95a7);
    text-align: center;
    margin: 0 0 18px;
}

/* Confirmation page — duo + full-width buttons */
.tour-actions-duo {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 10px;
}
.tour-duo-btn {
    padding: 13px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 600;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.13);
    color: #ffffff;
    cursor: pointer;
    font-family: inherit;
    transition: background 0.18s;
}
.tour-duo-btn:hover { background: rgba(255,255,255,0.08); }
.tour-full-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    padding: 14px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 700;
    background: var(--buyer-accent, #d7b29d);
    border: none;
    color: #121821;
    text-decoration: none;
    cursor: pointer;
    font-family: inherit;
    transition: opacity 0.18s;
    box-sizing: border-box;
}
.tour-full-btn:hover { opacity: 0.88; color: #121821; }

/* ─────────────────────────────────────────────────────────────────────
   ACTION BUTTONS
   ───────────────────────────────────────────────────────────────────── */
.tour-actions {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 24px;
}
.tour-back-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 11px 20px;
    border-radius: 10px;
    font-size: 12px;
    font-weight: 700;
    background: #D7B29D;
    border: 1px solid rgba(215,178,157,0.25);
    color: #000000;
    text-decoration: none;
    cursor: pointer;
    font-family: inherit;
    transition: background 0.18s;
    flex-shrink: 0;
}
.tour-back-btn:hover { background: rgba(215,178,157,0.16); color: var(--buyer-accent, #d7b29d); }

.tour-primary-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 13px 20px;
    border-radius: 10px;
    font-size: 13px;
    font-weight: 700;
    background: var(--buyer-accent, #d7b29d);
    border: 1px solid var(--buyer-accent, #d7b29d);
    color: #121821;
    text-decoration: none;
    cursor: pointer;
    font-family: inherit;
    transition: opacity 0.18s;
}
.tour-primary-btn:hover { opacity: 0.88; color: #121821; }


/* ─────────────────────────────────────────────────────────────────────
   TOAST NOTIFICATION
   ───────────────────────────────────────────────────────────────────── */
.tour-toast {
    position: fixed;
    bottom: 28px;
    right: 28px;
    display: flex;
    align-items: flex-start;
    gap: 10px;
    background: rgb(22 32 50 / 95%);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    padding: 14px 16px;
    max-width: 280px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.4);
    animation: toastIn 0.3s ease;
    z-index: 999;
}
.tour-toast i { font-size: 14px; color: var(--buyer-accent, #d7b29d); flex-shrink: 0; margin-top: 1px; }
.tour-toast span { font-size: 12px; color: var(--buyer-text-muted, #8a95a7); line-height: 1.5; }
@keyframes toastIn {
    from { opacity: 0; transform: translateY(12px); }
    to   { opacity: 1; transform: translateY(0); }
}

/* ─────────────────────────────────────────────────────────────────────
   FORM — submit disabled state, error alert, booked dot
   ───────────────────────────────────────────────────────────────────── */
.sch-submit-btn:disabled {
    opacity: 0.38;
    cursor: not-allowed;
    pointer-events: none;
}
.tour-error-alert {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    background: rgba(220,80,80,0.1);
    border: 1px solid rgba(220,80,80,0.3);
    border-radius: 10px;
    padding: 12px 14px;
    margin-bottom: 20px;
    font-size: 13px;
    color: #f08080;
}
.tour-error-alert i { flex-shrink: 0; margin-top: 1px; }

/* ── Already-signed confirmation banner ─────────────────────────────── */
.tour-signed-banner {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 10px;
    padding: 12px 16px;
    margin-top: 16px;
    font-size: 13px;
    color: #6ee7b7;
}
.tour-signed-banner i {
    font-size: 18px;
    flex-shrink: 0;
    color: #34d399;
}
.sch-cal-cell { position: relative; }
.sch-booked-dot {
    position: absolute;
    bottom: 3px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #f08080;
    display: block;
}

/* Confirmed badge variant */
.tour-confirm-badge-success {
    border-color: #5ee0a0;
    color: #5ee0a0;
}

/* Actions-duo — cancel form inline */
.tour-actions-duo {
    display: flex;
    gap: 10px;
    margin-bottom: 12px;
    width: 100%;
}
}
