/* ============================================
   DANH SÁCH TALENT GẠO NÂU
   Dark Luxury · Liquid Glass · 3-Pane Dashboard
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Manrope:wght@300;400;500;600;700;800&family=Playfair+Display:ital,wght@0,400;0,600;0,700;1,400&display=swap');

/* ─── Design Tokens ─── */
:root {
  --bg-page: #1d1a15;
  --bg-surface: #231F20;
  --bg-surface-alpha: rgba(35, 31, 32, 0.7);

  --text-light: #F9F7F1;
  --text-muted: #b1ada5;
  --text-dim: #7a756e;

  --primary: #BA9E69;
  --primary-hover: #c9ae7c;
  --primary-alpha-20: rgba(186, 158, 105, 0.2);
  --primary-alpha-15: rgba(186, 158, 105, 0.15);
  --primary-alpha-08: rgba(186, 158, 105, 0.08);
  --primary-alpha-30: rgba(186, 158, 105, 0.3);
  --primary-glow: 0 0 15px rgba(186, 158, 105, 0.3);

  --secondary: #555E34;
  --secondary-text: #a3b16c;
  --secondary-alpha: rgba(85, 94, 52, 0.2);

  --white-05: rgba(255, 255, 255, 0.05);
  --white-08: rgba(255, 255, 255, 0.08);
  --white-10: rgba(255, 255, 255, 0.1);
  --white-15: rgba(255, 255, 255, 0.15);

  --kol-color: #BA9E69;
  --model-color: #a78bfa;
  --koc-color: #2dd4bf;
  --vote-color: #e74c6f;

  --glass-bg: rgba(35, 31, 32, 0.7);
  --glass-border: rgba(186, 158, 105, 0.2);
  --glass-blur: blur(20px);
  --glass-radius: 22px;
  --glass-radius-sm: 14px;
  --glass-shadow: 0 4px 30px rgba(0, 0, 0, 0.1);

  --font-display: Arial, Helvetica, sans-serif;
  --font-body: Arial, Helvetica, sans-serif;

  --transition-fast: 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  --transition-normal: 0.35s cubic-bezier(0.4, 0, 0.2, 1);

  --max-width: 1440px;
  --content-max: 1280px;
}

/* ─── Reset ─── */
*,
*::before,
*::after {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  background: var(--bg-page);
  color: var(--text-light);
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.6;
}

::-webkit-scrollbar {
  width: 5px;
  height: 5px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: rgba(186, 158, 105, 0.2);
  border-radius: 99px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(186, 158, 105, 0.4);
}

a {
  color: inherit;
  text-decoration: none;
}

/* ─── Utility: Glass Panel ─── */
.glass-panel {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: var(--glass-radius);
  box-shadow: var(--glass-shadow);
}

.material-symbols-outlined {
  font-variation-settings: 'FILL' 0, 'wght' 400, 'GRAD' 0, 'opsz' 24;
  vertical-align: middle;
}

/* ============================================ HEADER ============================================ */
.app-header {
  position: sticky;
  top: 0;
  z-index: 100;
  background: var(--glass-bg);
  backdrop-filter: blur(24px) saturate(1.2);
  -webkit-backdrop-filter: blur(24px) saturate(1.2);
  border-bottom: 1px solid rgba(52, 49, 45, 0.8);
  max-width: var(--max-width);
  margin: 0 auto;
  width: 100%;
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.header-left {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.header-logo-icon {
  font-size: 1.75rem;
  color: var(--primary);
}

.header-title {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: 0.12em;
  color: var(--text-light);
  white-space: nowrap;
}

.header-search {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(52, 49, 45, 0.5);
  border: 1px solid var(--white-10);
  border-radius: 999px;
  padding: 0.45rem 1rem;
  width: 240px;
  transition: var(--transition-fast);
}

.header-search:focus-within {
  border-color: rgba(186, 158, 105, 0.4);
}

.header-search .material-symbols-outlined {
  color: var(--text-muted);
  font-size: 1.2rem;
}

.header-search input {
  background: transparent;
  border: none;
  outline: none;
  color: var(--text-light);
  font-family: var(--font-body);
  font-size: 0.85rem;
  width: 100%;
}

.header-search input::placeholder {
  color: var(--text-muted);
}

.header-right {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.header-nav {
  display: flex;
  gap: 1.5rem;
}

.nav-link {
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-light);
  transition: var(--transition-fast);
}

.nav-link:hover {
  color: var(--primary);
}

.nav-link.active {
  color: var(--primary);
  border-bottom: 1px solid var(--primary);
  padding-bottom: 2px;
}

.btn-primary-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: var(--primary);
  color: var(--bg-page);
  font-size: 0.85rem;
  font-weight: 700;
  font-family: var(--font-body);
  padding: 0.5rem 1.25rem;
  border-radius: 999px;
  border: none;
  cursor: pointer;
  transition: var(--transition-fast);
  box-shadow: var(--primary-glow);
  white-space: nowrap;
}

.btn-primary-pill:hover {
  background: var(--primary-hover);
  transform: translateY(-1px);
}

.btn-primary-pill .material-symbols-outlined {
  font-size: 1.1rem;
}

.header-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--primary-alpha-20);
  border: 1px solid var(--white-10);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.05em;
}

/* ============================================ LOADER ============================================ */
.loader-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 6rem 2rem;
  gap: 1.25rem;
}

.loader-spinner {
  width: 40px;
  height: 40px;
  border: 3px solid var(--primary-alpha-20);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
}

@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

.loader-text {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* ============================================ MAIN LAYOUT ============================================ */
.main-layout {
  max-width: var(--max-width);
  margin: 0 auto;
  width: 100%;
  display: flex;
  flex-direction: column;
}

/* ============================================ HERO ============================================ */
.hero-section {
  position: relative;
  overflow: hidden;
  border-radius: var(--glass-radius);
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 2.5rem 3rem;
  margin: 1.5rem 2rem 0;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(135deg, rgba(186, 158, 105, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse 80% 70% at 50% 40%, rgba(186, 158, 105, 0.05), transparent),
    var(--bg-surface);
  transition: transform 0.7s;
}

.hero-section:hover .hero-bg {
  transform: scale(1.03);
}

.hero-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, var(--bg-page) 0%, rgba(29, 26, 21, 0.6) 40%, transparent 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
}

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 3rem);
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.01em;
  margin-bottom: 0.35rem;
}

.hero-subtitle {
  color: var(--text-muted);
  font-size: 0.9rem;
  font-weight: 300;
  letter-spacing: 0.1em;
  margin-bottom: 2rem;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
}

.stat-card {
  background: var(--glass-bg);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--glass-border);
  border-radius: 14px;
  padding: 1rem;
  display: flex;
  flex-direction: column;
}

.stat-label {
  font-size: 0.65rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.25rem;
}

.stat-value {
  font-family: var(--font-display);
  font-size: 1.75rem;
  font-weight: 700;
  color: var(--primary);
}

/* ============================================ 3-PANE ============================================ */
.three-pane {
  display: flex;
  gap: 1.5rem;
  padding: 1.5rem 2rem;
  min-height: 600px;
}

/* ─── Sidebar ─── */
.sidebar {
  width: 240px;
  flex-shrink: 0;
  padding: 0.5rem;
  border-radius: var(--glass-radius);
  position: sticky;
  top: 80px;
  height: calc(100vh - 100px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.sidebar-chat-container {
  flex: 1;
  overflow-y: auto;
  overflow-x: hidden;
  border-radius: 8px;
}

/* Scrollbar for sidebar chat */
.sidebar-chat-container::-webkit-scrollbar {
  width: 4px;
}

.sidebar-chat-container::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
}

.sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 0.2rem;
}

.sidebar-link {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.7rem 1rem;
  border-radius: 10px;
  font-size: 0.85rem;
  font-weight: 500;
  color: var(--text-muted);
  transition: var(--transition-fast);
  cursor: pointer;
}

.sidebar-link:hover {
  color: var(--text-light);
  background: var(--white-05);
}

.sidebar-link:hover .material-symbols-outlined {
  transform: scale(1.1);
}

.sidebar-link .material-symbols-outlined {
  transition: var(--transition-fast);
  font-size: 1.25rem;
}

.sidebar-link.active {
  color: var(--text-light);
  background: var(--primary-alpha-15);
  border-left: 3px solid var(--primary);
  margin-left: -1rem;
  padding-left: 1.75rem;
  border-radius: 0 10px 10px 0;
}

.sidebar-divider {
  height: 1px;
  background: var(--white-10);
  margin: 0.5rem 0.5rem;
}

/* ─── Middle Content ─── */
.content-middle {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

/* Filters Bar */
.filters-bar {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border-radius: var(--glass-radius-sm);
}

.filter-chips-row {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  flex: 1;
}

.filter-chips {
  display: flex;
  gap: 0.3rem;
  flex-wrap: wrap;
}

.filter-chip {
  padding: 0.3rem 0.85rem;
  border-radius: 999px;
  background: var(--white-05);
  border: 1px solid var(--white-05);
  color: var(--text-muted);
  font-size: 0.75rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition-fast);
  white-space: nowrap;
  font-family: var(--font-body);
}

.filter-chip:hover {
  background: var(--white-10);
  color: var(--text-light);
}

.filter-chip.active {
  background: var(--primary);
  color: var(--bg-page);
  border-color: transparent;
  font-weight: 700;
}

.filter-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.sort-select {
  padding: 0.3rem 0.7rem;
  border-radius: 8px;
  background: var(--white-05);
  border: 1px solid var(--white-05);
  color: var(--text-muted);
  font-size: 0.75rem;
  font-family: var(--font-body);
  cursor: pointer;
  outline: none;
}

.sort-select option {
  background: var(--bg-surface);
  color: var(--text-light);
}

.sort-select:focus {
  border-color: var(--primary-alpha-30);
}

.filter-clear-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.3rem 0.6rem;
  border-radius: 8px;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 0.72rem;
  cursor: pointer;
  font-family: var(--font-body);
  transition: var(--transition-fast);
}

.filter-clear-btn:hover {
  color: var(--primary);
}

.filter-clear-btn .material-symbols-outlined {
  font-size: 0.9rem;
}

.results-info {
  padding: 0 0.25rem;
}

.results-count {
  font-size: 0.78rem;
  color: var(--text-muted);
}

.results-count strong {
  color: var(--primary);
  font-weight: 700;
}

/* ─── Talent Table ─── */
.talent-table-wrap {
  border-radius: var(--glass-radius-sm);
  overflow: hidden;
  flex: 1;
}

.talent-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.talent-table thead {
  background: var(--white-05);
  border-bottom: 1px solid var(--white-05);
}

.talent-table th {
  padding: 0.85rem 1rem;
  font-size: 0.68rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--text-muted);
}

.talent-table tbody tr {
  border-bottom: 1px solid var(--white-05);
  cursor: pointer;
  transition: var(--transition-fast);
}

.talent-table tbody tr:hover {
  background: var(--white-05);
}

.talent-table tbody tr.active-row {
  background: var(--primary-alpha-08);
  border-left: 2px solid var(--primary);
}

.talent-table td {
  padding: 0.7rem 1rem;
  font-size: 0.85rem;
}

/* Table cell: Name */
.td-name-cell {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.td-avatar {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: var(--primary-alpha-20);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 700;
  flex-shrink: 0;
  letter-spacing: 0.03em;
  border: 2px solid var(--primary-alpha-20);
}

.td-avatar-img {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--primary-alpha-20);
  flex-shrink: 0;
}

