﻿/* ============================================
   Booking Details â€” Safari Vents Compact
   Luxury Light Theme
   Canvas: #F5EFE6 Â· Surfaces: #ffffff Â· Accent: #DD7A28
   ============================================ */

/* â”€â”€ Page Shell â”€â”€ */
.bkd {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    -webkit-font-smoothing: antialiased;
    color: #18181b;
    background: #F5EFE6;
    min-height: 100vh;
    padding: 1.5rem clamp(1.25rem, 2.5vw, 2.5rem);
}

/* â”€â”€ Page Header â”€â”€ */
.bkd-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    background: #ffffff;
    border: 1px solid #e8e2d8;
    border-radius: 16px;
    padding: 1.25rem 1.75rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}
.bkd-header-left { display: flex; flex-direction: column; gap: 0.25rem; }
.bkd-ref {
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: -0.025em;
    color: #18181b;
    font-family: 'SF Mono', 'Fira Code', monospace;
}
.bkd-date {
    font-size: 0.82rem;
    color: #6b7280;
}
.bkd-status {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 0.25rem 0.6rem;
    border-radius: 6px;
    margin-top: 0.35rem;
    width: fit-content;
}
.bkd-status-ok { background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0; }
.bkd-status-warn { background: #fffbeb; color: #b45309; border: 1px solid #fde68a; }
.bkd-status-muted { background: #f3f4f6; color: #6b7280; border: 1px solid #e5e7eb; }
.bkd-header-right { display: flex; gap: 0.65rem; }

/* â”€â”€ Buttons â”€â”€ */
.bkd-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.82rem;
    font-weight: 700;
    padding: 0.55rem 1rem;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
    white-space: nowrap;
}
.bkd-btn-primary { background: #DD7A28; color: #fff; box-shadow: 0 2px 8px rgba(184, 109, 38, 0.25); }
.bkd-btn-primary:hover { background: #c56820; color: #fff; text-decoration: none; }
.bkd-btn-outline { background: #faf7f2; color: #18181b; border: 1px solid #e8e2d8; }
.bkd-btn-outline:hover { border-color: #DD7A28; color: #DD7A28; text-decoration: none; background: #ffffff; }
.bkd-btn-danger { background: #fef2f2; color: #dc2626; border: 1px solid #fecaca; }
.bkd-btn-danger:hover { background: #dc2626; color: #fff; text-decoration: none; }
.bkd-btn-teal { background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0; }
.bkd-btn-teal:hover { background: #10b981; color: #fff; text-decoration: none; }

/* â”€â”€ Cards â”€â”€ */
.bkd-card {
    background: #ffffff;
    border: 1px solid #e8e2d8;
    border-radius: 16px;
    overflow: hidden;
    margin-bottom: 1.25rem;
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.04);
}
.bkd-card-head {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid #e8e2d8;
    background: #faf7f2;
}
.bkd-card-title {
    font-size: 0.88rem;
    font-weight: 800;
    color: #18181b;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0;
}
.bkd-card-title i { color: #DD7A28; font-size: 0.95rem; }
.bkd-card-body { padding: 1.25rem; }

/* â”€â”€ Timeline â”€â”€ */
.bkd-timeline { position: relative; padding-left: 1.75rem; }
.bkd-tl-item { position: relative; padding-bottom: 1.25rem; }
.bkd-tl-item:last-child { padding-bottom: 0; }
.bkd-tl-item::before {
    content: '';
    position: absolute;
    left: -1.25rem;
    top: 1.5rem;
    width: 2px;
    height: calc(100% - 0.5rem);
    background: #e8e2d8;
}
.bkd-tl-item:last-child::before { display: none; }
.bkd-tl-item.done::before { background: #10b981; }
.bkd-tl-item.active::before { background: linear-gradient(to bottom, #10b981 0%, #e8e2d8 100%); }
.bkd-tl-dot {
    position: absolute;
    left: -1.75rem;
    top: 0.15rem;
    width: 1.4rem;
    height: 1.4rem;
    border-radius: 50%;
    background: #ffffff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.68rem;
    border: 2px solid #e8e2d8;
    color: #9ca3af;
}
.bkd-tl-item.done .bkd-tl-dot { background: #10b981; color: #fff; border-color: #10b981; }
.bkd-tl-item.active .bkd-tl-dot { background: #DD7A28; color: #fff; border-color: #DD7A28; animation: bkd-pulse 2s infinite; }
@keyframes bkd-pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(184, 109, 38, 0.4); }
    50% { box-shadow: 0 0 0 8px rgba(184, 109, 38, 0); }
}
.bkd-tl-label {
    font-size: 0.85rem;
    font-weight: 700;
    color: #18181b;
}
.bkd-tl-time {
    font-size: 0.72rem;
    color: #6b7280;
    margin-top: 0.15rem;
}

/* â”€â”€ Hotel Info Row â”€â”€ */
.bkd-hotel {
    display: flex;
    gap: 1.15rem;
    align-items: flex-start;
}
.bkd-hotel-img {
    width: 120px;
    height: 85px;
    border-radius: 12px;
    object-fit: cover;
    flex-shrink: 0;
}
.bkd-hotel-name {
    font-size: 0.95rem;
    font-weight: 800;
    color: #18181b;
    margin-bottom: 0.35rem;
}
.bkd-hotel-meta {
    font-size: 0.78rem;
    color: #6b7280;
    display: flex;
    align-items: center;
    gap: 0.35rem;
    margin-bottom: 0.2rem;
}
.bkd-hotel-meta i { color: #DD7A28; font-size: 0.75rem; }
.bkd-hotel-actions { display: flex; gap: 0.5rem; margin-top: 0.75rem; }

/* â”€â”€ Detail Grid â”€â”€ */
.bkd-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 0.85rem;
}
.bkd-detail-label {
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #6b7280;
    margin-bottom: 0.25rem;
}
.bkd-detail-value {
    font-size: 0.88rem;
    font-weight: 700;
    color: #18181b;
    display: flex;
    align-items: center;
    gap: 0.35rem;
}
.bkd-detail-value i { color: #DD7A28; font-size: 0.82rem; }
.bkd-detail-value strong { color: #10b981; }

/* â”€â”€ Special Requests â”€â”€ */
.bkd-note {
    background: #faf7f2;
    border: 1px solid #e8e2d8;
    border-radius: 12px;
    padding: 0.85rem 1rem;
    margin-top: 1rem;
}
.bkd-note-label {
    font-size: 0.68rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #DD7A28;
    margin-bottom: 0.35rem;
}
.bkd-note-text {
    font-size: 0.82rem;
    color: #374151;
    line-height: 1.5;
}

/* â”€â”€ Manage Actions Grid â”€â”€ */
.bkd-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}
.bkd-actions .bkd-btn { justify-content: center; width: 100%; }

/* â”€â”€ Payment Summary â”€â”€ */
.bkd-pay-row {
    display: flex;
    justify-content: space-between;
    padding: 0.45rem 0;
    font-size: 0.82rem;
    color: #6b7280;
}
.bkd-pay-row span:last-child { color: #18181b; font-weight: 600; }
.bkd-pay-divider {
    border: none;
    border-top: 1px solid #e8e2d8;
    margin: 0.5rem 0;
}
.bkd-pay-total {
    display: flex;
    justify-content: space-between;
    font-size: 0.95rem;
    font-weight: 800;
    color: #18181b;
}
.bkd-pay-total .bkd-total-amount { color: #DD7A28; }
.bkd-paid-badge {
    display: flex;
    align-items: center;
    gap: 0.35rem;
    background: #ecfdf5;
    border: 1px solid #a7f3d0;
    border-radius: 8px;
    padding: 0.45rem 0.75rem;
    margin-top: 0.75rem;
    font-size: 0.75rem;
    color: #065f46;
    font-weight: 700;
}

/* â”€â”€ Policy Alert â”€â”€ */
.bkd-alert {
    display: flex;
    gap: 0.75rem;
    background: #faf7f2;
    border: 1px solid #e8e2d8;
    border-radius: 12px;
    padding: 0.85rem 1rem;
}
.bkd-alert-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    background: rgba(184, 109, 38, 0.12);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    color: #DD7A28;
    font-size: 0.85rem;
}
.bkd-alert-title {
    font-size: 0.78rem;
    font-weight: 800;
    color: #18181b;
    margin-bottom: 0.2rem;
}
.bkd-alert-text {
    font-size: 0.75rem;
    color: #6b7280;
    line-height: 1.5;
}

/* â”€â”€ Quick Action Stack â”€â”€ */
.bkd-qa-stack { display: flex; flex-direction: column; gap: 0.65rem; }
.bkd-qa {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    background: #ffffff;
    border: 1px solid #e8e2d8;
    border-radius: 12px;
    padding: 0.75rem 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
}
.bkd-qa:hover {
    box-shadow: 0 4px 16px rgba(184, 109, 38, 0.1);
    border-color: #DD7A28;
    text-decoration: none;
}
.bkd-qa-icon {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.88rem;
    flex-shrink: 0;
}
.bkd-qa-text { font-size: 0.82rem; font-weight: 700; flex: 1; color: #18181b; }
.bkd-qa-arrow { font-size: 0.75rem; color: #9ca3af; }
.bkd-qa:hover .bkd-qa-arrow { color: #DD7A28; }
.bkd-icon-terracotta { background: rgba(184, 109, 38, 0.12); color: #DD7A28; }
.bkd-icon-teal { background: rgba(16, 185, 129, 0.12); color: #10b981; }
.bkd-icon-bronze { background: rgba(184, 109, 38, 0.18); color: #c56820; }
.bkd-icon-charcoal { background: rgba(24, 24, 27, 0.08); color: #18181b; }

/* â”€â”€ Responsive â”€â”€ */
@media (max-width: 768px) {
    .bkd { padding: 1rem; }
    .bkd-header { flex-direction: column; align-items: flex-start; gap: 0.75rem; }
    .bkd-grid { grid-template-columns: 1fr 1fr; }
    .bkd-actions { grid-template-columns: 1fr; }
    .bkd-hotel { flex-direction: column; }
}
