/* =============================================
   BookingKahwin - Main Stylesheet
   Design: Luxury Editorial x Modern Marketplace
   ============================================= */

:root {
  --bk-primary: #1a3c5e;
  --bk-primary-light: #2a5580;
  --bk-primary-dark: #0f2438;
  --bk-gold: #c9973a;
  --bk-gold-light: #e8b84b;
  --bk-rose: #d4546a;
  --bk-cream: #fdf8f3;
  --bk-dark: #1a1a2e;
  --bk-gray: #6b7280;
  --bk-light-gray: #f4f6f9;
  --bk-border: #e8ecf0;
  --bk-white: #ffffff;
  --bk-text: #2d3748;
  --bk-text-light: #718096;
  --bk-radius: 12px;
  --bk-radius-sm: 8px;
  --bk-radius-lg: 20px;
  --bk-shadow: 0 4px 20px rgba(26, 60, 94, 0.08);
  --bk-shadow-md: 0 8px 32px rgba(26, 60, 94, 0.12);
  --bk-shadow-lg: 0 20px 60px rgba(26, 60, 94, 0.15);
  --bk-transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* { box-sizing: border-box; }

body {
  font-family: 'DM Sans', system-ui, sans-serif;
  color: var(--bk-text);
  background: var(--bk-white);
  font-size: 15px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, h5, .display-font {
  font-family: 'Playfair Display', Georgia, serif;
  line-height: 1.2;
}

a {
  color: var(--bk-primary);
  text-decoration: none;
  transition: var(--bk-transition);
}
a:hover { color: var(--bk-gold); }

.fw-500 { font-weight: 500; }
.fw-600 { font-weight: 600; }
.x-small { font-size: 0.75rem; }

/* ==================== NAVBAR ==================== */
.bk-navbar {
  background: var(--bk-white);
  border-bottom: 1px solid var(--bk-border);
  box-shadow: 0 2px 12px rgba(0,0,0,0.06);
  padding: 0.75rem 0;
  z-index: 1030;
}

.brand-logo {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--bk-primary) !important;
  letter-spacing: -0.02em;
}

.brand-logo span.gold { color: var(--bk-gold); }

.bk-navbar .nav-link {
  color: var(--bk-text) !important;
  font-weight: 500;
  padding: 0.5rem 0.85rem !important;
  font-size: 0.9rem;
  border-radius: var(--bk-radius-sm);
  transition: var(--bk-transition);
}
.bk-navbar .nav-link:hover {
  color: var(--bk-primary) !important;
  background: var(--bk-light-gray);
}

.bk-btn-primary {
  background: var(--bk-primary);
  color: white !important;
  border: none;
  font-weight: 500;
  border-radius: var(--bk-radius-sm);
  transition: var(--bk-transition);
}
.bk-btn-primary:hover {
  background: var(--bk-gold);
  transform: translateY(-1px);
  box-shadow: 0 4px 12px rgba(201, 151, 58, 0.3);
}

.bk-btn-gold {
  background: var(--bk-gold);
  color: white !important;
  border: none;
  font-weight: 600;
  border-radius: var(--bk-radius-sm);
  padding: 0.65rem 1.5rem;
  transition: var(--bk-transition);
}
.bk-btn-gold:hover {
  background: var(--bk-gold-light);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(201, 151, 58, 0.4);
  color: white !important;
}

.bk-user-btn {
  background: var(--bk-light-gray);
  border: 1px solid var(--bk-border);
  color: var(--bk-text) !important;
  border-radius: 100px;
  padding: 0.35rem 1rem 0.35rem 0.5rem;
  font-size: 0.875rem;
  font-weight: 500;
}

.user-avatar-initials {
  width: 30px; height: 30px;
  background: var(--bk-primary);
  color: white;
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.75rem; font-weight: 700;
}

.notif-badge {
  position: absolute; top: -4px; right: -4px;
  background: var(--bk-rose); color: white;
  font-size: 0.6rem; font-weight: 700;
  min-width: 16px; height: 16px;
  border-radius: 50%; display: flex;
  align-items: center; justify-content: center;
  border: 2px solid white;
}

.notif-icon {
  width: 32px; height: 32px;
  background: var(--bk-light-gray);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--bk-primary); flex-shrink: 0;
}