.td-name-text {
  font-family: Arial, Helvetica, sans-serif;
  font-weight: 700;
  color: var(--text-light);
  font-size: 0.88rem;
  transition: var(--transition-fast);
}

.talent-table tbody tr:hover .td-name-text {
  color: var(--primary);
}

.td-id {
  font-size: 0.68rem;
  color: var(--text-dim);
}

/* Table cell: badges */
.td-badges {
  display: flex;
  gap: 0.25rem;
  flex-wrap: wrap;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.2rem 0.55rem;
  border-radius: 999px;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.badge-kol {
  background: var(--primary-alpha-20);
  color: var(--primary);
  border: 1px solid var(--primary-alpha-30);
}

.badge-model {
  background: rgba(167, 139, 250, 0.15);
  color: var(--model-color);
  border: 1px solid rgba(167, 139, 250, 0.25);
}

.badge-koc {
  background: rgba(45, 212, 191, 0.12);
  color: var(--koc-color);
  border: 1px solid rgba(45, 212, 191, 0.2);
}

/* Status badges */
.badge-available {
  background: var(--secondary-alpha);
  color: var(--secondary-text);
  border: 1px solid rgba(85, 94, 52, 0.3);
}

.badge-available::before {
  content: '';
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: var(--secondary-text);
}

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

.td-platforms {
  display: flex;
  gap: 0.3rem;
}

.platform-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  color: var(--text-dim);
  transition: transform 0.15s, color 0.15s;
  text-decoration: none;
}

.platform-icon svg {
  width: 16px;
  height: 16px;
}

.platform-icon:hover {
  transform: scale(1.25);
}

.platform-fb {
  color: #1877F2;
}

.platform-ig {
  color: #E4405F;
}

.platform-tt {
  color: #00f2ea;
}

/* Vote in table */
.td-vote-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  border: none;
  background: none;
  cursor: pointer;
  color: var(--text-dim);
  font-size: 0.78rem;
  font-family: var(--font-body);
  padding: 0.2rem;
  transition: var(--transition-fast);
}

.td-vote-btn:hover {
  color: var(--vote-color);
}

.td-vote-btn.voted {
  color: var(--vote-color);
}

.td-vote-count {
  font-weight: 600;
  min-width: 0.5rem;
}

/* More actions */
.td-rate {
  font-size: 0.78rem;
  color: var(--primary);
  font-weight: 600;
  white-space: nowrap;
  letter-spacing: 0.02em;
}

.th-rate {
  width: 80px;
  text-align: left;
}

/* Compare checkbox */
.td-compare-check {
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: 1.5px solid var(--primary-alpha-20);
  background: transparent;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: transparent;
  transition: var(--transition-fast);
  flex-shrink: 0;
}

.td-compare-check:hover {
  border-color: var(--primary);
  color: var(--primary);
  background: var(--primary-alpha-08);
}

.td-compare-check.active {
  background: var(--primary);
  border-color: var(--primary);
  color: var(--bg-page);
}

.td-compare-check .material-symbols-outlined {
  font-size: 0.85rem;
}

/* ============================================ PREVIEW PANEL ============================================ */
.preview-panel {
  width: 330px;
  flex-shrink: 0;
  border-radius: var(--glass-radius);
  overflow: hidden;
  position: sticky;
  top: 80px;
  height: fit-content;
  border: none;
  box-shadow: var(--glass-shadow);
  outline: 1px solid var(--white-10);
}

.preview-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 4rem 2rem;
  color: var(--text-dim);
  text-align: center;
}

.preview-empty-icon {
  font-size: 3rem;
  opacity: 0.3;
}

.preview-empty p {
  font-size: 0.85rem;
}

.preview-content {
  display: flex;
  flex-direction: column;
}

/* Preview portrait */
.preview-portrait {
  position: relative;
  width: 100%;
  aspect-ratio: 3/4;
  background: #2a2520;
  overflow: hidden;
}

.preview-portrait-bg {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  font-size: 4rem;
  font-weight: 700;
  color: var(--primary-alpha-20);
  letter-spacing: 0.1em;
}

.preview-portrait-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  position: absolute;
  inset: 0;
}

.preview-portrait-gradient {
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 60%);
}

.preview-portrait-badges {
  position: absolute;
  top: 1rem;
  left: 1rem;
  display: flex;
  gap: 0.35rem;
}

.preview-portrait-badge {
  padding: 0.2rem 0.5rem;
  border-radius: 4px;
  background: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(8px);
  color: #fff;
  font-size: 0.6rem;
  font-weight: 700;
  border: 1px solid var(--white-10);
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.preview-portrait-heart {
  position: absolute;
  top: 1rem;
  right: 1rem;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--white-10);
  backdrop-filter: blur(8px);
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  transition: var(--transition-fast);
}

.preview-portrait-heart:hover {
  background: var(--primary);
  color: var(--bg-page);
}

.preview-portrait-heart.voted {
  background: var(--vote-color);
  color: #fff;
}

.preview-portrait-heart .material-symbols-outlined {
  font-size: 1rem;
}

.preview-portrait-info {
  position: absolute;
  bottom: 1rem;
  left: 1rem;
  right: 1rem;
}

.preview-portrait-name {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: #fff;
  text-transform: uppercase;
}

.preview-portrait-location {
  color: var(--primary);
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: 0.2rem;
}

/* Preview details */
.preview-details {
  padding: 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.preview-stats-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.5rem;
  text-align: center;
}

.preview-stat-item {
  background: var(--white-05);
  border-radius: 10px;
  padding: 0.5rem;
  border: 1px solid var(--white-05);
}

.preview-stat-label {
  font-size: 0.58rem;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 0.15rem;
}

.preview-stat-value {
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-light);
}

/* Preview info rows */
.preview-info-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  padding: 0.4rem 0;
  border-bottom: 1px solid var(--white-05);
  font-size: 0.8rem;
}

.preview-info-label {
  color: var(--text-muted);
  font-weight: 500;
  flex-shrink: 0;
}

.preview-info-value {
  color: var(--text-light);
  text-align: right;
  word-break: break-word;
}

/* Preview socials */
.preview-socials {
  display: flex;
  gap: 0.5rem;
  justify-content: center;
  padding: 0.25rem 0;
}

.preview-social-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--white-05);
  border: 1px solid var(--white-05);
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.72rem;
  font-weight: 700;
  transition: var(--transition-fast);
}

.preview-social-btn:hover {
  background: var(--white-10);
  color: var(--text-light);
}

/* Preview actions */
.preview-actions {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.preview-action-primary {
  width: 100%;
  padding: 0.75rem;
  background: var(--primary);
  color: var(--bg-page);
  border: none;
  border-radius: 10px;
  font-size: 0.85rem;
  font-weight: 700;
  font-family: var(--font-body);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  cursor: pointer;
  transition: var(--transition-fast);
}

.preview-action-primary:hover {
  background: var(--primary-hover);
}

.preview-actions-row {
  display: flex;
  gap: 0.5rem;
}

.preview-action-secondary {
  flex: 1;
  padding: 0.65rem;
  background: var(--white-05);
  color: var(--text-light);
  border: 1px solid var(--white-10);
  border-radius: 10px;
  font-size: 0.78rem;
  font-weight: 500;
  font-family: var(--font-body);
  cursor: pointer;
  transition: var(--transition-fast);
}

.preview-action-secondary:hover {
  background: var(--white-10);
}

/* ============================================ MODAL ============================================ */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 1000;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  visibility: hidden;
  transition: var(--transition-normal);
}

.modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

.modal-container {
  max-width: 580px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  background: rgba(35, 31, 32, 0.88);
  backdrop-filter: blur(32px);
  -webkit-backdrop-filter: blur(32px);
  border: 1px solid var(--glass-border);
  border-radius: var(--glass-radius);
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.4);
  position: relative;
  transform: scale(0.92) translateY(30px);
  transition: var(--transition-normal);
}

.modal-overlay.active .modal-container {
  transform: scale(1) translateY(0);
}

.modal-close-btn {
  position: sticky;
  top: 0.5rem;
  float: right;
  margin-right: 0.5rem;
  z-index: 10;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  background: rgba(35, 31, 32, 0.9);
  border: 1px solid var(--white-10);
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

.modal-close-btn:hover {
  background: var(--white-15);
  color: var(--text-light);
}

.modal-close-btn .material-symbols-outlined {
  font-size: 1.1rem;
}

.modal-gallery {
  width: 100%;
  padding: 2rem 1.5rem 0.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-avatar {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-display);
  color: var(--bg-page);
  font-size: 1.6rem;
  font-weight: 700;
  letter-spacing: 0.05em;
}

.modal-avatar-kol {
  background: var(--primary);
  box-shadow: 0 4px 20px var(--primary-alpha-30);
}

.modal-avatar-model {
  background: var(--model-color);
  box-shadow: 0 4px 20px rgba(167, 139, 250, 0.3);
}

.modal-avatar-koc {
  background: var(--koc-color);
  box-shadow: 0 4px 20px rgba(45, 212, 191, 0.3);
}

.modal-avatar-img {
  width: 80px;
  height: 80px;
  border-radius: 50%;
  object-fit: cover;
}

.modal-body {
  padding: 0 1.5rem 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.modal-header {
  text-align: center;
}

.modal-name {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.modal-badges {
  display: flex;
  gap: 0.3rem;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 0.5rem;
}

.modal-vote-section {
  display: flex;
  justify-content: center;
}

.modal-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  line-height: 1.8;
  background: var(--white-05);
  border: 1px solid var(--white-05);
  border-radius: 12px;
  padding: 0.85rem 1rem;
}

.modal-desc strong {
  color: var(--text-light);
  font-weight: 600;
}

.modal-tags-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
}

.modal-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.social-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 0.85rem;
  border-radius: 10px;
  background: var(--white-05);
  border: 1px solid var(--white-10);
  color: var(--text-light);
  text-decoration: none;
  font-size: 0.8rem;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition-fast);
  font-family: var(--font-body);
}

.social-btn:hover {
  background: var(--white-10);
  transform: translateY(-1px);
}

.social-btn svg {
  width: 16px;
  height: 16px;
}

.social-btn.ig:hover {
  border-color: #E4405F;
  color: #E4405F;
}

.social-btn.tiktok:hover {
  border-color: var(--text-light);
}

.social-btn.fb:hover {
  border-color: #1877F2;
  color: #1877F2;
}

.social-btn.copy-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.modal-gallery-section {
  margin-top: 0.25rem;
}

.modal-section-title {
  font-family: var(--font-display);
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text-light);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.modal-section-title .material-symbols-outlined {
  font-size: 1.1rem;
  color: var(--primary);
}

.modal-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  padding-top: 0.5rem;
  border-top: 1px solid var(--white-05);
}

/* ============================================ GALLERY (dark) ============================================ */
.gallery-loading {
  font-size: 0.82rem;
  color: var(--text-muted);
  text-align: center;
  padding: 1rem;
}

.gallery-empty {
  font-size: 0.82rem;
  color: var(--text-dim);
  text-align: center;
  padding: 0.75rem;
}

.gallery-upload-row {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  margin-bottom: 0.5rem;
}

.gallery-upload-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.4rem 0.85rem;
  border-radius: 8px;
  border: 1px dashed var(--primary-alpha-30);
  background: var(--primary-alpha-08);
  color: var(--primary);
  font-size: 0.78rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-fast);
  font-family: var(--font-body);
}

.gallery-upload-btn:hover {
  background: var(--primary-alpha-15);
  border-style: solid;
}

.gallery-count {
  font-size: 0.72rem;
  color: var(--text-dim);
}

.gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.5rem;
}

