/* ============================================
   MODERN DARK THEME – ADMIN PANEL
   Mobile Responsive & Contemporary
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@300;400;500;600;700;800&family=Inter:wght@300;400;500;600;700&display=swap');

/* ── CSS Variables (Modern Dark) ── */
:root {
  --bg-primary:    #0F1419;
  --bg-secondary:  #1A1F2E;
  --bg-card:       #151B28;
  --bg-card-2:     #1E2537;
  --bg-card-3:     #252D3D;
  --accent-indigo: #6366F1;
  --accent-indigo-l: #818CF8;
  --accent-indigo-d: #4F46E5;
  --accent-coral:  #FF6B35;
  --accent-coral-l: #FF8C4A;
  --accent-green:  #10B981;
  --accent-green-l: #34D399;
  --accent-red:    #EF4444;
  --accent-red-l:  #F87171;
  --accent-purple: #A78BFA;
  --neon-blue:     #00d4ff;
  --neon-orange:   #ff6b1a;
  --neon-green:    #00ff9f;
  --neon-purple:   #7b2ff7;
  --text-primary:  #F8FAFC;
  --text-secondary: #CBD5E1;
  --text-muted:    #94A3B8;
  --border:        rgba(148, 163, 184, 0.12);
  --border-hover:  rgba(99, 102, 241, 0.3);
  --shadow-sm:     0 1px 3px rgba(0,0,0,0.3);
  --shadow-md:     0 4px 12px rgba(0,0,0,0.4);
  --shadow-lg:     0 12px 32px rgba(0,0,0,0.5);
  --shadow-xl:     0 20px 48px rgba(0,0,0,0.6);
  --radius:        12px;
  --radius-lg:     16px;
  --radius-xl:     20px;
  --ease-out-back: cubic-bezier(0.22, 1, 0.36, 1);
  --ease-spring:   cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ── Base ── */
*, *::before, *::after { box-sizing: border-box; }

body {
  font-family: 'Inter', system-ui, sans-serif;
  background-color: var(--bg-primary);
  color: var(--text-primary);
  min-height: 100vh;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Ensure all text is readable on dark background */
body, p, span, li, td, th, label, a, button, input, select, textarea {
  color: var(--text-primary) !important;
}

.text-muted { color: var(--text-muted) !important; }
.text-secondary { color: var(--text-secondary) !important; }

/* ── Typography ── */
h1, h2, h3, h4, h5, h6 {
  font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
  font-weight: 700;
  color: var(--text-primary);
}

h2 { font-size: clamp(1.25rem, 4vw, 1.75rem); font-weight: 800; }
h5 { font-size: 0.95rem; font-weight: 700; }

/* ── Admin Navbar ── */
.navbar {
  background: rgba(15, 20, 25, 0.98) !important;
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
  padding: 0.75rem 0;
  position: sticky;
  top: 0;
  z-index: 1030;
  box-shadow: var(--shadow-md);
}

.navbar-brand {
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--accent-indigo) !important;
  letter-spacing: 0.02em;
}

.navbar-brand i { color: var(--accent-coral); }

.nav-link {
  color: var(--text-secondary) !important;
  font-size: 0.9rem;
  font-weight: 500;
  padding: 0.5rem 1rem !important;
  border-radius: var(--radius);
  transition: all 0.3s ease;
}

.nav-link:hover {
  color: var(--accent-indigo) !important;
  background: rgba(79, 70, 229, 0.08);
}

.nav-link.active {
  color: var(--accent-indigo) !important;
  background: rgba(79, 70, 229, 0.12);
}

.navbar-toggler {
  border-color: var(--border);
  padding: 0.5rem;
}
.navbar-toggler-icon { filter: none; }

/* ── Flash messages ── */
.alert {
  border-radius: var(--radius);
  background: var(--bg-card-2) !important;
  color: var(--text-primary) !important;
  border: 1px solid var(--border);
}
.alert-success { border-color: rgba(16, 185, 129, 0.3) !important; background: rgba(16, 185, 129, 0.08) !important; }
.alert-danger  { border-color: rgba(239, 68, 68, 0.3) !important; background: rgba(239, 68, 68, 0.08) !important; }
.alert-warning { border-color: rgba(245, 158, 11, 0.3) !important; background: rgba(245, 158, 11, 0.08) !important; }
.alert-info    { border-color: rgba(79, 70, 229, 0.3) !important; background: rgba(79, 70, 229, 0.08) !important; }
.btn-close { filter: none; opacity: 0.5; }

/* ── Main ── */
main.container-fluid { padding: 1rem; }
@media (min-width: 768px) {
  main.container-fluid { padding: 1.5rem 2rem; }
}

/* ── Cards ── */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  color: var(--text-primary);
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
}

.card:hover {
  box-shadow: var(--shadow-lg);
  border-color: rgba(79, 70, 229, 0.2);
}

.card-header {
  background: var(--bg-card-2) !important;
  border-bottom: 1px solid var(--border);
  color: var(--text-primary) !important;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0 !important;
  padding: 1rem 1.25rem;
  font-weight: 600;
}

.card-header h5 {
  font-size: 0.95rem;
  letter-spacing: 0.02em;
  color: var(--accent-indigo);
  margin: 0;
  font-weight: 600;
}

/* Coloured card headers */
.card-header.bg-success { background: rgba(16, 185, 129, 0.08) !important; border-color: rgba(16, 185, 129, 0.2) !important; }
.card-header.bg-info    { background: rgba(79, 70, 229, 0.08) !important; border-color: rgba(79, 70, 229, 0.2) !important; }
.card-header.bg-dark    { background: var(--bg-card-3) !important; border-color: var(--border) !important; }
.card-header.bg-primary { background: rgba(79, 70, 229, 0.08) !important; border-color: rgba(79, 70, 229, 0.2) !important; }
.card-header.bg-warning { background: rgba(249, 115, 22, 0.08) !important; border-color: rgba(249, 115, 22, 0.2) !important; }
.card-header.bg-danger  { background: rgba(239, 68, 68, 0.08) !important; border-color: rgba(239, 68, 68, 0.2) !important; }

.card-header * { color: var(--text-primary) !important; }

.bg-light { background: var(--bg-card-2) !important; }
.bg-dark  { background: var(--bg-card-3) !important; }

/* ── Buttons ── */
.btn {
  font-family: 'DM Sans', system-ui, sans-serif;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: var(--radius);
  transition: all 0.3s ease;
  border: none;
}

.btn-primary {
  background: var(--accent-indigo);
  color: white;
}
.btn-primary:hover {
  background: var(--accent-indigo-d);
  box-shadow: var(--shadow-lg);
}

.btn-success {
  background: var(--accent-green);
  color: white;
}
.btn-success:hover {
  background: var(--accent-green-l);
  box-shadow: var(--shadow-lg);
}

.btn-danger {
  background: var(--accent-red);
  color: white;
}
.btn-danger:hover {
  background: var(--accent-red-l);
  box-shadow: var(--shadow-lg);
}

.btn-warning {
  background: var(--accent-coral);
  color: white;
}
.btn-warning:hover {
  background: var(--accent-coral-l);
  box-shadow: var(--shadow-lg);
}