/* ==================== HERO ==================== */
.bk-hero {
  background: linear-gradient(135deg, var(--bk-primary-dark) 0%, var(--bk-primary) 60%, var(--bk-primary-light) 100%);
  min-height: 580px;
  display: flex; align-items: center;
  position: relative; overflow: hidden;
  padding: 80px 0;
}

.bk-hero::before {
  content: '';
  position: absolute; inset: 0;
  background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.03'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
}

.bk-hero-title {
  font-size: clamp(2rem, 5vw, 3.5rem);
  color: white;
  font-weight: 700;
  line-height: 1.1;
  text-shadow: 0 2px 20px rgba(0,0,0,0.2);
}
.bk-hero-title .gold-text { color: var(--bk-gold-light); }

.bk-hero-subtitle {
  color: rgba(255,255,255,0.8);
  font-size: 1.05rem;
  margin: 1rem 0 2rem;
}

/* Search Box */
.bk-search-box {
  background: white;
  border-radius: var(--bk-radius);
  padding: 0.5rem;
  box-shadow: var(--bk-shadow-lg);
  display: flex; flex-wrap: wrap; gap: 0.5rem;
  align-items: center;
}

.bk-search-box .search-field {
  flex: 1; min-width: 180px;
  display: flex; align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-right: 1px solid var(--bk-border);
}

.bk-search-box .search-field:last-of-type { border-right: none; }

.bk-search-box input, .bk-search-box select {
  border: none; outline: none;
  font-family: inherit; font-size: 0.9rem;
  color: var(--bk-text); flex: 1; background: transparent;
}

.bk-search-box .bi { color: var(--bk-primary); font-size: 1rem; }

/* ==================== STATS BAR ==================== */
.bk-stats-bar {
  background: var(--bk-cream);
  padding: 2.5rem 0;
  border-bottom: 1px solid var(--bk-border);
}

.stat-item { text-align: center; }
.stat-number {
  font-family: 'Playfair Display', serif;
  font-size: 2rem; font-weight: 700;
  color: var(--bk-primary);
}
.stat-label { color: var(--bk-gray); font-size: 0.85rem; font-weight: 500; }

/* ==================== SECTION HEADERS ==================== */
.section-label {
  display: inline-block;
  background: rgba(26, 60, 94, 0.08);
  color: var(--bk-primary);
  font-size: 0.75rem; font-weight: 700;
  letter-spacing: 0.12em; text-transform: uppercase;
  padding: 0.35rem 0.85rem; border-radius: 100px;
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  color: var(--bk-dark);
  margin-bottom: 0.5rem;
}

.section-title .accent { color: var(--bk-gold); }

/* ==================== CATEGORY CARDS ==================== */
.bk-categories { padding: 5rem 0; background: var(--bk-white); }

.category-card {
  display: flex; flex-direction: column;
  align-items: center; text-align: center;
  padding: 1.5rem 1rem;
  border-radius: var(--bk-radius);
  border: 1px solid var(--bk-border);
  cursor: pointer; transition: var(--bk-transition);
  background: white; text-decoration: none !important;
}

.category-card:hover {
  border-color: var(--bk-primary);
  box-shadow: var(--bk-shadow-md);
  transform: translateY(-4px);
}

.category-icon {
  width: 64px; height: 64px;
  background: linear-gradient(135deg, rgba(26,60,94,0.08), rgba(201,151,58,0.1));
  border-radius: 16px;
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 0.85rem;
  font-size: 1.6rem; color: var(--bk-primary);
  transition: var(--bk-transition);
}
.category-card:hover .category-icon {
  background: var(--bk-primary);
  color: white;
  transform: scale(1.05);
}
.category-name { font-weight: 600; color: var(--bk-text); font-size: 0.875rem; margin: 0; }

/* ==================== SERVICE CARDS ==================== */
.bk-services-section { padding: 5rem 0; background: var(--bk-light-gray); }

.service-card {
  background: white;
  border-radius: var(--bk-radius);
  overflow: hidden;
  border: 1px solid var(--bk-border);
  transition: var(--bk-transition);
  height: 100%;
  display: flex; flex-direction: column;
}