.gallery-item {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  aspect-ratio: 1;
  border: 2px solid transparent;
  transition: var(--transition-fast);
}

.gallery-item.is-avatar {
  border-color: var(--primary);
  box-shadow: 0 0 0 2px var(--primary-alpha-15);
}

.gallery-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  cursor: pointer;
}

.gallery-item-actions {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  display: flex;
  justify-content: space-between;
  background: rgba(0, 0, 0, 0.5);
  backdrop-filter: blur(4px);
  padding: 0.2rem;
  opacity: 0;
  transition: var(--transition-fast);
}

.gallery-item:hover .gallery-item-actions {
  opacity: 1;
}

.gallery-action-btn {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 0.72rem;
  padding: 0.15rem 0.25rem;
  border-radius: 4px;
  transition: var(--transition-fast);
}

.gallery-action-btn:hover {
  background: var(--white-15);
}

/* Lightbox */
.lightbox-overlay {
  position: fixed;
  inset: 0;
  z-index: 2000;
  background: rgba(0, 0, 0, 0.9);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  cursor: pointer;
  opacity: 0;
  transition: opacity 0.3s;
}

.lightbox-overlay.active {
  opacity: 1;
}

.lightbox-img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 12px;
}

.lightbox-close {
  position: absolute;
  top: 1.5rem;
  right: 1.5rem;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: var(--white-10);
  color: #fff;
  font-size: 1.2rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
}

.lightbox-close:hover {
  background: var(--white-15);
}

/* ============================================ ADD TALENT FORM (dark) ============================================ */
.add-talent-modal {
  max-width: 560px;
}

.add-talent-form {
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.form-label {
  font-size: 0.72rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.form-label .required {
  color: var(--vote-color);
}

.form-input {
  padding: 0.55rem 0.85rem;
  border-radius: 10px;
  border: 1px solid var(--white-10);
  background: var(--white-05);
  color: var(--text-light);
  font-family: var(--font-body);
  font-size: 0.88rem;
  outline: none;
  transition: var(--transition-fast);
}

.form-input:focus {
  border-color: var(--primary-alpha-30);
  box-shadow: 0 0 0 3px var(--primary-alpha-08);
}

.form-input::placeholder {
  color: var(--text-dim);
}

.form-select {
  cursor: pointer;
}

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

.form-textarea {
  resize: vertical;
  min-height: 56px;
}

.form-checkbox-group {
  display: flex;
  gap: 1rem;
}

.form-checkbox {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.85rem;
  color: var(--text-muted);
  cursor: pointer;
  user-select: none;
}

.form-checkbox input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--primary);
  cursor: pointer;
}

.form-submit-btn {
  padding: 0.75rem 1.5rem;
  border-radius: 10px;
  border: none;
  background: var(--primary);
  color: var(--bg-page);
  font-size: 0.88rem;
  font-weight: 700;
  cursor: pointer;
  font-family: var(--font-body);
  margin-top: 0.5rem;
  transition: var(--transition-fast);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  box-shadow: var(--primary-glow);
}

.form-submit-btn:hover {
  background: var(--primary-hover);
  transform: translateY(-1px);
}

/* ============================================ COMPARE ============================================ */
.compare-bar {
  position: fixed;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%) translateY(100px);
  z-index: 900;
  background: rgba(35, 31, 32, 0.9);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: 999px;
  padding: 0.6rem 0.6rem 0.6rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.3);
  transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
  opacity: 0;
  pointer-events: none;
}

.compare-bar.visible {
  transform: translateX(-50%) translateY(0);
  opacity: 1;
  pointer-events: auto;
}

.compare-bar-text {
  font-size: 0.82rem;
  color: var(--text-muted);
  white-space: nowrap;
}

.compare-bar-text strong {
  color: var(--primary);
  font-weight: 700;
}

.compare-bar-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.45rem 1rem;
  border-radius: 999px;
  border: none;
  background: var(--primary);
  color: var(--bg-page);
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
  font-family: var(--font-body);
  transition: var(--transition-fast);
}

.compare-bar-btn:hover {
  box-shadow: var(--primary-glow);
}

.compare-bar-btn .material-symbols-outlined {
  font-size: 1rem;
}

.compare-bar-clear {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1px solid var(--primary-alpha-20);
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

.compare-bar-clear:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.compare-bar-clear .material-symbols-outlined {
  font-size: 0.9rem;
}

/* Compare overlay */
.compare-overlay {
  position: fixed;
  inset: 0;
  z-index: 1100;
  background: rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  opacity: 0;
  transition: var(--transition-normal);
}

.compare-overlay.active {
  opacity: 1;
}

.compare-container {
  background: rgba(35, 31, 32, 0.95);
  backdrop-filter: blur(32px);
  -webkit-backdrop-filter: blur(32px);
  border: 1px solid var(--glass-border);
  border-radius: var(--glass-radius);
  max-width: 1200px;
  width: 95%;
  max-height: 92vh;
  overflow-y: auto;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.4);
  padding: 1.5rem;
}

.compare-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
}

.compare-header h2 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.compare-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1rem;
}

.compare-card {
  background: var(--white-05);
  border: 1px solid var(--white-05);
  border-radius: 16px;
  padding: 1.25rem;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 0;
}

.cmp-card-top {
  text-align: center;
  padding-bottom: 0.75rem;
  border-bottom: 1px solid var(--white-05);
  margin-bottom: 0.5rem;
}

.cmp-avatar-img {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--primary-alpha-20);
  margin-bottom: 0.5rem;
}

.compare-card-avatar {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--bg-page);
  font-size: 1.1rem;
  font-weight: 700;
  background: var(--primary);
  margin: 0 auto 0.5rem;
}

.compare-card-name {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-light);
  text-transform: uppercase;
}

.compare-card-types {
  display: flex;
  gap: 0.2rem;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 0.25rem;
}

.compare-card-socials {
  display: flex;
  gap: 0.35rem;
  justify-content: center;
  margin-top: 0.4rem;
}

.compare-social-btn {
  padding: 0.3rem;
  border-radius: 6px;
  background: var(--white-05);
  border: 1px solid var(--white-05);
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.68rem;
  font-weight: 600;
  transition: var(--transition-fast);
  display: flex;
  align-items: center;
  justify-content: center;
}

.compare-social-btn:hover {
  border-color: var(--primary);
  color: var(--primary);
}

.compare-card-details {
  width: 100%;
  text-align: left;
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  padding-bottom: 0.5rem;
}

.compare-row {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  font-size: 0.75rem;
  padding: 0.2rem 0;
  border-bottom: 1px solid var(--white-05);
}

.compare-label {
  color: var(--text-dim);
  font-weight: 500;
  flex-shrink: 0;
  margin-right: 0.5rem;
}

.compare-row span:last-child {
  text-align: right;
  color: var(--text-muted);
  font-weight: 500;
}

.compare-votes {
  color: var(--vote-color) !important;
  font-weight: 700 !important;
}

.cmp-highlight {
  color: var(--primary) !important;
  font-weight: 700 !important;
}

/* Compare sections */
.cmp-section {
  border-top: 1px solid var(--white-05);
  padding-top: 0.5rem;
  margin-top: 0.3rem;
}

.cmp-section-title {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 0.35rem;
  display: flex;
  align-items: center;
  gap: 0.3rem;
}

.cmp-empty {
  font-size: 0.72rem;
  color: var(--text-dim);
  font-style: italic;
  padding: 0.15rem 0;
}

.cmp-brands {
  display: flex;
  flex-wrap: wrap;
  gap: 0.2rem;
  justify-content: flex-end;
}

.cmp-brand-tag {
  background: var(--primary-alpha-20);
  color: var(--primary) !important;
  border-radius: 4px;
  padding: 0.1rem 0.35rem;
  font-size: 0.65rem;
  font-weight: 600;
  white-space: nowrap;
}

.cmp-status-active {
  color: #4ecdc4 !important;
  font-weight: 700 !important;
}

.cmp-status-none {
  color: var(--text-dim) !important;
}

/* Compare notes */
.cmp-notes {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
}

.cmp-note {
  background: rgba(255, 255, 255, 0.02);
  border-radius: 6px;
  padding: 0.35rem 0.5rem;
  border-left: 2px solid var(--primary-alpha-20);
}

.cmp-note-text {
  font-size: 0.7rem;
  color: var(--text-muted);
  line-height: 1.35;
}

.cmp-note-meta {
  font-size: 0.6rem;
  color: var(--text-dim);
  margin-top: 0.15rem;
}

/* Compare portfolio */
.cmp-portfolio {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4px;
  margin: 0.5rem 0;
  border-radius: 8px;
  overflow: hidden;
}

.cmp-portfolio-img {
  width: 100%;
  aspect-ratio: 1;
  object-fit: cover;
  cursor: pointer;
  transition: var(--transition-fast);
}

.cmp-portfolio-img:hover {
  opacity: 0.85;
  transform: scale(1.02);
}

.cmp-portfolio-more {
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--white-08);
  color: var(--text-muted);
  font-size: 0.75rem;
  font-weight: 700;
  aspect-ratio: 1;
}

/* Compare concept tags */
.cmp-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.2rem;
  justify-content: center;
  margin-top: 0.3rem;
}

.cmp-concept-tag {
  background: var(--white-05);
  color: var(--text-muted);
  border-radius: 10px;
  padding: 0.1rem 0.4rem;
  font-size: 0.6rem;
  font-weight: 500;
  border: 1px solid var(--white-08);
}

/* ============================================ TOAST ============================================ */
.toast {
  position: fixed;
  bottom: 2rem;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--primary);
  color: var(--bg-page);
  padding: 0.75rem 1.5rem;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 600;
  z-index: 2000;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-normal);
  white-space: nowrap;
  box-shadow: var(--primary-glow);
}

.toast.show {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
}

/* ============================================ VOTE BUTTON (standalone) ============================================ */
.vote-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  border: none;
  background: none;
  cursor: pointer;
  color: var(--text-dim);
  font-size: 0.8rem;
  font-family: var(--font-body);
  padding: 0.2rem 0.35rem;
  border-radius: 8px;
  transition: var(--transition-fast);
}

.vote-btn:hover {
  color: var(--vote-color);
}

.vote-btn.voted {
  color: var(--vote-color);
}

.vote-count {
  font-weight: 600;
  min-width: 0.5rem;
}

.vote-btn-sm {
  font-size: 0.72rem;
}

.vote-btn-sm svg {
  width: 14px;
  height: 14px;
}

/* ============================================ FOOTER ============================================ */
.app-footer {
  border-top: 1px solid rgba(52, 49, 45, 0.8);
  margin-top: 2rem;
  padding: 1.5rem 2rem;
  max-width: var(--max-width);
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  font-size: 0.72rem;
  color: var(--text-dim);
}

.footer-version {
  color: var(--text-dim);
}

/* ============================================ PAGE CONTAINER (Bookings/Finance/Calendar) ============================================ */
.page-container {
  padding: 1.5rem 2rem;
  max-width: var(--content-max);
  margin: 0 auto;
  width: 100%;
}

.page-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
}

