/* ============================================================
   Wisdom Bridge – Dark Theme CSS  (Part 1/2)
   ============================================================ */
:root {
  --wb-bg-base:        #0d1117;
  --wb-bg-surface:     #161b22;
  --wb-bg-elevated:    #1c2333;
  --wb-bg-card:        #1e2433;
  --wb-border:         #30363d;
  --wb-border-light:   #3a4255;
  --wb-accent:         #4f8ef7;
  --wb-accent-hover:   #3a7be8;
  --wb-accent-glow:    rgba(79,142,247,0.25);
  --wb-gold:           #c9a84c;
  --wb-gold-light:     #e2be78;
  --wb-success:        #3fb950;
  --wb-warning:        #d29922;
  --wb-danger:         #f85149;
  --wb-text-primary:   #e6edf3;
  --wb-text-secondary: #8b949e;
  --wb-text-muted:     #6e7681;
  --wb-font-sans:      'Sarabun', 'Helvetica Neue', sans-serif;
  --wb-font-display:   'Mitr', 'Sarabun', sans-serif;
  --wb-radius-sm:  6px;
  --wb-radius:     10px;
  --wb-radius-lg:  16px;
  --wb-radius-xl:  24px;
  --wb-shadow:     0 4px 20px rgba(0,0,0,0.45);
  --wb-shadow-lg:  0 8px 40px rgba(0,0,0,0.6);
  --wb-transition: 0.22s ease;
}

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body { font-family: var(--wb-font-sans); background-color: var(--wb-bg-base); color: var(--wb-text-primary); line-height: 1.8; min-height: 100vh; font-size: 15px; }
a { color: var(--wb-accent); text-decoration: none; transition: color var(--wb-transition); }
a:hover { color: var(--wb-accent-hover); }
h1,h2,h3,h4,h5 { font-family: var(--wb-font-display); font-weight: 500; line-height: 1.45; }

