:root {
  --bg-canvas: #f3f7f8;
  --bg-surface: #ffffff;
  --bg-subtle: #f8fafb;
  --border: #e2e8f0;
  --border-strong: #cbd5e1;

  --text-main: #0f172a;
  --text-secondary: #475569;
  --text-muted: #64748b;

  --primary: #0d9488;
  --primary-hover: #0f766e;
  --primary-soft: #f0fdfa;
  --primary-tint: #ccfbf1;

  --online: #4f46e5;
  --online-soft: #eef2ff;

  --success: #059669;
  --success-soft: #ecfdf5;

  --amber: #d97706;
  --amber-soft: #fffbeb;

  --danger: #dc2626;
  --danger-hover: #b91c1c;
  --danger-soft: #fef2f2;

  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --shadow-sm: 0 1px 2px rgba(15, 23, 42, 0.05);
  --shadow-md: 0 6px 18px rgba(15, 23, 42, 0.07);
  --shadow-lg: 0 20px 50px rgba(15, 23, 42, 0.16);
  --sidebar-width: 276px;
}

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

html,
body {
  margin: 0;
  padding: 0;
  font-family: 'Inter', 'Segoe UI', -apple-system, BlinkMacSystemFont, Roboto, sans-serif;
  color: var(--text-main);
  background: var(--bg-canvas);
  font-size: 14px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

.hidden {
  display: none !important;
}

.text-right {
  text-align: right;
}

/* ==================== BUTTONS & INPUTS ==================== */

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  padding: 9px 15px;
  font-size: 13.5px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.15s ease;
  text-decoration: none;
  white-space: nowrap;
}

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.btn-primary {
  background: var(--primary);
  color: #fff;
  box-shadow: 0 1px 2px rgba(13, 148, 136, 0.25);
}

.btn-primary:hover:not(:disabled) {
  background: var(--primary-hover);
}

.btn-outline {
  background: #fff;
  color: var(--text-main);
  border-color: var(--border-strong);
}

.btn-outline:hover:not(:disabled) {
  background: var(--bg-subtle);
  border-color: #94a3b8;
}

.btn-danger {
  background: var(--danger);
  color: #fff;
}

.btn-danger:hover:not(:disabled) {
  background: var(--danger-hover);
}

.btn-danger-outline {
  background: #fff;
  color: var(--danger);
  border-color: #fecaca;
}

.btn-danger-outline:hover:not(:disabled) {
  background: var(--danger-soft);
  border-color: var(--danger);
}

.btn-sm {
  padding: 6px 11px;
  font-size: 12.5px;
}

.btn-lg {
  padding: 12px 18px;
  font-size: 14.5px;
}

.btn-block {
  width: 100%;
}

.btn-group {
  display: inline-flex;
}

.btn-group .btn {
  border-radius: 0;
}

.btn-group .btn:first-child {
  border-top-left-radius: var(--radius-sm);
  border-bottom-left-radius: var(--radius-sm);
}

.btn-group .btn:last-child {
  border-top-right-radius: var(--radius-sm);
  border-bottom-right-radius: var(--radius-sm);
  margin-left: -1px;
}

.icon-btn,
.icon-btn-sm {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: 1px solid var(--border);
  background: #fff;
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.15s ease;
}

.icon-btn {
  width: 34px;
  height: 34px;
  font-size: 15px;
}

.icon-btn-sm {
  width: 28px;
  height: 28px;
  font-size: 14px;
}

.icon-btn:hover,
.icon-btn-sm:hover {
  background: var(--bg-subtle);
  color: var(--text-main);
}

input[type="text"],
input[type="password"],
input[type="email"],
input[type="tel"],
input[type="url"],
input[type="date"],
input[type="search"],
select,
textarea {
  width: 100%;
  padding: 9px 12px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  font-size: 13.5px;
  font-family: inherit;
  color: var(--text-main);
  background: #fff;
  transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

input:focus,
select:focus,
textarea:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(13, 148, 136, 0.14);
}

textarea {
  resize: vertical;
}

.form-group {
  margin-bottom: 14px;
}

.form-group label {
  display: block;
  font-size: 12.5px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 5px;
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.checkbox-row {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-secondary);
  cursor: pointer;
  user-select: none;
}

.checkbox-row input {
  width: 16px;
  height: 16px;
  accent-color: var(--primary);
  cursor: pointer;
}

.alert {
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  font-size: 13px;
  margin-bottom: 14px;
}

.alert-error {
  background: var(--danger-soft);
  color: var(--danger);
  border: 1px solid #fecaca;
}

/* ==================== LOGIN PAGE ==================== */