.page-title {
  font-family: var(--font-display);
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.page-title .material-symbols-outlined {
  font-size: 1.6rem;
  color: var(--primary);
}

.section-subtitle {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text-light);
  margin-bottom: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.section-count {
  font-size: 0.7rem;
  background: var(--primary-alpha-20);
  color: var(--primary);
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  font-weight: 700;
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.active-dot {
  background: var(--koc-color);
}

.past-dot {
  background: var(--text-dim);
}

.empty-hint {
  font-size: 0.82rem;
  color: var(--text-dim);
  padding: 1.5rem;
  text-align: center;
}

/* ============================================ BOOKINGS ============================================ */
.bookings-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1rem;
}

.booking-card {
  padding: 1.25rem;
  border-radius: var(--glass-radius-sm);
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  transition: var(--transition-fast);
}

.booking-card:hover {
  border-color: var(--primary-alpha-30);
  transform: translateY(-2px);
}

.booking-card-header {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.booking-card-avatar {
  width: 42px;
  height: 42px;
  border-radius: 50%;
  background: var(--primary-alpha-20);
  border: 2px solid var(--primary-alpha-20);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--primary);
  flex-shrink: 0;
}

.booking-card-name {
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-light);
  text-transform: uppercase;
}

.booking-status {
  display: inline-block;
  font-size: 0.62rem;
  font-weight: 600;
  padding: 0.15rem 0.5rem;
  border-radius: 999px;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.booking-status-active {
  background: rgba(45, 212, 191, 0.12);
  color: var(--koc-color);
  border: 1px solid rgba(45, 212, 191, 0.2);
}

.booking-status-completed {
  background: var(--white-05);
  color: var(--text-dim);
  border: 1px solid var(--white-05);
}

.booking-card-body {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.booking-info-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.booking-info-row .material-symbols-outlined {
  font-size: 1rem;
  color: var(--text-dim);
}

.booking-notes {
  font-size: 0.75rem;
  color: var(--text-dim);
  font-style: italic;
  padding: 0.35rem 0.5rem;
  background: var(--white-05);
  border-radius: 6px;
  margin-top: 0.25rem;
}

.booking-card-footer {
  display: flex;
  gap: 0.35rem;
  justify-content: flex-end;
  border-top: 1px solid var(--white-05);
  padding-top: 0.5rem;
}

.booking-card-action {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  background: var(--white-05);
  border: 1px solid var(--white-05);
  color: var(--text-muted);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

.booking-card-action:hover {
  background: var(--white-10);
  color: var(--primary);
}

.booking-card-action .material-symbols-outlined {
  font-size: 1rem;
}

/* ── Compact booking grid for campaigns (20-60 cards) ── */
.bookings-grid-compact {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(185px, 1fr));
  gap: 0.5rem;
  min-height: 60px;
}

.bookings-grid-compact .booking-card {
  padding: 0.6rem;
  gap: 0.4rem;
}

.bookings-grid-compact .booking-card-header {
  gap: 0.4rem;
}

.bookings-grid-compact .booking-card-avatar {
  width: 28px;
  height: 28px;
  font-size: 0.55rem;
}

.bookings-grid-compact .booking-card-name {
  font-size: 0.72rem;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.bookings-grid-compact .booking-card-tags {
  display: flex;
  gap: 0.2rem;
  flex-wrap: wrap;
}

.bookings-grid-compact .booking-card-footer {
  padding-top: 0.3rem;
}

/* Completed booking card */
.booking-card.bk-completed {
  opacity: 0.45;
  filter: grayscale(30%);
}

.booking-card.bk-completed:hover {
  opacity: 0.7;
}

/* Compact body */
.booking-card-body-compact {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
}

.bk-info-compact {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.7rem;
  color: var(--text-dim);
}

.bk-info-compact .material-symbols-outlined {
  font-size: 0.8rem;
  color: var(--text-dim);
  opacity: 0.6;
}

/* Completion toggle button — icon-only, easy to hit */
.bk-card-complete {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--white-05);
  border: 1px solid var(--white-10);
  cursor: pointer;
  color: var(--text-dim);
  transition: var(--transition-fast);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
}

.bk-card-complete:hover {
  background: rgba(45, 212, 191, 0.15);
  color: var(--koc-color);
  border-color: rgba(45, 212, 191, 0.3);
  transform: scale(1.1);
}

.bk-card-complete.active {
  background: rgba(45, 212, 191, 0.2);
  color: var(--koc-color);
  border-color: rgba(45, 212, 191, 0.4);
}

.bk-card-complete .material-symbols-outlined {
  font-size: 1.1rem;
}

/* Special care button */
.bk-card-care {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: none;
  border: none;
  cursor: pointer;
  padding: 0;
  color: var(--text-dim);
  transition: var(--transition-fast);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.bk-card-care:hover {
  color: #ef4444;
  transform: scale(1.2);
}

.bk-card-care.active {
  color: #ef4444;
}

.bk-card-care .material-symbols-outlined {
  font-size: 0.9rem;
}

/* Special care card red border */
.booking-card.bk-special-care {
  border: 2px solid rgba(239, 68, 68, 0.5) !important;
  box-shadow: 0 0 12px rgba(239, 68, 68, 0.12);
}

/* Larger avatar for booking cards */
.booking-card-avatar-lg {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: var(--primary-alpha-30);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
  border: 2px solid var(--white-10);
}

.bk-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.bk-avatar-initials {
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.05em;
}

/* Booking card notes */
.bk-card-notes {
  font-size: 0.62rem;
  color: var(--text-dim);
  font-style: italic;
  padding: 0.2rem 0.4rem;
  background: var(--white-05);
  border-radius: 4px;
  margin-top: 0.15rem;
  max-height: 2.5em;
  overflow: hidden;
  text-overflow: ellipsis;
}

/* Contract code badge */
.bk-contract-badge {
  font-size: 0.55rem;
  padding: 1px 5px;
  border-radius: 4px;
  background: rgba(186, 158, 105, 0.1);
  color: var(--primary);
  border: 1px solid rgba(186, 158, 105, 0.2);
  letter-spacing: 0.03em;
}

/* Campaign filter tags */
.camp-filter-tags {
  display: flex;
  gap: 0.3rem;
  margin-top: 0.4rem;
  flex-wrap: wrap;
}

.camp-filter-tag {
  background: var(--white-05);
  border: 1px solid var(--white-10);
  color: var(--text-muted);
  font-size: 0.65rem;
  padding: 0.2rem 0.55rem;
  border-radius: 12px;
  cursor: pointer;
  font-family: var(--font-body);
  transition: var(--transition-fast);
}

.camp-filter-tag:hover {
  background: var(--white-10);
  color: var(--text-light);
}

.camp-filter-tag.active {
  background: rgba(186, 158, 105, 0.15);
  color: var(--primary);
  border-color: rgba(186, 158, 105, 0.3);
}

/* Brand checkbox group for campaign form */
.brand-checkbox-group {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.brand-checkbox {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.65rem;
  border-radius: 8px;
  background: var(--bg-card);
  border: 1px solid var(--white-10);
  cursor: pointer;
  transition: var(--transition-fast);
}

.brand-checkbox:hover {
  background: var(--white-05);
  border-color: var(--white-15, rgba(255, 255, 255, 0.15));
}

.brand-checkbox input[type="checkbox"] {
  accent-color: var(--primary);
  width: 16px;
  height: 16px;
  cursor: pointer;
}

.brand-checkbox input[type="checkbox"]:checked+.brand-checkbox-label {
  color: var(--brand-color, var(--primary));
  font-weight: 600;
}

.brand-checkbox-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  transition: var(--transition-fast);
}

/* Booking-specific autocomplete dropdown (fixed z-index) */
.booking-autocomplete-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 9999;
  background: #2a2520;
  border: 1px solid rgba(186, 158, 105, 0.25);
  border-radius: 10px;
  max-height: 240px;
  overflow-y: auto;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.7), 0 0 0 1px rgba(0, 0, 0, 0.3);
  margin-top: 4px;
}

.booking-autocomplete-dropdown .staff-ac-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.6rem 0.85rem;
  cursor: pointer;
  transition: background 0.15s;
  font-size: 0.82rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.booking-autocomplete-dropdown .staff-ac-item:last-child {
  border-bottom: none;
}

.booking-autocomplete-dropdown .staff-ac-item:hover {
  background: rgba(186, 158, 105, 0.12);
}

.booking-autocomplete-dropdown .staff-ac-name {
  color: var(--text-light);
  font-weight: 600;
}

.booking-autocomplete-dropdown .staff-ac-dept {
  color: var(--text-dim);
  font-size: 0.72rem;
  margin-left: auto;
}

/* Form hint text */
.form-hint {
  font-size: 0.65rem;
  color: var(--text-dim);
  margin-top: 0.25rem;
  font-style: italic;
}

/* ============================================ FINANCE ============================================ */
.finance-summary {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.finance-card {
  padding: 1.25rem;
  border-radius: var(--glass-radius-sm);
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.finance-card-icon {
  color: var(--primary);
}

.finance-card-icon .material-symbols-outlined {
  font-size: 1.3rem;
}

.finance-card-label {
  font-size: 0.65rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.finance-card-value {
  font-family: var(--font-display);
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary);
}

.finance-empty {
  padding: 3rem 2rem;
  text-align: center;
  color: var(--text-dim);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  border-radius: var(--glass-radius-sm);
}

.finance-empty p {
  font-size: 0.85rem;
}

/* Finance Tabs */
.fin-tabs {
  border-radius: var(--glass-radius-sm);
  padding: 0;
  overflow: hidden;
}



.fin-tab-btn {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.75rem 1.1rem;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 0.75rem;
  font-weight: 600;
  font-family: var(--font-body);
  cursor: pointer;
  white-space: nowrap;
  transition: var(--transition-fast);
  border-bottom: 2px solid transparent;
}

.fin-tab-btn .material-symbols-outlined {
  font-size: 0.9rem;
}

.fin-tab-btn:hover {
  color: var(--text-light);
  background: var(--white-05);
}

.fin-tab-btn.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
  background: var(--white-05);
}

.fin-tab-body {
  padding: 1rem;
}

/* Finance Table */
.fin-table {
  width: 100%;
  border-collapse: collapse;
}

.fin-table thead th {
  text-align: left;
  padding: 0.6rem 0.75rem;
  font-size: 0.65rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.06em;
  font-weight: 600;
  border-bottom: 1px solid var(--white-08);
}

.fin-table-row td {
  padding: 0.65rem 0.75rem;
  font-size: 0.8rem;
  color: var(--text-light);
  border-bottom: 1px solid var(--white-05);
}

.fin-table-row:hover td {
  background: var(--white-05);
}

.fin-rank {
  color: var(--text-dim);
  font-size: 0.7rem;
  font-weight: 600;
  width: 30px;
}

.fin-name {
  font-weight: 600;
}

.fin-count {
  color: var(--text-muted);
  font-size: 0.75rem;
}

.fin-amount {
  font-weight: 700;
  color: var(--primary) !important;
  white-space: nowrap;
}

.fin-pct {
  color: var(--text-muted);
  font-size: 0.75rem;
  font-weight: 500;
}

.fin-bar-cell {
  padding-left: 0.5rem !important;
}

.fin-bar-track {
  height: 18px;
  background: var(--white-05);
  border-radius: 6px;
  overflow: hidden;
}

.fin-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--primary), var(--primary-hover));
  border-radius: 6px;
  transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  min-width: 2px;
}

.fin-total-row td {
  padding: 0.7rem 0.75rem;
  font-size: 0.8rem;
  border-top: 2px solid var(--primary-alpha-20);
  color: var(--text-light);
}

.fin-empty {
  padding: 2rem;
  text-align: center;
  color: var(--text-dim);
  font-size: 0.85rem;
}

/* Finance View Toggle */
.fin-tab-nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: var(--white-05);
  border-bottom: 1px solid var(--white-08);
  overflow-x: auto;
}

.fin-tab-left {
  display: flex;
  overflow-x: auto;
}

.fin-view-toggle {
  display: flex;
  gap: 2px;
  padding: 0.35rem 0.5rem;
}

