/* =========================================================
   DijitalRandevu - Genel Stil Dosyasi
   ========================================================= */
:root {
  --primary: #6d28d9;
  --primary-dark: #5b21b6;
  --primary-light: #ede9fe;
  --accent: #f59e0b;
  --ink: #1e1b2e;
  --muted: #6b7280;
  --bg: #f6f5fb;
  --card: #ffffff;
  --border: #e6e3f3;
  --success: #16a34a;
  --danger: #dc2626;
  --status-pending-bg: #fef3c7;
  --status-pending-fg: #92400e;
  --status-confirmed-bg: #dbeafe;
  --status-confirmed-fg: #1d4ed8;
  --status-completed-bg: #e5e7eb;
  --status-completed-fg: #374151;
  --status-cancelled-bg: #fee2e2;
  --status-cancelled-fg: #b91c1c;
  --radius: 16px;
  --shadow: 0 8px 24px rgba(76, 29, 149, 0.08);
  --shadow-lg: 0 18px 45px rgba(76, 29, 149, 0.14);
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  padding: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: "Segoe UI", "Inter", system-ui, -apple-system, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
button { font-family: inherit; cursor: pointer; }
input, select, textarea, button { max-width: 100%; }

.container {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

@media (min-width: 1400px) {
  .container {
    max-width: 1360px;
    padding: 0 24px;
  }
}

@media (min-width: 1600px) {
  .container {
    max-width: 1440px;
    padding: 0 28px;
  }
}

/* ---------- Topbar ---------- */
.topbar {
  background: var(--card);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 50;
}
.topbar .row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 68px;
}
.brand {
  font-size: 24px;
  font-weight: 800;
  letter-spacing: -0.02em;
  display: flex;
  align-items: center;
  gap: 8px;
}
.brand span { color: var(--primary); }
.topbar nav { display: flex; gap: 10px; align-items: center; }

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 20px;
  border-radius: 12px;
  font-weight: 600;
  font-size: 14.5px;
  border: 1px solid transparent;
  transition: all .15s ease;
}
.btn-primary { background: var(--primary); color: #fff; box-shadow: 0 6px 16px rgba(109,40,217,.28); }
.btn-primary:hover { background: var(--primary-dark); transform: translateY(-1px); }
.btn-outline { background: transparent; border-color: var(--border); color: var(--ink); }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }
.btn-block { width: 100%; }
.btn-danger { background: #fee2e2; color: var(--danger); }
.btn-sm { padding: 8px 14px; font-size: 13px; }

@media (min-width: 1280px) {
  .topbar .row {
    height: 76px;
  }
  .brand {
    font-size: 26px;
  }
  .topbar nav {
    gap: 12px;
  }
  .btn {
    padding: 12px 22px;
    font-size: 15px;
  }
}

@media (max-width: 1366px) {
  .topbar .row {
    height: 62px;
  }
  .brand {
    font-size: 22px;
  }
  .topbar nav {
    gap: 8px;
  }
  .btn {
    padding: 10px 18px;
    font-size: 14px;
  }
  .hero {
    padding: 92px 0 72px;
  }
  .section {
    padding: 64px 0;
  }
  .section-title h2 {
    font-size: 28px;
  }
  .feature-card,
  .plan-card,
  .card {
    padding: 24px;
  }
  .panel-sidebar {
    width: 224px;
    padding: 20px 14px;
  }
  .panel-sidebar .brand {
    font-size: 18px;
    padding-bottom: 18px;
  }
  .panel-nav a {
    padding: 10px 12px;
    font-size: 14px;
  }
  .panel-main {
    padding: 24px 28px;
  }
  .panel-topbar {
    margin-bottom: 20px;
  }
  .panel-topbar h1 {
    font-size: 22px;
  }
  .stat-card {
    padding: 18px;
  }
  .stat-card .value {
    font-size: 26px;
  }
  .salon-hero {
    padding: 40px 0 72px;
  }
  .salon-hero h1 {
    font-size: 26px;
  }
  .booking-card {
    padding: 28px;
  }
  .wizard-nav {
    margin-top: 22px;
  }
}

/* ---------- Hero / Landing ---------- */
.hero {
  padding: 110px 0 90px;
  text-align: center;
  background:
    radial-gradient(circle at 15% 20%, rgba(109,40,217,.10), transparent 40%),
    radial-gradient(circle at 85% 10%, rgba(245,158,11,.12), transparent 40%);
}
.hero h1 {
  font-size: clamp(34px, 4.6vw, 64px);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin: 0 0 18px;
}
.hero h1 span { color: var(--primary); }
.hero p {
  color: var(--muted);
  font-size: 18px;
  max-width: 680px;
  margin: 0 auto 34px;
}
.hero-actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

.section { padding: 72px 0; }
.section-title { text-align: center; margin-bottom: 44px; }
.section-title h2 { font-size: 32px; font-weight: 800; letter-spacing: -0.02em; margin: 0 0 10px; }
.section-title p { color: var(--muted); font-size: 16px; }

@media (min-width: 1400px) {
  .hero {
    padding: 130px 0 110px;
  }
  .section {
    padding: 88px 0;
  }
  .grid-3,
  .grid-4 {
    gap: 26px;
  }
  .feature-card,
  .plan-card {
    padding: 32px;
  }
  .section-title h2 {
    font-size: 38px;
  }
  .section-title p {
    font-size: 17px;
  }
  .hero-actions {
    gap: 16px;
  }
  .hero p {
    font-size: 19px;
  }
}

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; }
.grid-4 { display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px; }

