/* ============================================================
   SkinArth Admin Panel — Stylesheet
   ============================================================ */

/* ============================================================
   1. CSS CUSTOM PROPERTIES
   ============================================================ */
:root {
  --sa-primary: #1E352B;
  --sa-primary-dark: #162820;
  --sa-primary-light: #2A4D3C;
  --sa-primary-lighter: #3A6350;
  --sa-white: #FFFFFF;
  --sa-off-white: #F9FAF8;
  --sa-light-bg: #ffffff;
  --sa-gray-100: #F3F4F2;
  --sa-gray-200: #E5E7E3;
  --sa-gray-300: #D1D5CE;
  --sa-gray-400: #A8AEA4;
  --sa-gray-500: #6B7268;
  --sa-gray-600: #4A504A;
  --sa-text: #334155;
  --sa-text-light: #666666;
  --sa-text-muted: #999999;
  --sa-border: #E0E4DC;
  --sa-success: #4CAF50;
  --sa-success-bg: #E8F5E9;
  --sa-warning: #FF9800;
  --sa-warning-bg: #FFF3E0;
  --sa-danger: #E53935;
  --sa-danger-bg: #FFEBEE;
  --sa-info: #2196F3;
  --sa-info-bg: #E3F2FD;
  --sa-font: 'Poppins', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  --sa-sidebar-w: 260px;
  --sa-topbar-h: 60px;
  --sa-radius-sm: 6px;
  --sa-radius: 12px;
  --sa-radius-lg: 20px;
  --sa-radius-pill: 50px;
  --sa-shadow: 0 1px 3px rgba(30,53,43,0.08);
  --sa-shadow-md: 0 4px 12px rgba(30,53,43,0.1);
  --sa-shadow-lg: 0 8px 24px rgba(30,53,43,0.14);
  --sa-transition: 0.3s ease;
  --sa-transition-fast: 0.2s ease;
}

/* ============================================================
   2. RESET & BASE
   ============================================================ */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { -webkit-text-size-adjust: 100%; }
body {
  font-family: var(--sa-font);
  font-size: 14px;
  line-height: 1.5;
  color: var(--sa-text);
  background: var(--sa-light-bg);
  min-height: 100vh;
  overflow-x: hidden;
}
.sa-admin a { color: var(--sa-primary); text-decoration: none; }
.sa-admin a:hover { text-decoration: underline; }
img { max-width: 100%; height: auto; display: block; }
button { font-family: inherit; cursor: pointer; border: none; background: none; font-size: inherit; }
input, select, textarea { font-family: inherit; font-size: inherit; }
table { border-collapse: collapse; width: 100%; }

/* ============================================================
   3. LOGIN PAGE
   ============================================================ */
.login-page {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 40px 20px 60px;
}
.login-card {
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(20px);
  border-radius: var(--sa-radius-lg);
  padding: 48px 40px;
  width: 100%;
  max-width: 420px;
  box-shadow: var(--sa-shadow-lg);
  animation: loginFadeIn 0.5s ease;
}
@keyframes loginFadeIn { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.login-card__logo {
  text-align: center;
  margin-bottom: 32px;
}
.login-logo-box {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 80px;
  height: 80px;
  background-color: var(--sa-primary);
  border-radius: 16px;
  margin-bottom: 8px;
}
.login-logo-box img {
  width: 52px;
  height: auto;
  filter: brightness(0) invert(1);
}
.login-card__logo p {
  color: var(--sa-text-light);
  font-size: 14px;
  margin-top: 4px;
}
.login-card .form-group { margin-bottom: 20px; }
.login-card .form-group label {
  display: block;
  font-weight: 500;
  margin-bottom: 6px;
  color: var(--sa-text);
  font-size: 13px;
}
.login-card .form-group input {
  width: 100%;
  padding: 12px 16px;
  border: 1px solid var(--sa-border);
  border-radius: var(--sa-radius-sm);
  font-size: 14px;
  transition: border-color var(--sa-transition-fast);
  outline: none;
  background: var(--sa-white);
}
.login-card .form-group input:focus {
  border-color: var(--sa-primary);
  box-shadow: 0 0 0 3px rgba(30,53,43,0.1);
}
/* Password toggle eye */
.input-password-wrap {
  position: relative;
}
.input-password-wrap input {
  padding-right: 48px;
}
.password-toggle {
  position: absolute;
  right: 4px;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--sa-text-muted);
  background: none;
  border: none;
  cursor: pointer;
  border-radius: 50%;
  transition: color var(--sa-transition-fast);
}
.password-toggle:hover { color: var(--sa-primary); }

/* Forgot password link */
.login-forgot {
  text-align: center;
  margin-top: 16px;
  font-size: 13px;
}
.login-forgot a {
  color: var(--sa-text-light);
  text-decoration: none;
  transition: color var(--sa-transition-fast);
}
.login-forgot a:hover {
  color: var(--sa-primary);
  text-decoration: underline;
}

.login-card__error {
  color: var(--sa-danger);
  font-size: 13px;
  margin-bottom: 16px;
  text-align: center;
  display: none;
}
.login-card__error.show { display: block; }
.btn-login {
  width: 100%;
  padding: 14px;
  background: var(--sa-primary);
  color: var(--sa-white);
  border: none;
  border-radius: var(--sa-radius-sm);
  font-size: 15px;
  font-weight: 600;
  cursor: pointer;
  transition: background var(--sa-transition-fast);
}
.btn-login:hover { background: var(--sa-primary-dark); }
.btn-login:disabled { opacity: 0.6; cursor: not-allowed; }

/* ============================================================
   4. LAYOUT — HORIZONTAL TOP NAV + MAIN
   ============================================================ */
.admin-shell {
  display: flex;
  flex-direction: column;
}

/* Horizontal navigation bar */
.admin-topnav {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--sa-primary);
  padding: 8px 12px;
  border-radius: var(--sa-radius);
  margin-bottom: 24px;
  overflow-x: auto;
}
/* User bar above nav */
.admin-userbar {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 0 4px;
  font-size: 13px;
  color: var(--sa-primary);
}
.admin-userbar__name {
  font-weight: 600;
}
.admin-userbar__sep {
  color: var(--sa-gray-400);
}
.admin-userbar__logout {
  background: none;
  border: none;
  color: var(--sa-primary);
  font-size: 13px;
  font-weight: 400;
  cursor: pointer;
  font-family: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}
.admin-userbar__logout:hover {
  color: var(--sa-primary-dark);
}

/* Nav items — website navbar style */
.admin-topnav .nav-item {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 10px 14px;
  color: var(--sa-white);
  font-size: 15px;
  font-weight: 400;
  text-decoration: none;
  white-space: nowrap;
  transition: all var(--sa-transition-fast);
  border-radius: 12px;
  background: none;
  cursor: pointer;
  font-family: inherit;
  position: relative;
  border: none;
}
.admin-topnav .nav-item .material-symbols-outlined {
  font-size: 18px;
}
/* Underline on hover (scaleX animation) */
.admin-topnav .nav-item::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 14px;
  right: 14px;
  height: 2px;
  background-color: var(--sa-white);
  transform: scaleX(0);
  transition: transform var(--sa-transition-fast);
}
.admin-topnav .nav-item:hover::after {
  transform: scaleX(1);
}
.admin-topnav .nav-item:hover {
  text-decoration: none;
  opacity: 0.9;
}
/* Active item — white bg, green text+icon */
.admin-topnav .nav-item.active {
  background: var(--sa-white);
  color: var(--sa-primary);
  border-radius: 12px;
}
.admin-topnav .nav-item.active::after {
  display: none;
}
.admin-topnav .nav-item.active:hover {
  opacity: 1;
}

/* Main content area */
.admin-content {
  flex: 1;
  padding: 0;
}

/* ============================================================
   5. STAT CARDS
   ============================================================ */