.fin-view-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 6px;
  border: none;
  background: transparent;
  color: var(--text-dim);
  cursor: pointer;
  transition: var(--transition-fast);
}

.fin-view-btn .material-symbols-outlined {
  font-size: 1.05rem;
}

.fin-view-btn:hover {
  color: var(--text-light);
  background: var(--white-05);
}

.fin-view-btn.active {
  color: var(--primary);
  background: var(--white-08);
}

/* Finance Bar Chart */
.fin-barchart {
  display: flex;
  flex-direction: column;
  gap: 0.6rem;
  padding: 0.5rem 0;
}

.fin-barchart-row {
  display: grid;
  grid-template-columns: 140px 1fr;
  gap: 0.75rem;
  align-items: center;
}

.fin-barchart-label {
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 500;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.fin-barchart-bar-wrap {
  position: relative;
  height: 28px;
  background: var(--white-05);
  border-radius: 6px;
  overflow: hidden;
}

.fin-barchart-bar {
  height: 100%;
  border-radius: 6px;
  transition: width 0.6s cubic-bezier(0.4, 0, 0.2, 1);
  min-width: 3px;
}

.fin-barchart-value {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  font-size: 0.7rem;
  font-weight: 600;
  color: var(--text-light);
  white-space: nowrap;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

/* Finance Donut Chart */
.fin-donut-container {
  display: grid;
  grid-template-columns: 240px 1fr;
  gap: 2rem;
  align-items: center;
  padding: 1rem 0;
}

.fin-donut-chart {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  position: relative;
  margin: 0 auto;
}

.fin-donut-hole {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 130px;
  height: 130px;
  border-radius: 50%;
  background: var(--surface-card);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.fin-donut-total-label {
  font-size: 0.6rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.fin-donut-total-value {
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--primary);
  margin-top: 0.15rem;
}

.fin-donut-legend {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.fin-legend-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.78rem;
}

.fin-legend-dot {
  width: 10px;
  height: 10px;
  border-radius: 3px;
  flex-shrink: 0;
}

.fin-legend-name {
  flex: 1;
  color: var(--text-muted);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.fin-legend-pct {
  font-weight: 600;
  color: var(--text-light);
  min-width: 35px;
  text-align: right;
}

.fin-legend-amount {
  font-weight: 600;
  color: var(--primary);
  min-width: 80px;
  text-align: right;
  font-size: 0.72rem;
}

/* Completed Campaigns Section */
.fin-completed {
  padding: 1.25rem;
}

.fin-completed-title {
  font-family: var(--font-display);
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-light);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 1rem;
}

.fin-completed-title .material-symbols-outlined {
  color: #4ade80;
  font-size: 1.1rem;
}

.fin-completed-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 0.75rem;
}

.fin-completed-card {
  padding: 1rem;
  border-radius: var(--glass-radius-sm);
  background: var(--white-05);
  border: 1px solid rgba(74, 222, 128, 0.15);
}

.fin-completed-name {
  font-weight: 600;
  font-size: 0.85rem;
  color: var(--text-light);
  margin-bottom: 0.3rem;
}

.fin-completed-meta {
  display: flex;
  gap: 0.4rem;
  align-items: center;
  font-size: 0.7rem;
  color: var(--text-dim);
  margin-bottom: 0.5rem;
}

.fin-completed-brand {
  background: rgba(74, 222, 128, 0.15);
  color: #4ade80;
  padding: 0.1rem 0.4rem;
  border-radius: 4px;
  font-weight: 600;
  font-size: 0.65rem;
}

.fin-completed-amount {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--primary);
}

/* Campaign Completion Toggle */
.camp-complete-toggle {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  cursor: pointer;
  font-size: 0.7rem;
  color: var(--text-dim);
  user-select: none;
}

.camp-complete-check {
  appearance: none;
  -webkit-appearance: none;
  width: 18px;
  height: 18px;
  border: 2px solid var(--white-12);
  border-radius: 4px;
  cursor: pointer;
  position: relative;
  transition: var(--transition-fast);
  flex-shrink: 0;
}

.camp-complete-check:checked {
  background: #4ade80;
  border-color: #4ade80;
}

.camp-complete-check:checked::after {
  content: '✓';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 0.65rem;
  font-weight: 700;
  color: #000;
}

.camp-complete-label {
  font-weight: 500;
}

.camp-done-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  font-size: 0.6rem;
  font-weight: 600;
  color: #4ade80;
  background: rgba(74, 222, 128, 0.12);
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
  margin-left: 0.5rem;
  vertical-align: middle;
}

.camp-completed {
  border-color: rgba(74, 222, 128, 0.2) !important;
  opacity: 0.75;
}

/* ============================================ GROUP CHAT ============================================ */
.chat-panel {
  padding: 0;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  max-width: 800px;
  margin: 0 auto 1.5rem;
}

.chat-header {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.85rem 1.25rem;
  border-bottom: 1px solid var(--white-08);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.85rem;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.chat-header .material-symbols-outlined {
  font-size: 1.1rem;
  color: var(--primary);
}

.chat-count {
  background: var(--primary-alpha-20);
  color: var(--primary);
  padding: 0.1rem 0.45rem;
  border-radius: 10px;
  font-size: 0.65rem;
  font-weight: 600;
  margin-left: auto;
}

.chat-messages {
  min-height: 200px;
  max-height: 360px;
  overflow-y: auto;
  padding: 0.75rem 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.chat-empty {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.4rem;
  height: 120px;
  color: var(--text-dim);
  font-size: 0.78rem;
}

.chat-message {
  display: flex;
  gap: 0.5rem;
  align-items: flex-start;
}

.chat-msg-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: var(--primary-alpha-20);
  border: 1px solid var(--primary-alpha-30);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.55rem;
  font-weight: 700;
  color: var(--primary);
  flex-shrink: 0;
}

.chat-msg-body {
  flex: 1;
  min-width: 0;
}

.chat-msg-header {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  margin-bottom: 0.1rem;
}

.chat-msg-author {
  font-weight: 600;
  font-size: 0.72rem;
  color: var(--text-light);
}

.chat-msg-time {
  font-size: 0.6rem;
  color: var(--text-dim);
}

.chat-msg-text {
  font-size: 0.78rem;
  color: var(--text-muted);
  line-height: 1.4;
  word-break: break-word;
  background: var(--white-05);
  padding: 0.4rem 0.65rem;
  border-radius: 0 10px 10px 10px;
  display: inline-block;
}

.chat-input-area {
  display: flex;
  gap: 0.4rem;
  align-items: center;
  padding: 0.65rem 1rem;
  border-top: 1px solid var(--white-08);
  background: var(--white-05);
}

.chat-input {
  flex: 1;
  background: var(--white-08);
  border: 1px solid var(--white-10);
  border-radius: 20px;
  padding: 0.5rem 0.9rem;
  font-size: 0.8rem;
  color: var(--text-light);
  outline: none;
  transition: var(--transition-fast);
  font-family: var(--font-body);
}

.chat-input::placeholder {
  color: var(--text-dim);
}

.chat-input:focus {
  border-color: var(--primary-alpha-30);
  background: var(--white-10);
}

.chat-send-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: var(--primary);
  color: #000;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-fast);
  flex-shrink: 0;
}

.chat-send-btn:hover {
  background: var(--primary-lighter);
  transform: scale(1.05);
}

.chat-send-btn .material-symbols-outlined {
  font-size: 1rem;
}

/* ============================================ CALENDAR ============================================ */
.cal-nav {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.75rem 1rem;
  border-radius: var(--glass-radius-sm);
  margin-bottom: 1rem;
}

.cal-nav-title {
  font-family: var(--font-display);
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--text-light);
  flex: 1;
  text-align: center;
}

.cal-nav-btn {
  background: var(--white-05);
  border: 1px solid var(--white-05);
  color: var(--text-muted);
  border-radius: 8px;
  width: 32px;
  height: 32px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
  font-family: var(--font-body);
  font-size: 0.75rem;
}

.cal-today-btn {
  width: auto;
  padding: 0 0.75rem;
  font-weight: 600;
}

.cal-nav-btn:hover {
  background: var(--white-10);
  color: var(--primary);
}

.cal-grid {
  border-radius: var(--glass-radius-sm);
  overflow: hidden;
}

.cal-header-row {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
  background: var(--white-05);
}

.cal-header-cell {
  padding: 0.65rem;
  text-align: center;
  font-size: 0.68rem;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.06em;
}

.cal-body {
  display: grid;
  grid-template-columns: repeat(7, 1fr);
}

.cal-cell {
  min-height: 90px;
  padding: 0.4rem;
  border: 1px solid var(--white-05);
  cursor: pointer;
  transition: var(--transition-fast);
  display: flex;
  flex-direction: column;
}

.cal-cell:hover {
  background: var(--white-05);
}

.cal-cell.empty {
  background: transparent;
  cursor: default;
}

.cal-cell.cal-today {
  background: var(--primary-alpha-08);
  border-color: var(--primary-alpha-20);
}

.cal-day-num {
  font-size: 0.78rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 0.25rem;
}

.cal-today .cal-day-num {
  color: var(--primary);
  font-weight: 700;
}

.cal-events {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  flex: 1;
}

.cal-event-label {
  font-size: 0.6rem;
  color: var(--text-muted);
  padding: 0.1rem 0.3rem;
  border-radius: 3px;
  background: var(--white-05);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cal-event-label.cal-event-fullday {
  background: rgba(191, 168, 117, 0.12);
  font-weight: 600;
  color: var(--text-light);
}

.cal-dots {
  display: flex;
  gap: 3px;
  align-items: center;
  margin-top: auto;
}

.cal-event-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
}

.cal-more {
  font-size: 0.55rem;
  color: var(--text-dim);
}

.cal-legend {
  display: flex;
  gap: 1.5rem;
  padding: 0.75rem 0;
  justify-content: center;
}

.cal-legend-item {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-size: 0.72rem;
  color: var(--text-muted);
}

.cal-legend-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
}

.cal-color-pick {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid transparent;
  transition: var(--transition-fast);
}

.cal-color-pick:has(input:checked) {
  border-color: var(--text-light);
  box-shadow: 0 0 0 2px var(--white-15);
}

.cal-color-pick input {
  display: none;
}

/* Day detail modal */
.day-detail-list {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.day-detail-event {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem;
  background: var(--white-05);
  border-radius: 8px;
  font-size: 0.82rem;
  color: var(--text-light);
}

.day-detail-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  flex-shrink: 0;
}

.day-detail-type {
  font-size: 0.65rem;
  color: var(--text-dim);
  margin-left: auto;
}

.day-detail-brand {
  font-size: 0.65rem;
  color: var(--primary);
}

.day-detail-delete {
  background: none;
  border: none;
  color: var(--text-dim);
  cursor: pointer;
  padding: 0.15rem;
  transition: var(--transition-fast);
}

.day-detail-delete:hover {
  color: var(--vote-color);
}

.day-detail-delete .material-symbols-outlined {
  font-size: 0.9rem;
}

/* ============================================ MODAL EDIT BUTTON ============================================ */
.modal-edit-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.55rem 1rem;
  border-radius: 10px;
  background: var(--white-05);
  border: 1px solid var(--white-10);
  color: var(--text-light);
  font-size: 0.82rem;
  font-weight: 600;
  font-family: var(--font-body);
  cursor: pointer;
  transition: var(--transition-fast);
}

.modal-edit-btn:hover {
  background: var(--primary-alpha-15);
  border-color: var(--primary-alpha-30);
  color: var(--primary);
}