.service-card:hover {
  transform: translateY(-6px);
  box-shadow: var(--bk-shadow-lg);
  border-color: transparent;
}

.service-card-img {
  position: relative; overflow: hidden;
  height: 220px;
}

.service-card-img img {
  width: 100%; height: 100%;
  object-fit: cover; transition: transform 0.5s ease;
}
.service-card:hover .service-card-img img { transform: scale(1.06); }

.service-badge {
  position: absolute; top: 10px; left: 10px;
  background: var(--bk-gold);
  color: white; font-size: 0.7rem; font-weight: 700;
  padding: 0.2rem 0.6rem; border-radius: 100px;
  text-transform: uppercase; letter-spacing: 0.05em;
}

.featured-badge {
  position: absolute; top: 10px; right: 10px;
  background: var(--bk-primary);
  color: white; font-size: 0.7rem;
  padding: 0.2rem 0.5rem; border-radius: 100px;
}

.service-card-body {
  padding: 1.25rem; flex: 1;
  display: flex; flex-direction: column;
}

.vendor-name {
  font-size: 0.78rem; color: var(--bk-gray);
  font-weight: 500; margin-bottom: 0.3rem;
}

.service-title {
  font-size: 1rem; font-weight: 600;
  color: var(--bk-dark); line-height: 1.3;
  margin-bottom: 0.5rem;
  display: -webkit-box; -webkit-line-clamp: 2;
  -webkit-box-orient: vertical; overflow: hidden;
}

.service-location {
  font-size: 0.8rem; color: var(--bk-gray);
  margin-bottom: 0.75rem;
}

.service-rating {
  display: flex; align-items: center;
  gap: 0.35rem; font-size: 0.82rem;
}

.service-price-row {
  display: flex; align-items: center;
  justify-content: space-between;
  margin-top: auto; padding-top: 1rem;
  border-top: 1px solid var(--bk-border);
}

.price-label { font-size: 0.7rem; color: var(--bk-gray); }
.price-value {
  font-size: 1.1rem; font-weight: 700;
  color: var(--bk-primary);
  font-family: 'Playfair Display', serif;
}
.price-unit { font-size: 0.72rem; color: var(--bk-gray); }

/* ==================== SERVICE DETAIL ==================== */
.service-gallery-main {
  border-radius: var(--bk-radius); overflow: hidden;
  height: 420px;
}
.service-gallery-main img {
  width: 100%; height: 100%; object-fit: cover;
}

.gallery-thumb {
  width: 80px; height: 60px;
  border-radius: var(--bk-radius-sm); overflow: hidden;
  cursor: pointer; border: 2px solid transparent;
  transition: var(--bk-transition);
}
.gallery-thumb.active { border-color: var(--bk-primary); }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }

.package-card {
  border: 2px solid var(--bk-border);
  border-radius: var(--bk-radius);
  padding: 1.5rem;
  cursor: pointer; transition: var(--bk-transition);
  position: relative;
}
.package-card:hover, .package-card.selected {
  border-color: var(--bk-primary);
  box-shadow: 0 0 0 4px rgba(26,60,94,0.06);
}
.package-card.selected { background: rgba(26,60,94,0.02); }
.package-badge {
  position: absolute; top: -10px; left: 50%; transform: translateX(-50%);
  background: var(--bk-gold);
  color: white; font-size: 0.7rem; font-weight: 700;
  padding: 0.15rem 0.75rem; border-radius: 100px;
  white-space: nowrap;
}

.addon-check {
  display: flex; align-items: center; gap: 0.75rem;
  padding: 0.75rem 1rem;
  border: 1px solid var(--bk-border);
  border-radius: var(--bk-radius-sm);
  cursor: pointer; transition: var(--bk-transition);
  margin-bottom: 0.5rem;
}
.addon-check:hover { border-color: var(--bk-primary); background: rgba(26,60,94,0.02); }
.addon-check.checked { border-color: var(--bk-primary); background: rgba(26,60,94,0.04); }

/* ==================== BOOKING SUMMARY ==================== */
.booking-summary-card {
  background: white;
  border: 1px solid var(--bk-border);
  border-radius: var(--bk-radius);
  padding: 1.5rem;
  position: sticky; top: 85px;
}