.btn-info {
  background: var(--accent-indigo-l);
  color: white;
}
.btn-info:hover {
  background: var(--accent-indigo);
  box-shadow: var(--shadow-lg);
}

.btn-dark {
  background: var(--bg-secondary);
  border: 1px solid var(--border);
  color: var(--text-primary);
}
.btn-dark:hover {
  background: var(--bg-card-2);
  border-color: var(--border-hover);
}

.btn-outline-primary {
  border: 2px solid var(--accent-indigo);
  color: var(--accent-indigo);
  background: transparent;
}
.btn-outline-primary:hover {
  background: rgba(79, 70, 229, 0.1);
  color: var(--accent-indigo-d);
  border-color: var(--accent-indigo-d);
}

.btn-outline-secondary {
  border: 2px solid var(--border);
  color: var(--text-secondary);
  background: transparent;
}
.btn-outline-secondary:hover {
  background: var(--bg-card-2);
  color: var(--text-primary);
  border-color: var(--border-hover);
}

.btn-outline-danger {
  border: 2px solid var(--accent-red);
  color: var(--accent-red);
  background: transparent;
}
.btn-outline-danger:hover {
  background: rgba(239, 68, 68, 0.1);
  border-color: var(--accent-red-l);
  color: var(--accent-red-l);
}

.btn-sm { padding: 0.4rem 0.8rem; font-size: 0.85rem; }
.btn-lg { padding: 0.8rem 1.5rem; font-size: 1rem; }

/* Mobile buttons */
@media (max-width: 576px) {
  .btn { padding: 0.5rem 1rem; font-size: 0.9rem; }
  .btn-sm { padding: 0.3rem 0.6rem; font-size: 0.8rem; }
}

/* ── Tables ── */
.table {
  color: var(--text-primary);
  --bs-table-bg: transparent;
  --bs-table-hover-bg: rgba(79, 70, 229, 0.05);
  font-size: 0.95rem;
  margin-bottom: 0;
}

.table th {
  color: var(--accent-indigo);
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 700;
  border-color: var(--border);
  background: var(--bg-card-2);
  padding: 0.95rem 1rem;
  white-space: nowrap;
}

.table td {
  border-color: var(--border);
  vertical-align: middle;
  padding: 0.85rem 1rem;
}

.table tbody tr:hover {
  background: rgba(79, 70, 229, 0.05);
}

.table-dark {
  --bs-table-bg: var(--bg-card-2);
  background: var(--bg-card-2) !important;
  color: var(--text-primary) !important;
}

.table-hover tbody tr:hover { background: rgba(0, 212, 255, 0.03); }

.table-borderless td, .table-borderless th { border: none; }

/* ── Badges ── */
.badge {
  font-family: 'DM Sans', system-ui, sans-serif;
  font-weight: 600;
  letter-spacing: 0.02em;
  border-radius: var(--radius);
  font-size: 0.85rem;
  padding: 0.5rem 0.75rem;
}

.bg-primary   { background: var(--accent-indigo) !important; color: white !important; }
.bg-success   { background: var(--accent-green) !important; color: white !important; }
.bg-warning   { background: var(--accent-coral) !important; color: white !important; }
.bg-info      { background: var(--accent-indigo-l) !important; color: white !important; }
.bg-danger    { background: var(--accent-red) !important; color: white !important; }
.bg-secondary { background: var(--text-muted) !important; color: white !important; }
.bg-dark      { background: var(--bg-card-3) !important; color: var(--text-primary) !important; }

/* ── Forms ── */
.form-control, .form-select, textarea {
  background: var(--bg-card) !important;
  border: 1px solid var(--border);
  color: var(--text-primary) !important;
  border-radius: var(--radius);
  font-size: 0.95rem;
  padding: 0.65rem 0.95rem;
  transition: all 0.3s ease;
}

.form-control::placeholder { color: var(--text-muted); }

.form-control:focus, .form-select:focus, textarea:focus {
  border-color: var(--accent-indigo) !important;
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1) !important;
  background: var(--bg-card) !important;
  color: var(--text-primary) !important;
}

.form-label {
  color: var(--text-secondary);
  font-size: 0.9rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.form-select option { background: var(--bg-card); color: var(--text-primary); }

.form-check-input {
  background-color: var(--bg-card);
  border: 2px solid var(--border);
  width: 1.2rem;
  height: 1.2rem;
}

.form-check-input:checked {
  background-color: var(--accent-indigo);
  border-color: var(--accent-indigo);
}

/* ── Booking Cards (Dashboard) ── */
.booking-card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  border-left: 4px solid var(--accent-indigo);
  box-shadow: var(--shadow-md);
  transition: all 0.3s ease;
  overflow: hidden;
}

.booking-card:hover {
  box-shadow: var(--shadow-lg);
  transform: translateY(-2px);
}

.booking-card-body { background: transparent; }

.booking-time, .booking-date-time {
  font-family: 'Sora', sans-serif;
  font-size: 0.9rem;
  color: var(--accent-indigo);
  letter-spacing: 0.02em;
  font-weight: 600;
}

.booking-customer {
  font-size: 0.9rem;
  color: var(--text-primary);
  font-weight: 500;
}

.booking-details { font-size: 0.82rem; color: var(--text-muted); }

.booking-address {
  font-size: 0.82rem;
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.25rem;
  color: var(--text-muted);
}

/* ── Status border accents ── */
.border-start { border-left-width: 4px !important; }
.border-warning   { border-color: var(--accent-coral) !important; }
.border-success   { border-color: var(--accent-green) !important; }
.border-info      { border-color: var(--accent-indigo) !important; }
.border-primary   { border-color: var(--accent-indigo) !important; }
.border-dark      { border-color: var(--text-muted) !important; }
.border-danger    { border-color: var(--accent-red) !important; }
.border-secondary { border-color: var(--border) !important; }

/* ── Tab navigation ── */
.nav-tabs {
  border-bottom: 1px solid var(--border);
  flex-wrap: wrap;
  overflow-x: auto;
}

.nav-tabs .nav-link {
  color: var(--text-secondary) !important;
  font-size: 0.95rem;
  font-weight: 500;
  padding: 0.75rem 1.25rem !important;
  border: none;
  border-bottom: 3px solid transparent;
  border-radius: 0 !important;
  background: none !important;
  white-space: nowrap;
  transition: all 0.3s ease;
}

.nav-tabs .nav-link:hover {
  color: var(--accent-indigo) !important;
  border-bottom-color: rgba(79, 70, 229, 0.3);
}

.nav-tabs .nav-link.active {
  color: var(--accent-indigo) !important;
  background: transparent !important;
  border-bottom-color: var(--accent-indigo);
}

/* ── Workflow buttons ── */
.workflow-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
}

.btn-action {
  min-height: 40px;
  min-width: 40px;
  padding: 0.45rem 0.7rem;
  font-size: 0.82rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 7px;
  transition: all 0.18s ease;
}

.btn-action:active { transform: scale(0.95); }
.btn-action i { font-size: 1rem; }