.modal-edit-btn .material-symbols-outlined {
  font-size: 1rem;
}

/* Preview bio section */
.preview-bio {
  padding: 0.5rem;
  background: var(--white-05);
  border-radius: 8px;
  border: 1px solid var(--white-05);
}

/* ============================================ EMPTY STATE ============================================ */
.empty-state {
  padding: 3rem 2rem;
  text-align: center;
  color: var(--text-dim);
}

.empty-state-icon {
  font-size: 2.5rem;
  margin-bottom: 0.75rem;
  opacity: 0.3;
}

.empty-state-text {
  font-size: 0.9rem;
}

/* ============================================ ANIMATIONS ============================================ */
.talent-table tbody tr {
  animation: fadeRow var(--transition-normal) both;
}

@keyframes fadeRow {
  from {
    opacity: 0;
    transform: translateX(-8px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ============================================ RESPONSIVE ============================================ */
@media (max-width: 1100px) {
  .preview-panel {
    display: none;
  }

  .three-pane {
    gap: 1rem;
  }
}

@media (max-width: 860px) {
  .sidebar {
    display: none;
  }

  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
  }

  .header-nav {
    display: none;
  }

  .header-search {
    width: 180px;
  }

  .three-pane {
    padding: 1rem;
  }

  .hero-section {
    margin: 1rem;
    padding: 1.5rem;
  }
}

@media (max-width: 600px) {
  .app-header {
    padding: 0 0.75rem;
    height: 56px;
  }

  .header-title {
    font-size: 0.85rem;
  }

  .header-search {
    display: none;
  }

  .hero-section {
    min-height: 200px;
    margin: 0.5rem;
    padding: 1rem;
  }

  .hero-title {
    font-size: 1.3rem;
  }

  .hero-stats {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.5rem;
  }

  .stat-value {
    font-size: 1.3rem;
  }

  .three-pane {
    padding: 0.5rem;
  }

  .btn-primary-pill span:last-child {
    display: none;
  }

  .modal-overlay {
    padding: 0.5rem;
  }

  .compare-container {
    padding: 0.75rem;
  }

  .compare-grid {
    grid-template-columns: 1fr;
  }
}

/* ============================================
   Photo Drop Zone (Add Talent form)
   ============================================ */
.photo-drop-zone {
  border: 2px dashed var(--primary-alpha-30);
  border-radius: 14px;
  padding: 1.5rem 1rem;
  text-align: center;
  cursor: pointer;
  transition: var(--transition-fast);
  color: var(--text-dim);
  background: rgba(186, 158, 105, 0.04);
}

.photo-drop-zone:hover,
.photo-drop-zone.drag-over {
  border-color: var(--primary);
  background: rgba(186, 158, 105, 0.10);
  color: var(--primary);
}

.photo-drop-zone p {
  margin: 0.3rem 0 0;
  font-size: 0.78rem;
}

.photo-drop-zone strong {
  color: var(--primary);
  cursor: pointer;
}

.photo-preview-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.photo-preview-item {
  position: relative;
  width: 64px;
  height: 64px;
  border-radius: 10px;
  overflow: hidden;
  border: 1px solid var(--primary-alpha-20);
}

.photo-preview-item img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.photo-preview-remove {
  position: absolute;
  top: 2px;
  right: 2px;
  background: rgba(0, 0, 0, 0.75);
  border: none;
  border-radius: 50%;
  width: 20px;
  height: 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  color: #fff;
  padding: 0;
}

.photo-preview-remove .material-symbols-outlined {
  font-size: 14px;
}

/* ============================================
   Avatar Upload Circle (Edit form)
   ============================================ */
.avatar-upload-circle {
  position: relative;
  width: 100px;
  height: 100px;
  border-radius: 50%;
  margin: 0 auto;
  cursor: pointer;
  overflow: hidden;
  border: 3px solid var(--primary-alpha-30);
  transition: var(--transition-fast);
}

.avatar-upload-circle:hover {
  border-color: var(--primary);
}

.avatar-upload-preview {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--glass-bg);
}

.avatar-upload-preview img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.avatar-upload-preview .avatar-initials {
  font-size: 1.8rem;
  font-weight: 700;
  color: var(--primary);
  letter-spacing: 0.05em;
}

.avatar-upload-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: var(--transition-fast);
  color: #fff;
}

.avatar-upload-circle:hover .avatar-upload-overlay {
  opacity: 1;
}

.avatar-upload-overlay .material-symbols-outlined {
  font-size: 1.8rem;
}

/* ============================================
   Tags styling
   ============================================ */
.form-tags-group {
  flex-wrap: wrap;
  gap: 0.4rem !important;
}

.form-tag {
  font-size: 0.72rem !important;
  padding: 0.2rem 0.5rem !important;
  border-radius: 20px !important;
  border: 1px solid var(--primary-alpha-20) !important;
  background: rgba(186, 158, 105, 0.06);
  transition: var(--transition-fast);
}

.form-tag:has(input:checked) {
  background: var(--primary-alpha-20);
  border-color: var(--primary) !important;
  color: var(--primary);
}

/* ============================================
   Search Suggestions Dropdown
   ============================================ */
.search-suggestions {
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  background: rgba(35, 31, 32, 0.95);
  backdrop-filter: blur(20px);
  border: 1px solid var(--primary-alpha-20);
  border-radius: 12px;
  margin-top: 4px;
  z-index: 999;
  max-height: 320px;
  overflow-y: auto;
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.4);
}

.search-suggestion-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.6rem 0.8rem;
  cursor: pointer;
  transition: var(--transition-fast);
  border-bottom: 1px solid rgba(186, 158, 105, 0.08);
}

.search-suggestion-item:last-child {
  border-bottom: none;
}

.search-suggestion-item:hover {
  background: rgba(186, 158, 105, 0.12);
}

.suggestion-name {
  font-size: 0.82rem;
  color: var(--text-light);
}

.suggestion-name strong {
  color: var(--primary);
}

.suggestion-tags {
  display: flex;
  gap: 0.25rem;
}

.suggestion-badge {
  font-size: 0.6rem;
  padding: 0.1rem 0.35rem;
  border-radius: 6px;
  background: rgba(186, 158, 105, 0.15);
  color: var(--primary);
  font-weight: 600;
  letter-spacing: 0.03em;
}

/* ======= Talent Suggest Dropdown (Booking form) ======= */
.talent-suggest-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 200;
  background: rgba(35, 31, 32, 0.95);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(186, 158, 105, 0.2);
  border-radius: 12px;
  max-height: 240px;
  overflow-y: auto;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
  margin-top: 4px;
}

.talent-suggest-item {
  padding: 0.6rem 0.8rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.5rem;
  font-size: 0.85rem;
  color: var(--text-light);
  transition: background 0.15s;
}

.talent-suggest-item:hover {
  background: rgba(186, 158, 105, 0.12);
}

.talent-suggest-item+.talent-suggest-item {
  border-top: 1px solid rgba(186, 158, 105, 0.08);
}

/* ======= Avatar Portfolio Picker (Edit form) ======= */
.avatar-portfolio-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 0.5rem;
  margin-top: 0.5rem;
}

.avatar-portfolio-thumb {
  aspect-ratio: 1;
  border-radius: 12px;
  overflow: hidden;
  cursor: pointer;
  border: 2px solid transparent;
  transition: border-color 0.2s, transform 0.15s;
  position: relative;
}

.avatar-portfolio-thumb img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.avatar-portfolio-thumb:hover {
  transform: scale(1.05);
  border-color: rgba(186, 158, 105, 0.5);
}

.avatar-portfolio-thumb.selected {
  border-color: var(--primary);
  box-shadow: 0 0 12px rgba(186, 158, 105, 0.4);
}

.avatar-portfolio-thumb.selected::after {
  content: '✓';
  position: absolute;
  top: 4px;
  right: 4px;
  background: var(--primary);
  color: var(--bg-dark);
  width: 18px;
  height: 18px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 700;
}

.avatar-portfolio-label {
  font-size: 0.7rem;
  color: var(--text-dim);
  margin-top: 0.3rem;
  text-align: center;
}

/* ======= Notes Timeline ======= */
.modal-notes-section {
  margin-top: 1rem;
  padding-top: 0.5rem;
}

.notes-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}

.notes-count {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 22px;
  height: 22px;
  padding: 0 6px;
  border-radius: 11px;
  background: rgba(186, 158, 105, 0.18);
  color: var(--primary);
  font-size: 0.7rem;
  font-weight: 700;
  font-family: var(--font-body);
  margin-left: 0.4rem;
  vertical-align: middle;
}

.notes-add-btn {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.35rem 0.75rem;
  border-radius: 20px;
  border: 1px solid rgba(186, 158, 105, 0.3);
  background: rgba(186, 158, 105, 0.08);
  color: var(--primary);
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s;
}

.notes-add-btn:hover {
  background: rgba(186, 158, 105, 0.2);
  border-color: var(--primary);
}

.notes-add-btn .material-symbols-outlined {
  font-size: 1rem;
}

.notes-add-form {
  background: rgba(35, 31, 32, 0.6);
  border: 1px solid rgba(186, 158, 105, 0.15);
  border-radius: 14px;
  padding: 1rem;
  margin-bottom: 1rem;
  animation: slideDown 0.2s ease-out;
}

@keyframes slideDown {
  from {
    opacity: 0;
    transform: translateY(-8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.notes-cancel-btn {
  padding: 0.35rem 0.8rem;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: transparent;
  color: var(--text-dim);
  font-size: 0.75rem;
  cursor: pointer;
  transition: all 0.15s;
}

.notes-cancel-btn:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-light);
}

.notes-save-btn {
  padding: 0.35rem 0.9rem;
  border-radius: 8px;
  border: none;
  background: var(--primary);
  color: var(--bg-dark);
  font-size: 0.75rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.15s;
}

.notes-save-btn:hover {
  background: #c9ad78;
  transform: translateY(-1px);
}

/* Timeline */
.notes-timeline {
  position: relative;
  padding-left: 16px;
}

.notes-timeline::before {
  content: '';
  position: absolute;
  left: 5px;
  top: 0;
  bottom: 0;
  width: 2px;
  background: rgba(186, 158, 105, 0.15);
  border-radius: 1px;
}

.notes-empty {
  font-size: 0.8rem;
  color: var(--text-dim);
  text-align: center;
  padding: 1.5rem 0;
  font-style: italic;
}

.note-card {
  position: relative;
  margin-bottom: 0.75rem;
  padding-left: 1rem;
}

.note-timeline-dot {
  position: absolute;
  left: -12px;
  top: 8px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid rgba(35, 31, 32, 0.9);
  z-index: 1;
}

.note-card-inner {
  background: rgba(35, 31, 32, 0.5);
  border: 1px solid rgba(186, 158, 105, 0.1);
  border-radius: 12px;
  padding: 0.7rem 0.85rem;
  transition: border-color 0.2s;
}

.note-card-inner:hover {
  border-color: rgba(186, 158, 105, 0.25);
}

.note-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.4rem;
}

.note-category-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.15rem 0.5rem;
  border-radius: 8px;
  font-size: 0.65rem;
  font-weight: 600;
  letter-spacing: 0.02em;
}

.note-delete-btn {
  background: none;
  border: none;
  color: var(--text-dim);
  cursor: pointer;
  padding: 0.15rem;
  border-radius: 6px;
  opacity: 0;
  transition: all 0.15s;
}

.note-card-inner:hover .note-delete-btn {
  opacity: 1;
}

.note-delete-btn:hover {
  color: #e74c3c;
  background: rgba(231, 76, 60, 0.1);
}