.summary-row {
  display: flex; justify-content: space-between;
  align-items: center; padding: 0.5rem 0;
  font-size: 0.9rem;
}
.summary-row.total {
  border-top: 2px solid var(--bk-border);
  margin-top: 0.5rem; padding-top: 1rem;
  font-weight: 700; font-size: 1rem;
}

/* ==================== CHECKOUT PAGE ==================== */
.checkout-step {
  display: flex; align-items: center;
  gap: 0.75rem; margin-bottom: 1.5rem;
}
.step-num {
  width: 32px; height: 32px;
  background: var(--bk-primary); color: white;
  border-radius: 50%; display: flex;
  align-items: center; justify-content: center;
  font-size: 0.8rem; font-weight: 700; flex-shrink: 0;
}
.step-label { font-weight: 600; }

/* ==================== DASHBOARD ==================== */
.bk-sidebar {
  width: 260px; flex-shrink: 0;
  background: var(--bk-primary-dark);
  min-height: 100vh; padding: 1.5rem 0;
  position: sticky; top: 0;
}

.sidebar-brand {
  padding: 0 1.5rem 1.5rem;
  border-bottom: 1px solid rgba(255,255,255,0.1);
  margin-bottom: 1rem;
}

.sidebar-nav-item {
  display: flex; align-items: center;
  gap: 0.75rem; padding: 0.75rem 1.5rem;
  color: rgba(255,255,255,0.7) !important;
  font-size: 0.9rem; font-weight: 500;
  text-decoration: none; border-left: 3px solid transparent;
  transition: var(--bk-transition);
}
.sidebar-nav-item:hover {
  background: rgba(255,255,255,0.06);
  color: white !important;
}
.sidebar-nav-item.active {
  background: rgba(255,255,255,0.1);
  color: white !important;
  border-left-color: var(--bk-gold);
}
.sidebar-nav-item .bi { font-size: 1rem; }

.dashboard-main { flex: 1; min-width: 0; padding: 2rem; background: var(--bk-light-gray); min-height: 100vh; }

.dashboard-layout { display: flex; }

.stat-card {
  background: white; border-radius: var(--bk-radius);
  padding: 1.5rem; border: 1px solid var(--bk-border);
  transition: var(--bk-transition);
}
.stat-card:hover { box-shadow: var(--bk-shadow-md); transform: translateY(-2px); }

.stat-card-icon {
  width: 48px; height: 48px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.3rem; margin-bottom: 1rem;
}

.stat-card-value {
  font-family: 'Playfair Display', serif;
  font-size: 1.8rem; font-weight: 700;
  color: var(--bk-dark); line-height: 1;
}
.stat-card-label { color: var(--bk-gray); font-size: 0.82rem; font-weight: 500; margin-top: 0.25rem; }