.feature-card, .plan-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
  box-shadow: var(--shadow);
}
.feature-card .icon {
  width: 48px; height: 48px; border-radius: 12px;
  background: var(--primary-light); color: var(--primary);
  display: flex; align-items: center; justify-content: center;
  font-size: 22px; margin-bottom: 16px;
}
.feature-card h3 { margin: 0 0 8px; font-size: 18px; }
.feature-card p { margin: 0; color: var(--muted); font-size: 14.5px; line-height: 1.55; }

.plan-card { display: flex; flex-direction: column; gap: 14px; text-align: center; position: relative; }
.plan-card.featured { border: 2px solid var(--primary); box-shadow: var(--shadow-lg); transform: translateY(-6px); }
.plan-card .badge { position: absolute; top: -13px; left: 50%; transform: translateX(-50%); background: var(--accent); color: #fff; font-size: 12px; font-weight: 700; padding: 4px 12px; border-radius: 20px; }
.plan-card .price { font-size: 34px; font-weight: 800; }
.plan-card .price small { font-size: 14px; font-weight: 500; color: var(--muted); }
.plan-card ul { list-style: none; padding: 0; margin: 0; text-align: left; display: flex; flex-direction: column; gap: 10px; }
.plan-card ul li { font-size: 14px; color: var(--ink); display: flex; gap: 8px; align-items: flex-start; }
.plan-card ul li::before { content: "✓"; color: var(--success); font-weight: 800; }

footer.site-footer {
  padding: 46px 0;
  text-align: center;
  color: #0b1a33;
  font-size: 14px;
  border-top: 1px solid var(--border);
  background: var(--card);
}
footer.site-footer .container {
  display: flex;
  align-items: center;
  justify-content: center;
}
footer.site-footer .site-footer-inner {
  flex-direction: column;
  gap: 10px;
}
footer.site-footer .site-footer-brand strong {
  display: inline-flex;
  align-items: center;
  gap: 0;
  font-size: 18px;
  font-weight: 800;
  letter-spacing: -0.02em;
  color: #0b1a33;
}
footer.site-footer .site-footer-brand strong span {
  color: var(--primary);
}
footer.site-footer .site-footer-brand p {
  margin: 0;
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.5;
}
footer.site-footer .site-footer-copy {
  color: #475569;
  font-weight: 600;
}
@media (min-width: 1400px) {
  footer.site-footer {
    padding: 56px 0;
    font-size: 15px;
  }
  footer.site-footer .site-footer-brand strong {
    font-size: 20px;
  }
  footer.site-footer .site-footer-brand p {
    font-size: 14px;
  }
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }
}