.note-card-body {
  font-size: 0.82rem;
  line-height: 1.5;
  color: var(--text-light);
  white-space: pre-wrap;
  word-break: break-word;
}

.note-card-footer {
  display: flex;
  gap: 0.75rem;
  margin-top: 0.4rem;
  flex-wrap: wrap;
}

.note-meta {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  font-size: 0.65rem;
  color: var(--text-dim);
}

/* ======= Staff Picker ======= */
.staff-list {
  max-height: 240px;
  overflow-y: auto;
  margin-bottom: 0.75rem;
}

.staff-item {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.55rem 0.6rem;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.15s;
  position: relative;
}

.staff-item:hover {
  background: rgba(186, 158, 105, 0.08);
}

.staff-item-active {
  background: rgba(186, 158, 105, 0.12);
  border: 1px solid rgba(186, 158, 105, 0.25);
}

.staff-item+.staff-item {
  margin-top: 0.3rem;
}

.staff-item-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), #8B7355);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.7rem;
  font-weight: 700;
  color: var(--bg-dark);
  flex-shrink: 0;
  letter-spacing: 0.02em;
}

.staff-item-info {
  flex: 1;
  min-width: 0;
}

.staff-item-name {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-light);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.staff-item-role {
  font-size: 0.65rem;
  color: var(--text-dim);
  margin-top: 0.1rem;
}

.staff-item-check {
  color: var(--primary);
  font-size: 1.1rem;
}

.staff-item-delete {
  background: none;
  border: none;
  color: var(--text-dim);
  cursor: pointer;
  padding: 0.2rem;
  border-radius: 6px;
  opacity: 0;
  transition: all 0.15s;
}

.staff-item:hover .staff-item-delete {
  opacity: 1;
}

.staff-item-delete:hover {
  color: #e74c3c;
  background: rgba(231, 76, 60, 0.1);
}

.staff-add-section {
  border-top: 1px solid rgba(186, 158, 105, 0.12);
  padding-top: 0.75rem;
}

/* Header avatar active state */
.header-avatar.has-user {
  background: linear-gradient(135deg, var(--primary), #8B7355);
  color: var(--bg-dark);
  box-shadow: 0 0 0 2px rgba(186, 158, 105, 0.3);
}

.header-avatar.has-user:hover {
  box-shadow: 0 0 0 3px rgba(186, 158, 105, 0.6);
  transform: scale(1.05);
}

/* ======= Staff Page ======= */
.staff-page {
  padding: 0 1rem 2rem;
}

.staff-page-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.25rem;
}

.staff-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 1rem;
}

.staff-empty {
  grid-column: 1 / -1;
  text-align: center;
  padding: 3rem 1rem;
  color: var(--text-dim);
}

/* Staff Card */
.sp-card {
  padding: 1.25rem;
  text-align: center;
  position: relative;
  transition: all 0.2s;
  border: 1px solid transparent;
}

.sp-card:hover {
  border-color: rgba(186, 158, 105, 0.2);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
}

.sp-card-active {
  border-color: rgba(186, 158, 105, 0.3) !important;
  box-shadow: 0 0 0 1px rgba(186, 158, 105, 0.15), 0 4px 16px rgba(0, 0, 0, 0.2);
}

.sp-active-badge {
  position: absolute;
  top: 0.5rem;
  right: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.2rem;
  font-size: 0.6rem;
  color: var(--primary);
  background: rgba(186, 158, 105, 0.1);
  padding: 0.15rem 0.45rem;
  border-radius: 8px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.sp-card-avatar {
  width: 72px;
  height: 72px;
  margin: 0 auto 0.6rem;
  border-radius: 50%;
  overflow: hidden;
  position: relative;
}

.sp-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
}

.sp-avatar-initials {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary), #8B7355);
  color: var(--bg-dark);
  font-size: 1.3rem;
  font-weight: 700;
  letter-spacing: 0.04em;
}

.sp-card-name {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text-light);
  margin-bottom: 0.15rem;
}

.sp-card-role {
  font-size: 0.7rem;
  color: var(--text-dim);
  margin-bottom: 0.5rem;
  font-style: italic;
}

.sp-card-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.3rem;
  justify-content: center;
  margin-bottom: 0.5rem;
  min-height: 1.4rem;
}

.sp-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  font-size: 0.6rem;
  padding: 0.15rem 0.45rem;
  border-radius: 6px;
  font-weight: 500;
}

.sp-badge-dept {
  background: rgba(59, 130, 246, 0.12);
  color: #60a5fa;
}

.sp-badge-brand {
  background: rgba(186, 158, 105, 0.12);
  color: var(--primary);
}

.sp-card-contact {
  display: flex;
  flex-direction: column;
  gap: 0.15rem;
  align-items: center;
  margin-bottom: 0.6rem;
  min-height: 1.2rem;
}

.sp-contact {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  font-size: 0.65rem;
  color: var(--text-dim);
}

.sp-card-actions {
  display: flex;
  gap: 0.3rem;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.15s;
}

.sp-card:hover .sp-card-actions {
  opacity: 1;
}

.sp-card-actions button {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-dim);
  padding: 0.3rem;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.15s;
}

.sp-card-actions button .material-symbols-outlined {
  font-size: 0.85rem;
}

.sp-card-actions button:hover {
  color: var(--text-light);
  background: rgba(255, 255, 255, 0.1);
}

.sp-delete-btn:hover {
  color: #e74c3c !important;
  background: rgba(231, 76, 60, 0.1) !important;
}

.sp-login-btn:hover {
  color: var(--primary) !important;
  background: rgba(186, 158, 105, 0.1) !important;
}

/* Staff Form — avatar section */
.sf-avatar-section {
  text-align: center;
}

.sf-avatar-preview {
  width: 90px;
  height: 90px;
  border-radius: 50%;
  margin: 0 auto;
  position: relative;
  cursor: pointer;
  overflow: hidden;
  border: 2px solid rgba(186, 158, 105, 0.2);
  transition: border-color 0.15s;
}

.sf-avatar-preview:hover {
  border-color: var(--primary);
}

.sf-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.sf-avatar-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary), #8B7355);
  color: var(--bg-dark);
  font-size: 1.6rem;
  font-weight: 700;
}

.sf-avatar-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.15s;
  color: white;
}

.sf-avatar-preview:hover .sf-avatar-overlay {
  opacity: 1;
}

/* ======= Staff Autocomplete Dropdown ======= */
.staff-autocomplete-dropdown {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  right: 0;
  z-index: 100;
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  max-height: 180px;
  overflow-y: auto;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.staff-ac-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 0.65rem;
  cursor: pointer;
  transition: background 0.1s;
}

.staff-ac-item:hover {
  background: rgba(186, 158, 105, 0.1);
}

.staff-ac-avatar {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
}

.staff-ac-initials {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--primary), #8B7355);
  color: var(--bg-dark);
  font-size: 0.55rem;
  font-weight: 700;
}

.staff-ac-name {
  font-size: 0.8rem;
  color: var(--text-light);
  flex: 1;
}

.staff-ac-dept {
  font-size: 0.65rem;
  color: var(--text-dim);
}

/* ======= Contracts Page ======= */
.contracts-page {
  padding: 0 1rem 2rem;
}

.contracts-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1rem;
}

.contracts-alerts {
  display: flex;
  gap: 0.75rem;
  margin-bottom: 1rem;
  flex-wrap: wrap;
}

.ct-alert {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 0.85rem;
  border-radius: 10px;
  font-size: 0.8rem;
  font-weight: 500;
}

.ct-alert-danger {
  background: rgba(231, 76, 60, 0.12);
  color: #e74c3c;
  border: 1px solid rgba(231, 76, 60, 0.2);
}

.ct-alert-warning {
  background: rgba(241, 196, 15, 0.12);
  color: #f1c40f;
  border: 1px solid rgba(241, 196, 15, 0.2);
}

.contracts-table-wrap {
  overflow-x: auto;
  padding: 0;
}

.contracts-empty {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--text-dim);
}

.contracts-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.8rem;
}

.contracts-table th {
  text-align: left;
  padding: 0.65rem 0.75rem;
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-dim);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  white-space: nowrap;
}

.contracts-table td {
  padding: 0.6rem 0.75rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  color: var(--text-light);
  vertical-align: middle;
}

.ct-row:hover td {
  background: rgba(186, 158, 105, 0.04);
}

.ct-talent-cell {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.ct-talent-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  border: 1px solid var(--primary-alpha-20);
  flex-shrink: 0;
}

.ct-talent-initials {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: var(--white-08);
  color: var(--text-muted);
  font-size: 0.6rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.ct-talent-name {
  font-weight: 600;
  font-size: 0.85rem;
}

.ct-talent-type {
  font-size: 0.6rem;
  color: var(--text-dim);
  background: rgba(255, 255, 255, 0.05);
  padding: 0.1rem 0.3rem;
  border-radius: 4px;
}

.ct-contract-type {
  font-size: 0.7rem;
  color: var(--primary);
}

.ct-status {
  display: inline-block;
  padding: 0.15rem 0.5rem;
  border-radius: 6px;
  font-size: 0.65rem;
  font-weight: 600;
  white-space: nowrap;
}

.ct-status-active {
  background: rgba(39, 174, 96, 0.12);
  color: #2ecc71;
}

.ct-status-expiring {
  background: rgba(241, 196, 15, 0.12);
  color: #f1c40f;
}

.ct-status-expired {
  background: rgba(231, 76, 60, 0.12);
  color: #e74c3c;
}

.ct-status-unknown {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-dim);
}

.ct-amount {
  font-weight: 600;
  color: var(--primary);
  white-space: nowrap;
}

.ct-link {
  display: inline-flex;
  align-items: center;
  gap: 0.2rem;
  color: var(--primary);
  text-decoration: none;
  font-size: 0.75rem;
}

.ct-link:hover {
  text-decoration: underline;
}

.ct-actions {
  display: flex;
  gap: 0.2rem;
}

.ct-actions button {
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-dim);
  padding: 0.2rem;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.15s;
}

.ct-actions button:hover {
  color: var(--text-light);
  background: rgba(255, 255, 255, 0.08);
}

.ct-detail-row td {
  padding: 0.3rem 0.75rem 0.6rem;
  font-size: 0.7rem;
  color: var(--text-dim);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.ct-detail-label {
  color: var(--text-muted);
  font-weight: 500;
}

/* ======= Extended Model Info in Detail Modal ======= */
.modal-model-info {
  margin-top: 0.75rem;
  padding: 0.75rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 10px;
}

.modal-model-info-title {
  font-size: 0.7rem;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.modal-model-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.4rem 1rem;
}

.modal-model-info-item {
  display: flex;
  flex-direction: column;
  gap: 0.1rem;
}

.modal-model-info-label {
  font-size: 0.6rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.modal-model-info-value {
  font-size: 0.8rem;
  color: var(--text-light);
  word-break: break-all;
}

.modal-model-info-value a {
  color: var(--primary);
  text-decoration: none;
}

.modal-model-info-value a:hover {
  text-decoration: underline;
}

/* ======= Campaign Sections ======= */
.campaign-section {
  margin-bottom: 1rem;
  padding: 1rem;
}

.campaign-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 0.75rem;
}

.campaign-title {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-display);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-light);
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin: 0;
}

.campaign-meta {
  display: flex;
  gap: 0.4rem;
  align-items: center;
  margin-top: 0.25rem;
  font-size: 0.7rem;
  color: var(--text-dim);
}