/* ── FullCalendar overrides ── */
.fc {
  --fc-border-color: var(--border);
  --fc-page-bg-color: var(--bg-card);
  --fc-neutral-bg-color: var(--bg-card-2);
  color: var(--text-primary);
}

.fc-theme-standard td, .fc-theme-standard th { border-color: var(--border); }
.fc-col-header-cell { background: var(--bg-card-2); }
.fc-daygrid-day-number { color: var(--text-secondary); }
.fc-daygrid-day.fc-day-today { background: rgba(79, 70, 229, 0.08) !important; }

.fc-button-primary {
  background: var(--accent-indigo) !important;
  border-color: var(--accent-indigo) !important;
  color: white !important;
}
.fc-button-primary:hover {
  background: var(--accent-indigo-d) !important;
  border-color: var(--accent-indigo-d) !important;
}
.fc-button-primary:not(:disabled).fc-button-active {
  background: var(--accent-indigo-d) !important;
}

/* ── Misc ── */
hr { border-color: var(--border); opacity: 1; }
.text-muted { color: var(--text-muted) !important; }
.text-primary { color: var(--accent-indigo) !important; }
.text-white { color: var(--text-primary) !important; }
.text-dark { color: var(--text-primary) !important; }
.text-secondary { color: var(--text-secondary) !important; }

/* Ensure all small text is visible */
small, .small { color: var(--text-secondary) !important; }

/* ── Admin login ── */
.admin-login-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  max-width: 400px;
  margin: 3rem auto;
  padding: 2rem;
  box-shadow: var(--shadow-lg);
}

/* ── Scrollbar ── */
::-webkit-scrollbar { width: 8px; height: 8px; }
::-webkit-scrollbar-track { background: var(--bg-secondary); }
::-webkit-scrollbar-thumb { background: rgba(79, 70, 229, 0.3); border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: rgba(79, 70, 229, 0.5); }

/* ══════════════════════════════════════════════════════════
   MOBILE RESPONSIVENESS – Aether Light Theme
   ══════════════════════════════════════════════════════════ */

/* ── Extra Small (Mobile) ── */
@media (max-width: 576px) {
  body { font-size: 0.95rem; }
  main.container-fluid { padding: 0.75rem; }

  .navbar { padding: 0.5rem 0; }
  .navbar-brand { font-size: 1rem; }

  .card { margin-bottom: 1rem; }
  .card-header { padding: 0.75rem 1rem; }
  .card-header h5 { font-size: 0.85rem; }
  .card-body { padding: 1rem; }

  .row.g-4 { row-gap: 1rem; }
  .col-md-6, .col-lg-7, .col-lg-5 { padding: 0.5rem; }

  .booking-card-body { padding: 0.75rem !important; }
  .booking-time, .booking-date-time { font-size: 0.85rem; }

  .btn { padding: 0.5rem 1rem; font-size: 0.9rem; }
  .btn-sm { padding: 0.3rem 0.75rem; font-size: 0.8rem; }
  .btn-lg { padding: 0.75rem 1.25rem; font-size: 0.95rem; }

  .table { font-size: 0.85rem; }
  .table th { padding: 0.6rem 0.75rem; font-size: 0.75rem; }
  .table td { padding: 0.6rem 0.75rem; }

  .form-control, .form-select, textarea { font-size: 0.9rem; padding: 0.55rem 0.85rem; }

  .nav-tabs { flex-wrap: wrap; }
  .nav-tabs .nav-link { padding: 0.5rem 0.8rem !important; font-size: 0.85rem; }

  .workflow-actions { flex-direction: column; width: 100%; }
  .btn-action { width: 100%; justify-content: center; min-height: 44px; }

  .badge { padding: 0.4rem 0.6rem; font-size: 0.75rem; }

  .sticky-top { position: relative !important; top: auto !important; margin-top: 1rem; }

  h2 { font-size: 1.25rem; }
  h5 { font-size: 0.95rem; }
}

/* ── Small (Tablet Portrait) ── */
@media (min-width: 576px) and (max-width: 768px) {
  main.container-fluid { padding: 1rem 1.5rem; }

  .booking-card-body { padding: 0.85rem !important; }
  .workflow-actions { flex-wrap: wrap; gap: 0.5rem; }

  .btn-sm { padding: 0.35rem 0.8rem; }
  .table { font-size: 0.9rem; }
}

/* ── Medium (Tablet Landscape + Small Desktop) ── */
@media (min-width: 768px) {
  .booking-card-body { padding: 1rem !important; }
  .workflow-actions { justify-content: flex-end; }

  .nav-tabs .nav-link { font-size: 0.95rem; }
}

/* ── Large (Desktop) ── */
@media (min-width: 992px) {
  .booking-time, .booking-date-time { font-size: 0.95rem; }

  .sticky-top { top: 100px; }
}

/* ── Touch Device Optimizations ── */
@media (hover: none) and (pointer: coarse) {
  .btn-action { min-height: 48px; min-width: 48px; padding: 0.6rem 0.9rem; }
  .btn { padding: 0.65rem 1.2rem; }

  .nav-link { padding: 0.6rem 1rem !important; }
}

/* ── Accessibility ── */
.btn-action:focus, .nav-tabs .nav-link:focus {
  outline: 2px solid var(--accent-indigo);
  outline-offset: 2px;
  box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.2);
}

/* ══════════════════════════════════════════════════════════
   DASHBOARD – Admin Daily Interface
   ══════════════════════════════════════════════════════════ */

/* ── Section title ── */
.dash-section {
    margin-bottom: 1.75rem;
}
.dash-section-title {
    font-family: 'Plus Jakarta Sans', 'Sora', sans-serif;
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--accent-indigo);
    margin-bottom: 0.75rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--border);
    display: flex;
    align-items: center;
    font-weight: 700;
    transition: color 0.3s ease, border-color 0.3s ease;
}
.dash-section-title:hover {
    color: var(--neon-blue);
    border-color: rgba(0, 212, 255, 0.25);
}