/* ── Bootstrap Button Overrides ── */
.btn-primary { background: var(--wb-accent); border-color: var(--wb-accent); font-weight: 500; border-radius: var(--wb-radius); transition: all var(--wb-transition); }
.btn-primary:hover { background: var(--wb-accent-hover); border-color: var(--wb-accent-hover); box-shadow: 0 0 20px var(--wb-accent-glow); transform: translateY(-1px); }
.btn-primary:focus, .btn-primary:active { background: var(--wb-accent-hover); border-color: var(--wb-accent-hover); box-shadow: 0 0 0 3px var(--wb-accent-glow); }
.btn-outline-primary { color: var(--wb-accent); border-color: var(--wb-accent); border-radius: var(--wb-radius); transition: all var(--wb-transition); }
.btn-outline-primary:hover { background: var(--wb-accent); color: #fff; box-shadow: 0 0 20px var(--wb-accent-glow); }
.btn-gold { background: linear-gradient(135deg, var(--wb-gold), var(--wb-gold-light)); border: none; color: #1a1200; font-weight: 600; border-radius: var(--wb-radius); transition: all var(--wb-transition); }
.btn-gold:hover { filter: brightness(1.1); transform: translateY(-1px); box-shadow: 0 6px 24px rgba(201,168,76,0.35); color: #1a1200; }
.btn-outline-light { color: var(--wb-text-secondary); border-color: var(--wb-border); border-radius: var(--wb-radius); transition: all var(--wb-transition); }
.btn-outline-light:hover { background: var(--wb-bg-elevated); color: var(--wb-text-primary); border-color: var(--wb-border-light); }
.btn-sm { font-size: 0.82rem; padding: 0.3rem 0.75rem; }
.btn-danger { border-radius: var(--wb-radius); }
.btn-success { border-radius: var(--wb-radius); }
.btn-secondary { background: var(--wb-bg-elevated); border-color: var(--wb-border); color: var(--wb-text-secondary); border-radius: var(--wb-radius); }
.btn-secondary:hover { background: var(--wb-bg-card); color: var(--wb-text-primary); border-color: var(--wb-border-light); }

/* ── Card ── */
.card { background: var(--wb-bg-card); border: 1px solid var(--wb-border); border-radius: var(--wb-radius-lg); box-shadow: var(--wb-shadow); }
.card-header { background: var(--wb-bg-elevated); border-bottom: 1px solid var(--wb-border); border-radius: var(--wb-radius-lg) var(--wb-radius-lg) 0 0 !important; padding: 1rem 1.5rem; }
.card-body { padding: 1.5rem; }
.card-footer { background: var(--wb-bg-elevated); border-top: 1px solid var(--wb-border); padding: 1rem 1.5rem; border-radius: 0 0 var(--wb-radius-lg) var(--wb-radius-lg) !important; }

/* ── Forms ── */
.form-control, .form-select { background-color: var(--wb-bg-elevated); border: 1px solid var(--wb-border); color: var(--wb-text-primary); border-radius: var(--wb-radius); transition: border-color var(--wb-transition), box-shadow var(--wb-transition); }
.form-control:focus, .form-select:focus { background-color: var(--wb-bg-elevated); border-color: var(--wb-accent); color: var(--wb-text-primary); box-shadow: 0 0 0 3px var(--wb-accent-glow); }
.form-control::placeholder { color: var(--wb-text-muted); }
.form-label { font-weight: 500; font-size: 0.875rem; color: var(--wb-text-secondary); margin-bottom: 0.4rem; }
.form-text { color: var(--wb-text-muted); font-size: 0.8rem; }
.form-check-input { background-color: var(--wb-bg-elevated); border-color: var(--wb-border); }
.form-check-input:checked { background-color: var(--wb-accent); border-color: var(--wb-accent); }
.input-group-text { background: var(--wb-bg-elevated); border-color: var(--wb-border); color: var(--wb-text-muted); }

/* ── Dropdown ── */
.dropdown-menu { background: var(--wb-bg-elevated); border: 1px solid var(--wb-border); border-radius: var(--wb-radius-lg); box-shadow: var(--wb-shadow-lg); padding: 0.5rem; }
.dropdown-item { color: var(--wb-text-secondary); font-size: 0.9rem; padding: 0.5rem 0.85rem; border-radius: var(--wb-radius-sm); transition: all var(--wb-transition); }
.dropdown-item:hover { background: var(--wb-bg-card); color: var(--wb-text-primary); }
.dropdown-item:active { background: rgba(79,142,247,0.15); color: var(--wb-accent); }
.dropdown-divider { border-color: var(--wb-border); margin: 0.35rem 0; }
.dropdown-header { color: var(--wb-text-muted); font-size: 0.72rem; font-weight: 600; letter-spacing: 0.8px; text-transform: uppercase; padding: 0.5rem 0.85rem; }

/* ── Modal ── */
.modal-content { background: var(--wb-bg-surface); border: 1px solid var(--wb-border); border-radius: var(--wb-radius-xl); }
.modal-header { border-bottom: 1px solid var(--wb-border); padding: 1.25rem 1.5rem; }
.modal-body { padding: 1.5rem; }
.modal-footer { border-top: 1px solid var(--wb-border); padding: 1rem 1.5rem; }
.modal-title { font-weight: 600; font-size: 1.05rem; }
.btn-close { filter: invert(0.7); }

/* ── Nav Tabs ── */
.nav-tabs { border-bottom: 1px solid var(--wb-border); }
.nav-tabs .nav-link { color: var(--wb-text-secondary); border: none; border-bottom: 2px solid transparent; padding: 0.6rem 1rem; font-size: 0.9rem; font-weight: 500; transition: all var(--wb-transition); border-radius: 0; }
.nav-tabs .nav-link:hover { color: var(--wb-text-primary); }
.nav-tabs .nav-link.active { color: var(--wb-accent); border-bottom-color: var(--wb-accent); background: none; }
.tab-content { padding-top: 1.5rem; }

/* ── Pagination ── */
.pagination .page-link { background: var(--wb-bg-elevated); border-color: var(--wb-border); color: var(--wb-text-secondary); transition: all var(--wb-transition); }
.pagination .page-link:hover { background: var(--wb-bg-card); color: var(--wb-text-primary); border-color: var(--wb-border-light); }
.pagination .page-item.active .page-link { background: var(--wb-accent); border-color: var(--wb-accent); color: #fff; }
.pagination .page-item.disabled .page-link { background: var(--wb-bg-surface); color: var(--wb-text-muted); }

/* ── Alerts ── */
.alert { border-radius: var(--wb-radius); font-size: 0.9rem; }
.alert-success { background: rgba(63,185,80,0.12); border-color: rgba(63,185,80,0.3); color: #7ee787; }
.alert-danger  { background: rgba(248,81,73,0.12);  border-color: rgba(248,81,73,0.3);  color: #ff7b72; }
.alert-warning { background: rgba(210,153,34,0.12); border-color: rgba(210,153,34,0.3); color: #e3b341; }
.alert-info    { background: rgba(79,142,247,0.12);  border-color: rgba(79,142,247,0.3);  color: #79b8ff; }
.alert .btn-close { filter: invert(0.8); }

/* ── Progress Bar ── */
.progress { background: var(--wb-bg-elevated); border-radius: 50px; height: 8px; }
.progress-bar { background: linear-gradient(90deg, var(--wb-accent), #8ab4f8); border-radius: 50px; }
.progress-bar.bg-success { background: linear-gradient(90deg, var(--wb-success), #56d364) !important; }
.progress-bar.bg-warning { background: linear-gradient(90deg, var(--wb-warning), #e3b341) !important; }

/* ── Badge ── */
.badge { font-weight: 500; }
.badge.bg-primary { background-color: var(--wb-accent)   !important; }
.badge.bg-success { background-color: var(--wb-success)  !important; }
.badge.bg-warning { background-color: var(--wb-warning)  !important; color: #fff !important; }
.badge.bg-danger  { background-color: var(--wb-danger)   !important; }
.badge.bg-secondary { background-color: var(--wb-bg-elevated) !important; color: var(--wb-text-secondary) !important; border: 1px solid var(--wb-border); }

/* ── Table ── */
.table { color: var(--wb-text-primary); }
.table > :not(caption) > * > * { background: transparent; color: inherit; border-bottom-color: var(--wb-border); }
.table-hover > tbody > tr:hover > * { background: var(--wb-bg-elevated); }

.wb-table { width: 100%; border-collapse: separate; border-spacing: 0; }
.wb-table thead th { background: var(--wb-bg-elevated); color: var(--wb-text-muted); font-size: 0.74rem; font-weight: 600; letter-spacing: 0.8px; text-transform: uppercase; padding: 0.85rem 1rem; border-bottom: 1px solid var(--wb-border); }
.wb-table tbody tr { transition: background var(--wb-transition); }
.wb-table tbody tr:hover { background: var(--wb-bg-elevated); }
.wb-table tbody td { padding: 0.9rem 1rem; font-size: 0.9rem; color: var(--wb-text-primary); vertical-align: middle; border-bottom: 1px solid var(--wb-border); }
.wb-table tbody tr:last-child td { border-bottom: none; }

/* ── Navbar ── */
.wb-navbar { background: rgba(13,17,23,0.96); backdrop-filter: blur(16px); -webkit-backdrop-filter: blur(16px); border-bottom: 1px solid var(--wb-border); padding: 0.6rem 0; position: sticky; top: 0; z-index: 1030; }
.wb-navbar .navbar-brand { font-family: var(--wb-font-display); font-size: 1.45rem; font-weight: 500; color: var(--wb-text-primary); letter-spacing: -0.3px; }
.wb-navbar .navbar-brand span { color: var(--wb-accent); }
.wb-navbar .nav-link { color: var(--wb-text-secondary); font-weight: 500; font-size: 0.9rem; padding: 0.45rem 0.85rem; border-radius: var(--wb-radius-sm); transition: all var(--wb-transition); }
.wb-navbar .nav-link:hover { color: var(--wb-text-primary); background: var(--wb-bg-elevated); }
.wb-navbar .nav-link.active { color: var(--wb-accent); background: rgba(79,142,247,0.08); }
.wb-notification-badge { position: relative; display: inline-block; }
.wb-notification-badge .badge { position: absolute; top: -5px; right: -7px; font-size: 0.6rem; min-width: 16px; height: 16px; padding: 0 4px; line-height: 16px; border-radius: 8px; background: var(--wb-danger) !important; }

/* ── Sidebar ── */
.wb-sidebar { width: 255px; min-height: calc(100vh - 57px); background: var(--wb-bg-surface); border-right: 1px solid var(--wb-border); padding: 1.25rem 0; flex-shrink: 0; overflow-y: auto; }
.sidebar-section-title { font-size: 0.68rem; font-weight: 600; letter-spacing: 1.2px; text-transform: uppercase; color: var(--wb-text-muted); padding: 1rem 1.25rem 0.4rem; }
.wb-sidebar .nav-link { display: flex; align-items: center; gap: 0.65rem; color: var(--wb-text-secondary); font-size: 0.88rem; font-weight: 500; padding: 0.55rem 1.25rem; border-radius: 0; border-left: 3px solid transparent; transition: all var(--wb-transition); }
.wb-sidebar .nav-link i { font-size: 1rem; width: 18px; flex-shrink: 0; }
.wb-sidebar .nav-link:hover { color: var(--wb-text-primary); background: rgba(255,255,255,0.04); border-left-color: var(--wb-border-light); }
.wb-sidebar .nav-link.active { color: var(--wb-accent); background: rgba(79,142,247,0.1); border-left-color: var(--wb-accent); }
.wb-sidebar .nav-link .badge { margin-left: auto; }
.wb-sidebar .nav-group-toggle { display: flex; align-items: center; gap: 0.65rem; color: var(--wb-text-secondary); font-size: 0.88rem; font-weight: 500; padding: 0.55rem 1.25rem; border-left: 3px solid transparent; cursor: pointer; user-select: none; transition: all var(--wb-transition); background: none; border-top: none; border-right: none; border-bottom: none; width: 100%; text-align: left; }
.wb-sidebar .nav-group-toggle:hover { color: var(--wb-text-primary); background: rgba(255,255,255,0.04); border-left-color: var(--wb-border-light); }
.wb-sidebar .nav-group-toggle.open { color: var(--wb-text-primary); }
.wb-sidebar .nav-group-toggle .chevron { margin-left: auto; font-size: 0.7rem; transition: transform 0.2s ease; }
.wb-sidebar .nav-group-toggle.open .chevron { transform: rotate(180deg); }
.wb-sidebar .nav-group-toggle .badge { margin-left: auto; }
.wb-sidebar .nav-group-toggle.has-active { color: var(--wb-accent); border-left-color: var(--wb-accent); background: rgba(79,142,247,0.06); }
.wb-sidebar .nav-group-body { overflow: hidden; max-height: 0; transition: max-height 0.25s ease; }
.wb-sidebar .nav-group-body.open { max-height: 400px; }
.wb-sidebar .nav-group-body .nav-link { padding-left: 2.6rem; font-size: 0.85rem; }
.wb-main-content { flex: 1; padding: 2rem; min-width: 0; overflow-x: hidden; }
.wb-dashboard-layout { display: flex; min-height: calc(100vh - 57px); }

/* ── Status Badges ── */
.status-badge { display: inline-flex; align-items: center; gap: 0.35rem; padding: 0.25rem 0.75rem; border-radius: 50px; font-size: 0.73rem; font-weight: 500; letter-spacing: 0.3px; white-space: nowrap; }
.status-badge::before { content: ''; width: 6px; height: 6px; border-radius: 50%; background: currentColor; flex-shrink: 0; }
.status-pending      { background: rgba(210,153,34,0.15);  color: var(--wb-warning); }
.status-reviewing    { background: rgba(79,142,247,0.15);  color: var(--wb-accent); }
.status-in_progress  { background: rgba(139,92,246,0.15);  color: #a78bfa; }
.status-revision     { background: rgba(248,81,73,0.15);   color: var(--wb-danger); }
.status-completed    { background: rgba(63,185,80,0.15);   color: var(--wb-success); }
.status-cancelled    { background: rgba(110,118,129,0.15); color: var(--wb-text-muted); }
.status-verified     { background: rgba(63,185,80,0.15);   color: var(--wb-success); }
.status-rejected     { background: rgba(248,81,73,0.15);   color: var(--wb-danger); }
.status-requested    { background: rgba(210,153,34,0.15);  color: var(--wb-warning); }
.status-confirmed    { background: rgba(79,142,247,0.15);  color: var(--wb-accent); }

/* ── Stat Cards ── */
.wb-stat-card { background: var(--wb-bg-card); border: 1px solid var(--wb-border); border-radius: var(--wb-radius-lg); padding: 1.5rem; position: relative; overflow: hidden; transition: all var(--wb-transition); }
.wb-stat-card:hover { transform: translateY(-2px); box-shadow: var(--wb-shadow-lg); border-color: var(--wb-border-light); }
.wb-stat-card .stat-number { font-size: 2.2rem; font-weight: 500; line-height: 1; margin-bottom: 0.25rem; }
.wb-stat-card .stat-label  { font-size: 0.82rem; color: var(--wb-text-secondary); font-weight: 500; }
.wb-stat-card .stat-icon   { width: 44px; height: 44px; border-radius: var(--wb-radius); display: flex; align-items: center; justify-content: center; font-size: 1.25rem; }
.wb-stat-card.blue  .stat-number { color: var(--wb-accent); }
.wb-stat-card.gold  .stat-number { color: var(--wb-gold); }
.wb-stat-card.green .stat-number { color: var(--wb-success); }
.wb-stat-card.red   .stat-number { color: var(--wb-danger); }
.wb-stat-card.blue  .stat-icon { background: rgba(79,142,247,0.15);  color: var(--wb-accent); }
.wb-stat-card.gold  .stat-icon { background: rgba(201,168,76,0.15);  color: var(--wb-gold); }
.wb-stat-card.green .stat-icon { background: rgba(63,185,80,0.15);   color: var(--wb-success); }
.wb-stat-card.red   .stat-icon { background: rgba(248,81,73,0.15);   color: var(--wb-danger); }
.wb-stat-card .stat-trend { font-size: 0.75rem; margin-top: 0.4rem; }
.wb-stat-card .stat-trend.up   { color: var(--wb-success); }
.wb-stat-card .stat-trend.down { color: var(--wb-danger); }

/* ── Page Header ── */
.wb-page-header { margin-bottom: 2rem; padding-bottom: 1.25rem; border-bottom: 1px solid var(--wb-border); }
.wb-page-header h1 { font-size: 1.55rem; font-weight: 500; margin-bottom: 0.2rem; }
.wb-page-header p  { color: var(--wb-text-secondary); font-size: 0.88rem; margin-bottom: 0; }

/* ── Auth Pages ── */
.wb-auth-page { min-height: 100vh; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, #0d1117 0%, #0f1e3d 60%, #0d1117 100%); position: relative; padding: 2rem 1rem; }
.wb-auth-page::before { content: ''; position: absolute; inset: 0; background-image: linear-gradient(rgba(79,142,247,0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(79,142,247,0.04) 1px, transparent 1px); background-size: 60px 60px; pointer-events: none; }
.wb-auth-card { background: var(--wb-bg-surface); border: 1px solid var(--wb-border); border-radius: var(--wb-radius-xl); padding: 2.5rem; width: 100%; max-width: 460px; box-shadow: var(--wb-shadow-lg); position: relative; z-index: 1; }
.wb-auth-logo { font-family: var(--wb-font-display); font-size: 1.7rem; font-weight: 500; text-align: center; margin-bottom: 0.4rem; }
.wb-auth-logo span { color: var(--wb-accent); }
.wb-auth-subtitle { text-align: center; color: var(--wb-text-muted); font-size: 0.85rem; margin-bottom: 2rem; }
.wb-auth-divider { display: flex; align-items: center; gap: 1rem; color: var(--wb-text-muted); font-size: 0.8rem; margin: 1.25rem 0; }
.wb-auth-divider::before, .wb-auth-divider::after { content: ''; flex: 1; height: 1px; background: var(--wb-border); }
.wb-google-btn { display: flex; align-items: center; justify-content: center; gap: 0.65rem; width: 100%; padding: 0.65rem 1rem; background: var(--wb-bg-elevated); border: 1px solid var(--wb-border); border-radius: var(--wb-radius); color: var(--wb-text-secondary); font-weight: 500; font-size: 0.9rem; transition: all var(--wb-transition); cursor: pointer; }
.wb-google-btn:hover { background: var(--wb-bg-card); color: var(--wb-text-primary); border-color: var(--wb-border-light); text-decoration: none; }
.password-toggle { position: relative; }
.password-toggle .toggle-btn { position: absolute; right: 12px; top: 50%; transform: translateY(-50%); background: none; border: none; color: var(--wb-text-muted); cursor: pointer; padding: 0; font-size: 1rem; transition: color var(--wb-transition); }
.password-toggle .toggle-btn:hover { color: var(--wb-text-primary); }

/* ============================================================
   Wisdom Bridge – Dark Theme CSS  (Part 2/2)
   ============================================================ */

/* ── Landing Hero ── */
.wb-hero { min-height: 100vh; position: relative; display: flex; align-items: center; overflow: hidden; background: linear-gradient(135deg, #0d1117 0%, #0f1e3d 50%, #0d1117 100%); }
.wb-hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse 80% 60% at 70% 40%, rgba(79,142,247,0.12) 0%, transparent 60%), radial-gradient(ellipse 60% 40% at 20% 70%, rgba(201,168,76,0.08) 0%, transparent 50%); pointer-events: none; }
.wb-hero-grid { position: absolute; inset: 0; background-image: linear-gradient(rgba(79,142,247,0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(79,142,247,0.04) 1px, transparent 1px); background-size: 60px 60px; pointer-events: none; }
.wb-hero-badge { display: inline-flex; align-items: center; gap: 0.5rem; background: rgba(79,142,247,0.12); border: 1px solid rgba(79,142,247,0.3); border-radius: 50px; padding: 0.35rem 1rem; font-size: 0.8rem; color: var(--wb-accent); font-weight: 500; margin-bottom: 1.5rem; }
.wb-hero h1 { font-family: var(--wb-font-display); font-size: clamp(2.4rem, 5vw, 4rem); font-weight: 500; line-height: 1.2; margin-bottom: 1.25rem; }
.wb-hero h1 .highlight { background: linear-gradient(135deg, var(--wb-accent), #8ab4f8); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.wb-hero p.lead { font-size: 1.1rem; color: var(--wb-text-secondary); max-width: 520px; margin-bottom: 2rem; }
.wb-hero-stats { display: flex; gap: 2rem; margin-top: 3rem; padding-top: 2rem; border-top: 1px solid var(--wb-border); flex-wrap: wrap; }
.wb-hero-stat h3 { font-size: 1.75rem; font-weight: 500; color: var(--wb-accent); margin-bottom: 0; }
.wb-hero-stat p  { font-size: 0.8rem; color: var(--wb-text-muted); margin-bottom: 0; }
.wb-hero-visual  { position: relative; }
.wb-hero-card { background: var(--wb-bg-card); border: 1px solid var(--wb-border); border-radius: var(--wb-radius-lg); padding: 1.5rem; box-shadow: var(--wb-shadow-lg); }
@keyframes float  { 0%,100% { transform: translateY(0); }    50% { transform: translateY(-12px); } }
@keyframes float2 { 0%,100% { transform: translateY(-6px); } 50% { transform: translateY(6px); }  }
.floating  { animation: float  6s ease-in-out infinite; }
.floating2 { animation: float2 6s ease-in-out infinite 2s; }
.wb-orb { position: absolute; border-radius: 50%; filter: blur(80px); pointer-events: none; }
.wb-orb-blue { width: 400px; height: 400px; background: rgba(79,142,247,0.12); top: -100px; right: -100px; }
.wb-orb-gold { width: 300px; height: 300px; background: rgba(201,168,76,0.08); bottom: -80px; right: 100px; }

/* ── Sections ── */
.wb-section { padding: 5rem 0; }
.wb-section-alt { background: var(--wb-bg-surface); }
.wb-section-title { font-family: var(--wb-font-display); font-size: clamp(1.8rem, 3vw, 2.5rem); font-weight: 500; margin-bottom: 0.75rem; }
.wb-section-subtitle { color: var(--wb-text-secondary); font-size: 1rem; max-width: 560px; margin: 0 auto 3rem; }
.wb-divider { width: 56px; height: 3px; background: linear-gradient(90deg, var(--wb-accent), var(--wb-gold)); border-radius: 2px; margin: 0.75rem auto 1rem; }

/* ── Service Cards (landing) ── */
.wb-service-card { background: var(--wb-bg-card); border: 1px solid var(--wb-border); border-radius: var(--wb-radius-lg); padding: 2rem; height: 100%; transition: all var(--wb-transition); position: relative; overflow: hidden; display: flex; flex-direction: column; }
.wb-service-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: linear-gradient(90deg, var(--wb-accent), var(--wb-gold)); opacity: 0; transition: opacity var(--wb-transition); }
.wb-service-card:hover { border-color: var(--wb-border-light); transform: translateY(-4px); box-shadow: var(--wb-shadow-lg); }
.wb-service-card:hover::before { opacity: 1; }
.wb-service-icon { width: 56px; height: 56px; border-radius: var(--wb-radius); display: flex; align-items: center; justify-content: center; font-size: 1.5rem; margin-bottom: 1.25rem; }
.wb-service-icon.blue   { background: rgba(79,142,247,0.15);  color: var(--wb-accent); }
.wb-service-icon.gold   { background: rgba(201,168,76,0.15);  color: var(--wb-gold); }
.wb-service-icon.green  { background: rgba(63,185,80,0.15);   color: var(--wb-success); }
.wb-service-icon.purple { background: rgba(139,92,246,0.15);  color: #a78bfa; }
.wb-service-card h4 { font-size: 1.05rem; font-weight: 500; margin-bottom: 0.6rem; }
.wb-service-card p  { color: var(--wb-text-secondary); font-size: 0.88rem; line-height: 1.6; margin-bottom: 0; flex: 1; }
.wb-service-card .price-tag { display: inline-block; margin-top: auto; padding: 0.2rem 0.65rem; background: rgba(79,142,247,0.1); border: 1px solid rgba(79,142,247,0.2); border-radius: 50px; color: var(--wb-accent); font-size: 0.8rem; font-weight: 600; }

/* ── How It Works Steps ── */
.wb-how-step { text-align: center; padding: 1.5rem; }
.wb-how-number { width: 60px; height: 60px; border-radius: 50%; background: rgba(79,142,247,0.12); border: 2px solid rgba(79,142,247,0.3); display: flex; align-items: center; justify-content: center; font-family: var(--wb-font-display); font-size: 1.4rem; font-weight: 500; color: var(--wb-accent); margin: 0 auto 1rem; }
.wb-how-step h5 { font-weight: 500; margin-bottom: 0.5rem; }
.wb-how-step p  { color: var(--wb-text-secondary); font-size: 0.88rem; }

/* ── Testimonial ── */
.wb-testimonial { background: var(--wb-bg-card); border: 1px solid var(--wb-border); border-radius: var(--wb-radius-lg); padding: 2rem; height: 100%; transition: all var(--wb-transition); }
.wb-testimonial:hover { border-color: var(--wb-border-light); transform: translateY(-3px); }
.wb-testimonial .stars { color: var(--wb-gold); font-size: 0.9rem; margin-bottom: 1rem; letter-spacing: 2px; }
.wb-testimonial p { color: var(--wb-text-secondary); font-size: 0.9rem; line-height: 1.7; font-style: italic; margin-bottom: 1.25rem; }
.wb-testimonial .author { display: flex; align-items: center; gap: 0.75rem; }
.wb-testimonial .author-avatar { width: 40px; height: 40px; border-radius: 50%; background: linear-gradient(135deg, var(--wb-accent), var(--wb-gold)); display: flex; align-items: center; justify-content: center; font-weight: 500; font-size: 0.9rem; color: #fff; flex-shrink: 0; }
.wb-testimonial .author-name { font-weight: 500; font-size: 0.88rem; }
.wb-testimonial .author-role { font-size: 0.75rem; color: var(--wb-text-muted); }

/* ── Progress Tracker (booking view) ── */
.wb-progress-track { display: flex; align-items: flex-start; position: relative; padding: 0.5rem 0; }
.wb-progress-track::before { content: ''; position: absolute; top: 24px; left: 24px; right: 24px; height: 2px; background: var(--wb-border); z-index: 0; }
.wb-progress-step { flex: 1; display: flex; flex-direction: column; align-items: center; position: relative; z-index: 1; }
.wb-progress-step .step-icon { width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.95rem; font-weight: 600; border: 2px solid var(--wb-border); background: var(--wb-bg-surface); color: var(--wb-text-muted); margin-bottom: 0.6rem; transition: all var(--wb-transition); }
.wb-progress-step.completed .step-icon { background: var(--wb-success); border-color: var(--wb-success); color: #fff; }
.wb-progress-step.active .step-icon { background: #f4c430; border-color: #f4c430; color: #1a1a2e; box-shadow: 0 0 18px rgba(244,196,48,0.5); }
.wb-progress-step .step-label { font-size: 0.73rem; font-weight: 500; color: var(--wb-text-muted); text-align: center; max-width: 80px; line-height: 1.3; }
.wb-progress-step.completed .step-label, .wb-progress-step.active .step-label { color: var(--wb-text-primary); }

/* ── Timeline (milestone feed) ── */
.wb-timeline { position: relative; padding-left: 2rem; }
.wb-timeline::before { content: ''; position: absolute; left: 7px; top: 4px; bottom: 4px; width: 2px; background: var(--wb-border); }
.wb-timeline-item { position: relative; margin-bottom: 1.5rem; }
.wb-timeline-item:last-child { margin-bottom: 0; }
.wb-timeline-item::before { content: ''; position: absolute; left: -1.7rem; top: 4px; width: 14px; height: 14px; border-radius: 50%; background: var(--wb-bg-surface); border: 2px solid var(--wb-border); transition: all var(--wb-transition); }
.wb-timeline-item.completed::before { background: var(--wb-success); border-color: var(--wb-success); }
.wb-timeline-item.active::before   { background: var(--wb-accent);  border-color: var(--wb-accent);  box-shadow: 0 0 10px var(--wb-accent-glow); }
.wb-timeline-item .timeline-time  { font-size: 0.73rem; color: var(--wb-text-muted); margin-bottom: 0.15rem; }
.wb-timeline-item .timeline-title { font-weight: 500; font-size: 0.9rem; margin-bottom: 0.2rem; }
.wb-timeline-item .timeline-body  { font-size: 0.82rem; color: var(--wb-text-secondary); }

/* ── Booking Step Indicator ── */
.wb-step-indicator { display: flex; align-items: center; justify-content: center; margin-bottom: 2.5rem; flex-wrap: wrap; gap: 0; }
.wb-step-indicator .step { display: flex; flex-direction: column; align-items: center; }
.wb-step-indicator .step-num { width: 36px; height: 36px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.85rem; font-weight: 600; border: 2px solid var(--wb-border); background: var(--wb-bg-elevated); color: var(--wb-text-muted); margin-bottom: 0.4rem; transition: all var(--wb-transition); }
.wb-step-indicator .step.active .step-num { background: var(--wb-accent); border-color: var(--wb-accent); color: #fff; box-shadow: 0 0 14px var(--wb-accent-glow); }
.wb-step-indicator .step.done   .step-num { background: var(--wb-success); border-color: var(--wb-success); color: #fff; }
.wb-step-indicator .step-label { font-size: 0.72rem; color: var(--wb-text-muted); font-weight: 500; text-align: center; }
.wb-step-indicator .step.active .step-label { color: var(--wb-accent); }
.wb-step-indicator .step.done   .step-label { color: var(--wb-success); }
.wb-step-indicator .step-line { width: 60px; height: 2px; background: var(--wb-border); margin-bottom: 1.2rem; transition: background var(--wb-transition); }
.wb-step-indicator .step-line.done { background: var(--wb-success); }

/* ── Document Vault ── */
.wb-doc-item { display: flex; align-items: center; gap: 1rem; padding: 0.9rem 1.25rem; background: var(--wb-bg-elevated); border: 1px solid var(--wb-border); border-radius: var(--wb-radius); margin-bottom: 0.5rem; transition: all var(--wb-transition); }
.wb-doc-item:hover { border-color: var(--wb-border-light); background: var(--wb-bg-card); }
.wb-doc-item .doc-icon { width: 40px; height: 40px; border-radius: var(--wb-radius-sm); display: flex; align-items: center; justify-content: center; font-size: 1.15rem; flex-shrink: 0; }
.wb-doc-item .doc-icon.pdf   { background: rgba(248,81,73,0.15);  color: var(--wb-danger); }
.wb-doc-item .doc-icon.word  { background: rgba(79,142,247,0.15); color: var(--wb-accent); }
.wb-doc-item .doc-icon.image { background: rgba(63,185,80,0.15);  color: var(--wb-success); }
.wb-doc-item .doc-icon.other { background: rgba(201,168,76,0.15); color: var(--wb-gold); }
.wb-doc-item .doc-info { flex: 1; min-width: 0; }
.wb-doc-item .doc-name { font-weight: 500; font-size: 0.9rem; margin-bottom: 0.15rem; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.wb-doc-item .doc-meta { font-size: 0.75rem; color: var(--wb-text-muted); }
.wb-doc-item .doc-actions { display: flex; gap: 0.4rem; flex-shrink: 0; }

/* ── Upload Zone ── */
.wb-upload-zone { border: 2px dashed var(--wb-border); border-radius: var(--wb-radius-lg); padding: 2.5rem 1.5rem; text-align: center; transition: all var(--wb-transition); cursor: pointer; background: var(--wb-bg-elevated); }
.wb-upload-zone:hover, .wb-upload-zone.dragover { border-color: var(--wb-accent); background: rgba(79,142,247,0.05); }
.wb-upload-zone i { font-size: 2.5rem; color: var(--wb-text-muted); margin-bottom: 0.75rem; display: block; transition: color var(--wb-transition); }
.wb-upload-zone:hover i, .wb-upload-zone.dragover i { color: var(--wb-accent); }
.wb-upload-zone p { color: var(--wb-text-secondary); font-size: 0.9rem; margin: 0; }
.wb-upload-zone small { color: var(--wb-text-muted); font-size: 0.78rem; }

/* ── Notification Dropdown ── */
.wb-notif-list { max-height: 380px; overflow-y: auto; }
.wb-notif-list::-webkit-scrollbar { width: 4px; }
.wb-notif-list::-webkit-scrollbar-track { background: transparent; }
.wb-notif-list::-webkit-scrollbar-thumb { background: var(--wb-border); border-radius: 4px; }
.wb-notif-item { display: flex; gap: 0.75rem; padding: 0.8rem 1rem; border-bottom: 1px solid var(--wb-border); transition: background var(--wb-transition); cursor: pointer; }
.wb-notif-item:hover { background: var(--wb-bg-elevated); }
.wb-notif-item.unread { background: rgba(79,142,247,0.05); }
.wb-notif-item:last-child { border-bottom: none; }
.wb-notif-item .notif-icon { width: 34px; height: 34px; border-radius: 50%; background: rgba(79,142,247,0.15); color: var(--wb-accent); display: flex; align-items: center; justify-content: center; font-size: 0.85rem; flex-shrink: 0; }
.wb-notif-item .notif-text { font-size: 0.82rem; line-height: 1.45; color: var(--wb-text-secondary); }
.wb-notif-item.unread .notif-text { color: var(--wb-text-primary); }
.wb-notif-item .notif-time { font-size: 0.7rem; color: var(--wb-text-muted); margin-top: 0.2rem; }

/* ── Appointment Card ── */
.wb-appt-card { background: var(--wb-bg-card); border: 1px solid var(--wb-border); border-radius: var(--wb-radius-lg); padding: 1.25rem 1.5rem; display: flex; align-items: center; gap: 1.25rem; transition: all var(--wb-transition); margin-bottom: 0.75rem; }
.wb-appt-card:hover { border-color: var(--wb-border-light); box-shadow: var(--wb-shadow); }
.wb-appt-date { background: rgba(79,142,247,0.1); border: 1px solid rgba(79,142,247,0.2); border-radius: var(--wb-radius); padding: 0.6rem 0.9rem; text-align: center; flex-shrink: 0; min-width: 60px; }
.wb-appt-date .appt-day   { font-size: 1.5rem; font-weight: 500; color: var(--wb-accent); line-height: 1; }
.wb-appt-date .appt-month { font-size: 0.7rem; color: var(--wb-text-muted); text-transform: uppercase; letter-spacing: 0.5px; }
.wb-appt-info { flex: 1; min-width: 0; }
.wb-appt-info h6 { font-weight: 500; font-size: 0.92rem; margin-bottom: 0.25rem; }
.wb-appt-info p  { font-size: 0.8rem; color: var(--wb-text-secondary); margin: 0; }
.wb-appt-meta { display: flex; gap: 0.5rem; flex-wrap: wrap; margin-top: 0.35rem; }
.wb-appt-meta span { font-size: 0.75rem; color: var(--wb-text-muted); display: flex; align-items: center; gap: 0.25rem; }

/* ── Payment Slip Preview ── */
.wb-slip-preview { border: 1px solid var(--wb-border); border-radius: var(--wb-radius); overflow: hidden; max-width: 280px; }
.wb-slip-preview img { width: 100%; display: block; }
.wb-slip-preview .slip-info { padding: 0.75rem 1rem; background: var(--wb-bg-elevated); font-size: 0.82rem; color: var(--wb-text-secondary); }

/* ── User Avatar ── */
.wb-avatar { border-radius: 50%; display: flex; align-items: center; justify-content: center; font-weight: 600; color: #fff; flex-shrink: 0; background: linear-gradient(135deg, var(--wb-accent), var(--wb-gold)); }
.wb-user-avatar { width: 40px; height: 40px; min-width: 40px; border-radius: 50%; object-fit: cover; object-position: center; border: 2px solid rgba(255,255,255,0.12); flex-shrink: 0; cursor: pointer; transition: opacity 0.15s; }
.wb-user-avatar:hover { opacity: 0.8; }
.wb-avatar.sm { width: 32px; height: 32px; font-size: 0.8rem; }
.wb-avatar.md { width: 40px; height: 40px; font-size: 0.9rem; }
.wb-avatar.lg { width: 56px; height: 56px; font-size: 1.1rem; }
.wb-avatar.xl { width: 80px; height: 80px; font-size: 1.5rem; }

/* ── Empty State ── */
.wb-empty-state { text-align: center; padding: 4rem 2rem; color: var(--wb-text-muted); }
.wb-empty-state i { font-size: 3rem; margin-bottom: 1rem; display: block; opacity: 0.4; }
.wb-empty-state h5 { color: var(--wb-text-secondary); font-weight: 500; margin-bottom: 0.5rem; }
.wb-empty-state p { font-size: 0.88rem; }

/* ── Loading Spinner ── */
.wb-spinner { width: 20px; height: 20px; border: 2px solid var(--wb-border); border-top-color: var(--wb-accent); border-radius: 50%; animation: spin 0.7s linear infinite; display: inline-block; }
@keyframes spin { to { transform: rotate(360deg); } }

/* ── Footer ── */
.wb-footer { background: var(--wb-bg-surface); border-top: 1px solid var(--wb-border); padding: 3rem 0 1.5rem; margin-top: auto; }
.wb-footer .footer-brand { font-family: var(--wb-font-display); font-size: 1.3rem; font-weight: 500; margin-bottom: 0.5rem; }
.wb-footer .footer-brand span { color: var(--wb-accent); }
.wb-footer .footer-desc { color: var(--wb-text-muted); font-size: 0.85rem; max-width: 280px; line-height: 1.6; }
.wb-footer h6 { font-size: 0.75rem; font-weight: 600; letter-spacing: 1px; text-transform: uppercase; color: var(--wb-text-muted); margin-bottom: 1rem; }
.wb-footer ul { list-style: none; padding: 0; margin: 0; }
.wb-footer ul li { margin-bottom: 0.5rem; }
.wb-footer ul li a { color: var(--wb-text-secondary); font-size: 0.88rem; transition: color var(--wb-transition); }
.wb-footer ul li a:hover { color: var(--wb-text-primary); }
.wb-footer .footer-bottom { border-top: 1px solid var(--wb-border); padding-top: 1.25rem; margin-top: 2.5rem; color: var(--wb-text-muted); font-size: 0.8rem; }
.wb-footer .social-links { display: flex; gap: 0.6rem; }
.wb-footer .social-link { width: 34px; height: 34px; border-radius: var(--wb-radius-sm); background: var(--wb-bg-elevated); border: 1px solid var(--wb-border); display: flex; align-items: center; justify-content: center; color: var(--wb-text-muted); transition: all var(--wb-transition); }
.wb-footer .social-link:hover { background: var(--wb-bg-card); color: var(--wb-accent); border-color: var(--wb-border-light); }

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--wb-bg-base); }
::-webkit-scrollbar-thumb { background: var(--wb-border); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--wb-border-light); }

/* ══════════════════════════════════════════════════════════
   RESPONSIVE — Mobile First
   ══════════════════════════════════════════════════════════ */

/* ── Offcanvas Sidebar (mobile drawer) ── */
.wb-offcanvas {
  position: fixed; inset: 0; z-index: 1050;
  display: flex; pointer-events: none;
}
.wb-offcanvas-backdrop {
  position: absolute; inset: 0;
  background: rgba(0,0,0,0.6); opacity: 0;
  transition: opacity 0.25s ease;
  backdrop-filter: blur(2px);
}
.wb-offcanvas-panel {
  position: relative; z-index: 1;
  width: 280px; max-width: 85vw;
  background: var(--wb-bg-surface);
  border-right: 1px solid var(--wb-border);
  transform: translateX(-100%);
  transition: transform 0.28s cubic-bezier(0.4,0,0.2,1);
  overflow-y: auto; overflow-x: hidden;
  padding-bottom: 5rem;
  -webkit-overflow-scrolling: touch;
}
.wb-offcanvas.open { pointer-events: auto; }
.wb-offcanvas.open .wb-offcanvas-backdrop { opacity: 1; }
.wb-offcanvas.open .wb-offcanvas-panel { transform: translateX(0); }

/* ── Offcanvas Nav Links ── */
.wb-offcanvas-nav { padding: 0.5rem 0 1rem; }
.oc-section-title {
  font-size: 0.65rem; font-weight: 600; letter-spacing: 1.2px;
  text-transform: uppercase; color: var(--wb-text-muted);
  padding: 0.85rem 1.25rem 0.35rem;
}
.oc-link {
  display: flex; align-items: center; gap: 0.65rem;
  color: var(--wb-text-secondary); font-size: 0.9rem; font-weight: 500;
  padding: 0.6rem 1.25rem;
  border-left: 3px solid transparent;
  text-decoration: none;
  transition: all var(--wb-transition);
}
.oc-link i { font-size: 1rem; width: 18px; flex-shrink: 0; }
.oc-link:hover { color: var(--wb-text-primary); background: rgba(255,255,255,0.04); border-left-color: var(--wb-border-light); }
.oc-link.active { color: var(--wb-accent); background: rgba(79,142,247,0.1); border-left-color: var(--wb-accent); }

/* ── Hamburger button ── */
.wb-hamburger {
  display: none;
  background: none; border: none;
  color: var(--wb-text-secondary);
  font-size: 1.35rem; padding: 0.3rem 0.5rem;
  border-radius: var(--wb-radius-sm);
  cursor: pointer; transition: color var(--wb-transition);
  line-height: 1;
}
.wb-hamburger:hover { color: var(--wb-text-primary); }

/* ── Tablet (≤ 991px): hide sidebar, show hamburger ── */
@media (max-width: 991.98px) {
  .wb-sidebar { display: none; }
  .wb-hamburger { display: flex; align-items: center; }
  .wb-main-content { padding: 1.25rem; padding-bottom: 5rem; }
  .wb-hero h1 { font-size: 2.2rem; }
  .wb-hero-visual { display: none; }
}

/* ── Tablet medium (768–991px) ── */
@media (min-width: 768px) and (max-width: 991.98px) {
  .wb-main-content { padding: 1.5rem; padding-bottom: 1.5rem; }
  .wb-hero h1 { font-size: 2.5rem; }
}

/* ── Mobile (≤ 767px) ── */
@media (max-width: 767.98px) {
  body { font-size: 14px; }
  h1, .wb-page-header h1 { font-size: 1.25rem !important; }
  h2 { font-size: 1.4rem; }
  h3 { font-size: 1.2rem; }
  h4 { font-size: 1.05rem; }
  h5 { font-size: 0.95rem; }

  .wb-section { padding: 2.5rem 0; }
  .wb-hero { padding: 4.5rem 0 2.5rem; min-height: auto; }
  .wb-hero p.lead { font-size: 0.95rem; }
  .wb-hero-stats { gap: 1rem; margin-top: 1.75rem; padding-top: 1.5rem; }
  .wb-hero-stat h3 { font-size: 1.4rem; }
  .wb-hero-stat p  { font-size: 0.72rem; }

  .wb-section-title { font-size: 1.5rem; }
  .wb-section-subtitle { font-size: 0.88rem; }

  .wb-stat-card { padding: 1rem; }
  .wb-stat-card .stat-number { font-size: 1.6rem; }
  .wb-stat-card .stat-icon { width: 38px; height: 38px; font-size: 1.1rem; }

  .card { border-radius: var(--wb-radius) !important; }
  .card-body { padding: 1rem; }
  .card-header { padding: 0.75rem 1rem; font-size: 0.88rem; }
  .card-footer { padding: 0.6rem 1rem; }

  .wb-auth-card { padding: 1.5rem 1.15rem; }
  .wb-page-header { margin-bottom: 1.25rem; padding-bottom: 0.9rem; }

  .wb-step-indicator .step-line { width: 24px; }
  .wb-progress-track::before { left: 16px; right: 16px; }
  .wb-appt-card { flex-wrap: wrap; }

  /* Modal full-width on mobile */
  .modal-dialog { margin: 0.5rem; }
  .modal-content { border-radius: var(--wb-radius-lg) !important; }

  /* Dropdown notification panel full-width */
  .dropdown-menu[style*="width:340px"] { width: calc(100vw - 1rem) !important; }

  /* Smaller buttons */
  .btn-lg { font-size: 0.95rem; padding: 0.55rem 1.25rem; }

  /* Navbar brand smaller */
  .wb-navbar .navbar-brand { font-size: 1.2rem; }
}

/* ── Small mobile (≤ 575px) ── */
@media (max-width: 575.98px) {
  .wb-hero-badge { font-size: 0.7rem; padding: 0.25rem 0.7rem; }
  .wb-auth-card { border-radius: var(--wb-radius-lg); }
  .wb-cta-banner { padding: 1.75rem 1rem; }
  .wb-cta-banner h2 { font-size: 1.35rem; }
  .wb-step-indicator .step-label { display: none; }
  .wb-appt-date { display: none; }

  .wb-page-header { flex-direction: column !important; align-items: flex-start !important; gap: 0.75rem; }

  /* Responsive table: hide header, block cells */
  .wb-table thead { display: none; }
  .wb-table tbody td {
    display: block; padding: 0.35rem 0.85rem;
    border-bottom: none; font-size: 0.83rem;
  }
  .wb-table tbody tr { border-bottom: 1px solid var(--wb-border); }
  .wb-table tbody td::before {
    content: attr(data-label);
    font-size: 0.68rem; font-weight: 600; text-transform: uppercase;
    letter-spacing: 0.6px; color: var(--wb-text-muted);
    display: block; margin-bottom: 0.15rem;
  }

  /* Stack filter forms */
  form.d-flex.gap-2 { flex-direction: column !important; }
  form.d-flex.gap-2 .form-control,
  form.d-flex.gap-2 .form-select { max-width: 100% !important; width: 100%; }

  /* Full-width modals */
  .modal-dialog { margin: 0; }
  .modal-content { border-radius: var(--wb-radius-lg) var(--wb-radius-lg) 0 0 !important; }
  .modal-dialog.modal-dialog-centered { align-items: flex-end; min-height: 100%; }

  /* Smaller gap in d-flex rows */
  .gap-3 { gap: 0.6rem !important; }
  .gap-4 { gap: 0.85rem !important; }

  /* Main content extra bottom padding for bottom nav */
  .wb-main-content { padding: 1rem; padding-bottom: 5rem; }
}

/* ── Utility ── */
.text-accent  { color: var(--wb-accent)   !important; }
.text-gold    { color: var(--wb-gold)     !important; }
.text-muted   { color: var(--wb-text-muted) !important; }
.text-secondary-wb { color: var(--wb-text-secondary) !important; }
.bg-surface   { background: var(--wb-bg-surface)  !important; }
.bg-elevated  { background: var(--wb-bg-elevated) !important; }
.bg-card      { background: var(--wb-bg-card)     !important; }
.border-wb    { border-color: var(--wb-border) !important; }
.rounded-wb   { border-radius: var(--wb-radius) !important; }
.rounded-wb-lg { border-radius: var(--wb-radius-lg) !important; }
.shadow-wb    { box-shadow: var(--wb-shadow) !important; }
.shadow-wb-lg { box-shadow: var(--wb-shadow-lg) !important; }
.gap-wb       { gap: 1rem; }
.fw-500 { font-weight: 500; }
.fw-600 { font-weight: 600; }
.fw-700 { font-weight: 700; }
.fs-sm  { font-size: 0.85rem; }
.fs-xs  { font-size: 0.75rem; }
.lh-sm  { line-height: 1.35; }
.cursor-pointer { cursor: pointer; }
.min-width-0 { min-width: 0; }
.flex-1 { flex: 1; }
.overflow-hidden { overflow: hidden; }

/* ── Form Validation States ── */
.form-control.is-invalid, .form-select.is-invalid {
  border-color: var(--wb-danger);
  background-image: none;
}
.form-control.is-valid, .form-select.is-valid {
  border-color: var(--wb-success);
  background-image: none;
}
.invalid-feedback { color: var(--wb-danger); font-size: 0.78rem; margin-top: 0.3rem; }
.valid-feedback   { color: var(--wb-success); font-size: 0.78rem; margin-top: 0.3rem; }
.form-control.is-invalid:focus { box-shadow: 0 0 0 3px rgba(248,81,73,0.2); }
.form-control.is-valid:focus   { box-shadow: 0 0 0 3px rgba(63,185,80,0.2); }

/* ── Input with Icon ── */
.wb-input-group { position: relative; }
.wb-input-group .input-icon {
  position: absolute; left: 12px; top: 50%; transform: translateY(-50%);
  color: var(--wb-text-muted); font-size: 0.95rem; pointer-events: none;
}
.wb-input-group .form-control { padding-left: 2.25rem; }

/* ── Service Type Badge ── */
.type-badge {
  display: inline-flex; align-items: center; gap: 0.3rem;
  padding: 0.2rem 0.6rem; border-radius: 50px;
  font-size: 0.7rem; font-weight: 600; letter-spacing: 0.3px;
}
.type-project       { background: rgba(79,142,247,0.12);  color: var(--wb-accent); border: 1px solid rgba(79,142,247,0.25); }
.type-documentation { background: rgba(201,168,76,0.12);  color: var(--wb-gold);   border: 1px solid rgba(201,168,76,0.25); }

/* ── Booking Reference Pill ── */
.booking-ref-pill {
  display: inline-flex; align-items: center; gap: 0.35rem;
  background: var(--wb-bg-elevated); border: 1px solid var(--wb-border);
  border-radius: 50px; padding: 0.2rem 0.75rem;
  font-size: 0.75rem; font-weight: 600; color: var(--wb-text-secondary);
  letter-spacing: 0.5px; font-family: monospace;
}

/* ── Card Table Wrapper ── */
.wb-card-table { border-radius: 0 0 var(--wb-radius-lg) var(--wb-radius-lg); overflow: hidden; }
.wb-card-table .wb-table tbody tr:last-child td { border-bottom: none; }

/* ── Hoverable Row Action ── */
.wb-table tbody tr .row-actions { opacity: 0; transition: opacity var(--wb-transition); }
.wb-table tbody tr:hover .row-actions { opacity: 1; }

/* ── Info Row (key/value pairs) ── */
.wb-info-row { display: flex; align-items: flex-start; gap: 0.5rem; padding: 0.6rem 0; border-bottom: 1px solid var(--wb-border); }
.wb-info-row:last-child { border-bottom: none; }
.wb-info-row .info-key   { font-size: 0.78rem; color: var(--wb-text-muted); font-weight: 500; min-width: 120px; padding-top: 2px; }
.wb-info-row .info-value { font-size: 0.88rem; color: var(--wb-text-primary); font-weight: 500; flex: 1; }

/* ── Section Divider Line ── */
.wb-section-divider { border: none; border-top: 1px solid var(--wb-border); margin: 2rem 0; }

/* ── Landing: Feature Highlight Grid ── */
.wb-feature-item {
  display: flex; align-items: flex-start; gap: 1rem;
  padding: 1.5rem; background: var(--wb-bg-card);
  border: 1px solid var(--wb-border); border-radius: var(--wb-radius-lg);
  transition: all var(--wb-transition);
}
.wb-feature-item:hover { border-color: var(--wb-border-light); transform: translateY(-2px); box-shadow: var(--wb-shadow); }
.wb-feature-item .feature-icon {
  width: 48px; height: 48px; border-radius: var(--wb-radius); flex-shrink: 0;
  display: flex; align-items: center; justify-content: center; font-size: 1.35rem;
}
.wb-feature-item .feature-icon.blue   { background: rgba(79,142,247,0.15);  color: var(--wb-accent); }
.wb-feature-item .feature-icon.gold   { background: rgba(201,168,76,0.15);  color: var(--wb-gold); }
.wb-feature-item .feature-icon.green  { background: rgba(63,185,80,0.15);   color: var(--wb-success); }
.wb-feature-item .feature-icon.purple { background: rgba(139,92,246,0.15);  color: #a78bfa; }
.wb-feature-item .feature-icon.red    { background: rgba(248,81,73,0.15);   color: var(--wb-danger); }
.wb-feature-item h6 { font-weight: 600; margin-bottom: 0.3rem; font-size: 0.95rem; }
.wb-feature-item p  { font-size: 0.83rem; color: var(--wb-text-secondary); margin: 0; line-height: 1.55; }

/* ── Landing: CTA Banner ── */
.wb-cta-banner {
  background: linear-gradient(135deg, rgba(79,142,247,0.12) 0%, rgba(201,168,76,0.08) 100%);
  border: 1px solid rgba(79,142,247,0.2);
  border-radius: var(--wb-radius-xl);
  padding: 4rem 3rem;
  text-align: center;
  position: relative;
  overflow: hidden;
}
.wb-cta-banner::before {
  content: '';
  position: absolute; inset: 0;
  background-image: linear-gradient(rgba(79,142,247,0.04) 1px, transparent 1px),
                    linear-gradient(90deg, rgba(79,142,247,0.04) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}
.wb-cta-banner h2 { font-family: var(--wb-font-display); font-size: clamp(1.6rem,3vw,2.2rem); font-weight: 700; position: relative; }
.wb-cta-banner p  { color: var(--wb-text-secondary); font-size: 1rem; max-width: 480px; margin: 0.75rem auto 2rem; position: relative; }

/* ── Landing: Stats Counter Row ── */
.wb-stats-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1.5rem;
  padding: 2.5rem 0;
  border-top: 1px solid var(--wb-border);
  border-bottom: 1px solid var(--wb-border);
}
.wb-stats-row .stat-item { text-align: center; }
.wb-stats-row .stat-item .stat-val  { font-size: 2rem; font-weight: 700; color: var(--wb-accent); line-height: 1; }
.wb-stats-row .stat-item .stat-desc { font-size: 0.78rem; color: var(--wb-text-muted); margin-top: 0.3rem; }

/* ── Pricing Card ── */
.wb-price-card {
  background: var(--wb-bg-card); border: 1px solid var(--wb-border);
  border-radius: var(--wb-radius-lg); padding: 2rem; height: 100%;
  transition: all var(--wb-transition); position: relative;
}
.wb-price-card.featured {
  border-color: var(--wb-accent);
  box-shadow: 0 0 40px rgba(79,142,247,0.15);
}
.wb-price-card.featured::before {
  content: 'Most Popular';
  position: absolute; top: -12px; left: 50%; transform: translateX(-50%);
  background: var(--wb-accent); color: #fff;
  font-size: 0.72rem; font-weight: 600; padding: 0.25rem 0.85rem;
  border-radius: 50px; letter-spacing: 0.5px;
}
.wb-price-card:hover { transform: translateY(-4px); box-shadow: var(--wb-shadow-lg); }
.wb-price-card .price-amount  { font-size: 2.5rem; font-weight: 700; line-height: 1; }
.wb-price-card .price-amount span { font-size: 1rem; font-weight: 400; color: var(--wb-text-muted); }
.wb-price-card .price-features { list-style: none; padding: 0; margin: 1.5rem 0; }
.wb-price-card .price-features li {
  display: flex; align-items: center; gap: 0.6rem;
  padding: 0.4rem 0; font-size: 0.88rem; color: var(--wb-text-secondary);
  border-bottom: 1px solid var(--wb-border);
}
.wb-price-card .price-features li:last-child { border-bottom: none; }
.wb-price-card .price-features li i { color: var(--wb-success); font-size: 0.9rem; flex-shrink: 0; }
.wb-price-card .price-features li.disabled { color: var(--wb-text-muted); }
.wb-price-card .price-features li.disabled i { color: var(--wb-text-muted); }

/* ── Skeleton Loader ── */
.wb-skeleton {
  background: linear-gradient(90deg, var(--wb-bg-elevated) 25%, var(--wb-bg-card) 50%, var(--wb-bg-elevated) 75%);
  background-size: 200% 100%;
  animation: skeleton-shimmer 1.5s infinite;
  border-radius: var(--wb-radius-sm);
}
@keyframes skeleton-shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }
.wb-skeleton-text  { height: 14px; margin-bottom: 8px; }
.wb-skeleton-title { height: 22px; margin-bottom: 12px; width: 60%; }
.wb-skeleton-btn   { height: 36px; width: 100px; border-radius: var(--wb-radius); }
.wb-skeleton-avatar{ width: 40px; height: 40px; border-radius: 50%; flex-shrink: 0; }
.wb-skeleton-card  { height: 120px; border-radius: var(--wb-radius-lg); }

/* ── Toast Override ── */
.toast { border-radius: var(--wb-radius-lg) !important; }

/* ── Step Form Panel (show/hide animation) ── */
.booking-step { animation: fadeSlideIn 0.25s ease; }
@keyframes fadeSlideIn {
  from { opacity: 0; transform: translateY(8px); }
  to   { opacity: 1; transform: translateY(0); }
}

/* ── Floating Action Button (mobile) ── */
.wb-fab {
  position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 1020;
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--wb-accent); color: #fff;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.35rem; box-shadow: 0 6px 24px rgba(79,142,247,0.45);
  transition: all var(--wb-transition); cursor: pointer; border: none;
}
.wb-fab:hover { background: var(--wb-accent-hover); transform: scale(1.08); }

/* ── Mobile Bottom Nav (optional) ── */
.wb-bottom-nav {
  display: none;
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 1020;
  background: var(--wb-bg-surface); border-top: 1px solid var(--wb-border);
  padding: 0.5rem 0 calc(0.5rem + env(safe-area-inset-bottom));
}
.wb-bottom-nav .nav-item {
  flex: 1; display: flex; flex-direction: column; align-items: center;
  gap: 0.15rem; font-size: 0.65rem; color: var(--wb-text-muted);
  font-weight: 500; cursor: pointer; transition: color var(--wb-transition);
}
.wb-bottom-nav .nav-item i  { font-size: 1.2rem; }
.wb-bottom-nav .nav-item.active { color: var(--wb-accent); }
@media (max-width: 991.98px) { .wb-bottom-nav { display: flex; } }

/* ── Accordion (FAQ / collapsible) ── */
.wb-accordion .accordion-item {
  background: var(--wb-bg-card); border: 1px solid var(--wb-border);
  border-radius: var(--wb-radius-lg) !important; margin-bottom: 0.5rem; overflow: hidden;
}
.wb-accordion .accordion-button {
  background: var(--wb-bg-card); color: var(--wb-text-primary);
  font-weight: 500; font-size: 0.92rem; box-shadow: none;
}
.wb-accordion .accordion-button:not(.collapsed) {
  background: rgba(79,142,247,0.06); color: var(--wb-accent);
  box-shadow: none;
}
.wb-accordion .accordion-button::after { filter: invert(0.7); }
.wb-accordion .accordion-body {
  background: var(--wb-bg-card); color: var(--wb-text-secondary);
  font-size: 0.88rem; line-height: 1.7; border-top: 1px solid var(--wb-border);
}

/* ── Range Input ── */
input[type="range"] { accent-color: var(--wb-accent); }

/* ── Divider with label ── */
.wb-or-divider {
  display: flex; align-items: center; gap: 1rem;
  color: var(--wb-text-muted); font-size: 0.78rem; margin: 1rem 0;
}
.wb-or-divider::before, .wb-or-divider::after { content: ''; flex: 1; height: 1px; background: var(--wb-border); }

/* ── Search Input ── */
.wb-search { position: relative; }
.wb-search input { padding-left: 2.25rem; }
.wb-search .search-icon {
  position: absolute; left: 0.75rem; top: 50%; transform: translateY(-50%);
  color: var(--wb-text-muted); pointer-events: none; font-size: 0.9rem;
}


/* ── AJAX / Async helpers ── */
@keyframes wb-spin { to { transform: rotate(360deg); } }
.spin-anim { animation: wb-spin 0.6s linear infinite; display: inline-block; }

/* Inline spinner (small) */
.wb-spinner {
  display: inline-block;
  width: 22px; height: 22px;
  border: 2px solid var(--wb-border);
  border-top-color: var(--wb-accent);
  border-radius: 50%;
  animation: wb-spin 0.7s linear infinite;
}

/* Table row fade-in after AJAX update */
@keyframes wb-row-in { from { opacity:0; transform: translateY(4px); } to { opacity:1; transform: none; } }
#proj-tbody tr, #user-tbody tr, #recent-bookings-tbody tr {
  animation: wb-row-in 0.18s ease both;
}

/* ── Print ── */
@media print {
  .wb-navbar, .wb-sidebar, .wb-footer, .wb-fab, .wb-bottom-nav,
  .btn, .dropdown, .modal, .alert { display: none !important; }
  body { background: #fff !important; color: #000 !important; font-size: 11pt; }
  .wb-main-content { padding: 0 !important; }
  .card { border: 1px solid #ccc !important; box-shadow: none !important; break-inside: avoid; }
  .wb-stat-card .stat-number { color: #000 !important; }
  .status-badge { border: 1px solid #ccc; color: #000 !important; background: #f5f5f5 !important; }
  a[href]::after { content: " (" attr(href) ")"; font-size: 9pt; color: #666; }
}