.login-body {
  min-height: 100vh;
  background: linear-gradient(135deg, #0f3f3c 0%, #134e4a 45%, #0d9488 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.login-shell {
  width: 100%;
  max-width: 980px;
  display: grid;
  grid-template-columns: 1.05fr 0.95fr;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 22px;
  overflow: hidden;
  box-shadow: 0 28px 70px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(12px);
}

.login-brand-panel {
  padding: 46px 40px;
  color: #f0fdfa;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.login-brand-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 24px;
}

.login-brand-panel h1 {
  margin: 0 0 14px;
  font-size: 28px;
  line-height: 1.25;
  color: #fff;
  letter-spacing: -0.02em;
}

.login-lead {
  margin: 0 0 28px;
  color: #ccfbf1;
  font-size: 14.5px;
  line-height: 1.65;
}

.login-features {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 14px;
}

.login-features li {
  display: flex;
  align-items: flex-start;
  gap: 11px;
  font-size: 13.5px;
  color: #e6fffa;
  line-height: 1.5;
}

.feature-dot {
  width: 8px;
  height: 8px;
  border-radius: 999px;
  background: #5eead4;
  margin-top: 7px;
  flex-shrink: 0;
}

.login-card-panel {
  background: #fff;
  padding: 42px 38px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.login-card {
  width: 100%;
  max-width: 360px;
}

.private-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 11px;
  border-radius: 999px;
  background: var(--primary-soft);
  color: var(--primary-hover);
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 14px;
}

.login-card-header h2 {
  margin: 0 0 6px;
  font-size: 22px;
  letter-spacing: -0.02em;
}

.login-card-header p {
  margin: 0 0 24px;
  color: var(--text-muted);
  font-size: 13.5px;
}

.password-input-wrap {
  position: relative;
}

.password-input-wrap input {
  padding-right: 40px;
}

.icon-btn-inline {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  padding: 4px;
  display: flex;
}

.icon-btn-inline:hover {
  color: var(--text-main);
}

.login-form .checkbox-row {
  margin-bottom: 18px;
}

.login-footer-note {
  margin-top: 22px;
  padding-top: 16px;
  border-top: 1px solid var(--border);
  font-size: 12px;
  color: var(--text-muted);
  text-align: center;
}

/* ==================== APP SHELL & SIDEBAR ==================== */

.app-shell {
  display: flex;
  min-height: 100vh;
}

.sidebar {
  width: var(--sidebar-width);
  background: #ffffff;
  border-right: 1px solid var(--border);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  z-index: 40;
  overflow-y: auto;
}

.sidebar-top {
  padding: 18px 16px;
}

.brand-row {
  display: flex;
  align-items: center;
  gap: 11px;
  margin-bottom: 16px;
}

.brand-icon {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--primary), #14b8a6);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.brand-meta {
  min-width: 0;
  flex: 1;
}

.brand-name {
  font-weight: 700;
  font-size: 16px;
  letter-spacing: -0.02em;
}

.brand-sub {
  font-size: 11.5px;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.new-appt-cta {
  margin-bottom: 16px;
  padding: 10px 14px;
  border-radius: 10px;
}

.nav-menu {
  display: flex;
  flex-direction: column;
  gap: 4px;
  margin-bottom: 18px;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 100%;
  border: none;
  background: transparent;
  color: var(--text-secondary);
  padding: 9px 11px;
  border-radius: 9px;
  font-size: 13.5px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.14s ease;
  text-align: left;
}

.nav-item:hover {
  background: var(--bg-subtle);
  color: var(--text-main);
}

.nav-item.active {
  background: var(--primary-soft);
  color: var(--primary-hover);
}

.nav-badge {
  margin-left: auto;
  font-size: 11px;
  font-weight: 700;
  padding: 2px 7px;
  border-radius: 999px;
  background: #e2e8f0;
  color: var(--text-secondary);
  font-variant-numeric: tabular-nums;
}

.nav-item.active .nav-badge {
  background: var(--primary-tint);
  color: var(--primary-hover);
}

.nav-badge.badge-amber {
  background: #fef3c7;
  color: #b45309;
}

/* Mini Monthly Calendar */
.mini-cal-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 11px;
  background: var(--bg-subtle);
  margin-bottom: 14px;
}

.mini-cal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}

.mini-cal-title {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text-main);
}

.mini-cal-nav {
  display: flex;
  gap: 4px;
}

.mini-cal-weekdays,
.mini-cal-grid {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  gap: 2px;
  text-align: center;
}

.mini-cal-weekdays span {
  font-size: 10.5px;
  font-weight: 600;
  color: var(--text-muted);
  padding: 3px 0;
}

.mini-cal-day {
  border: none;
  background: transparent;
  border-radius: 6px;
  height: 27px;
  font-size: 11.5px;
  font-weight: 500;
  color: var(--text-main);
  cursor: pointer;
  font-variant-numeric: tabular-nums;
}

.mini-cal-day:hover {
  background: #e2e8f0;
}

.mini-cal-day.other-month {
  color: #94a3b8;
}

.mini-cal-day.is-today {
  background: var(--primary-tint);
  color: var(--primary-hover);
  font-weight: 700;
}