/* ── Dashboard page enter animations ── */
@keyframes dashFadeUp {
    from { opacity: 0; transform: translateY(18px); }
    to   { opacity: 1; transform: translateY(0); }
}
@keyframes dashFadeIn {
    from { opacity: 0; }
    to   { opacity: 1; }
}
@keyframes dashScaleIn {
    from { opacity: 0; transform: scale(0.94); }
    to   { opacity: 1; transform: scale(1); }
}
@keyframes dashShimmer {
    0%   { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}
@keyframes dashGlowBreathe {
    0%, 100% { box-shadow: 0 0 18px rgba(0, 212, 255, 0.08), 0 8px 28px rgba(0, 0, 0, 0.25); }
    50%      { box-shadow: 0 0 32px rgba(0, 212, 255, 0.22), 0 8px 28px rgba(0, 0, 0, 0.25); }
}
@keyframes dashGlowBreatheOrange {
    0%, 100% { box-shadow: 0 0 16px rgba(255, 107, 26, 0.08), 0 8px 28px rgba(0, 0, 0, 0.25); }
    50%      { box-shadow: 0 0 28px rgba(255, 107, 26, 0.2), 0 8px 28px rgba(0, 0, 0, 0.25); }
}
@keyframes dashBorderSweep {
    0%   { opacity: 0.35; }
    50%  { opacity: 0.85; }
    100% { opacity: 0.35; }
}
@keyframes dashIconBob {
    0%, 100% { transform: translateY(0); }
    50%      { transform: translateY(-3px); }
}
@keyframes progressShine {
    0%   { transform: translateX(-120%); }
    100% { transform: translateX(220%); }
}

.dash-anim {
    opacity: 0;
    animation: dashFadeUp 0.55s var(--ease-out-back) forwards;
}
.dash-anim-d1 { animation-delay: 0.05s; }
.dash-anim-d2 { animation-delay: 0.12s; }
.dash-anim-d3 { animation-delay: 0.19s; }
.dash-anim-d4 { animation-delay: 0.26s; }
.dash-anim-d5 { animation-delay: 0.33s; }
.dash-anim-d6 { animation-delay: 0.4s; }
.dash-anim-d7 { animation-delay: 0.47s; }

.dash-page-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1.25rem;
    opacity: 0;
    animation: dashFadeUp 0.5s var(--ease-out-back) forwards;
}
.dash-page-greeting {
    margin: 0;
    font-family: 'Plus Jakarta Sans', system-ui, sans-serif;
    font-size: clamp(1.15rem, 3vw, 1.45rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    background: linear-gradient(120deg, #fff 0%, var(--neon-blue) 55%, var(--accent-purple) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent !important;
}
.dash-page-sub {
    margin: 0.2rem 0 0;
    font-size: 0.8rem;
    color: var(--text-muted) !important;
}
.dash-live-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.75rem;
    border-radius: 999px;
    border: 1px solid rgba(0, 255, 159, 0.25);
    background: rgba(0, 255, 159, 0.08);
    color: var(--neon-green) !important;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    flex-shrink: 0;
}
.dash-live-chip .dash-pulse-dot {
    width: 6px;
    height: 6px;
}

.dash-alert-approve {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.12), rgba(123, 47, 247, 0.08));
    border: 1px solid rgba(0, 212, 255, 0.45);
    border-radius: var(--radius-lg);
    box-shadow: 0 0 18px rgba(0, 212, 255, 0.25);
    animation: pulseNeon 2.4s ease-in-out infinite, dashFadeUp 0.5s var(--ease-out-back) both;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.1rem 1.25rem;
    margin-bottom: 1.25rem;
    flex-wrap: wrap;
}
.dash-alert-approve .btn {
    transition: transform 0.25s var(--ease-spring), box-shadow 0.25s ease;
}
.dash-alert-approve .btn:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 0 18px rgba(0, 212, 255, 0.55);
}

@keyframes pulseNeon {
    0%, 100% {
        box-shadow: 0 0 10px rgba(0, 212, 255, 0.35);
        border-color: rgba(0, 212, 255, 0.55);
    }
    50% {
        box-shadow: 0 0 26px rgba(0, 212, 255, 0.7), inset 0 0 12px rgba(0, 212, 255, 0.12);
        border-color: rgba(0, 212, 255, 0.95);
    }
}

/* ── Overview bar (scrollable stats) ── */
.dash-overview {
    margin-bottom: 1.5rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    padding-bottom: 8px;
}
.dash-overview::-webkit-scrollbar { display: none; }

.dash-overview-inner {
    display: flex;
    gap: 0.8rem;
    min-width: max-content;
}

.dash-stat {
    position: relative;
    background: linear-gradient(165deg, rgba(30, 37, 55, 0.95), rgba(21, 27, 40, 0.98));
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 0.95rem 1.05rem;
    min-width: 128px;
    text-align: center;
    flex-shrink: 0;
    transition: transform 0.35s var(--ease-out-back), border-color 0.3s ease, box-shadow 0.3s ease;
    box-shadow: var(--shadow-sm);
    overflow: hidden;
    opacity: 0;
    animation: dashFadeUp 0.55s var(--ease-out-back) forwards;
}
.dash-stat::before {
    content: '';
    position: absolute;
    top: 0;
    left: 12%;
    right: 12%;
    height: 2px;
    border-radius: 0 0 4px 4px;
    background: linear-gradient(90deg, transparent, var(--accent-indigo), transparent);
    opacity: 0.7;
    transition: opacity 0.3s ease, left 0.35s ease, right 0.35s ease;
}
.dash-stat::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 50% 0%, rgba(99, 102, 241, 0.12), transparent 65%);
    opacity: 0;
    transition: opacity 0.35s ease;
    pointer-events: none;
}
.dash-stat:hover {
    border-color: rgba(79, 70, 229, 0.4);
    box-shadow: 0 10px 28px rgba(0, 0, 0, 0.35), 0 0 20px rgba(99, 102, 241, 0.12);
    transform: translateY(-4px);
}
.dash-stat:hover::before {
    left: 6%;
    right: 6%;
    opacity: 1;
}
.dash-stat:hover::after { opacity: 1; }
.dash-stat:hover .dash-stat-icon {
    animation: dashIconBob 0.9s ease-in-out infinite;
}

.dash-stat-icon {
    font-size: 1.25rem;
    margin-bottom: 0.4rem;
    color: var(--accent-indigo);
    transition: color 0.3s ease, transform 0.3s ease;
}
.dash-stat-value {
    font-family: 'Plus Jakarta Sans', 'Sora', sans-serif;
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text-primary);
    line-height: 1.2;
    word-break: break-all;
    transition: color 0.3s ease;
}
.dash-stat-label {
    font-size: 0.72rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin-top: 0.25rem;
    font-weight: 500;
}

/* ── Custom stat card styles ── */
.dash-stat-clock { border-color: rgba(0, 212, 255, 0.22); }
.dash-stat-clock::before { background: linear-gradient(90deg, transparent, var(--neon-blue), transparent); }
.dash-stat-clock .dash-stat-icon { color: var(--neon-blue); }
.dash-stat-clock .dash-stat-value { color: var(--neon-blue); font-size: 1.15rem; font-variant-numeric: tabular-nums; }

.dash-stat-pending .dash-stat-value { color: var(--neon-orange); }
.dash-stat-pending.has-pending {
    border-color: rgba(255,107,26,0.4);
    animation: dashFadeUp 0.55s var(--ease-out-back) forwards, pendingPulse 2.5s ease-in-out 0.6s infinite;
}
.dash-stat-pending.has-pending::before {
    background: linear-gradient(90deg, transparent, var(--neon-orange), transparent);
}

.dash-stat-progress .dash-stat-value { color: var(--neon-green); }
.dash-stat-progress::before { background: linear-gradient(90deg, transparent, var(--neon-green), transparent); }
.dash-stat-revenue .dash-stat-value { color: var(--neon-green); font-size: 0.82rem; }
.dash-stat-revenue::before { background: linear-gradient(90deg, transparent, var(--neon-green), transparent); }
.dash-stat-remaining-rev .dash-stat-value { color: var(--text-muted); font-size: 0.82rem; }