.camp-brand-badge {
  background: rgba(186, 158, 105, 0.12);
  color: var(--primary);
  padding: 0.1rem 0.4rem;
  border-radius: 4px;
  font-size: 0.6rem;
  font-weight: 600;
}

.camp-total {
  color: var(--primary);
  font-weight: 600;
}

.camp-delete-btn {
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--text-dim);
  padding: 0.2rem 0.3rem;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.15s;
}

.camp-delete-btn:hover {
  color: #e74c3c;
  border-color: rgba(231, 76, 60, 0.3);
}

/* Btn outline pill */
.btn-outline-pill {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  background: transparent;
  border: 1px solid var(--primary);
  color: var(--primary);
  padding: 0.4rem 0.85rem;
  border-radius: 20px;
  cursor: pointer;
  font-weight: 600;
  font-size: 0.75rem;
  transition: all 0.2s;
}

.btn-outline-pill:hover {
  background: rgba(186, 158, 105, 0.1);
}

/* ======= Drag & Drop ======= */
.booking-card[draggable] {
  cursor: grab;
  transition: transform 0.15s, opacity 0.15s;
}

.booking-card.dragging {
  opacity: 0.4;
  transform: scale(0.95);
}

.campaign-drop-zone {
  min-height: 60px;
  border: 2px dashed transparent;
  border-radius: 10px;
  transition: border-color 0.2s, background 0.2s;
  padding: 0.25rem;
}

.campaign-drop-zone.drop-active {
  border-color: var(--primary);
  background: rgba(186, 158, 105, 0.04);
}

/* ======= Booking Type Badges ======= */
.bk-type-badge {
  display: inline-block;
  font-size: 0.55rem;
  padding: 0.1rem 0.35rem;
  border-radius: 4px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.bk-type-kol {
  background: rgba(74, 144, 217, 0.15);
  color: #4A90D9;
}

.bk-type-koc {
  background: rgba(39, 174, 96, 0.15);
  color: #2ecc71;
}

.bk-type-model {
  background: rgba(186, 158, 105, 0.15);
  color: var(--primary);
}

.bk-type-khách-đẹp {
  background: rgba(155, 89, 182, 0.15);
  color: #9b59b6;
}

/* ======= Booking Card Footer (edit/delete/history) ======= */
.booking-card-footer {
  display: flex;
  justify-content: flex-end;
  gap: 0.2rem;
  padding-top: 0.5rem;
  border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.bk-card-edit,
.bk-card-delete,
.bk-card-history,
.bk-card-detail {
  background: none;
  border: 1px solid rgba(255, 255, 255, 0.06);
  color: var(--text-dim);
  padding: 0.2rem 0.3rem;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.15s;
}

.bk-card-edit:hover,
.bk-card-history:hover,
.bk-card-detail:hover {
  color: var(--text-light);
  background: rgba(255, 255, 255, 0.06);
}

.bk-card-detail:hover {
  color: var(--accent);
  border-color: rgba(186, 158, 105, 0.3);
}

.bk-card-delete:hover {
  color: #e74c3c;
  border-color: rgba(231, 76, 60, 0.3);
}

/* ======= Edit History ======= */
.bk-history-item {
  padding: 0.5rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.bk-history-item:last-child {
  border-bottom: none;
}

.bk-history-author {
  display: flex;
  align-items: center;
  gap: 0.3rem;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-light);
}

.bk-history-time {
  font-size: 0.65rem;
  color: var(--text-dim);
  margin-top: 0.1rem;
}

.bk-history-changes {
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-top: 0.2rem;
}

/* ======= Finance Bar Colors ======= */
.finance-bar-fill.campaign {
  background: linear-gradient(90deg, #9b59b6, #8e44ad);
}

.finance-bar-fill.brand {
  background: linear-gradient(90deg, var(--primary), #8B7355);
}

.finance-bar-fill.type {
  background: linear-gradient(90deg, #4A90D9, #2980b9);
}

/* ======= Finance Year Vertical Chart ======= */
.finance-bars-year {
  display: flex;
  gap: 1.5rem;
  align-items: flex-end;
  justify-content: center;
  padding: 1rem 0;
  min-height: 160px;
}

.finance-year-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.3rem;
  flex: 1;
  max-width: 80px;
}

.finance-year-bar-wrap {
  width: 100%;
  height: 120px;
  display: flex;
  align-items: flex-end;
}

.finance-year-bar {
  width: 100%;
  background: linear-gradient(180deg, var(--primary), #8B7355);
  border-radius: 6px 6px 0 0;
  min-height: 4px;
  transition: height 0.5s ease;
}

.finance-year-label {
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-light);
}

.finance-year-amount {
  font-size: 0.65rem;
  color: var(--primary);
  font-weight: 600;
}

/* ======= Bookings Empty ======= */
.bookings-empty {
  text-align: center;
  padding: 3rem 1rem;
  color: var(--text-dim);
}

/* ============================================
   AUTH UI — Login / Signup
   ============================================ */

.auth-wrapper {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--bg-page);
  padding: 1rem;
}

.auth-card {
  width: 100%;
  max-width: 420px;
  padding: 2.5rem 2rem;
  border-radius: 1.25rem;
  border: 1px solid var(--white-05);
  background: var(--bg-surface-alpha);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.4);
}

.auth-header {
  text-align: center;
  margin-bottom: 2rem;
}

.auth-title {
  font-family: 'Playfair Display', serif;
  font-size: 1.5rem;
  color: var(--text-light);
  margin: 0.75rem 0 0.25rem;
  letter-spacing: 0.1em;
}

.auth-subtitle {
  color: var(--primary);
  font-size: 0.85rem;
  font-weight: 500;
  margin: 0;
}

.auth-tabs {
  display: flex;
  gap: 0;
  margin-bottom: 1.75rem;
  border-radius: 0.5rem;
  overflow: hidden;
  border: 1px solid var(--white-05);
}

.auth-tab {
  flex: 1;
  padding: 0.65rem 1rem;
  border: none;
  background: transparent;
  color: var(--text-muted);
  cursor: pointer;
  font-family: 'Manrope', sans-serif;
  font-size: 0.85rem;
  font-weight: 600;
  transition: all 0.25s;
}

.auth-tab.active {
  background: var(--primary-alpha-20);
  color: var(--primary);
}

.auth-tab:hover:not(.active) {
  background: var(--white-05);
}

.auth-form .form-group {
  margin-bottom: 1.25rem;
}

.auth-form .form-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 0.4rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.auth-form .form-input {
  width: 100%;
  padding: 0.75rem 1rem;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--white-05);
  border-radius: 0.5rem;
  color: var(--text-light);
  font-family: 'Manrope', sans-serif;
  font-size: 0.9rem;
  transition: border-color 0.2s;
  box-sizing: border-box;
}

.auth-form .form-input:focus {
  outline: none;
  border-color: var(--primary);
  box-shadow: 0 0 0 3px var(--primary-alpha-15);
}

.auth-form .form-input::placeholder {
  color: var(--text-dim);
}

.auth-error {
  padding: 0.65rem 0.85rem;
  background: rgba(248, 113, 113, 0.12);
  border: 1px solid rgba(248, 113, 113, 0.3);
  border-radius: 0.5rem;
  color: #f87171;
  font-size: 0.8rem;
  margin-bottom: 1rem;
}

.auth-submit-btn {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.5rem;
  background: linear-gradient(135deg, var(--primary), #c9ae7c);
  color: #1a1714;
  border: none;
  border-radius: 0.5rem;
  font-family: 'Manrope', sans-serif;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.25s;
}

.auth-submit-btn:hover {
  transform: translateY(-1px);
  box-shadow: var(--primary-glow);
}

.auth-submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.auth-hint {
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-dim);
  margin-top: 1rem;
}

/* Header logout button */
.header-logout-btn {
  background: none;
  border: 1px solid var(--white-05);
  color: var(--text-muted);
  padding: 0.35rem 0.75rem;
  border-radius: 0.5rem;
  cursor: pointer;
  font-family: 'Manrope', sans-serif;
  font-size: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.3rem;
  transition: all 0.2s;
}

.header-logout-btn:hover {
  border-color: #f87171;
  color: #f87171;
}

.header-logout-btn .material-symbols-outlined {
  font-size: 0.9rem;
}

/* ======= Booking Detail Modal ======= */
.bkd-modal {
  max-width: 600px;
  width: 94%;
  padding: 1.5rem;
  max-height: 85vh;
  overflow-y: auto;
}

.bkd-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1.2rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.bkd-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: var(--glass-bg);
  border: 2px solid var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  overflow: hidden;
}

.bkd-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.bkd-avatar-initials {
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--accent);
}

.bkd-header-info {
  flex: 1;
  min-width: 0;
}

.bkd-title-row {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.bkd-name {
  font-family: var(--font-display);
  font-size: 1.3rem;
  font-weight: 700;
  color: var(--text-light);
}

.bkd-type-badge {
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
}

.bkd-datetime {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 0.3rem;
}

.bkd-info-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.6rem;
  margin-bottom: 1rem;
}

.bkd-info-item {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  padding: 0.6rem 0.8rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 8px;
}

.bkd-info-item>.material-symbols-outlined {
  font-size: 1rem;
  color: var(--accent);
  margin-top: 0.1rem;
}

.bkd-info-label {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-dim);
  margin-bottom: 0.1rem;
}

.bkd-info-value {
  font-size: 0.85rem;
  color: var(--text-light);
  font-weight: 500;
}

.bkd-section {
  margin-bottom: 1rem;
  padding: 0.8rem;
  background: rgba(255, 255, 255, 0.015);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 10px;
}

.bkd-section-title {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-family: var(--font-display);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent);
  margin-bottom: 0.7rem;
}

.bkd-section-title .material-symbols-outlined {
  font-size: 1rem;
}

.bkd-costume-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
  gap: 0.6rem;
}

.bkd-costume-item {
  position: relative;
  border-radius: 8px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(0, 0, 0, 0.2);
}

.bkd-costume-img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  display: block;
}

.bkd-costume-caption {
  padding: 0.4rem 0.5rem;
  font-size: 0.7rem;
  color: var(--text-muted);
  text-align: center;
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.03em;
  background: rgba(0, 0, 0, 0.4);
}

.bkd-costume-remove {
  position: absolute;
  top: 4px;
  right: 4px;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  border: none;
  background: rgba(0, 0, 0, 0.7);
  color: #f87171;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: opacity 0.2s;
}

.bkd-costume-item:hover .bkd-costume-remove {
  opacity: 1;
}

.bkd-costume-remove .material-symbols-outlined {
  font-size: 0.8rem;
}

.bkd-costume-add {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.3rem;
  min-height: 120px;
  border: 2px dashed rgba(255, 255, 255, 0.08);
  border-radius: 8px;
  cursor: pointer;
  color: var(--text-dim);
  font-size: 0.75rem;
  font-weight: 500;
  transition: all 0.2s;
}

.bkd-costume-add:hover {
  border-color: var(--accent);
  color: var(--accent);
  background: rgba(186, 158, 105, 0.05);
}

.bkd-costume-add .material-symbols-outlined {
  font-size: 1.5rem;
}

.bkd-size-row {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.bkd-size-btn {
  padding: 0.35rem 0.8rem;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.02);
  color: var(--text-dim);
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s;
}

.bkd-size-btn:hover {
  border-color: rgba(186, 158, 105, 0.3);
  color: var(--text-light);
}

.bkd-size-btn.active {
  background: var(--accent);
  border-color: var(--accent);
  color: var(--bg-dark);
}

.bkd-notes {
  font-size: 0.82rem;
  color: var(--text-muted);
  line-height: 1.5;
  white-space: pre-wrap;
}