/* ---------- Auth Screens ---------- */
.auth-wrap {
  min-height: calc(100vh - 68px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 16px;
  background:
    radial-gradient(circle at 20% 20%, rgba(109,40,217,.12), transparent 45%),
    radial-gradient(circle at 80% 80%, rgba(245,158,11,.10), transparent 45%);
}
.auth-card {
  width: 100%;
  max-width: 460px;
  background: var(--card);
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  padding: 40px 36px;
  border: 1px solid var(--border);
}
.auth-card h1 { font-size: 24px; margin: 0 0 6px; text-align: center; }
.auth-card .sub { text-align: center; color: var(--muted); font-size: 14px; margin-bottom: 28px; }
.auth-card .foot { text-align: center; margin-top: 20px; font-size: 14px; color: var(--muted); }

.form-group { margin-bottom: 18px; }
.form-group label { display: block; font-size: 13.5px; font-weight: 600; margin-bottom: 7px; }
.form-group input, .form-group select, .form-group textarea {
  width: 100%;
  padding: 12px 14px;
  border-radius: 11px;
  border: 1.5px solid var(--border);
  font-size: 14.5px;
  background: #fdfdff;
  transition: border-color .15s ease;
}
.form-group input:focus, .form-group select:focus, .form-group textarea:focus {
  outline: none; border-color: var(--primary); background: #fff;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.username-field { display: flex; align-items: stretch; border: 1.5px solid var(--border); border-radius: 11px; overflow: hidden; background: #fdfdff; }
.username-field .prefix { padding: 12px 12px; background: var(--primary-light); color: var(--primary); font-size: 13.5px; font-weight: 700; white-space: nowrap; display: flex; align-items: center; }
.username-field input { border: none; background: transparent; flex: 1; padding: 12px 14px; font-size: 14.5px; }
.username-field input:focus { outline: none; }
.username-hint { font-size: 12.5px; margin-top: 6px; font-weight: 600; }
.username-hint.ok { color: var(--success); }
.username-hint.bad { color: var(--danger); }
.alert { padding: 12px 16px; border-radius: 10px; font-size: 14px; margin-bottom: 18px; }
.alert-error { background: #fee2e2; color: #991b1b; }
.alert-success { background: #dcfce7; color: #166534; }
.alert {
  border: 1px solid transparent;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  line-height: 1.45;
  overflow-wrap: anywhere;
}
.alert-error { border-color: #fecaca; }
.alert-success { border-color: #bbf7d0; }

/* ---------- Panel (Salon Sahibi) ---------- */
.panel-shell { display: flex; min-height: 100vh; background: var(--bg); }
.panel-sidebar {
  width: 250px; background: #1c1530; color: #ece9f7; flex-shrink: 0;
  padding: 24px 16px; position: sticky; top: 0; height: 100vh; overflow-y: auto;
}
.panel-sidebar .brand { color: #fff; padding: 0 8px 24px; font-size: 19px; }
.panel-sidebar .brand span { color: var(--accent); }
.panel-nav { display: flex; flex-direction: column; gap: 4px; }
.panel-nav a {
  display: flex; align-items: center; gap: 10px; padding: 11px 14px;
  border-radius: 10px; font-size: 14.5px; color: #cbc4e6; font-weight: 500;
}
.panel-nav a:hover { background: rgba(255,255,255,.06); color: #fff; }
.panel-nav a.active { background: var(--primary); color: #fff; }
.panel-main { flex: 1; padding: 28px 32px; min-width: 0; }
.panel-topbar { display: flex; align-items: center; justify-content: space-between; margin-bottom: 26px; flex-wrap: wrap; gap: 12px; }
.panel-topbar h1 { font-size: 24px; margin: 0; }
.panel-topbar .salon-chip { display: flex; align-items: center; gap: 10px; background: var(--card); border: 1px solid var(--border); padding: 8px 16px; border-radius: 30px; font-size: 13.5px; font-weight: 600; }

.stat-cards { display: grid; grid-template-columns: repeat(4, 1fr); gap: 18px; margin-bottom: 28px; }
.stat-card { background: var(--card); border: 1px solid var(--border); border-radius: 16px; padding: 20px; box-shadow: var(--shadow); }
.stat-card .label { color: var(--muted); font-size: 13px; font-weight: 600; margin-bottom: 8px; }
.stat-card .value { font-size: 28px; font-weight: 800; }

.card {
  background: var(--card); border: 1px solid var(--border); border-radius: 16px;
  padding: 24px; box-shadow: var(--shadow); margin-bottom: 22px;
}
.card-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 18px; flex-wrap: wrap; gap: 10px; }
.card-head h2 { font-size: 18px; margin: 0; }

table.data-table { width: 100%; border-collapse: collapse; font-size: 14px; }
table.data-table th { text-align: left; color: var(--muted); font-weight: 600; font-size: 12.5px; text-transform: uppercase; letter-spacing: .03em; padding: 10px 12px; border-bottom: 1px solid var(--border); }
table.data-table td { padding: 13px 12px; border-bottom: 1px solid #f0eef8; vertical-align: middle; }
table.data-table tr:last-child td { border-bottom: none; }
.pill { display: inline-block; padding: 4px 12px; border-radius: 20px; font-size: 12px; font-weight: 700; }
.pill-green { background: #dcfce7; color: #166534; }
.pill-red { background: #fee2e2; color: #991b1b; }
.pill-amber { background: #fef3c7; color: #92400e; }
.pill-gray { background: #ede9fe; color: var(--primary); }
.status-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 800;
  line-height: 1.2;
  white-space: nowrap;
}
.status-pill.pending,
.pill.status-pending { background: var(--status-pending-bg); color: var(--status-pending-fg); }
.status-pill.confirmed,
.pill.status-confirmed { background: var(--status-confirmed-bg); color: var(--status-confirmed-fg); }
.status-pill.completed,
.pill.status-completed { background: var(--status-completed-bg); color: var(--status-completed-fg); }
.status-pill.cancelled,
.pill.status-cancelled { background: var(--status-cancelled-bg); color: var(--status-cancelled-fg); }

.panel-card-list {
  display: grid;
  gap: 10px;
}
.panel-list-card {
  background: linear-gradient(180deg, #ffffff, #fbfcff);
  border: 1px solid #e8edf5;
  border-radius: 18px;
  padding: 16px 18px;
  box-shadow: 0 10px 24px rgba(15,23,42,0.05);
  min-width: 0;
}
.text-truncate-soft {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.text-break-soft {
  overflow-wrap: anywhere;
  word-break: break-word;
}

.empty-state { text-align: center; padding: 50px 20px; color: var(--muted); }
.empty-state .icon { font-size: 40px; margin-bottom: 12px; }

.modal-overlay {
  position: fixed; inset: 0; background: rgba(20, 12, 40, .45); display: none;
  align-items: center; justify-content: center; z-index: 200; padding: 20px;
}
.modal-overlay.open { display: flex; }
.modal-box { background: #fff; border-radius: 18px; padding: 28px; width: 100%; max-width: 480px; box-shadow: var(--shadow-lg); max-height: 90vh; overflow-y: auto; }
.modal-box h3 { margin: 0 0 18px; font-size: 19px; }
.modal-actions { display: flex; gap: 10px; justify-content: flex-end; margin-top: 20px; }

.icon-btn { border: none; background: var(--primary-light); color: var(--primary); width: 34px; height: 34px; border-radius: 9px; display: inline-flex; align-items: center; justify-content: center; font-size: 15px; }
.icon-btn.danger { background: #fee2e2; color: var(--danger); }

/* ---------- Public Booking Page ---------- */
.salon-hero {
  background: linear-gradient(135deg, var(--primary), #8b5cf6);
  color: #fff; padding: 46px 0 90px; text-align: center;
}
.salon-hero h1 { font-size: 30px; margin: 14px 0 6px; }
.salon-hero p { opacity: .92; max-width: 560px; margin: 0 auto; }
.salon-logo { width: 76px; height: 76px; border-radius: 20px; background: rgba(255,255,255,.18); display: flex; align-items: center; justify-content: center; font-size: 30px; font-weight: 800; margin: 0 auto; }

.booking-wrap { max-width: 880px; margin: -55px auto 60px; padding: 0 16px; }
.booking-card { background: var(--card); border-radius: 22px; box-shadow: var(--shadow-lg); padding: 32px; }
.steps { display: flex; justify-content: space-between; margin-bottom: 30px; gap: 8px; }
.step { flex: 1; text-align: center; }
.step .dot { width: 32px; height: 32px; border-radius: 50%; background: var(--primary-light); color: var(--primary); display: flex; align-items: center; justify-content: center; font-weight: 700; margin: 0 auto 8px; font-size: 14px; }
.step.active .dot { background: var(--primary); color: #fff; }
.step.done .dot { background: var(--success); color: #fff; }
.step span.label { font-size: 12.5px; color: var(--muted); font-weight: 600; }
.step.active span.label { color: var(--ink); }

.service-list { display: flex; flex-direction: column; gap: 10px; }
.service-item {
  display: flex; align-items: center; justify-content: space-between;
  border: 1.5px solid var(--border); border-radius: 14px; padding: 14px 16px;
  cursor: pointer; transition: all .15s ease;
}
.service-item:hover { border-color: var(--primary); }
.service-item.selected { border-color: var(--primary); background: var(--primary-light); }
.service-item .left { display: flex; align-items: center; gap: 12px; }
.service-item .check {
  width: 22px; height: 22px; border-radius: 7px; border: 2px solid var(--border);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0; font-size: 13px; color: #fff;
}
.service-item.selected .check { background: var(--primary); border-color: var(--primary); }
.service-item .name { font-weight: 600; font-size: 14.5px; }
.service-item .meta { font-size: 12.5px; color: var(--muted); }
.service-item .price { font-weight: 700; color: var(--primary); }

.selected-summary {
  display: flex; flex-wrap: wrap; gap: 8px; margin: 16px 0; min-height: 20px;
}
.chip {
  display: flex; align-items: center; gap: 8px; background: var(--primary-light); color: var(--primary);
  padding: 7px 8px 7px 14px; border-radius: 20px; font-size: 13px; font-weight: 600;
}
.chip button { border: none; background: rgba(109,40,217,.15); color: var(--primary); width: 20px; height: 20px; border-radius: 50%; font-size: 12px; line-height: 1; }

.employee-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(140px, 1fr)); gap: 14px; }
.employee-card {
  border: 2px solid var(--border); border-radius: 16px; padding: 18px 12px; text-align: center;
  cursor: pointer; transition: all .15s ease; position: relative; background: #fff;
}
.employee-card:hover { border-color: var(--primary); transform: translateY(-2px); }
.employee-card.selected { border-color: var(--primary); background: var(--primary-light); box-shadow: 0 0 0 4px rgba(109,40,217,.12); }
.employee-card .avatar {
  width: 54px; height: 54px; border-radius: 50%; margin: 0 auto 10px; display: flex; align-items: center;
  justify-content: center; color: #fff; font-weight: 700; font-size: 18px;
}
.employee-card .name { font-weight: 700; font-size: 14px; }
.employee-card .title { font-size: 12px; color: var(--muted); }
.employee-card .check-badge {
  position: absolute; top: 8px; right: 8px; width: 22px; height: 22px; border-radius: 50%;
  background: var(--primary); color: #fff; display: none; align-items: center; justify-content: center; font-size: 12px;
}
.employee-card.selected .check-badge { display: flex; }

.date-picker-row { display: flex; gap: 10px; overflow-x: auto; padding-bottom: 8px; margin-bottom: 20px; }
.date-chip {
  flex: 0 0 auto; min-width: 64px; text-align: center; padding: 12px 10px; border-radius: 14px;
  border: 2px solid var(--border); cursor: pointer; transition: all .15s ease;
}
.date-chip:hover { border-color: var(--primary); }
.date-chip.selected { background: var(--primary); border-color: var(--primary); color: #fff; }
.date-chip .dow { font-size: 11.5px; font-weight: 700; text-transform: uppercase; opacity: .75; }
.date-chip .num { font-size: 19px; font-weight: 800; margin: 3px 0; }
.date-chip .mon { font-size: 11px; opacity: .75; }

.slot-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(84px, 1fr)); gap: 10px; }
.slot-btn {
  padding: 11px 8px; border-radius: 10px; border: 2px solid var(--border); background: #fff;
  font-weight: 700; font-size: 13.5px; text-align: center; transition: all .15s ease;
}
.slot-btn:hover { border-color: var(--primary); color: var(--primary); }
.slot-btn.selected { background: var(--primary); border-color: var(--primary); color: #fff; box-shadow: 0 6px 16px rgba(109,40,217,.3); }
.slot-empty { color: var(--muted); font-size: 14px; padding: 20px; text-align: center; grid-column: 1 / -1; }

.summary-box { background: var(--primary-light); border-radius: 16px; padding: 18px 20px; margin: 22px 0; }
.summary-row { display: flex; justify-content: space-between; font-size: 14px; padding: 5px 0; }
.summary-row.total { font-weight: 800; font-size: 16.5px; border-top: 1px dashed rgba(109,40,217,.3); margin-top: 8px; padding-top: 12px; }

.wizard-nav { display: flex; justify-content: space-between; margin-top: 26px; gap: 12px; }
.hidden { display: none !important; }

@media (max-width: 900px) {
  .grid-3, .grid-4, .stat-cards { grid-template-columns: 1fr 1fr; }
  .panel-sidebar { position: fixed; left: -270px; top: 0; z-index: 100; transition: left .2s ease; box-shadow: var(--shadow-lg); }
  .panel-sidebar.open { left: 0; }
  .panel-main { padding: 18px; width: 100%; }
  .panel-mobile-toggle { display: inline-flex !important; }
}
@media (max-width: 640px) {
  .grid-3, .grid-4, .stat-cards, .form-row { grid-template-columns: 1fr; }
  .hero { padding: 60px 0 40px; }
  .booking-card { padding: 20px; }
  .auth-card { padding: 28px 22px; }
  .steps .label { display: none; }
  .btn,
  .btn-sm {
    min-height: 38px;
    white-space: normal;
    overflow-wrap: anywhere;
  }
  .panel-list-card {
    padding: 13px 14px;
    border-radius: 14px;
  }
}
.nav-badge {
  margin-left: auto; background: #ef4444; color: #fff; font-size: 11px; font-weight: 800;
  min-width: 20px; height: 20px; border-radius: 20px; display: inline-flex; align-items: center; justify-content: center; padding: 0 6px;
}
.panel-nav a { display: flex; align-items: center; gap: 10px; }

.dash-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 20px; margin-bottom: 20px; }
@media (max-width: 900px) { .dash-grid { grid-template-columns: 1fr; } }

.mini-bars { display: flex; align-items: flex-end; gap: 10px; height: 140px; padding-top: 10px; }
.mini-bars .bar-col { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: flex-end; height: 100%; gap: 6px; }
.mini-bars .bar { width: 100%; max-width: 34px; border-radius: 8px 8px 3px 3px; background: linear-gradient(180deg, var(--accent), var(--primary)); min-height: 4px; transition: height .3s ease; }
.mini-bars .bar-label { font-size: 11.5px; color: var(--muted); font-weight: 600; }
.mini-bars .bar-value { font-size: 11.5px; font-weight: 800; color: var(--primary); }

.pending-list { display: flex; flex-direction: column; gap: 10px; }
.pending-item {
  display: flex; align-items: center; justify-content: space-between; gap: 10px;
  background: #fff8e6; border: 1px solid #fde8b8; border-radius: 12px; padding: 12px 14px;
}
.pending-item .info { font-size: 13.5px; line-height: 1.5; }
.pending-item .info strong { display: block; font-size: 14px; }
.pending-item .actions { display: flex; gap: 6px; flex-shrink: 0; }

.telegram-status-widget { display: flex; align-items: center; gap: 12px; padding: 14px; border-radius: 12px; background: var(--primary-light); }
.telegram-status-widget .dot { width: 12px; height: 12px; border-radius: 50%; flex-shrink: 0; }
.telegram-status-widget .dot.on { background: #16a34a; box-shadow: 0 0 0 4px rgba(22,163,74,.18); }
.telegram-status-widget .dot.off { background: #dc2626; box-shadow: 0 0 0 4px rgba(220,38,38,.15); }

.top-list { list-style: none; margin: 0; padding: 0; display: flex; flex-direction: column; gap: 12px; }
.top-list li { display: flex; align-items: center; gap: 12px; }
.top-list .rank { width: 26px; height: 26px; border-radius: 50%; background: var(--primary-light); color: var(--primary); font-weight: 800; font-size: 12.5px; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.top-list .name { flex: 1; font-size: 14px; font-weight: 600; }
.top-list .count { font-size: 12.5px; color: var(--muted); font-weight: 700; }

.sortable-th { cursor: pointer; user-select: none; }
.sortable-th:hover { color: var(--primary); }

.customer-detail-modal .modal-box { max-width: 560px; }
.appt-history { max-height: 320px; overflow-y: auto; margin-top: 6px; }
.appt-history-row { display: flex; justify-content: space-between; align-items: center; padding: 10px 0; border-bottom: 1px solid #f0eef8; font-size: 13.5px; }
.appt-history-row:last-child { border-bottom: none; }

.badge-count { background: var(--primary-light); color: var(--primary); font-weight: 800; font-size: 11.5px; padding: 2px 9px; border-radius: 20px; }

.panel-mobile-toggle {
  display: none; border: none; background: var(--card); border: 1px solid var(--border);
  width: 42px; height: 42px; border-radius: 10px; font-size: 18px; align-items: center; justify-content: center;
}

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