.dash-stat-quick {
    text-decoration: none !important;
    cursor: pointer;
    border-color: rgba(0, 212, 255, 0.18) !important;
}
.dash-stat-quick::before { background: linear-gradient(90deg, transparent, var(--neon-blue), transparent); }
.dash-stat-quick .dash-stat-icon { color: var(--neon-blue); }
.dash-stat-quick .dash-stat-value { font-size: 0.9rem; color: var(--neon-blue) !important; }
.dash-stat-quick:hover {
    border-color: rgba(0, 212, 255, 0.45) !important;
    background: linear-gradient(165deg, rgba(0, 212, 255, 0.1), rgba(21, 27, 40, 0.98));
}

.dash-progress-bar {
    height: 5px;
    background: rgba(255,255,255,0.07);
    border-radius: 999px;
    margin-top: 0.45rem;
    overflow: hidden;
    position: relative;
}
.dash-progress-fill {
    height: 100%;
    width: 0;
    background: linear-gradient(90deg, #00c878, var(--neon-green), #7dffc8);
    border-radius: 999px;
    transition: width 1.1s var(--ease-out-back);
    min-width: 0;
    position: relative;
    box-shadow: 0 0 10px rgba(0, 255, 159, 0.35);
}
.dash-progress-fill.is-ready { min-width: 2px; }
.dash-progress-fill::after {
    content: '';
    position: absolute;
    inset: 0;
    width: 40%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.45), transparent);
    animation: progressShine 2.2s ease-in-out infinite;
}

/* ── Hero szekció ── */
.dash-hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 1.75rem;
}

.dash-hero-card {
    background: linear-gradient(160deg, rgba(30, 37, 55, 0.98), rgba(21, 27, 40, 0.95));
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 16px;
    padding: 1.2rem;
    position: relative;
    overflow: hidden;
    opacity: 0;
    animation: dashScaleIn 0.6s var(--ease-out-back) forwards;
    transition: transform 0.35s var(--ease-out-back), border-color 0.3s ease;
}
.dash-hero-card::before {
    content: '';
    position: absolute;
    inset: -40% auto auto -20%;
    width: 180px;
    height: 180px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.14), transparent 70%);
    pointer-events: none;
    animation: dashBorderSweep 4s ease-in-out infinite;
}
.dash-hero-card:hover {
    transform: translateY(-3px);
}

.dash-hero-active {
    border-color: rgba(0, 212, 255, 0.55);
    animation: dashScaleIn 0.6s var(--ease-out-back) forwards, dashGlowBreathe 3.2s ease-in-out 0.6s infinite;
}
.dash-hero-active::after {
    content: '';
    position: absolute;
    left: 0;
    top: 12%;
    bottom: 12%;
    width: 3px;
    border-radius: 0 4px 4px 0;
    background: linear-gradient(180deg, transparent, var(--neon-blue), transparent);
}

.dash-hero-next {
    border-color: rgba(255, 107, 26, 0.5);
    animation: dashScaleIn 0.6s var(--ease-out-back) 0.1s forwards, dashGlowBreatheOrange 3.4s ease-in-out 0.7s infinite;
}
.dash-hero-next::before {
    background: radial-gradient(circle, rgba(255, 107, 26, 0.14), transparent 70%);
}
.dash-hero-next::after {
    content: '';
    position: absolute;
    left: 0;
    top: 12%;
    bottom: 12%;
    width: 3px;
    border-radius: 0 4px 4px 0;
    background: linear-gradient(180deg, transparent, var(--neon-orange), transparent);
}

.dash-hero-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 2.5rem 1rem;
    background: linear-gradient(160deg, rgba(30, 37, 55, 0.9), rgba(21, 27, 40, 0.95));
    border: 1px dashed rgba(0, 255, 159, 0.25);
    border-radius: 16px;
    opacity: 0;
    animation: dashFadeUp 0.6s var(--ease-out-back) forwards;
}
.dash-hero-empty i {
    animation: dashIconBob 2.4s ease-in-out infinite;
}

.dash-hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.6rem;
    font-weight: 700;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--neon-blue);
    background: rgba(0,212,255,0.1);
    border: 1px solid rgba(0,212,255,0.22);
    padding: 0.22rem 0.6rem;
    border-radius: 999px;
    margin-bottom: 0.65rem;
    backdrop-filter: blur(6px);
}
.dash-hero-badge-next {
    color: var(--neon-orange);
    background: rgba(255,107,26,0.1);
    border-color: rgba(255,107,26,0.25);
}

.dash-pulse-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #00ff9f;
    flex-shrink: 0;
    box-shadow: 0 0 8px rgba(0, 255, 159, 0.7);
    animation: pulseDot 1.6s ease-in-out infinite;
}

@keyframes pulseDot {
    0%, 100% { opacity: 1; transform: scale(1); box-shadow: 0 0 6px rgba(0, 255, 159, 0.55); }
    50% { opacity: 0.45; transform: scale(0.65); box-shadow: 0 0 2px rgba(0, 255, 159, 0.2); }
}

@keyframes pendingPulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(255,107,26,0); }
    50% { box-shadow: 0 0 16px 2px rgba(255,107,26,0.16); }
}

.dash-hero-status {
    position: absolute;
    top: 1rem;
    right: 1rem;
    z-index: 1;
}

.dash-hero-countdown {
    margin: 0.4rem 0 0.6rem;
    line-height: 1;
}
.dash-countdown-number {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.75rem;
    font-weight: 900;
    color: var(--neon-orange);
    line-height: 1;
    font-variant-numeric: tabular-nums;
    text-shadow: 0 0 18px rgba(255, 107, 26, 0.35);
    transition: color 0.3s ease, transform 0.3s ease;
}
.dash-countdown-unit {
    font-size: 0.72rem;
    color: var(--text-muted);
    display: block;
    margin-top: 0.12rem;
}
.dash-countdown-urgent {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.4rem;
    font-weight: 900;
    color: #ff3d5a;
    animation: urgentPulse 0.9s ease-in-out infinite;
    text-shadow: 0 0 16px rgba(255, 61, 90, 0.45);
}
@keyframes urgentPulse {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(1.04); }
}

.dash-hero-time {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.82rem;
    color: var(--neon-blue);
    margin-bottom: 0.35rem;
}
.dash-hero-customer {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}
.dash-hero-address {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 0.2rem;
}
.dash-hero-services {
    font-size: 0.76rem;
    color: var(--text-muted);
    margin-bottom: 0.2rem;
}
.dash-hero-price {
    font-size: 0.8rem;
    color: var(--neon-green);
    margin-bottom: 0.65rem;
    font-weight: 600;
}
.dash-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.45rem;
    margin-top: 0.75rem;
    position: relative;
    z-index: 1;
}
.btn-hero-action {
    min-height: 44px;
    padding: 0.45rem 0.9rem;
    font-size: 0.8rem;
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    border-radius: 10px;
    transition: transform 0.25s var(--ease-spring), box-shadow 0.25s ease, filter 0.25s ease;
}
.btn-hero-action:hover {
    transform: translateY(-2px);
    filter: brightness(1.08);
}

/* ── Idővonal ── */
.dash-timeline { display: flex; flex-direction: column; }