.stat-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 28px;
}
.stat-card {
  background: var(--sa-white);
  border-radius: var(--sa-radius);
  padding: 24px;
  box-shadow: var(--sa-shadow);
  display: flex;
  align-items: flex-start;
  gap: 16px;
  transition: box-shadow var(--sa-transition-fast);
}
.stat-card:hover { box-shadow: var(--sa-shadow-md); }
.stat-card__icon {
  width: 48px;
  height: 48px;
  border-radius: var(--sa-radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  flex-shrink: 0;
}
.stat-card__icon--green { background: var(--sa-success-bg); color: var(--sa-success); }
.stat-card__icon--blue { background: var(--sa-info-bg); color: var(--sa-info); }
.stat-card__icon--orange { background: var(--sa-warning-bg); color: var(--sa-warning); }
.stat-card__icon--red { background: var(--sa-danger-bg); color: var(--sa-danger); }
.stat-card__value {
  font-size: 28px;
  font-weight: 700;
  color: var(--sa-primary);
  line-height: 1.2;
}
.stat-card__label {
  font-size: 13px;
  color: var(--sa-text-light);
  margin-top: 2px;
}

/* ============================================================
   6. CARDS & PANELS
   ============================================================ */
.card {
  background: var(--sa-white);
  border-radius: var(--sa-radius);
  box-shadow: var(--sa-shadow);
  overflow: hidden;
}
.card__header {
  padding: 18px 24px;
  border-bottom: 1px solid var(--sa-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
}
.card__header h3 {
  font-size: 16px;
  font-weight: 600;
  color: var(--sa-primary);
}
.card__body { padding: 24px; }
.card__body--flush { padding: 0; }
.card__footer {
  padding: 16px 24px;
  border-top: 1px solid var(--sa-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

/* ============================================================
   7. BUTTONS
   ============================================================ */
.sa-admin .btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 20px;
  border-radius: var(--sa-radius-sm);
  font-size: 13px;
  font-weight: 500;
  transition: all var(--sa-transition-fast);
  white-space: nowrap;
  line-height: 1.4;
  border: 1px solid transparent;
  text-decoration: none;
}
.sa-admin .btn:hover {
  text-decoration: none;
  background: var(--sa-primary);
  color: white;
}
.sa-admin .btn-primary,
.btn--primary { background: var(--sa-primary); color: var(--sa-white); }
.sa-admin .btn-primary:hover,
.btn--primary:hover { background: var(--sa-primary-dark); color: white; }
.sa-admin .btn-danger { background: #ef4444; color: white; }
.sa-admin .btn-danger:hover { background: #dc2626; color: white; }
.sa-admin .btn-sm { padding: 6px 12px; font-size: 13px; }
.cal-view-toggle .btn.active {
  background: var(--sa-primary);
  color: white;
  border-color: var(--sa-primary);
}
.btn--secondary { background: var(--sa-white); color: var(--sa-text); border-color: var(--sa-border); }
.btn--secondary:hover { background: var(--sa-gray-100); }
.btn--danger { background: var(--sa-danger); color: var(--sa-white); }
.btn--danger:hover { background: #C62828; }
.btn--success { background: var(--sa-success); color: var(--sa-white); }
.btn--success:hover { background: #388E3C; }
.btn--ghost { color: var(--sa-text-light); padding: 8px 12px; }
.btn--ghost:hover { color: var(--sa-text); background: var(--sa-gray-100); }
.btn--sm { padding: 6px 12px; font-size: 12px; }
.btn--icon { width: 36px; height: 36px; padding: 0; border-radius: var(--sa-radius-sm); }
.btn:disabled { opacity: 0.5; cursor: not-allowed; pointer-events: none; }

/* ============================================================
   8. TABLES
   ============================================================ */
.table-wrap {
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
}
.admin-table {
  width: 100%;
  font-size: 13px;
}
.admin-table th {
  text-align: left;
  padding: 12px 16px;
  font-weight: 600;
  color: var(--sa-text-light);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: var(--sa-gray-100);
  border-bottom: 1px solid var(--sa-border);
  white-space: nowrap;
}
.admin-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--sa-gray-100);
  vertical-align: middle;
}
.admin-table tbody tr { transition: background var(--sa-transition-fast); }
.admin-table tbody tr:hover { background: var(--sa-off-white); }
.admin-table tbody tr.clickable,
.data-table tbody tr.clickable-row,
.emp-card.clickable-row { cursor: pointer; }
.admin-table .col-actions { text-align: right; white-space: nowrap; }
.admin-table .col-actions .btn { margin-left: 4px; }

/* ============================================================
   9. BADGES
   ============================================================ */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 3px 10px;
  border-radius: var(--sa-radius-pill);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.3px;
}
.badge--confirmed { background: var(--sa-info-bg); color: #1565C0; }
.badge--cancelled { background: var(--sa-danger-bg); color: #C62828; }
.badge--internal { background: var(--sa-warning-bg); color: #E65100; }
.badge--deleted { background: var(--sa-gray-200); color: var(--sa-gray-500); }
.badge--draft { background: var(--sa-gray-200); color: var(--sa-gray-600); }
.badge--published { background: var(--sa-success-bg); color: #2E7D32; }
.badge--active { background: var(--sa-success-bg); color: #2E7D32; }
.badge--inactive { background: var(--sa-gray-200); color: var(--sa-gray-500); }
.badge--superadmin { background: #F3E5F5; color: #7B1FA2; }
.badge--admin { background: var(--sa-info-bg); color: #1565C0; }
.badge--employee { background: var(--sa-success-bg); color: #2E7D32; }

/* ============================================================
   10. FORMS
   ============================================================ */
.form-group { margin-bottom: 18px; }
.form-group label {
  display: block;
  font-weight: 500;
  margin-bottom: 6px;
  color: var(--sa-text);
  font-size: 13px;
}
.form-group label .required { color: var(--sa-danger); margin-left: 2px; }
.form-input,
.form-select,
.form-textarea {
  width: 100%;
  padding: 10px 14px;
  border: 1px solid var(--sa-border);
  border-radius: var(--sa-radius-sm);
  font-size: 14px;
  color: var(--sa-text);
  background: var(--sa-white);
  transition: border-color var(--sa-transition-fast), box-shadow var(--sa-transition-fast);
  outline: none;
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  border-color: var(--sa-primary);
  box-shadow: 0 0 0 3px rgba(30,53,43,0.08);
}
.form-input::placeholder { color: var(--sa-text-muted); }
.form-textarea { resize: vertical; min-height: 100px; }
.form-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8'%3E%3Cpath d='M1 1l5 5 5-5' stroke='%23666' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 14px center;
  padding-right: 36px;
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-hint { font-size: 12px; color: var(--sa-text-muted); margin-top: 4px; }
.form-error { font-size: 12px; color: var(--sa-danger); margin-top: 4px; }
.form-color { display: flex; align-items: center; gap: 8px; }
.form-color input[type="color"] {
  width: 40px; height: 36px; padding: 2px;
  border: 1px solid var(--sa-border); border-radius: var(--sa-radius-sm); cursor: pointer;
}

/* Toggle switch */
.toggle {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  font-size: 13px;
  user-select: none;
}
.toggle input { display: none; }
.toggle__track {
  width: 40px; height: 22px;
  background: var(--sa-gray-300);
  border-radius: 11px;
  position: relative;
  transition: background var(--sa-transition-fast);
  flex-shrink: 0;
}
.toggle__track::after {
  content: '';
  position: absolute;
  width: 18px; height: 18px;
  background: var(--sa-white);
  border-radius: 50%;
  top: 2px; left: 2px;
  transition: transform var(--sa-transition-fast);
  box-shadow: 0 1px 3px rgba(0,0,0,0.15);
}
.toggle input:checked + .toggle__track { background: var(--sa-success); }
.toggle input:checked + .toggle__track::after { transform: translateX(18px); }

/* ============================================================
   11. MODAL
   ============================================================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 200;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--sa-transition-fast);
}
.modal-overlay.open { opacity: 1; pointer-events: auto; }
.modal {
  background: var(--sa-white);
  border-radius: var(--sa-radius);
  width: 100%;
  max-width: 820px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  box-shadow: var(--sa-shadow-lg);
  transform: translateY(20px);
  transition: transform var(--sa-transition);
}
.modal-overlay.open .modal { transform: translateY(0); }
.modal--lg { max-width: 800px; }
.modal--sm { max-width: 420px; }
.modal__header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--sa-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}
.modal__header h3 { font-size: 18px; font-weight: 600; color: var(--sa-primary); }
.modal__close {
  width: 32px; height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--sa-text-light);
  font-size: 20px;
  transition: background var(--sa-transition-fast);
}
.modal__close:hover { background: var(--sa-gray-100); color: var(--sa-text); }
.modal__body { padding: 24px; overflow-y: auto; flex: 1; }
.modal__footer {
  padding: 16px 24px;
  border-top: 1px solid var(--sa-border);
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

/* ============================================================
   12. DRAWER
   ============================================================ */
.drawer-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.3);
  z-index: 180;
  opacity: 0;
  pointer-events: none;
  transition: opacity var(--sa-transition-fast);
}
.drawer-overlay.open { opacity: 1; pointer-events: auto; }
.drawer {
  position: fixed;
  top: 0; right: 0; bottom: 0;
  width: 480px;
  max-width: 100%;
  background: var(--sa-white);
  box-shadow: -4px 0 24px rgba(0,0,0,0.1);
  z-index: 190;
  display: flex;
  flex-direction: column;
  transform: translateX(100%);
  transition: transform var(--sa-transition);
}
.drawer.open { transform: translateX(0); }
.drawer__header {
  padding: 20px 24px;
  border-bottom: 1px solid var(--sa-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-shrink: 0;
}
.drawer__header h3 { font-size: 18px; font-weight: 600; color: var(--sa-primary); }
.drawer__close {
  width: 32px; height: 32px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--sa-text-light);
  font-size: 20px;
  transition: background var(--sa-transition-fast);
}
.drawer__close:hover { background: var(--sa-gray-100); }
.drawer__body { flex: 1; overflow-y: auto; padding: 24px; }
.drawer__section { margin-bottom: 24px; }
.drawer__section h4 {
  font-size: 13px; font-weight: 600;
  text-transform: uppercase; letter-spacing: 0.5px;
  color: var(--sa-text-light); margin-bottom: 12px;
}
.drawer__row {
  display: flex;
  justify-content: space-between;
  padding: 8px 0;
  font-size: 13px;
  border-bottom: 1px solid var(--sa-gray-100);
}
.drawer__row-label { color: var(--sa-text-light); }
.drawer__row-value { font-weight: 500; }
.drawer__footer {
  padding: 16px 24px;
  border-top: 1px solid var(--sa-border);
  display: flex;
  gap: 10px;
  flex-shrink: 0;
}

/* ============================================================
   13. CALENDAR
   ============================================================ */
.calendar-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}
.calendar-toolbar__nav { display: flex; align-items: center; gap: 8px; }
.calendar-toolbar__period {
  font-size: 16px; font-weight: 600;
  color: var(--sa-primary);
  min-width: 200px; text-align: center;
}
.calendar-toolbar__views {
  display: flex; gap: 4px;
  background: var(--sa-gray-100);
  border-radius: var(--sa-radius-sm);
  padding: 3px;
}
.calendar-toolbar__view-btn {
  padding: 6px 14px; font-size: 12px; font-weight: 500;
  border-radius: 4px; color: var(--sa-text-light);
  transition: all var(--sa-transition-fast);
}
.calendar-toolbar__view-btn--active {
  background: var(--sa-white); color: var(--sa-primary);
  box-shadow: var(--sa-shadow);
}
.calendar-filters {
  display: flex; gap: 6px;
  flex-wrap: wrap; margin-bottom: 16px;
}
.calendar-filter-pill {
  padding: 6px 14px; border-radius: var(--sa-radius-pill);
  font-size: 12px; font-weight: 500;
  border: 1px solid var(--sa-border);
  background: var(--sa-white); color: var(--sa-text-light);
  transition: all var(--sa-transition-fast); cursor: pointer;
}
.calendar-filter-pill:hover { border-color: var(--sa-primary); color: var(--sa-primary); }
.calendar-filter-pill--active {
  background: var(--sa-primary); color: var(--sa-white);
  border-color: var(--sa-primary);
}
.calendar-grid-wrap {
  background: var(--sa-white);
  border-radius: var(--sa-radius);
  box-shadow: var(--sa-shadow);
  overflow: hidden;
}
.calendar-header { display: grid; border-bottom: 1px solid var(--sa-border); }
.calendar-header--week { grid-template-columns: 60px repeat(7, 1fr); }
.calendar-header--day { grid-template-columns: 60px 1fr; }
.calendar-header__cell {
  padding: 12px 8px; text-align: center;
  font-size: 12px; font-weight: 600; color: var(--sa-text-light);
}
.calendar-header__cell--today { color: var(--sa-primary); }
.calendar-header__day-num {
  display: block; font-size: 18px; font-weight: 700;
  color: var(--sa-text); line-height: 1.3;
}
.calendar-header__cell--today .calendar-header__day-num {
  color: var(--sa-white);
  background: var(--sa-primary);
  width: 32px; height: 32px; border-radius: 50%;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 14px;
}
.calendar-body { position: relative; overflow-y: auto; max-height: calc(100vh - 280px); }
.calendar-body__grid { display: grid; position: relative; }
.calendar-body__grid--week { grid-template-columns: 60px repeat(7, 1fr); }
.calendar-body__grid--day { grid-template-columns: 60px 1fr; }
.calendar-time-col { border-right: 1px solid var(--sa-border); }
.calendar-time-slot {
  height: 48px; padding: 0 8px;
  font-size: 11px; color: var(--sa-text-muted);
  display: flex; align-items: flex-start;
  justify-content: flex-end; transform: translateY(-7px);
}
.calendar-day-col {
  position: relative;
  border-right: 1px solid var(--sa-gray-100);
  min-height: 48px;
}
.calendar-day-col:last-child { border-right: none; }
.calendar-hour-line {
  height: 48px;
  border-bottom: 1px solid var(--sa-gray-100);
}
.calendar-now-line {
  position: absolute;
  left: 60px; right: 0;
  height: 2px;
  background: var(--sa-danger);
  z-index: 10; pointer-events: none;
}
.calendar-now-line::before {
  content: '';
  position: absolute;
  left: -5px; top: -4px;
  width: 10px; height: 10px;
  border-radius: 50%;
  background: var(--sa-danger);
}
.calendar-event {
  position: absolute;
  left: 2px; right: 2px;
  border-radius: 4px;
  padding: 3px 6px;
  font-size: 11px; line-height: 1.3;
  overflow: hidden; cursor: pointer;
  z-index: 5;
  transition: opacity var(--sa-transition-fast);
  border-left: 3px solid;
}
.calendar-event:hover { opacity: 0.85; }
.calendar-event__title {
  font-weight: 600;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.calendar-event__meta {
  font-size: 10px; opacity: 0.8;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}

/* ============================================================
   14. TABS
   ============================================================ */
.tabs {
  display: flex;
  gap: 0;
  border: 1px solid var(--sa-border);
  border-radius: var(--sa-radius);
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  margin-bottom: 20px;
  width: fit-content;
  max-width: 100%;
}
.tab {
  padding: 8px 16px;
  font-size: 13px;
  font-weight: 500;
  color: var(--sa-text);
  background: #fff;
  border: none;
  border-right: 1px solid var(--sa-border);
  white-space: nowrap;
  transition: all var(--sa-transition-fast);
  cursor: pointer;
  font-family: inherit;
  flex-shrink: 0;
}
.tab:last-child { border-right: none; }
.tab:hover { background: #f0fdf4; color: var(--sa-primary); }
.tab.active {
  background: var(--sa-primary);
  color: #fff;
}

/* ============================================================
   15. PAGINATION
   ============================================================ */
.pagination {
  display: flex; align-items: center; justify-content: center;
  gap: 4px; margin-top: 20px; padding: 16px;
  flex-wrap: wrap;
}
.pag-info {
  width: 100%; text-align: center;
  font-size: 13px; color: var(--sa-text-muted, #6b7280);
  margin-top: 4px;
}
.pagination__btn {
  width: 36px; height: 36px;
  display: flex; align-items: center; justify-content: center;
  border-radius: var(--sa-radius-sm);
  font-size: 13px; font-weight: 500;
  color: var(--sa-text-light);
  transition: all var(--sa-transition-fast);
  border: 1px solid transparent;
}
.pagination__btn:hover { background: var(--sa-gray-100); color: var(--sa-text); }
.pagination__btn--active { background: var(--sa-primary); color: var(--sa-white); }
.pagination__btn--active:hover { background: var(--sa-primary-dark); color: var(--sa-white); }
.pagination__btn:disabled { opacity: 0.3; cursor: not-allowed; }
.pagination__info { font-size: 13px; color: var(--sa-text-muted); margin: 0 12px; }

/* ============================================================
   16. SEARCH BAR
   ============================================================ */
.search-bar { position: relative; max-width: 320px; }
.search-bar__icon {
  position: absolute; left: 12px; top: 50%;
  transform: translateY(-50%); color: var(--sa-text-muted);
  font-size: 15px; pointer-events: none;
}
.search-bar__input {
  width: 100%; padding: 10px 14px 10px 38px;
  border: 1px solid var(--sa-border);
  border-radius: var(--sa-radius-sm);
  font-size: 13px; outline: none;
  transition: border-color var(--sa-transition-fast);
  background: var(--sa-white);
}
.search-bar__input:focus {
  border-color: var(--sa-primary);
  box-shadow: 0 0 0 3px rgba(30,53,43,0.08);
}

/* ============================================================
   17. FILTER BAR
   ============================================================ */
.filter-bar {
  display: flex; align-items: center; gap: 12px;
  flex-wrap: wrap; margin-bottom: 20px;
}
.filter-bar .form-select,
.filter-bar .form-input {
  width: auto; min-width: 150px;
  padding: 8px 12px; font-size: 13px;
}

/* ============================================================
   18. TOASTS
   ============================================================ */
#toast-container {
  position: fixed; bottom: 24px; right: 24px;
  z-index: 9999;
  display: flex; flex-direction: column-reverse;
  gap: 8px; pointer-events: none;
}
.toast {
  padding: 14px 20px;
  border-radius: var(--sa-radius-sm);
  font-size: 13px; font-weight: 500;
  box-shadow: var(--sa-shadow-md);
  display: flex; align-items: center; gap: 10px;
  min-width: 280px; max-width: 420px;
  animation: toastIn 0.3s ease;
  pointer-events: auto;
}
.toast--success { background: #2E7D32; color: var(--sa-white); }
.toast--error { background: var(--sa-danger); color: var(--sa-white); }
.toast--info { background: var(--sa-info); color: var(--sa-white); }
.toast--out { animation: toastOut 0.3s ease forwards; }
@keyframes toastIn { from { transform: translateX(100%); opacity: 0; } to { transform: translateX(0); opacity: 1; } }
@keyframes toastOut { from { transform: translateX(0); opacity: 1; } to { transform: translateX(100%); opacity: 0; } }

/* ============================================================
   19. LOADING & EMPTY
   ============================================================ */
.spinner {
  width: 36px; height: 36px;
  border: 3px solid var(--sa-gray-200);
  border-top-color: var(--sa-primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }
.loading-wrap {
  display: flex; align-items: center; justify-content: center;
  padding: 60px 20px;
}
.empty-state { text-align: center; padding: 60px 20px; }
.empty-state__icon { font-size: 48px; margin-bottom: 16px; opacity: 0.4; }
.empty-state__text { font-size: 15px; color: var(--sa-text-light); }

/* ============================================================
   20. EMPLOYEE CARDS
   ============================================================ */
.employee-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}
.employee-card {
  background: var(--sa-white);
  border-radius: var(--sa-radius);
  box-shadow: var(--sa-shadow);
  padding: 24px;
  text-align: center;
  transition: box-shadow var(--sa-transition-fast);
  cursor: pointer;
}
.employee-card:hover { box-shadow: var(--sa-shadow-md); }
.employee-card__photo {
  width: 80px; height: 80px;
  border-radius: 50%;
  object-fit: cover;
  margin: 0 auto 16px;
  background: var(--sa-gray-200);
  display: flex; align-items: center; justify-content: center;
  font-size: 28px; color: var(--sa-text-muted);
  overflow: hidden;
}
.employee-card__photo img { width: 100%; height: 100%; object-fit: cover; }
.employee-card__name {
  font-size: 16px; font-weight: 600;
  color: var(--sa-primary); margin-bottom: 4px;
}
.employee-card__specs { font-size: 12px; color: var(--sa-text-light); margin-bottom: 12px; }

/* ============================================================
   21. SERVICE LIST
   ============================================================ */
.service-list { display: flex; flex-direction: column; gap: 8px; }
.service-item {
  display: flex; align-items: center; gap: 12px;
  padding: 14px 18px;
  background: var(--sa-white);
  border: 1px solid var(--sa-gray-100);
  border-radius: var(--sa-radius-sm);
  transition: border-color var(--sa-transition-fast);
}
.service-item:hover { border-color: var(--sa-border); }
.service-item__color { width: 12px; height: 12px; border-radius: 50%; flex-shrink: 0; }
.service-item__name { flex: 1; font-weight: 500; font-size: 14px; }
.service-item__meta { font-size: 12px; color: var(--sa-text-light); display: flex; gap: 12px; }
.service-item__actions { display: flex; gap: 4px; }

/* ============================================================
   22. REVIEW ITEMS
   ============================================================ */
.review-item {
  display: flex; gap: 16px; padding: 18px;
  border-bottom: 1px solid var(--sa-gray-100);
}
.review-item:last-child { border-bottom: none; }
.review-item__rating { color: #F59E0B; font-size: 14px; letter-spacing: 1px; white-space: nowrap; }
.review-item__content { flex: 1; }
.review-item__text { font-size: 13px; color: var(--sa-text); margin-bottom: 6px; line-height: 1.5; }
.review-item__author { font-size: 12px; color: var(--sa-text-light); font-weight: 500; }
.review-item__actions { display: flex; align-items: flex-start; gap: 4px; }

/* ============================================================
   23. BLOG ITEMS
   ============================================================ */
.blog-item {
  display: flex; gap: 16px; padding: 18px;
  border-bottom: 1px solid var(--sa-gray-100);
  align-items: center;
}
.blog-item:last-child { border-bottom: none; }
.blog-item__thumb {
  width: 80px; height: 56px;
  border-radius: var(--sa-radius-sm);
  background: var(--sa-gray-200);
  flex-shrink: 0; overflow: hidden;
}
.blog-item__thumb img { width: 100%; height: 100%; object-fit: cover; }
.blog-item__content { flex: 1; }
.blog-item__title { font-weight: 600; font-size: 14px; margin-bottom: 4px; }
.blog-item__excerpt { font-size: 12px; color: var(--sa-text-light); }
.blog-item__actions { display: flex; gap: 4px; align-items: center; }

/* ============================================================
   24. RECEIPT STATS
   ============================================================ */
.receipt-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px; margin-bottom: 24px;
}
.receipt-stat {
  background: var(--sa-white);
  border-radius: var(--sa-radius-sm);
  padding: 16px;
  box-shadow: var(--sa-shadow);
  text-align: center;
}
.receipt-stat__value { font-size: 22px; font-weight: 700; color: var(--sa-primary); }
.receipt-stat__label { font-size: 12px; color: var(--sa-text-light); margin-top: 2px; }

/* ============================================================
   25. SETTINGS
   ============================================================ */
.settings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 12px 20px;
}
.settings-grid--4col { grid-template-columns: repeat(4, 1fr); gap: 12px 16px; }
.settings-grid .form-group { margin-bottom: 0; }
.settings-grid .form-group label,
.rc-box .form-group label { display: block; margin: 4px 0; font-weight: 600; font-size: 14px; }
.settings-grid .form-group input[type="text"],
.settings-grid .form-group input[type="email"],
.settings-grid .form-group input[type="number"],
.settings-grid .form-group input[type="password"],
.settings-grid .form-group select,
.rc-box .form-group input[type="text"],
.rc-box .form-group input[type="email"],
.rc-box .form-group input[type="number"],
.rc-box .form-group input[type="password"],
.rc-box .form-group select {
  width: 100%;
  padding: 8px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-family: inherit;
  font-size: 14px;
  margin-top: 4px;
  box-sizing: border-box;
}
.settings-grid .form-group input[type="time"] {
  width: 100%;
  padding: 8px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-family: inherit;
  font-size: 14px;
  margin-top: 4px;
  box-sizing: border-box;
}
.settings-grid .form-color { margin-top: 4px; }
.color-hex-preview { font-size: 13px; color: #6b7280; font-family: monospace; }
.settings-section {
  background: var(--sa-white);
  border-radius: var(--sa-radius);
  box-shadow: var(--sa-shadow);
  padding: 24px;
}
.settings-section h4 {
  font-size: 15px; font-weight: 600;
  color: var(--sa-primary);
  margin-bottom: 20px; padding-bottom: 12px;
  border-bottom: 1px solid var(--sa-border);
}

/* ============================================================
   26. WORKING HOURS
   ============================================================ */
.hours-grid { display: flex; flex-direction: column; gap: 8px; }
.hours-row {
  display: grid; grid-template-columns: 80px 1fr;
  align-items: center; gap: 12px;
  padding: 8px 0;
  border-bottom: 1px solid var(--sa-gray-100);
}
.hours-row__day { font-weight: 500; font-size: 13px; }
.hours-row__times { display: flex; align-items: center; gap: 8px; font-size: 13px; }
.hours-row__times input {
  width: 90px; padding: 6px 8px;
  border: 1px solid var(--sa-border);
  border-radius: 4px; font-size: 13px; text-align: center;
}

/* ============================================================
   27. TOOLBAR
   ============================================================ */
.toolbar {
  display: flex; align-items: center;
  justify-content: space-between;
  gap: 12px; margin-bottom: 20px;
  flex-wrap: wrap;
}
.toolbar__left { display: flex; align-items: center; gap: 12px; }
.toolbar__right { display: flex; align-items: center; gap: 8px; }

/* ============================================================
   28. SIDEBAR OVERLAY
   ============================================================ */
.sidebar-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.4);
  z-index: 90;
  opacity: 0; pointer-events: none;
  transition: opacity var(--sa-transition-fast);
}
.sidebar-overlay.open { opacity: 1; pointer-events: auto; }

/* ============================================================
   29. UTILITIES
   ============================================================ */
.text-right { text-align: right; }
.text-center { text-align: center; }
.text-muted { color: var(--sa-text-muted); }
.text-sm { font-size: 12px; }
.text-success { color: var(--sa-success); }
.text-danger { color: var(--sa-danger); }
.font-semibold { font-weight: 600; }
.mt-8 { margin-top: 8px; }
.mt-16 { margin-top: 16px; }
.mt-24 { margin-top: 24px; }
.mb-8 { margin-bottom: 8px; }
.mb-16 { margin-bottom: 16px; }
.mb-24 { margin-bottom: 24px; }
.hidden { display: none !important; }

/* ============================================================
   30. RESPONSIVE
   ============================================================ */
@media (max-width: 1200px) {
  .stat-grid { grid-template-columns: repeat(2, 1fr); }
  .settings-grid,
  .settings-grid--4col { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 600px) {
  .settings-grid,
  .settings-grid--4col { grid-template-columns: 1fr; }
  .bk-filters { padding: 12px; }
  .bk-filter-field { width: 100%; }
  .bk-filter-field input,
  .bk-filter-field select { width: 100%; }
}
@media (max-width: 768px) {
  .admin-sidebar { transform: translateX(-100%); }
  .admin-sidebar.open { transform: translateX(0); }
  .admin-main { margin-left: 0; }
  .admin-topbar__hamburger { display: flex; }
  .admin-content { padding: 16px; }
  .stat-grid { grid-template-columns: 1fr; }
  .form-row { grid-template-columns: 1fr; }
  .drawer { width: 100%; }
  .modal { margin: 10px; }
  .toolbar { flex-direction: column; align-items: stretch; }
  .filter-bar { flex-direction: column; align-items: stretch; }
  .filter-bar .form-select, .filter-bar .form-input { width: 100%; min-width: 0; }
  .search-bar { max-width: 100%; }
  .calendar-toolbar { flex-direction: column; align-items: stretch; text-align: center; }
  .calendar-toolbar__nav { justify-content: center; }
  .calendar-header--week { grid-template-columns: 40px repeat(7, 1fr); }
  .calendar-body__grid--week { grid-template-columns: 40px repeat(7, 1fr); }
  .employee-grid { grid-template-columns: 1fr; }
  .hours-row { grid-template-columns: 1fr; gap: 4px; }
  .admin-table { font-size: 12px; }
  .admin-table th, .admin-table td { padding: 8px 10px; }
}
@media (max-width: 480px) {
  .stat-card { padding: 16px; gap: 12px; }
  .stat-card__icon { width: 40px; height: 40px; font-size: 18px; }
  .stat-card__value { font-size: 22px; }
  .card__header { padding: 14px 16px; }
  .card__body { padding: 16px; }
  .modal__body { padding: 16px; }
}

/* ============================================================
   31. PAGE HEADER & COMMON UI
   ============================================================ */
.page-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 16px;
  margin-bottom: 24px;
}
.page-header h1 {
  font-size: 22px;
  font-weight: 700;
  color: var(--sa-primary);
  margin: 0;
}

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

.dashboard-section {
  margin-bottom: 24px;
}
.dashboard-section h2 {
  font-size: 18px;
  font-weight: 600;
  color: var(--sa-primary);
  margin: 0 0 16px;
}

.empty-text { color: var(--sa-text-light); font-size: 14px; }
.error-text { color: var(--sa-danger); font-size: 14px; }

/* ============================================================
   32. DATA TABLES
   ============================================================ */
.table-wrapper { overflow-x: auto; }
.data-table { width: 100%; border-collapse: collapse; font-size: 14px; }
.data-table th {
  text-align: left;
  padding: 12px 16px;
  font-weight: 600;
  color: var(--sa-text-light);
  font-size: 12px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 2px solid var(--sa-border);
  background: var(--sa-off-white);
}
.data-table td {
  padding: 12px 16px;
  border-bottom: 1px solid var(--sa-border);
  color: var(--sa-text);
}
.data-table tbody tr:hover { background: var(--sa-off-white); }

.badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
  color: white;
}

.filters-bar {
  display: flex;
  align-items: flex-end;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 20px;
  padding: 16px 20px;
  background: var(--sa-off-white);
  border-radius: var(--sa-radius);
  border: 1px solid var(--sa-border);
}
/* Employee hours grid */
.emp-hours-grid {
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.emp-hours-row {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 12px;
  border: 1px solid var(--sa-border);
  border-radius: 8px;
  background: #fff;
}
.emp-hours-day {
  min-width: 70px;
  font-weight: 500;
  font-size: 13px;
}
.emp-hours-row input[type="time"] {
  padding: 4px 6px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-size: 13px;
  font-family: inherit;
  width: 100px;
}

/* Category list rows */
.cat-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  border: 1px solid var(--sa-border);
  border-radius: 10px;
  margin-bottom: 6px;
}
.cat-row__name { font-weight: 500; font-size: 14px; }
.cat-row__actions { display: flex; gap: 6px; }

/* Service filter box */
.svc-filter-box {
  background: #f0fdf4;
  border: 1px solid var(--sa-primary);
  border-radius: 12px;
  padding: 8px 12px;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  align-items: center;
  flex: 1;
}
.svc-filter-box .ppb-pill {
  font-size: 12px;
  padding: 4px 10px;
}

/* Booking summary stats */
.bk-summary {
  display: flex;
  gap: 16px;
  align-items: center;
}
.bk-stat {
  background: #f0fdf4;
  border: 1px solid var(--sa-primary);
  border-radius: 10px;
  padding: 6px 14px;
  font-size: 13px;
  color: var(--sa-primary);
  white-space: nowrap;
}
.bk-stat strong {
  font-weight: 700;
}
/* Receipt stat cards grid */
.rc-stats-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin-bottom: 16px;
}
.rc-stat-item { text-align: center; padding: 12px 8px; }
.rc-stat-val { font-size: 22px; font-weight: 700; }
.rc-stat-label { font-size: 11px; margin-top: 2px; }

/* Booking page size toggle */
.bk-page-toggle {
  display: flex;
  gap: 0;
  border: 1px solid var(--sa-border);
  border-radius: var(--sa-radius);
  overflow: hidden;
  align-self: center;
}
.bk-page-toggle .btn {
  border: none;
  border-radius: 0;
  border-right: 1px solid var(--sa-border);
  padding: 4px 10px;
  font-size: 12px;
  min-width: 0;
}
.bk-page-toggle .btn:last-child { border-right: none; }
.bk-page-toggle .btn.active {
  background: var(--sa-primary);
  color: #fff;
}

/* Booking filters */
.bk-filters {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 20px;
  padding: 14px 18px;
  background: var(--sa-off-white);
  border-radius: var(--sa-radius);
  border: 1px solid var(--sa-border);
}
.bk-filters__fields {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  flex: 1;
  align-items: flex-end;
}
.bk-filter-field {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.bk-filter-field label {
  font-size: 11px;
  font-weight: 600;
  color: var(--sa-text-light);
  text-transform: uppercase;
  letter-spacing: 0.3px;
}
.bk-filter-field input,
.bk-filter-field select {
  padding: 7px 10px;
  border: 1px solid var(--sa-border);
  border-radius: var(--sa-radius-sm);
  font-size: 13px;
  font-family: inherit;
  min-width: 100px;
}
/* Status badge — rectangle with rounded corners */
.status-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 600;
  white-space: nowrap;
  letter-spacing: 0.3px;
}

/* Sortable table headers */
.data-table th.sortable {
  cursor: pointer;
  user-select: none;
  transition: color 0.15s;
}
.data-table th.sortable:hover { color: var(--sa-primary); }
.data-table th.sortable::after {
  content: ' ↕';
  font-size: 10px;
  opacity: 0.4;
}
.data-table th.sort-asc::after { content: ' ↑'; opacity: 1; color: var(--sa-primary); }
.data-table th.sort-desc::after { content: ' ↓'; opacity: 1; color: var(--sa-primary); }
.form-group--inline { display: flex; flex-direction: column; gap: 4px; }
.form-group--inline label { font-size: 12px; font-weight: 600; color: var(--sa-text-light); }
.form-group--inline input,
.form-group--inline select {
  padding: 8px 12px;
  border: 1px solid var(--sa-border);
  border-radius: var(--sa-radius-sm);
  font-size: 14px;
}

/* ============================================================
   33. CALENDAR — PPbooking-inspired
   ============================================================ */
.cal-controls {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.cal-title {
  font-size: 18px;
  font-weight: 600;
  color: var(--sa-primary);
  margin: 0 8px;
}
.cal-view-toggle {
  display: flex;
  gap: 4px;
  margin-left: auto;
}

/* Employee filter pills */
.cal-filters {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  padding: 12px 16px;
  background: var(--sa-off-white);
  border-radius: var(--sa-radius);
  margin-bottom: 20px;
  border: 1px solid var(--sa-border);
}
.cal-filters__left,
.cal-filters__right {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 8px;
}
.emp-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  background: white;
  border: 1px solid var(--sa-border);
  border-radius: var(--sa-radius);
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  color: var(--sa-text);
  transition: all 0.2s;
  font-family: inherit;
}
.emp-pill:hover {
  border-color: var(--sa-primary);
  background: #f0fdf4;
}
.emp-pill.active {
  background: var(--sa-primary);
  color: white;
  border-color: var(--sa-primary);
}
.emp-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
  flex-shrink: 0;
}

/* Calendar grid */
.cal-container { overflow: visible; }
.cal-grid { min-width: 700px; }

.cal-grid__header {
  display: flex;
  border-bottom: 2px solid var(--sa-border);
  position: sticky;
  top: 0;
  background: white;
  z-index: 2;
}
.cal-time-col {
  width: 60px;
  flex-shrink: 0;
  padding: 10px 8px;
  font-size: 12px;
  font-weight: 600;
  color: var(--sa-text-light);
}
.cal-day-col {
  flex: 1;
  text-align: center;
  padding: 10px 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--sa-text);
}
.cal-day-col.today {
  color: var(--sa-primary);
  background: var(--sa-success-bg);
  border-radius: var(--sa-radius-sm) var(--sa-radius-sm) 0 0;
}
.cal-day-col.weekend { background: #f0fdf4; }

.cal-grid__body {
  display: flex;
  position: relative;
}
.cal-grid__times {
  width: 60px;
  flex-shrink: 0;
  position: relative;
}
.cal-time-label {
  position: absolute;
  left: 0;
  width: 100%;
  text-align: right;
  padding-right: 8px;
  font-size: 11px;
  color: var(--sa-text-muted);
  transform: translateY(-50%);
}
.cal-grid__cols {
  flex: 1;
  display: flex;
  position: relative;
}
.cal-day-column {
  flex: 1;
  position: relative;
  border-left: 1px solid var(--sa-gray-200);
}
.cal-day-column--weekend { background: #f0fdf4; }
.cal-slot {
  position: absolute;
  left: 0;
  right: 0;
  border-bottom: 1px solid var(--sa-gray-100);
  cursor: pointer;
  transition: background 0.15s;
}
.cal-slot:hover {
  background: rgba(30, 53, 43, 0.04);
}

/* Calendar events */
.cal-event {
  position: absolute;
  border-radius: 8px;
  padding: 3px 8px;
  color: white;
  font-size: 12px;
  overflow: hidden;
  cursor: pointer;
  z-index: 1;
  transition: box-shadow 0.2s;
  box-shadow: 0 2px 6px rgba(0,0,0,0.08), 0 0 0 1px white;
  /* left, width, border-left set inline via JS */
}
.cal-event:hover {
  box-shadow: 0 0 0 2px #2A885F;
}
.cal-event__title {
  font-weight: 600;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cal-event__sub {
  font-size: 11px;
  opacity: 0.85;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Now indicator line */
.cal-now-line {
  position: absolute;
  left: 60px;
  right: 0;
  height: 2px;
  background: var(--sa-danger);
  z-index: 3;
}
.cal-now-line::before {
  content: '';
  position: absolute;
  left: -4px;
  top: -3px;
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--sa-danger);
}

/* Calendar working hours bar */
.cal-hours-bar {
  display: flex;
  background: var(--sa-gray-100);
  border-radius: 0 0 var(--sa-radius) var(--sa-radius);
  overflow: hidden;
  margin-top: 0;
  border: 1px solid var(--sa-gray-200);
  border-top: none;
  min-width: 700px;
}
.cal-hours-bar__time-col {
  width: 60px;
  flex-shrink: 0;
  background: white;
}
.cal-hours-bar__day {
  flex: 1;
  background: white;
  padding: 8px 10px;
  min-width: 0;
  border-left: 1px solid var(--sa-gray-200);
}
.cal-hours-bar__emp {
  font-size: 12px;
  color: var(--sa-text);
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 2px 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.cal-hours-bar__emp .emp-dot {
  flex-shrink: 0;
}

/* Month view */
.cal-month__header {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  border-bottom: 2px solid var(--sa-border);
  background: white;
}
.cal-month__day-name {
  text-align: center;
  padding: 10px 8px;
  font-size: 13px;
  font-weight: 600;
  color: var(--sa-text);
}
.cal-month__week {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  min-height: 100px;
}
.cal-month__cell {
  border: 1px solid var(--sa-gray-100);
  padding: 4px 6px;
  cursor: pointer;
  transition: background 0.15s;
  min-height: 80px;
  overflow: hidden;
  min-width: 0;
}
.cal-month__cell:hover { background: rgba(30,53,43,0.03); }
.cal-month__cell--today { background: var(--sa-success-bg); }
.cal-month__cell--weekend { background: #f0fdf4; }
.cal-month__cell--other { opacity: 0.4; }
.cal-month__date {
  font-size: 13px;
  font-weight: 600;
  color: var(--sa-text);
  margin-bottom: 4px;
}
.cal-month__cell--today .cal-month__date { color: var(--sa-primary); }
.cal-month__event {
  display: block;
  font-size: 11px;
  line-height: 18px;
  height: 18px;
  padding: 0 4px;
  border-radius: 4px;
  margin-bottom: 1px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  cursor: pointer;
}
.cal-month__event:hover { opacity: 0.85; }
.cal-month__event-time { font-weight: 600; }
.cal-month__more {
  font-size: 11px;
  line-height: 18px;
  color: var(--sa-text-muted);
  padding: 0 4px;
  cursor: pointer;
}
.cal-month__more:hover { color: var(--sa-primary); }

/* Calendar event time row */
.cal-event__time {
  font-size: 10px;
  opacity: 0.9;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.2;
}

/* Calendar event resize handle */
.cal-event__resize-handle {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 6px;
  cursor: ns-resize;
  border-radius: 0 0 6px 6px;
  background: rgba(255,255,255,0.25);
  opacity: 0;
  transition: opacity 0.15s;
}
.cal-event:hover .cal-event__resize-handle {
  opacity: 1;
}

/* Cancelled events */
.cal-event--cancelled {
  opacity: 0.6;
  cursor: pointer;
}
.cal-event--cancelled .cal-event__title {
  text-decoration: line-through;
}

/* Calendar mobile */
@media (max-width: 768px) {
  .cal-grid { min-width: 0; }
  .cal-hours-bar { min-width: 0; }
  .cal-container { overflow-x: auto; -webkit-overflow-scrolling: touch; }
  .cal-time-col,
  .cal-grid__times,
  .cal-hours-bar__time-col { width: 42px; }
  .cal-time-label { font-size: 10px; padding-right: 4px; }
  .cal-day-col { font-size: 11px; padding: 8px 4px; }
  .cal-event { font-size: 11px; padding: 2px 5px; }
  .cal-event__title { font-size: 11px; }
  .cal-event__sub { font-size: 10px; }
  .cal-event__time { font-size: 10px; }
  .cal-now-line { left: 42px; }
  .cal-title { font-size: 15px; margin: 0 4px; }
  .cal-view-toggle { margin-left: 0; }
  .cal-view-toggle .btn { font-size: 11px; padding: 4px 8px; }
  .cal-filters { padding: 8px 10px; gap: 6px; flex-wrap: wrap; }
  .emp-pill { font-size: 12px; padding: 4px 10px; }
  .cal-hours-bar__emp { font-size: 11px; }
  .cal-month__day-name { font-size: 11px; padding: 6px 2px; }
  .cal-month__cell { min-height: 60px; padding: 3px 4px; }
  .cal-month__date { font-size: 12px; }
  .cal-month__event { font-size: 10px; line-height: 16px; height: 16px; }
  .cal-event__resize-handle { height: 14px; opacity: 1; }
  .cal-event { touch-action: none; }
  /* Calendar full width — edge to edge */
  .admin-content:has(.cal-container) { padding-left: 0 !important; padding-right: 0 !important; padding-top: 8px !important; }
  .admin-content:has(.cal-container) .page-header { padding: 0 10px; }
  .admin-content:has(.cal-container) .cal-filters { margin: 0 10px 12px; }
  .cal-container { overflow-x: hidden; width: 100%; }
  .cal-grid { min-width: 0; width: 100%; }
  .cal-grid__header { margin: 0; }
  .cal-time-col,
  .cal-grid__times,
  .cal-hours-bar__time-col { width: 28px; }
  .cal-time-label { font-size: 9px; padding-right: 1px; padding-left: 0; text-align: center; }
  .cal-now-line { left: 28px; }
  .cal-hours-bar { border-radius: 0; border-left: none; border-right: none; min-width: 0; width: 100%; }
  .cal-day-column { border-right: none; }
}

/* ============================================================
   PPbooking-identical modal
   ============================================================ */
.ppb-modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.35);
  z-index: 100000;
  align-items: center;
  justify-content: center;
}
.ppb-modal-overlay.open {
  display: flex;
}
.ppb-modal-inner {
  background: #fff;
  border-radius: 12px;
  max-width: 580px;
  width: 95%;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
}
/* STICKY: header */
.ppb-modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 16px 12px;
  flex-shrink: 0;
}
.ppb-modal-header h3 {
  font-size: 20px;
  font-weight: 700;
  color: #111;
  margin: 0;
}
.ppb-modal-close {
  width: 34px;
  height: 34px;
  border: 1px solid var(--sa-primary);
  background: #f0fdf4;
  font-size: 20px;
  color: var(--sa-primary);
  cursor: pointer;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: background 0.2s;
  line-height: 1;
  flex-shrink: 0;
}
.ppb-modal-close:hover { background: #dcfce7; }
/* STICKY: tabs */
.ppb-modal-tabs {
  display: flex;
  gap: 0;
  border-bottom: 2px solid #e5e7eb;
  padding: 0 16px;
  flex-shrink: 0;
}
/* SCROLLABLE: body */
.ppb-modal-body {
  padding: 16px;
  overflow-y: auto;
  flex: 1;
  min-height: 0;
}
/* STICKY: footer */
.ppb-modal-footer {
  display: flex;
  gap: 8px;
  justify-content: space-between;
  padding: 12px 16px;
  border-top: 1px solid #e5e7eb;
  flex-shrink: 0;
}
.ppb-modal-footer .ppb-btn {
  flex: 1;
  text-align: center;
}

/* PPbooking form field styling */
.ppb-modal-inner label {
  display: block;
  margin: 6px 0;
  font-weight: 600;
}
.ppb-modal-inner input,
.ppb-modal-inner select,
.ppb-modal-inner textarea {
  width: 100%;
  padding: 8px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-family: inherit;
  font-size: 14px;
  margin-top: 4px;
  box-sizing: border-box;
}
.ppb-modal-inner input[type=checkbox],
.ppb-modal-inner input[type=radio] {
  width: auto !important;
  margin-top: 0;
  padding: 0;
  appearance: auto;
}
.ppb-modal-inner textarea {
  resize: vertical;
  min-height: 60px;
}
.ppb-modal-inner fieldset {
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  padding: 8px 16px;
  margin-top: 8px;
}
.ppb-modal-inner fieldset legend {
  font-weight: 600;
  padding: 0 6px;
}
.ppb-modal-inner small {
  color: #6b7280;
  display: block;
  margin-top: 4px;
}

/* PPbooking tabs — defined in .ppb-modal-tabs above, this is for tab buttons */
.ppb-tab {
  padding: 12px 24px;
  border: none;
  background: transparent;
  font-weight: 600;
  cursor: pointer;
  border-bottom: 2px solid transparent;
  margin-bottom: -2px;
  color: #6b7280;
  font-family: inherit;
  font-size: 14px;
  transition: color 0.2s;
}
.ppb-tab:hover { color: var(--sa-primary); }
.ppb-tab--active {
  color: var(--sa-primary);
  border-bottom-color: var(--sa-primary);
}

/* PPB modal mobile — added after base definitions below */

/* PPbooking chip (employee selector) */
.ppb-chip {
  border: 1px solid #e5e7eb;
  border-radius: 999px;
  padding: 4px 10px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #fff;
  cursor: pointer;
  font-size: 13px;
  font-weight: 400;
  user-select: none;
  transition: border-color 0.2s;
}
.ppb-chip:hover { border-color: var(--sa-primary); }
.ppb-chip input:checked ~ .emp-dot { box-shadow: 0 0 0 2px var(--sa-primary); }

/* PPbooking staff & options — pill toggle style (like calendar filters) */
.ppb-staff-box {
  background: #f0fdf4;
  border: 1px solid var(--sa-primary);
  border-radius: 12px;
  padding: 10px 14px;
  margin: 6px 0 4px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}
.ppb-staff-box__label {
  font-weight: 600;
  font-size: 14px;
  color: var(--sa-primary);
  white-space: nowrap;
}
/* Pill toggle — shared by staff & option pills */
.ppb-pill {
  display: inline-flex;
  align-items: center;
  gap: 20px;
  padding: 6px 14px;
  background: #fff;
  border: 1px solid var(--sa-border);
  border-radius: var(--sa-radius);
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  color: var(--sa-text);
  transition: all 0.2s;
  white-space: nowrap;
  user-select: none;
}
.ppb-pill:hover {
  border-color: var(--sa-primary);
  background: #f0fdf4;
}
.ppb-pill input[type="checkbox"] {
  display: none !important;
}
.ppb-pill.active {
  background: var(--sa-primary);
  color: #fff;
  border-color: var(--sa-primary);
}
.ppb-pill.active .emp-dot {
  box-shadow: 0 0 0 2px #fff;
}
.ppb-pill .emp-dot {
  margin-right: 10px;
}

/* Options box (Cena + pills — same green box as staff) */
.ppb-options-box {
  background: #f0fdf4;
  border: 1px solid var(--sa-primary);
  border-radius: 12px;
  padding: 10px 14px;
  margin: 6px 0 4px;
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
}
.ppb-options-box .ppb-opt-field {
  display: flex;
  align-items: center;
  gap: 6px;
}
.ppb-options-box .ppb-opt-field label {
  margin: 0 !important;
  font-weight: 600 !important;
  font-size: 14px;
  white-space: nowrap;
  display: flex !important;
  align-items: center;
  gap: 6px;
  color: var(--sa-primary);
}
.ppb-options-box input[type="number"] {
  width: 80px !important;
  min-width: 80px;
}

/* PPbooking checkbox inline */
.ppb-checkbox-inline {
  display: flex !important;
  align-items: center;
  gap: 8px;
  margin: 6px 0;
  font-weight: 400 !important;
  padding-bottom: 8px;
}

/* PPbooking modal buttons — exact PPbooking design from screenshots */
.ppb-btn {
  padding: 10px 14px;
  border-radius: 10px;
  font-family: inherit;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background 0.2s;
  white-space: nowrap;
}
.ppb-btn--primary {
  background: #1e352b;
  color: #fff;
  border-color: #1e352b;
}
.ppb-btn--primary:hover {
  background: #142820;
}
.ppb-btn--default {
  background: transparent;
  color: #374151;
  border-color: #d1d5db;
}
.ppb-btn--default:hover {
  background: #f3f4f6;
}
.ppb-btn--danger {
  background: #dc2626;
  color: #fff;
  border-color: #dc2626;
}
.ppb-btn--danger:hover {
  background: #b91c1c;
}
.ppb-btn--danger-outline {
  background: #fef2f2;
  color: #dc2626;
  border-color: #fecaca;
}
.ppb-btn--danger-outline:hover {
  background: #fee2e2;
}

/* Receipt tab styles */
.rc-banner {
  border-radius: 8px;
  padding: 12px 16px;
  margin-bottom: 16px;
  font-weight: 600;
  font-size: 14px;
}
.rc-banner--warn {
  background: #fef3c7;
  border: 1px solid #fcd34d;
  color: #92400e;
}
.rc-banner--success {
  background: #f0fdf4;
  border: 1px solid #bbf7d0;
  color: #166534;
}
/* Receipt colored boxes */
.rc-box {
  border-radius: 12px;
  padding: 12px 14px 10px;
  margin: 10px 0;
  border: 1px solid;
}
.rc-box--gray  { background: #f9fafb; border-color: #e5e7eb; }
.rc-box--green { background: #f0fdf4; border-color: #bbf7d0; }
.rc-box--blue  { background: #eff6ff; border-color: #bfdbfe; }
.rc-box--purple{ background: #faf5ff; border-color: #e9d5ff; }

.rc-section-title {
  font-weight: 700;
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--sa-text);
  margin: 0 0 6px;
}
.rc-payment-pills {
  display: flex;
  gap: 8px;
  margin: 6px 0;
}
.rc-pay-pill {
  flex: 1;
  text-align: center;
  justify-content: center;
}
.rc-pay-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 8px 16px;
  background: #fff;
  border: 1px solid var(--sa-border);
  border-radius: var(--sa-radius);
  cursor: pointer;
  font-size: 14px;
  font-weight: 500;
  color: var(--sa-text);
  transition: all 0.2s;
  white-space: nowrap;
}
.rc-pay-pill input[type="radio"] { display: none !important; }
.rc-pay-pill:hover {
  border-color: var(--sa-primary);
  background: #f0fdf4;
}
.rc-pay-pill.active {
  background: var(--sa-primary);
  color: #fff;
  border-color: var(--sa-primary);
}

/* PPB modal mobile */
@media (max-width: 768px) {
  /* Začátek / Konec — prevent overflow */
  .ppb-modal-inner input[type="datetime-local"] {
    min-width: 0 !important;
    width: 100% !important;
    box-sizing: border-box;
    font-size: 13px !important;
    padding: 6px 4px !important;
  }
  /* Cena + Lehátko + Blokovat + Celý den — all 4 in one row */
  .ppb-options-box { padding: 6px 8px; gap: 3px; }
  .ppb-options-box .ppb-opt-field label { font-size: 11px; gap: 4px; }
  .ppb-options-box .ppb-pill { font-size: 11px; padding: 3px 7px; }
  .ppb-options-box input[type="number"] { width: 50px !important; min-width: 50px; font-size: 12px !important; padding: 4px !important; }
  /* Payment pills — smaller */
  .rc-payment-pills { gap: 4px; }
  .rc-pay-pill { font-size: 11px; padding: 10px 6px; }
  /* Footer buttons — smaller, fit in one row */
  .ppb-modal-footer { gap: 4px; padding: 8px 10px; }
  .ppb-btn { font-size: 10px; font-weight: 400; padding: 7px 6px; }
}

/* Client booking items */
.cl-bookings-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}
.cl-bk-item {
  border: 1px solid var(--sa-border);
  border-radius: 10px;
  padding: 10px 14px;
  cursor: pointer;
  transition: border-color 0.15s, background 0.15s;
}
.cl-bk-item:hover {
  border-color: var(--sa-primary);
  background: #fafffe;
}
.cl-bk-item__main {
  display: flex;
  gap: 12px;
  align-items: center;
  flex-wrap: wrap;
}
.cl-bk-item__date {
  min-width: 50px;
  text-align: center;
  line-height: 1.1;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.cl-bk-day { font-size: 20px; font-weight: 700; color: var(--sa-primary); }
.cl-bk-mon { font-size: 11px; font-weight: 600; text-transform: uppercase; color: var(--sa-text-light); }
.cl-bk-year { font-size: 10px; color: #bbb; }
.cl-bk-item__time {
  font-size: 12px;
  color: var(--sa-text-light);
  min-width: 60px;
  display: flex;
  flex-direction: column;
  line-height: 1.4;
}
.cl-bk-item__service { flex: 1; font-size: 13px; }
.cl-bk-item__emp { font-size: 12px; color: var(--sa-text-light); }
.cl-bk-item__price { font-weight: 600; font-size: 13px; }
.cl-bk-item__notes {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 6px;
  padding-top: 6px;
  border-top: 1px solid #f3f4f6;
  font-size: 12px;
}
.cl-bk-item__note-col { color: var(--sa-text); }
.cl-bk-note-label {
  font-weight: 600;
  font-size: 10px;
  text-transform: uppercase;
  color: var(--sa-text-muted);
  display: block;
  margin-bottom: 2px;
}

/* PPbooking autocomplete dropdown */
.ppb-autocomplete {
  position: absolute;
  z-index: 100001;
  background: #fff;
  border: 1px solid #ccc;
  list-style: none;
  margin: 0;
  padding: 4px 0;
  border-radius: 6px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  max-height: 200px;
  overflow-y: auto;
}
.ppb-autocomplete li {
  padding: 6px 10px;
  cursor: pointer;
}
.ppb-autocomplete li:hover {
  background: #f0f0f0;
}

/* ============================================================
   34. PRINT
   ============================================================ */
@media print {
  .admin-topnav, .admin-userbar,
  #toast-container, .btn, .toolbar { display: none !important; }
  .admin-content { padding: 0; }
}

/* ============================================================
   35. ADMIN MOBILE MENU
   ============================================================ */
/* Hidden on desktop */
.admin-mobile-toggle,
.admin-mobile-overlay,
.admin-mobile-drawer { display: none; }

@media (max-width: 768px) {
  /* Hide desktop nav */
  .admin-topnav,
  .admin-userbar { display: none !important; }

  /* Mobile toggle button — fixed top-right, under website navbar */
  .admin-mobile-toggle {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    position: fixed;
    top: 3%;
    right: 6%;
    z-index: 100;
    background: var(--sa-white);
    color: var(--sa-primary);
    border: 1px solid var(--sa-gray-200);
    border-radius: 12px;
    padding: 10px 16px;
    box-shadow: 0 2px 12px rgba(0,0,0,0.12);
    cursor: pointer;
    font-family: inherit;
    margin-top: 60px;
  }
  .admin-mobile-toggle__text {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0;
  }
  .admin-mobile-toggle__title {
    font-size: 14px;
    font-weight: 700;
    color: var(--sa-primary);
    line-height: 1.2;
    letter-spacing: 0.5px;
  }
  .admin-mobile-toggle__sub {
    font-size: 10px;
    font-weight: 400;
    color: var(--sa-gray-400);
    line-height: 1.2;
  }

  /* Overlay */
  .admin-mobile-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.4);
    z-index: 1001;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.25s;
  }
  .admin-mobile-overlay.open {
    display: block;
    pointer-events: auto;
    opacity: 1;
  }

  /* Drawer — slide from right */
  .admin-mobile-drawer {
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0;
    right: 0;
    bottom: 0;
    width: 280px;
    max-width: 85vw;
    background: var(--sa-primary);
    z-index: 1002;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    overflow: hidden;
    padding: 0;
  }
  .admin-mobile-drawer.open {
    transform: translateX(0);
  }

  /* Drawer header — sticky top */
  .admin-mob-drawer__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 20px 16px;
    border-bottom: 1px solid rgba(255,255,255,0.12);
    flex-shrink: 0;
  }
  .admin-mob-drawer__user {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    font-size: 15px;
    font-weight: 500;
  }
  .admin-mob-drawer__user svg {
    flex-shrink: 0;
  }
  .admin-mob-drawer__close {
    background: none;
    border: none;
    color: rgba(255,255,255,0.6);
    cursor: pointer;
    padding: 4px;
  }

  /* Drawer nav items — scrollable middle */
  .admin-mob-drawer__nav {
    flex: 1;
    padding: 12px 0;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
  }
  .admin-mob-nav-item {
    display: block;
    padding: 13px 24px;
    color: rgba(255,255,255,0.75) !important;
    text-decoration: none !important;
    font-size: 15px;
    font-weight: 400;
    transition: background 0.15s, color 0.15s;
    border-left: 3px solid transparent;
  }
  .admin-mob-nav-item:hover {
    background: rgba(255,255,255,0.06);
    color: #fff !important;
  }
  /* Active item — green bar on left */
  .admin-mob-nav-item.active {
    color: #fff !important;
    font-weight: 500;
    background: rgba(255,255,255,0.08);
    border-left-color: #4CAF50;
  }

  /* Logout button — sticky bottom */
  .admin-mob-drawer__footer {
    flex-shrink: 0;
    padding: 12px 20px 24px;
    border-top: 1px solid rgba(255,255,255,0.12);
  }
  .admin-mob-drawer__logout {
    display: block;
    width: 100%;
    padding: 12px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    border-radius: 12px;
    color: rgba(255,255,255,0.7);
    font-size: 14px;
    font-family: inherit;
    cursor: pointer;
    text-align: center;
    transition: background 0.15s;
  }
  .admin-mob-drawer__logout:hover {
    background: rgba(255,255,255,0.15);
    color: #fff;
  }

  /* Prevent iOS zoom on focus */
  input, select, textarea { font-size: 16px !important; }

  /* General responsive */
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 12px; }
  .stats-charts-grid { grid-template-columns: 1fr; gap: 14px; }
  .stats-chart-card { padding: 14px; }
  .stats-chart-wrap { height: 220px; }
  .stats-chart-wrap--tall { height: 320px; }
  .stats-header { flex-direction: column; gap: 10px; }
  .stats-header h1 { font-size: 20px; }
  .stats-filter { display: grid; grid-template-columns: auto 1fr; gap: 8px 12px; align-items: start; }
  .stats-pills { flex-direction: column; align-items: stretch; gap: 5px; }
  .stats-pill { padding: 5px 9px; font-size: 11px; text-align: center; }
  .stats-date-range { flex-direction: column; gap: 6px; align-items: stretch; }
  .stats-date-row input[type="date"] { width: 100%; box-sizing: border-box; }
  .stats-date-row label { min-width: 28px; }
  .stats-apply-btn { width: 100%; }
  .page-header { flex-direction: column; align-items: flex-start; gap: 10px; }
  .page-header .bk-page-toggle { flex-wrap: wrap; }
  .page-header .bk-page-toggle .btn { font-size: 11px; padding: 4px 7px; }
  .rc-stats-grid { grid-template-columns: repeat(2, 1fr); gap: 8px; }
  .rc-stat-val { font-size: 17px; }
  .rc-stat-label { font-size: 10px; }
  .data-table th, .data-table td { font-size: 12px; padding: 8px 6px; }
  .cal-controls { width: 100%; }
  .blog-grid { grid-template-columns: 1fr; }
  .tabs { width: 100%; }
  .tab { padding: 6px 10px; font-size: 11px; }
  .svc-filter-box { padding: 6px 8px; gap: 4px; }
  .svc-filter-box .ppb-pill { font-size: 11px; padding: 3px 8px; }
  .admin-content { padding: 12px 16px 30px; }
}

/* ============================================================
   36. BLOG PASSAGES EDITOR
   ============================================================ */
.blog-passages { margin-top: 16px; }
.blog-passage { margin-bottom: 12px; }
.blog-passage__label {
  font-size: 11px;
  font-weight: 600;
  color: #9ca3af;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 4px;
}
.blog-passage__label span {
  display: inline-block;
  padding: 1px 6px;
  border-radius: 4px;
  font-size: 10px;
  font-weight: 600;
  margin-right: 6px;
}
.blog-passage__label span[data-type="h2"] { background: #dbeafe; color: #1e40af; }
.blog-passage__label span[data-type="h3"] { background: #e0e7ff; color: #3730a3; }
.blog-passage__label span[data-type="p"] { background: #f3f4f6; color: #374151; }
.blog-passage__label span[data-type="li"] { background: #fef3c7; color: #92400e; }
.blog-passage__label span[data-type="blockquote"] { background: #ede9fe; color: #5b21b6; }

/* Passage toolbar — glass style on green */
.blog-passage-toolbar {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  gap: 6px;
  padding: 10px 14px;
  margin-bottom: 12px;
  background: var(--sa-primary, #1E352B);
  border-radius: 12px;
  box-shadow: 0 4px 16px rgba(30,53,43,0.25);
}
.blog-passage-toolbar button {
  width: 36px;
  height: 32px;
  border: 1px solid rgba(255,255,255,0.2);
  background: linear-gradient(135deg, rgba(255,255,255,0.15), rgba(255,255,255,0.05));
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
  border-radius: 8px;
  cursor: pointer;
  font-size: 14px;
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s;
}
.blog-passage-toolbar button:hover {
  background: rgba(255,255,255,0.25);
  border-color: rgba(255,255,255,0.4);
  box-shadow: 0 0 8px rgba(255,255,255,0.15);
}
.blog-passage-toolbar button:active {
  background: rgba(255,255,255,0.35);
  transform: scale(0.95);
}
/* Contenteditable passage input */
.blog-passage__input {
  width: 100%;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  padding: 8px 10px;
  font-family: inherit;
  font-size: 13px;
  line-height: 1.5;
  min-height: 1.5em;
  transition: border-color 0.2s;
  box-sizing: border-box;
  white-space: pre-wrap;
  word-wrap: break-word;
}
.blog-passage__input:focus {
  outline: none;
  border-color: var(--sa-primary);
  box-shadow: 0 0 0 3px rgba(30,53,43,0.1);
}
.blog-passage__input:empty::before {
  content: 'Prázdná pasáž...';
  color: #9ca3af;
  pointer-events: none;
}
.blog-passage__input strong, .blog-passage__input b { font-weight: 700; }
.blog-passage__input em, .blog-passage__input i { font-style: italic; }
.blog-passage__input u { text-decoration: underline; }

/* ============================================================
   36b. BLOG IMAGES
   ============================================================ */
.blog-images { margin-top: 16px; }
.blog-images__section-title {
  font-size: 13px;
  font-weight: 600;
  color: #374151;
  margin-bottom: 8px;
}
.blog-image-slot {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px;
  border: 1px solid #e5e7eb;
  border-radius: 8px;
  margin-bottom: 8px;
}
.blog-image-slot__thumb {
  width: 80px;
  height: 56px;
  border-radius: 6px;
  object-fit: cover;
  flex-shrink: 0;
  background: #f3f4f6;
}
.blog-image-slot__info { flex: 1; min-width: 0; }
.blog-image-slot__path {
  font-size: 11px;
  color: #9ca3af;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.blog-image-slot__alt-input {
  width: 100%;
  border: 1px solid #e5e7eb;
  border-radius: 4px;
  padding: 4px 6px;
  font-size: 12px;
  margin-top: 4px;
  box-sizing: border-box;
}
.blog-image-slot__change-btn {
  padding: 6px 12px;
  border: 1px solid var(--sa-primary);
  background: transparent;
  color: var(--sa-primary);
  border-radius: 6px;
  cursor: pointer;
  font-size: 12px;
  white-space: nowrap;
  transition: all 0.2s;
}
.blog-image-slot__change-btn:hover {
  background: var(--sa-primary);
  color: white;
}

/* ============================================================
   36c. GALLERY PICKER OVERLAY
   ============================================================ */
/* Gallery picker — MUST be above PPB modal (z-index 100000) */
.gallery-picker {
  position: fixed;
  inset: 0;
  z-index: 200000;
  background: rgba(0,0,0,0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  transition: opacity 0.2s;
}
.gallery-picker.open { opacity: 1; }
.gallery-picker__inner {
  background: white;
  border-radius: 16px;
  max-width: 860px;
  width: 100%;
  max-height: 85vh;
  display: flex;
  flex-direction: column;
  box-shadow: 0 20px 60px rgba(0,0,0,0.3);
}
.gallery-picker__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 24px;
  background: var(--sa-primary, #1E352B);
  border-radius: 16px 16px 0 0;
  color: #fff;
}
.gallery-picker__title { font-size: 17px; font-weight: 600; color: #fff; }
.gallery-picker__close {
  width: 34px; height: 34px;
  border: 1px solid rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.1);
  border-radius: 10px; cursor: pointer;
  font-size: 20px; color: #fff;
  transition: background 0.15s;
}
.gallery-picker__close:hover { background: rgba(255,255,255,0.25); }
.gallery-picker__upload {
  padding: 12px 24px;
  border-bottom: 1px solid #e5e7eb;
  display: flex;
  align-items: center;
  gap: 10px;
  background: #f9fafb;
}
.gallery-picker__upload-btn {
  padding: 8px 18px;
  background: var(--sa-primary, #1E352B);
  color: white;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  font-size: 13px;
  font-weight: 500;
  transition: opacity 0.15s;
}
.gallery-picker__upload-btn:hover { opacity: 0.85; }
.gallery-picker__grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 10px;
  padding: 20px;
  overflow-y: auto;
  flex: 1;
}
.gallery-picker__thumb {
  position: relative;
  border-radius: 10px;
  overflow: hidden;
  cursor: pointer;
  border: 3px solid transparent;
  transition: all 0.2s;
  padding-bottom: 75%; /* 4:3 ratio fallback */
  height: 0;
}
.gallery-picker__thumb:hover {
  border-color: var(--sa-primary, #1E352B);
  transform: scale(1.03);
}
.gallery-picker__thumb img {
  position: absolute;
  top: 0; left: 0;
  width: 100%; height: 100%;
  object-fit: cover; display: block;
}
/* Currently selected photo */
.gallery-picker__thumb--current {
  border-color: var(--sa-primary, #1E352B);
  box-shadow: 0 0 0 3px rgba(30,53,43,0.3);
}
.gallery-picker__current-badge {
  position: absolute;
  top: 6px; left: 6px;
  background: var(--sa-primary, #1E352B);
  color: #fff;
  font-size: 10px;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 6px;
  letter-spacing: 0.3px;
  z-index: 2;
}
/* Used photo — subtle dimming + usage info */
.gallery-picker__thumb--used::after {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.08);
  pointer-events: none;
}
.gallery-picker__usage {
  position: absolute;
  bottom: 0; left: 0; right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.8));
  color: #fff;
  font-size: 10px;
  padding: 16px 8px 6px;
  line-height: 1.4;
  z-index: 1;
}
/* Replace button on all photos */
.gallery-picker__replace {
  position: absolute;
  top: 4px; left: 4px;
  width: 24px; height: 24px;
  border-radius: 50%;
  border: none;
  background: rgba(37,99,235,0.85);
  color: #fff;
  font-size: 14px;
  line-height: 1;
  cursor: pointer;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.2s;
}
.gallery-picker__thumb:hover .gallery-picker__replace {
  opacity: 1;
}
.gallery-picker__replace:hover {
  background: rgba(37,99,235,1);
  transform: scale(1.1);
}
/* Delete button on unused photos */
.gallery-picker__delete {
  position: absolute;
  top: 4px; right: 4px;
  width: 24px; height: 24px;
  border-radius: 50%;
  border: none;
  background: rgba(220,38,38,0.85);
  color: #fff;
  font-size: 16px;
  line-height: 1;
  cursor: pointer;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.2s;
}
.gallery-picker__thumb:hover .gallery-picker__delete {
  opacity: 1;
}
.gallery-picker__delete:hover {
  background: rgba(220,38,38,1);
  transform: scale(1.1);
}
/* Unused photo — no badge, full brightness */

/* Gallery picker + blog editor mobile */
@media (max-width: 768px) {
  .gallery-picker__grid {
    grid-template-columns: repeat(auto-fill, minmax(90px, 1fr));
    gap: 6px;
    padding: 10px;
  }
  .blog-image-slot { flex-wrap: wrap; }
  .blog-passage__input { font-size: 16px !important; }
  .blog-image-slot__alt-input { font-size: 16px !important; }
}

/* ============================================================
   37. BLOG ADMIN — Grid cards
   ============================================================ */
/* Employee mobile cards */
.emp-cards-mobile { display: none; }
.emp-card {
  background: var(--sa-white); border: 1px solid var(--sa-border);
  border-radius: 12px; padding: 14px; cursor: pointer;
  transition: border-color 0.2s;
}
.emp-card:hover { border-color: var(--sa-primary); }
.emp-card + .emp-card { margin-top: 10px; }
.emp-card__header { display: flex; align-items: center; gap: 10px; font-size: 16px; }
.emp-card__color { width: 12px; height: 12px; border-radius: 4px; flex-shrink: 0; border: 1px solid #ddd; }
.emp-card__email { font-size: 12px; color: #9ca3af; margin-top: 2px; padding-left: 22px; }
.emp-card__rows { margin-top: 10px; }
.emp-card__row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 6px 0; border-bottom: 1px solid #f3f4f6; font-size: 13px; color: #374151;
}
.emp-card__row:last-child { border-bottom: none; }
.emp-card__row span:first-child { color: #6b7280; }
@media (max-width: 768px) {
  .emp-table-desktop { display: none; }
  .emp-cards-mobile { display: block; }
}

/* Service mobile cards */
.svc-cards-mobile { display: none; }
.svc-card {
  background: var(--sa-white); border: 1px solid var(--sa-border);
  border-radius: 12px; padding: 14px; cursor: pointer;
  transition: border-color 0.2s;
}
.svc-card:hover { border-color: var(--sa-primary); }
.svc-card + .svc-card { margin-top: 10px; }
.svc-card__header { display: flex; align-items: center; gap: 10px; font-size: 15px; }
.svc-card__color { width: 12px; height: 12px; border-radius: 4px; flex-shrink: 0; border: 1px solid #ddd; }
.svc-card__price-row {
  display: flex; gap: 16px; margin-top: 6px; padding-left: 22px;
  font-size: 14px; font-weight: 600; color: var(--sa-primary);
}
.svc-card__rows { margin-top: 8px; }
.svc-card__row {
  display: flex; justify-content: space-between; align-items: center;
  padding: 5px 0; border-bottom: 1px solid #f3f4f6; font-size: 13px; color: #374151;
}
.svc-card__row:last-child { border-bottom: none; }
.svc-card__row span:first-child { color: #6b7280; }
@media (max-width: 768px) {
  .svc-table-desktop { display: none; }
  .svc-cards-mobile { display: block; }
}

/* Client mobile cards */
.cl-cards-mobile { display: none; }
.cl-card {
  background: var(--sa-white); border: 1px solid var(--sa-border);
  border-radius: 12px; padding: 12px 14px; cursor: pointer;
  transition: border-color 0.2s;
}
.cl-card:hover { border-color: var(--sa-primary); }
.cl-card + .cl-card { margin-top: 8px; }
.cl-card__name { font-size: 15px; font-weight: 600; color: var(--sa-text); }
.cl-card__contact { font-size: 12px; color: #6b7280; margin-top: 2px; }
.cl-card__stats {
  display: flex; gap: 16px; margin-top: 8px; font-size: 13px; color: var(--sa-primary);
}
.cl-card__stats strong { font-weight: 700; }
@media (max-width: 768px) {
  .cl-table-desktop { display: none; }
  .cl-cards-mobile { display: block; }
}

/* Booking mobile cards */
.bk-cards-mobile { display: none; }
.bk-card {
  background: var(--sa-white); border: 1px solid var(--sa-border);
  border-radius: 12px; padding: 12px 14px; cursor: pointer;
  transition: border-color 0.2s;
}
.bk-card:hover { border-color: var(--sa-primary); }
.bk-card + .bk-card { margin-top: 8px; }
.bk-card__top { display: flex; justify-content: space-between; align-items: center; }
.bk-card__datetime { font-size: 13px; color: #374151; }
.bk-card__datetime strong { color: var(--sa-primary); }
.bk-card__service { font-size: 15px; font-weight: 600; margin-top: 4px; color: var(--sa-text); }
.bk-card__details { display: flex; gap: 12px; margin-top: 6px; font-size: 13px; color: #6b7280; flex-wrap: wrap; }
.bk-card__details strong { color: var(--sa-primary); font-weight: 700; }
@media (max-width: 768px) {
  .bk-table-desktop { display: none; }
  .bk-cards-mobile { display: block; }
}

.blog-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.blog-card { border: 1px solid var(--sa-border); border-radius: 12px; overflow: hidden; cursor: pointer; transition: border-color 0.2s; }
.blog-card:hover { border-color: var(--sa-primary); }
.blog-card__visual { position: relative; }
.blog-card__img { width: 100%; height: 180px; object-fit: cover; background: #f3f4f6; display: block; }
.blog-card__title {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 32px 14px 12px;
  background: linear-gradient(transparent, rgba(0,0,0,0.7));
  color: #fff; font-weight: 600; font-size: 15px; line-height: 1.3;
}
.blog-card__body { padding: 14px; }
.blog-card__excerpt { font-size: 13px; color: #6b7280; line-height: 1.4; display: -webkit-box; -webkit-line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden; }
.blog-card__meta { display: flex; gap: 12px; margin-top: 8px; font-size: 12px; color: #9ca3af; }
@media (max-width: 768px) {
  .blog-grid { grid-template-columns: 1fr; }
}

/* ============================================================
   38. STATS CHARTS
   ============================================================ */
.stats-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}
.stats-header h1 { margin: 0; white-space: nowrap; padding-top: 6px; font-size: 22px; font-weight: 700; color: var(--sa-primary); }
.stats-filter {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  flex: 1;
  justify-content: flex-end;
}
.stats-pills {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px;
}
.stats-pill {
  padding: 5px 14px;
  border: 1px solid #d1d5db;
  border-radius: 20px;
  background: var(--sa-white);
  color: #374151;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.15s;
  font-family: inherit;
}
.stats-pill:hover {
  border-color: var(--sa-primary);
  color: var(--sa-primary);
}
.stats-pill.active {
  background: var(--sa-primary);
  color: var(--sa-white);
  border-color: var(--sa-primary);
}
.stats-date-range {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}
.stats-date-row {
  display: flex;
  align-items: center;
  gap: 6px;
}
.stats-date-row label {
  font-size: 13px;
  font-weight: 500;
  color: #6b7280;
  white-space: nowrap;
}
.stats-date-row input[type="date"] { flex: 1; min-width: 0; }
.stats-date-range input[type="date"] {
  padding: 6px 10px;
  border: 1px solid #d1d5db;
  border-radius: 8px;
  font-size: 13px;
  font-family: inherit;
  color: #374151;
}
.stats-apply-btn {
  padding: 6px 18px;
  background: var(--sa-primary);
  color: var(--sa-white);
  border: none;
  border-radius: 8px;
  font-size: 13px;
  font-weight: 500;
  cursor: pointer;
  font-family: inherit;
  transition: background 0.15s;
}
.stats-apply-btn:hover {
  background: var(--sa-primary-light);
}
.stats-charts-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 32px;
  transition: opacity 0.2s;
}
.stats-chart-card {
  background: var(--sa-white);
  border-radius: var(--sa-radius);
  padding: 20px;
  box-shadow: var(--sa-shadow);
}
.stats-chart-card h3 {
  margin: 0 0 12px;
  font-size: 15px;
  font-weight: 600;
  color: #6b7280;
}
.stats-chart-wrap {
  position: relative;
  height: 260px;
}
.stats-chart-wrap--tall {
  height: 380px;
}
@media (max-width: 768px) {
  .stats-charts-grid { grid-template-columns: 1fr; gap: 14px; }
  .stats-chart-card { padding: 14px; }
  .stats-chart-wrap { height: 220px; }
  .stats-chart-wrap--tall { height: 320px; }
}

/* ============================================================
   39. RECEIPT ISSUED VIEW
   ============================================================ */
.rc-issued {
  border: 2px solid #bbf7d0;
  border-radius: 12px;
  overflow: hidden;
  margin-bottom: 16px;
}
.rc-issued__header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 18px;
  background: #f0fdf4;
  border-bottom: 1px solid #bbf7d0;
}
.rc-issued__header strong {
  font-size: 15px;
  color: #166534;
}
.rc-issued__body {
  padding: 16px 18px;
}
.rc-issued__row {
  display: flex;
  justify-content: space-between;
  padding: 5px 0;
  font-size: 14px;
  border-bottom: 1px solid #f3f4f6;
}
.rc-issued__row:last-child {
  border-bottom: none;
}
.rc-issued__label {
  color: #6b7280;
  font-size: 13px;
}

.rc-action-box {
  border: 1px solid var(--sa-border);
  border-radius: 12px;
  padding: 16px 18px;
  margin-bottom: 12px;
}
.rc-action-box__title {
  font-weight: 600;
  font-size: 14px;
  margin-bottom: 4px;
}

/* Receipt action buttons — rounded rectangle style */
.rc-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 10px 22px;
  border: none;
  border-radius: 12px;
  font-family: Poppins, sans-serif;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s, box-shadow 0.2s;
  white-space: nowrap;
}
.rc-btn--primary {
  background: var(--sa-primary);
  color: white;
}
.rc-btn--primary:hover {
  background: var(--sa-primary-dark);
  box-shadow: 0 2px 8px rgba(30, 53, 43, 0.25);
}
.rc-email-input {
  flex: 1;
  padding: 10px 14px;
  border: 1px solid #d1d5db;
  border-radius: 12px;
  font-family: Poppins, sans-serif;
  font-size: 14px;
  outline: none;
  transition: border-color 0.2s;
}
.rc-email-input:focus {
  border-color: var(--sa-primary);
}