.mini-cal-day.is-selected {
  background: var(--primary);
  color: #fff;
  font-weight: 700;
}

/* Today Summary Card */
.today-summary-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 12px;
  background: #fff;
}

.today-summary-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 8px;
}

.today-summary-head strong {
  color: var(--primary-hover);
}

.today-mini-list {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.today-mini-item {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 8px;
  border-radius: 7px;
  background: var(--bg-subtle);
  cursor: pointer;
  font-size: 12px;
  border: 1px solid transparent;
  transition: border-color 0.14s ease;
}

.today-mini-item:hover {
  border-color: var(--primary);
}

.today-mini-time {
  font-weight: 700;
  color: var(--primary-hover);
  font-variant-numeric: tabular-nums;
}

.today-mini-name {
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--text-main);
}

.muted-small {
  font-size: 12px;
  color: var(--text-muted);
}

.sidebar-footer {
  padding: 12px 16px;
  border-top: 1px solid var(--border);
  background: var(--bg-subtle);
}

.user-chip {
  display: flex;
  align-items: center;
  gap: 10px;
}

.user-avatar {
  width: 34px;
  height: 34px;
  border-radius: 999px;
  background: var(--primary-tint);
  color: var(--primary-hover);
  font-weight: 700;
  font-size: 12.5px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.user-meta {
  min-width: 0;
  flex: 1;
}

.user-name {
  font-size: 13px;
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.user-role {
  font-size: 11.5px;
  color: var(--text-muted);
}

.logout-btn:hover {
  color: var(--danger);
  border-color: #fecaca;
  background: var(--danger-soft);
}

/* ==================== MAIN AREA & TOPBAR ==================== */

.main-area {
  margin-left: var(--sidebar-width);
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.topbar {
  background: #fff;
  border-bottom: 1px solid var(--border);
  padding: 13px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  position: sticky;
  top: 0;
  z-index: 25;
}

.topbar-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.page-title {
  margin: 0;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.page-subtitle {
  font-size: 12px;
  color: var(--text-muted);
}

.topbar-right {
  display: flex;
  align-items: center;
  gap: 10px;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  gap: 7px;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  font-family: inherit;
}

.status-dot {
  width: 7px;
  height: 7px;
  border-radius: 999px;
  background: currentColor;
}

.pill-amber {
  background: var(--amber-soft);
  color: #b45309;
  border-color: #fde68a;
}

.pill-success {
  background: var(--success-soft);
  color: #047857;
  border-color: #a7f3d0;
}

.pill-muted {
  background: #f1f5f9;
  color: var(--text-muted);
  border-color: var(--border);
}

.tab-panel {
  padding: 20px 24px 32px;
}

/* ==================== CALENDAR TOOLBAR & LEGEND ==================== */

.calendar-toolbar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.cal-nav-group {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.cal-range-title {
  margin: 0;
  font-size: 16px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.date-jump-input {
  width: auto !important;
  padding: 5px 9px !important;
  font-size: 12.5px !important;
}

.cal-controls-group {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.toggle-chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  background: #fff;
  font-size: 12.5px;
  font-weight: 500;
  color: var(--text-secondary);
  cursor: pointer;
}

.toggle-chip input {
  accent-color: var(--primary);
  margin: 0;
}

.segmented-control {
  display: inline-flex;
  background: #e2e8f0;
  padding: 3px;
  border-radius: 9px;
}

.seg-btn {
  border: none;
  background: transparent;
  color: var(--text-secondary);
  padding: 5px 12px;
  border-radius: 7px;
  font-size: 12.5px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
}

.seg-btn.active {
  background: #fff;
  color: var(--text-main);
  box-shadow: var(--shadow-sm);
}

.calendar-legend {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 14px;
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 12px;
}

.legend-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.swatch {
  width: 10px;
  height: 10px;
  border-radius: 3px;
  display: inline-block;
}

.swatch-inperson { background: var(--primary); }
.swatch-online { background: var(--online); }
.swatch-completed { background: var(--success); }
.swatch-noshow { background: var(--amber); }
.swatch-cancelled { background: #94a3b8; }

.legend-hint {
  margin-left: auto;
  color: var(--primary-hover);
  font-weight: 500;
}

/* ==================== WEEKLY CALENDAR GRID (DOKTORTAKVIMI STYLE) ==================== */

.calendar-surface {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.week-grid-scroll {
  overflow-x: auto;
}

.week-table {
  width: 100%;
  min-width: 700px;
  border-collapse: separate;
  border-spacing: 0;
  table-layout: fixed;
}

.week-table thead th {
  background: #f8fafc;
  border-bottom: 1px solid var(--border);
  border-right: 1px solid var(--border);
  padding: 10px 8px;
  text-align: center;
  position: sticky;
  top: 0;
  z-index: 5;
}

.week-table thead th:last-child {
  border-right: none;
}

.week-table thead th.time-col-head {
  width: 72px;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--text-muted);
}

.day-col-head.is-today {
  background: var(--primary-soft) !important;
}

.day-head-name {
  font-size: 11.5px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
}

.day-head-num {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 30px;
  height: 30px;
  border-radius: 999px;
  font-size: 15px;
  font-weight: 700;
  margin-top: 2px;
  color: var(--text-main);
  font-variant-numeric: tabular-nums;
}

.day-col-head.is-today .day-head-num {
  background: var(--primary);
  color: #fff;
}

.day-head-count {
  font-size: 10.5px;
  color: var(--text-muted);
  margin-top: 2px;
}

.week-table tbody td {
  border-bottom: 1px solid #edf2f7;
  border-right: 1px solid #edf2f7;
  vertical-align: top;
  height: 68px;
  padding: 4px;
  position: relative;
}

.week-table tbody tr:last-child td {
  border-bottom: none;
}

.week-table tbody td:last-child {
  border-right: none;
}

.time-cell {
  width: 72px;
  text-align: center;
  vertical-align: middle !important;
  font-size: 12.5px;
  font-weight: 700;
  color: var(--text-secondary);
  background: #fafcfd;
  font-variant-numeric: tabular-nums;
}

.slot-cell {
  cursor: pointer;
  transition: background 0.12s ease;
}

.slot-cell.is-today-col {
  background: rgba(240, 253, 250, 0.45);
}

.slot-cell.is-empty:hover {
  background: #ecfeff;
}

.empty-slot-hint {
  height: 100%;
  min-height: 58px;
  border-radius: 8px;
  border: 1px dashed transparent;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11.5px;
  font-weight: 600;
  color: transparent;
  transition: all 0.14s ease;
}

.slot-cell.is-empty:hover .empty-slot-hint {
  border-color: #5eead4;
  color: var(--primary-hover);
  background: rgba(204, 251, 241, 0.35);
}

/* Appointment Cards inside Calendar */
.appt-card {
  border-radius: 8px;
  padding: 6px 8px;
  border-left: 3.5px solid var(--primary);
  background: var(--primary-soft);
  color: var(--text-main);
  cursor: pointer;
  transition: transform 0.1s ease, box-shadow 0.12s ease;
  display: flex;
  flex-direction: column;
  gap: 2px;
  margin-bottom: 3px;
}

.appt-card:hover {
  transform: translateY(-1px);
  box-shadow: var(--shadow-md);
}

.appt-card.type-online {
  border-left-color: var(--online);
  background: var(--online-soft);
}

.appt-card.status-completed {
  border-left-color: var(--success);
  background: var(--success-soft);
}

.appt-card.status-noshow {
  border-left-color: var(--amber);
  background: var(--amber-soft);
}

.appt-card.status-cancelled {
  border-left-color: #94a3b8;
  background: #f8fafc;
  opacity: 0.72;
  border-style: dashed;
  border-width: 1px 1px 1px 3.5px;
  border-color: #cbd5e1;
}

.appt-card-name {
  font-size: 12.5px;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.appt-card.status-cancelled .appt-card-name {
  text-decoration: line-through;
  color: var(--text-muted);
}

.appt-card-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 3px;
  font-size: 10.5px;
  color: var(--text-secondary);
  white-space: nowrap;
}

.sms-mini-dots {
  display: inline-flex;
  gap: 3px;
}

.sms-dot-chip {
  font-size: 9.5px;
  font-weight: 700;
  padding: 1px 4px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.8);
  color: var(--text-muted);
}

.sms-dot-chip.sent {
  background: #d1fae5;
  color: #065f46;
}

.sms-dot-chip.pending {
  background: #fef3c7;
  color: #92400e;
}

.rebook-mini-btn {
  width: 100%;
  border: 1px dashed #99f6e4;
  background: #f0fdfa;
  color: var(--primary-hover);
  border-radius: 6px;
  padding: 3px 6px;
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
}

.rebook-mini-btn:hover {
  background: var(--primary-tint);
}

/* ==================== DAILY VIEW ==================== */

.day-schedule-list {
  display: flex;
  flex-direction: column;
}

.day-slot-row {
  display: grid;
  grid-template-columns: 92px 1fr;
  border-bottom: 1px solid #edf2f7;
  min-height: 74px;
}

.day-slot-row:last-child {
  border-bottom: none;
}

.day-slot-hour {
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 14px;
  color: var(--text-secondary);
  background: #fafcfd;
  border-right: 1px solid #edf2f7;
  font-variant-numeric: tabular-nums;
}

.day-slot-body {
  padding: 10px 16px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
}

.day-empty-trigger {
  width: 100%;
  padding: 14px 16px;
  border: 1.5px dashed #cbd5e1;
  border-radius: 10px;
  background: transparent;
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 600;
  font-family: inherit;
  cursor: pointer;
  text-align: left;
  transition: all 0.15s ease;
}

.day-empty-trigger:hover {
  border-color: var(--primary);
  background: var(--primary-soft);
  color: var(--primary-hover);
}

.day-appt-wide {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 12px 16px;
  border-radius: 10px;
  border-left: 4px solid var(--primary);
  background: var(--primary-soft);
  cursor: pointer;
}

.day-appt-wide.type-online {
  border-left-color: var(--online);
  background: var(--online-soft);
}

.day-appt-wide.status-completed {
  border-left-color: var(--success);
  background: var(--success-soft);
}

.day-appt-wide.status-cancelled {
  border-left-color: #94a3b8;
  background: #f8fafc;
  opacity: 0.75;
}

.day-appt-info h4 {
  margin: 0 0 3px;
  font-size: 15px;
}

.day-appt-sub {
  font-size: 12.5px;
  color: var(--text-secondary);
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

/* ==================== STATS, TABLES & PANELS ==================== */

.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 14px;
  margin-bottom: 18px;
}

.stat-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 16px 18px;
  box-shadow: var(--shadow-sm);
}

.stat-label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.stat-value {
  font-size: 26px;
  font-weight: 800;
  color: var(--text-main);
  letter-spacing: -0.02em;
  font-variant-numeric: tabular-nums;
}

.panel-card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  box-shadow: var(--shadow-sm);
  overflow: hidden;
}

.panel-card-header {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.panel-card-header h3 {
  margin: 0;
  font-size: 15.5px;
}

.panel-sub {
  margin: 3px 0 0;
  font-size: 12.5px;
  color: var(--text-muted);
}

.search-input-wrap {
  position: relative;
  flex: 1;
  min-width: 240px;
  max-width: 420px;
}

.search-input-wrap.compact {
  max-width: none;
  margin-bottom: 10px;
}

.search-input-wrap svg {
  position: absolute;
  left: 11px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--text-muted);
  pointer-events: none;
}

.search-input-wrap input {
  padding-left: 34px;
}

.table-wrap {
  overflow-x: auto;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
}

.data-table th {
  text-align: left;
  padding: 10px 12px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  color: var(--text-muted);
  background: #f8fafc;
  border-bottom: 1px solid var(--border);
  white-space: nowrap;
}

.data-table td {
  padding: 10px 12px;
  border-bottom: 1px solid #f1f5f9;
  font-size: 13px;
  vertical-align: middle;
}

.data-table tbody tr:hover {
  background: #fafcfd;
}

.empty-cell {
  text-align: center;
  padding: 36px 16px !important;
  color: var(--text-muted);
}

.patient-cell {
  display: flex;
  align-items: center;
  gap: 10px;
}

.avatar-sm {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  background: var(--primary-tint);
  color: var(--primary-hover);
  font-weight: 700;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.note-truncate {
  max-width: 220px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  color: var(--text-muted);
}

.row-actions {
  display: inline-flex;
  gap: 6px;
  justify-content: flex-end;
}

/* Badges */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 11.5px;
  font-weight: 600;
  white-space: nowrap;
}

.badge-teal { background: var(--primary-tint); color: var(--primary-hover); }
.badge-indigo { background: var(--online-soft); color: var(--online); }
.badge-green { background: #d1fae5; color: #065f46; }
.badge-amber { background: #fef3c7; color: #92400e; }
.badge-red { background: #fee2e2; color: #991b1b; }
.badge-gray { background: #e2e8f0; color: #475569; }

/* ==================== SMS & SETTINGS ==================== */

.info-banner {
  padding: 14px 18px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 18px;
  font-size: 13px;
}

.banner-amber {
  background: var(--amber-soft);
  border: 1px solid #fde68a;
  color: #78350f;
}

.banner-green {
  background: var(--success-soft);
  border: 1px solid #a7f3d0;
  color: #064e3b;
}

.sms-grid {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.filter-pills {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.chip {
  border: 1px solid var(--border-strong);
  background: #fff;
  color: var(--text-secondary);
  padding: 5px 11px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  font-family: inherit;
}

.chip.active {
  background: var(--primary);
  border-color: var(--primary);
  color: #fff;
}

.sms-body-cell {
  max-width: 440px;
  line-height: 1.45;
  font-size: 13px;
}

.settings-layout {
  display: grid;
  grid-template-columns: 1.45fr 0.85fr;
  gap: 20px;
  align-items: start;
}

.settings-side-col {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.settings-body {
  padding: 18px 20px;
}

.divider-label {
  font-size: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: var(--primary-hover);
  margin: 18px 0 12px;
  padding-bottom: 6px;
  border-bottom: 1px solid var(--border);
}

.variable-chips {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
  margin-bottom: 14px;
  font-size: 12px;
  color: var(--text-muted);
}

.variable-chips code {
  background: var(--primary-soft);
  color: var(--primary-hover);
  border: 1px solid var(--primary-tint);
  padding: 2px 7px;
  border-radius: 6px;
  font-size: 11.5px;
  font-weight: 600;
}

.label-between {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.char-count {
  font-size: 11.5px;
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
}

.template-preview {
  margin-top: 6px;
  padding: 8px 11px;
  background: #f8fafc;
  border: 1px solid var(--border);
  border-radius: 7px;
  font-size: 12px;
  color: var(--text-secondary);
}

.checkbox-card {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 11px 13px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  cursor: pointer;
}

.checkbox-card input {
  margin-top: 3px;
  accent-color: var(--primary);
}

.checkbox-card small {
  display: block;
  color: var(--text-muted);
  font-size: 11.5px;
}

.api-config-box {
  margin-top: 12px;
  padding: 14px;
  border-radius: var(--radius-sm);
  background: #f8fafc;
  border: 1px solid var(--border);
}

.saved-hint {
  color: var(--success);
  font-weight: 600;
}

.field-hint {
  display: block;
  margin-top: 5px;
  font-size: 11.5px;
  color: var(--text-muted);
}

/* ==================== MODALS / POPUPS ==================== */

.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.52);
  backdrop-filter: blur(3px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 18px;
  z-index: 100;
}

.modal-card {
  width: 100%;
  max-width: 500px;
  max-height: 92vh;
  background: #fff;
  border-radius: var(--radius-lg);
  box-shadow: var(--shadow-lg);
  display: flex;
  flex-direction: column;
  overflow: hidden;
  animation: modalPop 0.16s ease-out;
}

.modal-card.modal-lg {
  max-width: 620px;
}

@keyframes modalPop {
  from {
    opacity: 0;
    transform: scale(0.97) translateY(8px);
  }
  to {
    opacity: 1;
    transform: scale(1) translateY(0);
  }
}

.modal-header {
  padding: 16px 20px;
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 12px;
}

.modal-header h3 {
  margin: 0;
  font-size: 17px;
  font-weight: 700;
}

.slot-badge {
  display: inline-block;
  margin-top: 4px;
  padding: 3px 9px;
  border-radius: 6px;
  background: var(--primary-soft);
  color: var(--primary-hover);
  font-size: 12px;
  font-weight: 700;
}

.modal-body {
  padding: 18px 20px;
  overflow-y: auto;
}

.modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
  padding-top: 14px;
  margin-top: 10px;
  border-top: 1px solid var(--border);
}

/* Patient Mode Tabs in Popup */
.patient-mode-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  background: #f1f5f9;
  padding: 4px;
  border-radius: 10px;
  margin-bottom: 14px;
}

.mode-tab {
  border: none;
  background: transparent;
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  cursor: pointer;
  font-family: inherit;
}

.mode-tab.active {
  background: #fff;
  color: var(--primary-hover);
  box-shadow: var(--shadow-sm);
}

.modal-patient-list {
  max-height: 190px;
  overflow-y: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  margin-bottom: 14px;
  background: #fafcfd;
}

.modal-patient-option {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 12px;
  border-bottom: 1px solid #edf2f7;
  cursor: pointer;
  transition: background 0.12s ease;
}

.modal-patient-option:last-child {
  border-bottom: none;
}

.modal-patient-option:hover {
  background: #f0fdfa;
}

.modal-patient-option.selected {
  background: var(--primary-soft);
  box-shadow: inset 3px 0 0 var(--primary);
}

.mpo-name {
  font-weight: 600;
  font-size: 13.5px;
}

.mpo-phone {
  font-size: 12px;
  color: var(--text-muted);
}

.session-type-toggle {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.radio-pill {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 8px 10px;
  border: 1px solid var(--border-strong);
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 13px;
  font-weight: 600;
}

.radio-pill input {
  accent-color: var(--primary);
}

.sms-check-row {
  padding-top: 7px;
}

.sms-auto-note {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  background: var(--primary-soft);
  color: var(--primary-hover);
  font-size: 12.5px;
  margin-bottom: 6px;
}

/* Detail Modal Sections */
.detail-patient-banner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  background: var(--bg-subtle);
  border: 1px solid var(--border);
  margin-bottom: 16px;
}

.detail-sms-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin: 12px 0 14px;
}

.sms-status-box {
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  background: #fafcfd;
}

.sms-status-box small {
  display: block;
  color: var(--text-muted);
  font-size: 11.5px;
  margin-bottom: 4px;
}

.cancel-zone {
  margin-top: 16px;
  padding: 14px;
  border: 1px solid #fecaca;
  border-radius: var(--radius-sm);
  background: #fff5f5;
}

.cancel-zone h4 {
  margin: 0 0 8px;
  color: var(--danger);
  font-size: 14px;
}

/* Toasts */
.toast-container {
  position: fixed;
  right: 20px;
  bottom: 20px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  z-index: 200;
}

.toast {
  background: #0f172a;
  color: #fff;
  padding: 11px 16px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 500;
  box-shadow: var(--shadow-lg);
  max-width: 360px;
}

.toast.toast-success {
  background: #065f46;
}

.toast.toast-error {
  background: #991b1b;
}

/* ==================== RESPONSIVE ==================== */

.mobile-only {
  display: none;
}

.sidebar-overlay {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.45);
  z-index: 35;
}

@media (max-width: 1280px) {
  :root {
    --sidebar-width: 242px;
  }
}

@media (max-width: 1024px) {
  .settings-layout {
    grid-template-columns: 1fr;
  }
  .stats-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 860px) {
  .login-shell {
    grid-template-columns: 1fr;
  }
  .login-brand-panel {
    padding: 28px 24px;
  }
  .login-card-panel {
    padding: 28px 24px;
  }
  .mobile-only {
    display: inline-flex;
  }
  .sidebar {
    transform: translateX(-100%);
    transition: transform 0.2s ease;
  }
  .sidebar.open {
    transform: translateX(0);
  }
  .main-area {
    margin-left: 0;
  }
  .topbar {
    padding: 12px 14px;
  }
  .tab-panel {
    padding: 14px;
  }
  .form-row-2 {
    grid-template-columns: 1fr;
  }
  .detail-sms-grid {
    grid-template-columns: 1fr;
  }
  .legend-hint {
    margin-left: 0;
    width: 100%;
  }
}


/* ==================== NEW FEATURES: LIVE COUNTER, RADAR, ANALYTICS, WAITLIST, NEXT SESSION ==================== */

.session-counter-widget {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  padding: 5px 12px;
  border-radius: 10px;
  border: 1px solid #99f6e4;
  background: linear-gradient(135deg, #f0fdfa 0%, #ffffff 100%);
  cursor: pointer;
  font-family: inherit;
  text-align: left;
  transition: box-shadow 0.15s ease, border-color 0.15s ease;
}

.session-counter-widget:hover {
  border-color: var(--primary);
  box-shadow: var(--shadow-sm);
}

.counter-dot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: var(--primary);
  flex-shrink: 0;
}

.counter-dot.is-live {
  background: #10b981;
  box-shadow: 0 0 0 4px rgba(16, 185, 129, 0.22);
  animation: pulseLive 1.8s infinite;
}

@keyframes pulseLive {
  0%, 100% { transform: scale(1); opacity: 1; }
  50% { transform: scale(1.2); opacity: 0.7; }
}

.counter-texts {
  line-height: 1.2;
}

.counter-main {
  font-size: 12.5px;
  color: var(--text-main);
  display: flex;
  align-items: center;
  gap: 5px;
}

.counter-main strong {
  color: var(--primary-hover);
  font-size: 13.5px;
  font-variant-numeric: tabular-nums;
}

.counter-sub {
  font-size: 11px;
  color: var(--text-muted);
  font-variant-numeric: tabular-nums;
}

.therapy-radio-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}

.sms-optout-box {
  padding: 11px 13px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-strong);
  background: #f8fafc;
  margin-bottom: 14px;
}

.sms-optout-box.is-opted-out {
  background: #fffbeb;
  border-color: #fcd34d;
}

.sms-optout-label {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--text-main);
}

.sms-optout-hint {
  margin-top: 4px;
  margin-left: 24px;
  font-size: 12px;
  color: var(--text-muted);
}

.sms-optout-box.is-opted-out .sms-optout-hint {
  color: #b45309;
  text-decoration: line-through;
}

.availability-card {
  padding: 12px 14px;
  border-radius: var(--radius-sm);
  border: 1px solid #a7f3d0;
  background: #ecfdf5;
  margin-bottom: 8px;
  font-size: 12.5px;
}

.availability-card.avail-busy {
  border-color: #fecaca;
  background: #fef2f2;
}

.avail-status {
  font-weight: 700;
  color: #047857;
  margin-bottom: 3px;
}

.availability-card.avail-busy .avail-status {
  color: #b91c1c;
}

.avail-summary {
  color: var(--text-main);
  font-weight: 500;
}

.avail-sms {
  color: var(--text-secondary);
  margin-top: 2px;
}

/* Insights Tab: Radar, Loss Analytics & Open Slots */
.insights-grid {
  display: grid;
  grid-template-columns: 1.05fr 1fr;
  gap: 20px;
  align-items: start;
}

.insights-right-col {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.insights-body {
  padding: 16px 18px;
}

.radar-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.radar-item {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 14px;
  background: #fafcfd;
  transition: border-color 0.14s ease;
}

.radar-item:hover {
  border-color: var(--border-strong);
}

.radar-item-top {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 8px;
  margin-bottom: 3px;
}

.radar-item-name {
  font-weight: 700;
  font-size: 14.5px;
  color: var(--text-main);
}

.radar-item-days {
  font-size: 12px;
  color: var(--text-muted);
  white-space: nowrap;
}

.radar-item-sub {
  font-size: 12.5px;
  color: var(--text-secondary);
  margin-bottom: 6px;
}

.radar-item-alert {
  font-size: 12.5px;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 10px;
}

.radar-item-alert.sev-warning { color: #d97706; }
.radar-item-alert.sev-danger { color: #dc2626; }
.radar-item-alert.sev-info { color: #2563eb; }

.radar-item-actions {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

/* Loss Analytics 2x2 KPI Grid & Progress Bars */
.loss-kpi-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-bottom: 18px;
}

.loss-kpi-card {
  border: 1px solid var(--border);
  border-radius: 10px;
  padding: 12px 14px;
  background: #fafcfd;
}

.loss-kpi-label {
  font-size: 12px;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.loss-kpi-num {
  font-size: 26px;
  font-weight: 800;
  color: var(--text-main);
  font-variant-numeric: tabular-nums;
}

.reason-bars {
  display: flex;
  flex-direction: column;
  gap: 11px;
}

.reason-row-head {
  display: flex;
  justify-content: space-between;
  font-size: 13px;
  margin-bottom: 5px;
}

.reason-row-head strong {
  font-variant-numeric: tabular-nums;
}

.reason-track {
  height: 8px;
  border-radius: 999px;
  background: #e2e8f0;
  overflow: hidden;
}

.reason-fill {
  height: 100%;
  border-radius: 999px;
  background: linear-gradient(90deg, var(--primary), #34d399);
  transition: width 0.25s ease;
}

/* Freed Slot / Waitlist Matching */
.freed-slot-card {
  border: 1px solid #a7f3d0;
  border-radius: 10px;
  padding: 13px 15px;
  background: #f0fdfa;
  margin-bottom: 12px;
}

.freed-slot-card:last-child {
  margin-bottom: 0;
}

.freed-slot-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}

.freed-slot-title {
  font-weight: 700;
  font-size: 14px;
  color: #065f46;
}

.match-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 9px 11px;
  border-radius: 8px;
  background: #fff;
  border: 1px solid #d1fae5;
  margin-bottom: 7px;
}

.match-row:last-child {
  margin-bottom: 0;
}

.match-name {
  font-weight: 700;
  font-size: 13.5px;
}

.match-pref {
  font-size: 12px;
  color: var(--text-muted);
}

.match-actions {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-shrink: 0;
}

.match-uygun-tag {
  font-size: 12px;
  font-weight: 700;
  color: #059669;
}

.freed-slot-note {
  margin-top: 10px;
  font-size: 12px;
  color: var(--text-muted);
}

/* Next Session ("Sonraki görüşme") Panel inside Detail Modal */
.next-session-box {
  margin-top: 16px;
  padding: 14px;
  border: 1px solid var(--border-strong);
  border-radius: 10px;
  background: #f8fafc;
}

.next-session-box h4 {
  margin: 0 0 10px;
  font-size: 14px;
  color: var(--text-main);
}

.next-radio-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 12px;
}

.next-radio-item {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 8px 11px;
  border-radius: 8px;
  border: 1px solid var(--border);
  background: #fff;
  cursor: pointer;
  font-size: 13px;
  font-weight: 500;
}

.next-radio-item:hover {
  border-color: var(--primary);
}

.next-radio-item input {
  width: 16px;
  height: 16px;
  accent-color: var(--primary);
}

.weekday-checks {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  padding: 6px 0;
  font-size: 12.5px;
}

.weekday-checks label {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  cursor: pointer;
}

.cancel-cat-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 7px;
  margin-bottom: 10px;
}

@media (max-width: 1024px) {
  .insights-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .session-counter-widget {
    padding: 4px 8px;
  }
  .counter-sub {
    display: none;
  }
  .therapy-radio-row {
    grid-template-columns: 1fr;
  }
  .cancel-cat-grid {
    grid-template-columns: 1fr;
  }
}


/* Live Autocomplete Highlight & Selected Patient Chip */
.search-mark {
  background: #ccfbf1;
  color: #0f766e;
  padding: 0 2px;
  border-radius: 3px;
  font-weight: 800;
}

.modal-patient-option.is-highlighted {
  background: #ecfeff;
  outline: 1.5px solid #5eead4;
  outline-offset: -1.5px;
}

.selected-patient-chip {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 12px;
  background: #ecfdf5;
  border-bottom: 1px solid #a7f3d0;
  color: #065f46;
  font-size: 12.5px;
}

.chip-clear-btn {
  border: 1px solid #6ee7b7;
  background: #fff;
  color: #047857;
  border-radius: 6px;
  padding: 2px 8px;
  font-size: 11.5px;
  font-weight: 600;
  cursor: pointer;
}

.chip-clear-btn:hover {
  background: #d1fae5;
}