.dash-timeline-item {
    display: grid;
    grid-template-columns: 62px 18px 1fr;
    gap: 0.5rem;
    padding: 0.7rem 0.75rem;
    background: var(--bg-card);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 12px;
    margin-bottom: 0.45rem;
    transition: opacity 0.3s, box-shadow 0.3s;
    align-items: start;
}
.dash-timeline-past   { opacity: 0.42; }
.dash-timeline-current { opacity: 1; }
.dash-timeline-future  { opacity: 1; }
.dash-timeline-highlight {
    border-color: var(--neon-blue) !important;
    box-shadow: 0 0 16px rgba(0,212,255,0.1);
}

.dash-timeline-time { text-align: right; padding-right: 0.2rem; padding-top: 2px; }
.dash-tl-start {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.78rem;
    font-weight: 700;
    color: var(--neon-blue);
    line-height: 1.2;
}
.dash-tl-end { font-size: 0.67rem; color: var(--text-muted); }
.dash-tl-duration { font-size: 0.58rem; color: var(--text-muted); margin-top: 0.15rem; }

.dash-timeline-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 2px solid rgba(255,255,255,0.12);
    background: var(--bg-card-2);
    margin-top: 3px;
    flex-shrink: 0;
}
.dash-dot-pending    { border-color: #ffc107;  background: rgba(255,193,7,0.25); }
.dash-dot-accepted   { border-color: #00ff9f;  background: rgba(0,255,159,0.2); }
.dash-dot-in_transit { border-color: var(--neon-blue); background: rgba(0,212,255,0.2); }
.dash-dot-arrived    { border-color: #7b2ff7;  background: rgba(123,47,247,0.2); }
.dash-dot-completed  { border-color: var(--text-muted); background: rgba(138,138,170,0.2); }

.dash-timeline-content { min-width: 0; }
.dash-tl-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: 0.2rem;
    flex-wrap: wrap;
}
.dash-tl-customer {
    font-weight: 600;
    font-size: 0.86rem;
    color: var(--text-primary);
}
.dash-tl-details {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 0.12rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.dash-tl-actions { margin-top: 0.45rem; }

.btn-action-sm {
    min-height: 32px;
    padding: 0.2rem 0.5rem;
    font-size: 0.78rem;
}

.dash-timeline-gap {
    display: flex;
    align-items: center;
    gap: 0.45rem;
    padding: 0.1rem 0;
    margin: 0.1rem 0 0.1rem 72px;
}
.dash-timeline-gap-line {
    flex: 1;
    height: 1px;
    background: rgba(255,255,255,0.05);
}
.dash-timeline-gap-label {
    font-size: 0.62rem;
    color: var(--text-muted);
    white-space: nowrap;
    font-style: italic;
    opacity: 0.7;
}

/* ── Függőben kártyák ── */
.dash-pending-card {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--bg-card);
    border: 1px solid rgba(255,107,26,0.18);
    border-left: 3px solid var(--neon-orange);
    border-radius: 12px;
    padding: 0.7rem 0.9rem;
    margin-bottom: 0.5rem;
    gap: 0.75rem;
}
.dash-pending-info { flex: 1; min-width: 0; }
.dash-pending-date {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.72rem;
    color: var(--neon-orange);
    margin-bottom: 0.18rem;
}
.dash-pending-customer {
    font-weight: 600;
    font-size: 0.86rem;
    margin-bottom: 0.12rem;
}
.dash-pending-details {
    font-size: 0.73rem;
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.dash-pending-price {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.75rem;
    color: var(--neon-green, #00ff9f);
    margin-top: 0.12rem;
}
.dash-pending-actions {
    display: flex;
    gap: 0.35rem;
    flex-shrink: 0;
}
.btn-pending-action {
    min-height: 40px;
    min-width: 40px;
    font-size: 0.78rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.25rem;
}

/* ── Holnap előnézet ── */
.dash-tomorrow-list {
    background: linear-gradient(180deg, rgba(30, 37, 55, 0.9), rgba(21, 27, 40, 0.98));
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 14px;
    overflow: hidden;
}
.dash-tomorrow-item {
    display: grid;
    grid-template-columns: 52px 1fr auto auto;
    gap: 0.5rem;
    align-items: center;
    padding: 0.58rem 0.85rem;
    border-bottom: 1px solid rgba(255,255,255,0.04);
    opacity: 0;
    animation: dashFadeUp 0.4s var(--ease-out-back) forwards;
    transition: background 0.25s ease, padding-left 0.25s ease;
}
.dash-tomorrow-item:nth-child(1) { animation-delay: 0.05s; }
.dash-tomorrow-item:nth-child(2) { animation-delay: 0.1s; }
.dash-tomorrow-item:nth-child(3) { animation-delay: 0.15s; }
.dash-tomorrow-item:nth-child(4) { animation-delay: 0.2s; }
.dash-tomorrow-item:nth-child(5) { animation-delay: 0.25s; }
.dash-tomorrow-item:nth-child(n+6) { animation-delay: 0.3s; }
.dash-tomorrow-item:hover {
    background: rgba(123, 47, 247, 0.08);
    padding-left: 1rem;
}
.dash-tomorrow-item:last-child { border-bottom: none; }

.dash-tmrw-time {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.75rem;
    font-weight: 700;
    color: #7b2ff7;
}
.dash-tmrw-info { min-width: 0; }
.dash-tmrw-name {
    font-weight: 600;
    font-size: 0.82rem;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.dash-tmrw-location {
    font-size: 0.68rem;
    color: var(--text-muted);
    display: block;
}
.dash-tmrw-services {
    font-size: 0.68rem;
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 130px;
}

/* ── Üres állapotok ── */
.dash-empty-state {
    text-align: center;
    padding: 2rem 1rem;
    color: var(--text-muted);
    background: var(--bg-card);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 12px;
    font-size: 0.85rem;
}
.dash-empty-state-sm {
    padding: 0.85rem 1rem;
    color: var(--text-muted);
    font-size: 0.82rem;
    background: var(--bg-card);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 12px;
    text-align: center;
}

/* ── Reszponzív: mobil ── */
@media (max-width: 575.98px) {
    .dash-countdown-number { font-size: 1.35rem; }

    .dash-timeline-item {
        grid-template-columns: 54px 14px 1fr;
        padding: 0.6rem;
    }
    .dash-timeline-gap { margin-left: 62px; }

    .dash-pending-card {
        flex-direction: column;
        align-items: stretch;
    }
    .dash-pending-actions {
        justify-content: stretch;
    }
    .btn-pending-action { flex: 1; }

    .dash-tomorrow-item {
        grid-template-columns: 48px 1fr auto;
    }
    .dash-tmrw-services { display: none; }
}

/* Telefon-first dashboard (<768) – elsődleges használati mód */
@media (max-width: 767.98px) {
    .dash-page-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.55rem;
        margin-bottom: 0.85rem;
    }
    .dash-page-greeting { font-size: 1.15rem; }
    .dash-page-sub { font-size: 0.74rem; }

    /* Hero előre: aktív/következő munka a legfontosabb */
    .dash-priority-stack {
        display: flex;
        flex-direction: column;
    }
    .dash-priority-stack .dash-hero { order: -1; margin-bottom: 1rem; }

    .dash-hero {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    .dash-hero-card { padding: 1rem; }

    .dash-hero-actions {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0.5rem;
    }
    .dash-hero-actions > form {
        grid-column: 1 / -1;
        order: -1;
        display: block !important;
        width: 100%;
    }
    .dash-hero-actions > form .btn-hero-action {
        width: 100%;
        min-height: 52px;
        font-size: 0.95rem;
        font-weight: 700;
        justify-content: center;
        box-shadow: 0 6px 18px rgba(0, 0, 0, 0.28);
    }
    .dash-hero-actions > a.btn-hero-action {
        width: 100%;
        min-height: 48px;
        justify-content: center;
    }
    .w-100-mobile {
        display: block !important;
        width: 100%;
    }

    /* Statok: 2 oszlopos rács, nincs vízszintes scroll */
    .dash-overview {
        overflow: visible;
        padding-bottom: 0;
        margin-bottom: 1rem;
    }
    .dash-overview-inner {
        display: grid;
        grid-template-columns: 1fr 1fr;
        gap: 0.55rem;
        min-width: 0;
    }
    .dash-stat {
        min-width: 0;
        padding: 0.75rem 0.65rem;
    }
    .dash-stat-value { font-size: 0.95rem; }
    .dash-stat-revenue .dash-stat-value,
    .dash-stat-remaining-rev .dash-stat-value {
        font-size: 0.78rem;
        word-break: normal;
        overflow-wrap: anywhere;
    }
    .dash-stat-quick { min-width: 0; }
    .dash-stat-clock .dash-stat-label { display: none; }

    .dash-alert-approve {
        flex-direction: column;
        align-items: stretch;
        padding: 1rem;
    }
    .dash-alert-approve .btn {
        width: 100%;
        min-height: 48px;
        justify-content: center;
    }

    /* Sticky kanban tabok a topnav alatt */
    .kb-tabs-mobile {
        position: sticky;
        top: calc(48px + env(safe-area-inset-top, 0px));
        z-index: 30;
        background: rgba(15, 20, 25, 0.94);
        backdrop-filter: blur(12px);
        -webkit-backdrop-filter: blur(12px);
        margin-left: -0.25rem;
        margin-right: -0.25rem;
        padding: 0.45rem 0.25rem 0.55rem;
        border-bottom: 1px solid rgba(255, 255, 255, 0.06);
    }
    .kb-tab {
        min-height: 44px;
        padding: 0.55rem 0.85rem;
        font-size: 0.78rem;
    }
    .kb-column-header {
        display: none; /* a tab már mutatja az állapotot */
    }
    .kb-card {
        padding: 0.85rem 0.85rem;
    }
    .kb-card-actions {
        gap: 0.4rem;
    }
    .kb-card-actions .btn-action {
        min-height: 44px;
        min-width: 44px;
        padding: 0.35rem 0.65rem;
        font-size: 0.8rem;
    }
    .kb-card-actions .btn-action .kb-action-label {
        display: inline !important;
        margin-left: 0.25rem;
    }

    /* Alsó lélegzet + FAB hely */
    .admin-content-shell main.container-fluid,
    main.container-fluid.py-4 {
        padding-bottom: calc(5.5rem + env(safe-area-inset-bottom, 0px)) !important;
    }
}

/* Érintős eszközök – nagyobb tapasztható terület */
@media (hover: none) and (pointer: coarse) {
    .btn-hero-action   { min-height: 48px; }
    .btn-pending-action { min-height: 46px; }
    .kb-card-actions .btn-action { min-height: 44px; min-width: 44px; }
    .btn-action-sm { min-height: 38px; }
}

/* ── Témaváltó gomb ── */
.theme-switcher {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    cursor: pointer;
    padding: 0.28rem 0.6rem;
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 20px;
    background: transparent;
    color: var(--text-muted);
    font-size: 0.65rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    font-family: 'Inter', sans-serif;
    font-weight: 500;
    transition: border-color 0.2s, color 0.2s;
    white-space: nowrap;
    flex-shrink: 0;
}
.theme-switcher:hover {
    border-color: rgba(201,168,76,0.5);
    color: #c9a84c;
}
.theme-switcher-icon-neon   { display: inline; }
.theme-switcher-icon-luxury { display: none; }
[data-theme="luxury"] .theme-switcher-icon-neon   { display: none; }
[data-theme="luxury"] .theme-switcher-icon-luxury { display: inline; }
.theme-switcher-label-neon   { display: inline; }
.theme-switcher-label-luxury { display: none; }
[data-theme="luxury"] .theme-switcher-label-neon   { display: none; }
[data-theme="luxury"] .theme-switcher-label-luxury { display: inline; }

/* ══════════════════════════════════════════════════════════
   KANBAN BOARD – Diszpécser tábla
   ══════════════════════════════════════════════════════════ */

/* ── Tábla elrendezés ── */
.kb-board {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 0.85rem;
    margin-bottom: 1.75rem;
    min-height: 200px;
}

.kb-column {
    display: flex;
    flex-direction: column;
    min-width: 0;
    opacity: 0;
    animation: dashFadeUp 0.55s var(--ease-out-back) forwards;
    background: linear-gradient(180deg, rgba(30, 37, 55, 0.35), rgba(15, 20, 25, 0.15));
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 14px;
    padding: 0.35rem;
    transition: border-color 0.3s ease, box-shadow 0.3s ease, transform 0.3s ease;
}
.kb-column:nth-child(1) { animation-delay: 0.12s; }
.kb-column:nth-child(2) { animation-delay: 0.18s; }
.kb-column:nth-child(3) { animation-delay: 0.24s; }
.kb-column:nth-child(4) { animation-delay: 0.3s; }
.kb-column:nth-child(5) { animation-delay: 0.36s; }
.kb-column:hover {
    border-color: rgba(255, 255, 255, 0.09);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
}

/* ── Oszlop fejléc ── */
.kb-column-header {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    padding: 0.65rem 0.75rem;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 0.35rem;
    border-bottom: 2px solid;
    position: sticky;
    top: 0;
    z-index: 1;
    backdrop-filter: blur(8px);
}

.kb-header-pending  { color: #ffc107; border-color: rgba(255,193,7,0.35); background: rgba(255,193,7,0.08); }
.kb-header-accepted { color: var(--neon-green); border-color: rgba(0,255,159,0.3); background: rgba(0,255,159,0.08); }
.kb-header-transit  { color: var(--neon-blue); border-color: rgba(0,212,255,0.3); background: rgba(0,212,255,0.08); }
.kb-header-arrived  { color: var(--neon-purple); border-color: rgba(123,47,247,0.3); background: rgba(123,47,247,0.08); }
.kb-header-done     { color: var(--text-muted); border-color: rgba(255,255,255,0.1); background: rgba(255,255,255,0.04); }

.kb-col-count {
    margin-left: auto;
    background: rgba(255,255,255,0.1);
    padding: 0.12rem 0.45rem;
    border-radius: 999px;
    font-size: 0.65rem;
    min-width: 22px;
    text-align: center;
    transition: transform 0.25s var(--ease-spring), background 0.25s ease;
}
.kb-column:hover .kb-col-count {
    transform: scale(1.08);
    background: rgba(255,255,255,0.16);
}

/* ── Oszlop test ── */
.kb-column-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    padding: 0.55rem 0.2rem 0.35rem;
    min-height: 80px;
}

/* ── Kártya ── */
.kb-card {
    background: linear-gradient(155deg, rgba(30, 37, 55, 0.98), rgba(21, 27, 40, 0.96));
    border: 1px solid rgba(255,255,255,0.07);
    border-left-width: 3px;
    border-radius: var(--radius);
    padding: 0.75rem 0.8rem;
    transition: box-shadow 0.3s ease, transform 0.3s var(--ease-out-back), border-color 0.25s ease, background 0.25s ease;
    opacity: 0;
    animation: dashFadeUp 0.45s var(--ease-out-back) forwards;
}
.kb-column-body .kb-card:nth-child(1) { animation-delay: 0.2s; }
.kb-column-body .kb-card:nth-child(2) { animation-delay: 0.28s; }
.kb-column-body .kb-card:nth-child(3) { animation-delay: 0.36s; }
.kb-column-body .kb-card:nth-child(4) { animation-delay: 0.44s; }
.kb-column-body .kb-card:nth-child(n+5) { animation-delay: 0.5s; }

.kb-card:hover {
    box-shadow: 0 10px 28px rgba(0,0,0,0.4), 0 0 18px rgba(0, 212, 255, 0.08);
    transform: translateY(-3px) scale(1.01);
    border-color: rgba(255,255,255,0.14);
}

/* Státusz szerinti bal szegély */
.kb-border-pending    { border-left-color: #ffc107; }
.kb-border-accepted   { border-left-color: var(--neon-green); }
.kb-border-in_transit  { border-left-color: var(--neon-blue); }
.kb-border-arrived    { border-left-color: var(--neon-purple); }
.kb-border-completed  { border-left-color: var(--text-muted); }

.kb-border-pending:hover    { box-shadow: 0 10px 28px rgba(0,0,0,0.35), 0 0 16px rgba(255, 193, 7, 0.12); }
.kb-border-accepted:hover   { box-shadow: 0 10px 28px rgba(0,0,0,0.35), 0 0 16px rgba(0, 255, 159, 0.12); }
.kb-border-in_transit:hover { box-shadow: 0 10px 28px rgba(0,0,0,0.35), 0 0 16px rgba(0, 212, 255, 0.14); }
.kb-border-arrived:hover    { box-shadow: 0 10px 28px rgba(0,0,0,0.35), 0 0 16px rgba(123, 47, 247, 0.14); }

.kb-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.3rem;
}

.kb-time {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.72rem;
    color: var(--neon-blue);
    letter-spacing: 0.03em;
}

.kb-card-customer {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.2rem;
}

.kb-card-details {
    font-size: 0.72rem;
    color: var(--text-muted);
    margin-bottom: 0.15rem;
    line-height: 1.4;
}

.kb-card-price {
    font-size: 0.75rem;
    color: var(--neon-green);
    font-weight: 600;
    margin-top: 0.25rem;
    margin-bottom: 0.4rem;
}

.kb-card-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.3rem;
    margin-top: 0.4rem;
    padding-top: 0.45rem;
    border-top: 1px solid rgba(255,255,255,0.05);
}
.kb-card-actions .btn-action {
    min-height: 34px;
    min-width: 34px;
    padding: 0.25rem 0.5rem;
    font-size: 0.75rem;
    transition: transform 0.2s var(--ease-spring), filter 0.2s ease;
}
.kb-card-actions .btn-action:hover {
    transform: translateY(-1px) scale(1.04);
    filter: brightness(1.08);
}

/* ── Üres oszlop ── */
.kb-empty {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 1.6rem 0.5rem;
    color: var(--text-muted);
    opacity: 0.45;
    font-size: 0.75rem;
    text-align: center;
    border: 1px dashed rgba(255,255,255,0.08);
    border-radius: 10px;
    transition: opacity 0.3s ease, border-color 0.3s ease;
}
.kb-column:hover .kb-empty {
    opacity: 0.65;
    border-color: rgba(255,255,255,0.14);
}
.kb-empty i {
    font-size: 1.5rem;
    margin-bottom: 0.3rem;
}

/* ── Mobil tab sáv ── */
.kb-tabs-mobile {
    display: none;
}

/* ── Responsive ── */
@media (max-width: 991.98px) {
    .kb-board {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 767.98px) {
    .kb-tabs-mobile {
        display: flex;
        gap: 0.4rem;
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
        scrollbar-width: none;
        opacity: 0;
        animation: dashFadeUp 0.45s var(--ease-out-back) 0.1s forwards;
    }
    .kb-tabs-mobile::-webkit-scrollbar { display: none; }

    .kb-tab {
        flex-shrink: 0;
        border: 1px solid rgba(255,255,255,0.1);
        background: rgba(21, 27, 40, 0.92);
        color: var(--text-muted);
        font-family: 'Inter', sans-serif;
        font-weight: 600;
        border-radius: 999px;
        cursor: pointer;
        display: inline-flex;
        align-items: center;
        gap: 0.35rem;
        transition: all 0.25s var(--ease-out-back);
        white-space: nowrap;
        -webkit-tap-highlight-color: transparent;
    }
    .kb-tab:hover {
        border-color: rgba(255,255,255,0.2);
        color: var(--text-primary);
    }
    .kb-tab.active {
        background: rgba(0,212,255,0.14);
        border-color: var(--neon-blue);
        color: var(--neon-blue);
        box-shadow: 0 0 14px rgba(0, 212, 255, 0.18);
    }
    .kb-tab-count {
        background: rgba(255,255,255,0.1);
        padding: 0.05rem 0.35rem;
        border-radius: 6px;
        font-size: 0.65rem;
    }

    .kb-board {
        display: block;
    }
    .kb-column {
        display: none;
        animation: none;
        opacity: 1;
        border: none;
        background: transparent;
        padding: 0;
    }
    .kb-column.kb-column-visible {
        display: flex;
        animation: dashFadeIn 0.35s ease both;
    }
}

/* Reduced motion: keep layout polish, drop motion */
@media (prefers-reduced-motion: reduce) {
    .dash-anim,
    .dash-stat,
    .dash-hero-card,
    .dash-hero-empty,
    .dash-page-header,
    .dash-alert-approve,
    .kb-column,
    .kb-card,
    .kb-tabs-mobile,
    .dash-tomorrow-item,
    .dash-pulse-dot,
    .dash-countdown-urgent,
    .dash-stat-pending.has-pending,
    .dash-hero-active,
    .dash-hero-next,
    .dash-progress-fill::after,
    .dash-hero-empty i,
    .dash-stat:hover .dash-stat-icon {
        animation: none !important;
        opacity: 1 !important;
        transform: none !important;
    }
    .dash-progress-fill {
        transition: none;
    }
    .dash-stat:hover,
    .dash-hero-card:hover,
    .kb-card:hover,
    .btn-hero-action:hover {
        transform: none;
    }
}