/* Status badges */
.status-badge {
  display: inline-flex; align-items: center;
  gap: 0.35rem; font-size: 0.75rem; font-weight: 600;
  padding: 0.25rem 0.65rem; border-radius: 100px;
  text-transform: capitalize;
}
.status-pending { background: #fff3cd; color: #856404; }
.status-confirmed { background: #cfe2ff; color: #084298; }
.status-deposit_paid { background: #d1ecf1; color: #0c5460; }
.status-fully_paid { background: #d4edda; color: #155724; }
.status-completed { background: #d4edda; color: #155724; }
.status-cancelled { background: #f8d7da; color: #721c24; }
.status-rejected { background: #f8d7da; color: #721c24; }
.status-disputed { background: #ffeaa7; color: #856404; }
.status-approved { background: #d4edda; color: #155724; }

/* ==================== CHAT ==================== */
.chat-layout { display: flex; height: calc(100vh - 72px); overflow: hidden; }

.chat-sidebar {
  width: 300px; flex-shrink: 0;
  border-right: 1px solid var(--bk-border);
  overflow-y: auto; background: white;
}

.chat-main { flex: 1; display: flex; flex-direction: column; overflow: hidden; }

.chat-header {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--bk-border);
  background: white; display: flex;
  align-items: center; gap: 0.75rem;
}

.chat-messages {
  flex: 1; overflow-y: auto; padding: 1rem 1.25rem;
  background: var(--bk-light-gray);
  display: flex; flex-direction: column; gap: 0.5rem;
}

.chat-input-area {
  border-top: 1px solid var(--bk-border);
  padding: 0.85rem 1.25rem; background: white;
  display: flex; gap: 0.5rem; align-items: flex-end;
}

.msg-bubble {
  max-width: 68%; padding: 0.65rem 1rem;
  border-radius: 16px; font-size: 0.9rem;
  line-height: 1.5; position: relative;
}
.msg-bubble.mine {
  background: var(--bk-primary); color: white;
  border-bottom-right-radius: 4px; align-self: flex-end;
}
.msg-bubble.theirs {
  background: white; color: var(--bk-text);
  border: 1px solid var(--bk-border);
  border-bottom-left-radius: 4px; align-self: flex-start;
}
.msg-time { font-size: 0.68rem; opacity: 0.6; margin-top: 0.25rem; }

.conv-item {
  display: flex; align-items: center; gap: 0.75rem;
  padding: 0.85rem 1rem; cursor: pointer;
  transition: var(--bk-transition); border-bottom: 1px solid var(--bk-border);
  text-decoration: none; color: var(--bk-text) !important;
}
.conv-item:hover { background: var(--bk-light-gray); }
.conv-item.active { background: rgba(26,60,94,0.06); }

/* ==================== FORMS ==================== */
.bk-form-label {
  font-size: 0.85rem; font-weight: 600;
  color: var(--bk-text); margin-bottom: 0.4rem;
}

.form-control, .form-select {
  border: 1.5px solid var(--bk-border);
  border-radius: var(--bk-radius-sm);
  padding: 0.65rem 0.9rem;
  font-family: inherit; font-size: 0.9rem;
  color: var(--bk-text); transition: var(--bk-transition);
}
.form-control:focus, .form-select:focus {
  border-color: var(--bk-primary);
  box-shadow: 0 0 0 3px rgba(26,60,94,0.1);
  outline: none;
}

.input-icon { position: relative; }
.input-icon .bi {
  position: absolute; left: 0.9rem; top: 50%;
  transform: translateY(-50%);
  color: var(--bk-gray); font-size: 0.95rem;
}
.input-icon .form-control { padding-left: 2.5rem; }

/* ==================== REVIEW STARS ==================== */
.star-rating { display: flex; flex-direction: row-reverse; gap: 0.2rem; }
.star-rating input { display: none; }
.star-rating label {
  font-size: 1.5rem; cursor: pointer;
  color: #ddd; transition: color 0.15s;
}
.star-rating label:hover,
.star-rating label:hover ~ label,
.star-rating input:checked ~ label { color: #f59e0b; }

/* ==================== ADMIN TABLE ==================== */
.admin-table {
  background: white; border-radius: var(--bk-radius);
  border: 1px solid var(--bk-border); overflow: hidden;
}

.admin-table table { margin: 0; }
.admin-table thead th {
  background: var(--bk-light-gray);
  font-size: 0.78rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.05em;
  color: var(--bk-gray); border-bottom: 1px solid var(--bk-border);
  padding: 0.85rem 1rem;
}
.admin-table tbody td { padding: 0.85rem 1rem; vertical-align: middle; font-size: 0.875rem; }
.admin-table tbody tr { border-bottom: 1px solid var(--bk-border); transition: background 0.15s; }
.admin-table tbody tr:hover { background: var(--bk-light-gray); }
.admin-table tbody tr:last-child { border-bottom: none; }

/* ==================== FOOTER ==================== */
.bk-footer {
  background: var(--bk-primary-dark);
  color: rgba(255,255,255,0.7);
}
.bk-footer h5, .bk-footer h6 { color: white; }
.bk-footer a { color: rgba(255,255,255,0.6); font-size: 0.875rem; display: block; margin-bottom: 0.4rem; }
.bk-footer a:hover { color: var(--bk-gold-light); }
.social-icon {
  width: 36px; height: 36px;
  background: rgba(255,255,255,0.1);
  border-radius: 50%; display: flex;
  align-items: center; justify-content: center;
  color: white !important; font-size: 0.9rem;
  transition: var(--bk-transition);
}
.social-icon:hover { background: var(--bk-gold); color: white !important; }

/* ==================== AUTH PAGES ==================== */
.auth-page {
  min-height: 100vh; display: flex;
  align-items: center; justify-content: center;
  background: linear-gradient(135deg, var(--bk-primary-dark) 0%, var(--bk-primary) 100%);
  padding: 2rem;
}

.auth-card {
  background: white; border-radius: var(--bk-radius-lg);
  padding: 2.5rem; width: 100%; max-width: 480px;
  box-shadow: var(--bk-shadow-lg);
}

/* ==================== UTILITY ==================== */
.bg-cream { background: var(--bk-cream); }
.text-gold { color: var(--bk-gold); }
.text-primary-bk { color: var(--bk-primary); }
.border-gold { border-color: var(--bk-gold) !important; }

.bk-card {
  background: white; border-radius: var(--bk-radius);
  border: 1px solid var(--bk-border); overflow: hidden;
}

.page-header {
  background: var(--bk-primary);
  padding: 3rem 0; color: white;
}
.page-header h1 { font-size: 2rem; margin: 0; color: white; }
.page-header .breadcrumb-item { color: rgba(255,255,255,0.7); font-size: 0.85rem; }
.page-header .breadcrumb-item a { color: rgba(255,255,255,0.7); }
.page-header .breadcrumb-item.active { color: white; }
.page-header .breadcrumb-divider { color: rgba(255,255,255,0.5); }

/* ==================== WHATSAPP BUTTON ==================== */
.whatsapp-btn {
  background: #25D366; color: white !important;
  border-radius: var(--bk-radius-sm);
  padding: 0.65rem 1.25rem;
  font-weight: 600; display: inline-flex;
  align-items: center; gap: 0.5rem;
  transition: var(--bk-transition); border: none;
}
.whatsapp-btn:hover {
  background: #128C7E; color: white !important;
  transform: translateY(-1px);
}

/* ==================== RESPONSIVE ==================== */
@media (max-width: 991px) {
  .bk-sidebar { display: none; }
  .dashboard-main { padding: 1rem; }
  .dashboard-layout { flex-direction: column; }
  .bk-search-box .search-field { border-right: none; border-bottom: 1px solid var(--bk-border); }
  .bk-search-box .search-field:last-of-type { border-bottom: none; }
  .chat-layout { flex-direction: column; }
  .chat-sidebar { width: 100%; height: 200px; border-right: none; border-bottom: 1px solid var(--bk-border); }
}

@media (max-width: 768px) {
  .bk-hero { min-height: 400px; padding: 50px 0; }
  .service-card-img { height: 180px; }
  .service-gallery-main { height: 260px; }
}

/* ==================== ANIMATIONS ==================== */
@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-in { animation: fadeInUp 0.5s ease forwards; }
.animate-delay-1 { animation-delay: 0.1s; }
.animate-delay-2 { animation-delay: 0.2s; }
.animate-delay-3 { animation-delay: 0.3s; }

/* Skeleton loading */
.skeleton {
  background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
  background-size: 200% 100%;
  animation: skeleton-loading 1.5s infinite;
  border-radius: 4px;
}
@keyframes skeleton-loading {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* Chart area */
.chart-container { position: relative; height: 250px; }

/* Mobile bottom nav (client/vendor) */
.mobile-bottom-nav {
  display: none;
  position: fixed; bottom: 0; left: 0; right: 0;
  background: white; border-top: 1px solid var(--bk-border);
  z-index: 1000; padding: 0.5rem 0;
}
@media (max-width: 991px) {
  .mobile-bottom-nav { display: flex; justify-content: space-around; }
}
.mobile-nav-item {
  display: flex; flex-direction: column; align-items: center;
  gap: 0.2rem; color: var(--bk-gray) !important;
  font-size: 0.65rem; font-weight: 500; text-decoration: none;
  padding: 0.3rem 0.75rem;
}
.mobile-nav-item.active { color: var(--bk-primary) !important; }
.mobile-nav-item .bi { font-size: 1.25rem; }
