/* :root theme vars, global reset, body, loading-screen/spinner, header/logo/
   icon-btn/profile-btn all now come from shared-components.css. */

body { background: #000000; }

/* Main Container */
.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px;
  position: relative;
  z-index: 2;
  padding-bottom: 100px;
}

/* Page Header */
.page-header {
  margin: 20px 0 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.page-title {
  font-family: 'Orbitron', sans-serif;
  font-size: 32px;
  font-weight: 700;
  background: linear-gradient(135deg, var(--soft-white), var(--warm-gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 8px;
}

@media (max-width: 1024px) {
  .page-title { font-size: 22px; }
}
@media (max-width: 480px) {
  .page-title { font-size: 18px; }
}

.page-subtitle {
  font-size: 14px;
  color: var(--slate-grey);
}

.refresh-btn {
  width: 48px;
  height: 48px;
  border-radius: 50%;
  background: rgba(6, 20, 26, 0.75);
  border: 1px solid rgba(0, 229, 255, 0.3);
  color: var(--bantu-blue);
  font-size: 20px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

@media (max-width: 480px) {
  .refresh-btn { width: 36px; height: 36px; font-size: 15px; }
}

.refresh-btn:hover {
  transform: rotate(180deg);
  border-color: var(--warm-gold);
  color: var(--warm-gold);
}

/* My Playlists (creator_playlists) — card shape matches the platform-wide
   playlist-card pattern (css/my-space/my-space.css's .playlist-card). */
.playlists-section {
  margin-bottom: 30px;
}

.section-title {
  font-family: 'Orbitron', sans-serif;
  font-size: 18px;
  font-weight: 600;
  color: var(--soft-white);
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0 0 16px;
}

.section-title i {
  color: var(--warm-gold);
}

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

.playlist-card {
  position: relative;
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  overflow: hidden;
  /* Grid item inside .playlists-grid; .playlist-card-title uses
     white-space:nowrap for its ellipsis, so without this a long
     playlist name forces the card (and grid) wider than the viewport. */
  min-width: 0;
  transition: transform 0.2s ease;
}

.playlist-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 229, 255, 0.3);
}

.playlist-card-thumb {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--deep-navy);
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
}

.playlist-card-thumb .playlist-icon-placeholder {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(0, 229, 255, 0.18);
  border: 1px solid rgba(0, 229, 255, 0.45);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.playlist-card-thumb .playlist-icon-placeholder i {
  font-size: 16px;
  color: var(--bantu-blue);
}

.playlist-card-count {
  position: absolute;
  bottom: 8px;
  right: 8px;
  font-size: 10px;
  color: white;
  background: rgba(0, 0, 0, 0.75);
  padding: 3px 8px;
  border-radius: 20px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.playlist-card-body {
  padding: 12px;
}

.playlist-card-title {
  font-size: 13px;
  font-weight: 600;
  color: var(--soft-white);
  margin: 0 0 3px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.playlist-card-meta {
  font-size: 11px;
  color: var(--slate-grey);
  margin: 0;
  text-transform: capitalize;
}

.playlist-card-actions {
  position: absolute;
  top: 8px;
  right: 8px;
  display: flex;
  gap: 6px;
  /* Always visible rather than hover-revealed — :hover doesn't fire
     reliably on touch devices, which would leave mobile/tablet users
     with no way to see or reach these buttons at all. */
}

.playlist-edit-btn,
.playlist-delete-btn {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: rgba(6, 20, 26, 0.75);
  border: 1px solid rgba(0, 229, 255, 0.3);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--soft-white);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.playlist-edit-btn:hover {
  background: rgba(0, 229, 255, 0.25);
  border-color: rgba(0, 229, 255, 0.5);
  color: #00E5FF;
}

.playlist-delete-btn:hover {
  background: rgba(239, 68, 68, 0.8);
  border-color: var(--error-color);
}

/* Search and Filter Section */
.search-filter-section {
  margin-bottom: 30px;
}

.search-container {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  padding: 4px 16px;
  display: flex;
  align-items: center;
  margin-bottom: 20px;
  backdrop-filter: blur(10px);
}

.search-icon {
  color: var(--slate-grey);
  font-size: 18px;
  margin-right: 12px;
}

.search-input {
  flex: 1;
  background: transparent;
  border: none;
  padding: 16px 0;
  color: var(--soft-white);
  font-size: 16px;
  outline: none;
}

.search-input::placeholder {
  color: var(--slate-grey);
}

.clear-search {
  background: transparent;
  border: none;
  color: var(--slate-grey);
  cursor: pointer;
  font-size: 18px;
  padding: 8px;
  transition: color 0.3s ease;
}

.clear-search:hover {
  color: var(--soft-white);
}

/* ============================================
   GLASS PILL FILTER TABS — same recipe as css/creator-dashboard.css's
   .glass-tabs/.glass-tab (creator-channel-aligned design system). Kept as
   its own filter-chips/filter-chip class name since the JS below still
   dispatches on those, just restyled to match. Thin/glassmorphic on every
   breakpoint, tighter padding under 768px.
   ============================================ */
.filter-chips {
  display: flex;
  gap: 6px;
  padding: 4px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 999px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  overflow-x: auto;
  scrollbar-width: none;
}

.filter-chips::-webkit-scrollbar {
  display: none;
}

.filter-chip {
  flex-shrink: 0;
  padding: 9px 18px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--slate-grey);
  font-size: var(--font-sm);
  font-weight: 500;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.25s ease;
}

.filter-chip:hover {
  color: var(--soft-white);
}

.filter-chip.active {
  background: rgba(0, 229, 255, 0.12);
  border-color: rgba(0, 229, 255, 0.4);
  color: var(--bantu-blue);
  box-shadow: 0 0 12px rgba(0, 229, 255, 0.15);
}

@media (max-width: 767px) {
  .filter-chips { padding: 3px; gap: 4px; }
  .filter-chip { padding: 7px 14px; font-size: var(--font-xs); }
}

/* ============================================
   CONTENT GRID — same card recipe as css/creator-channel.css's
   .upload-grid/.upload-card (creator's own channel) and
   css/creator-dashboard.css's .uc-grid/.uc-card (dashboard preview), so a
   creator's content looks identical everywhere it appears. Card itself is
   just the thumbnail+title+views (click -> content-detail.html); the
   real per-item actions (Edit/Insights/View/Delete) live in a slim row
   below, since creator-channel's cards have no equivalent to reuse.
   ============================================ */
.content-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}
@media (min-width: 480px) { .content-grid { grid-template-columns: repeat(2, 1fr); } }
@media (min-width: 768px) { .content-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1200px) { .content-grid { grid-template-columns: repeat(3, 1fr); } }
@media (min-width: 1600px) { .content-grid { grid-template-columns: repeat(4, 1fr); } }

.content-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  overflow: hidden;
  backdrop-filter: blur(10px);
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.content-card:hover {
  transform: translateY(-4px);
  border-color: rgba(0, 229, 255, 0.35);
}

.thumbnail-container {
  position: relative;
  aspect-ratio: 16 / 9;
  background: var(--deep-black);
  overflow: hidden;
  cursor: pointer;
}

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

.thumbnail-placeholder {
  width: 100%;
  height: 100%;
  background: linear-gradient(135deg, var(--deep-navy), var(--deep-black));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  color: var(--slate-grey);
}

/* Play icon on card thumbnails — verbatim recipe from css/home-feed-ui.css
   (the canonical source; same one trending_screen.html's content cards use):
   transparent glassmorphic circle, cyan border, no solid fill. */
.play-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.3s ease; z-index: 3;
}
.content-card:hover .play-overlay { opacity: 1; }
.play-icon {
  width: 50px; height: 50px;
  background: rgba(6, 20, 26, 0.75);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  border: 1px solid rgba(0, 229, 255, 0.4);
  border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: #00E5FF; font-size: 20px;
  transform: scale(0.8);
  transition: transform 0.3s ease, border-color 0.3s ease;
}
.content-card:hover .play-icon { transform: scale(1); }

.content-info {
  padding: 10px 12px 8px;
}

.title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 8px;
  margin-bottom: 6px;
}

.content-title {
  font-size: 13px;
  font-weight: 500;
  color: var(--soft-white);
  flex: 1;
  line-height: 1.4;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
@media (min-width: 1200px) { .content-title { font-size: 14px; } }

.status-badge {
  flex-shrink: 0;
  padding: 2px 8px;
  border-radius: 10px;
  font-size: 9px;
  font-weight: 600;
  white-space: nowrap;
}

.status-badge.published {
  background: rgba(0, 229, 255, 0.2);
  color: var(--warm-gold);
}

.status-badge.draft {
  background: rgba(148, 163, 184, 0.2);
  color: var(--slate-grey);
}

.metadata-row {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-bottom: 8px;
}

.metadata-chip {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 2px 8px;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid rgba(148, 163, 184, 0.2);
  border-radius: 6px;
  color: var(--slate-grey);
  font-size: 10px;
}

.metadata-chip i {
  font-size: 10px;
  color: var(--warm-gold);
}

.stats-row {
  display: flex;
  gap: 14px;
}

.stat-item {
  display: flex;
  align-items: center;
  gap: 5px;
}

.stat-icon {
  font-size: 12px;
}

.stat-icon.views { color: var(--bantu-blue); }
.stat-icon.likes { color: var(--error-color); }
.stat-icon.comments { color: var(--warm-gold); }

.stat-value {
  font-weight: 600;
  font-size: 11px;
  color: var(--soft-white);
}

/* Action Buttons — slim icon row, not the card itself */
.action-buttons {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 4px;
  padding: 8px;
  background: rgba(0, 0, 0, 0.2);
  border-top: 1px solid var(--card-border);
}

.action-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
  padding: 7px 4px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 8px;
  color: var(--slate-grey);
  font-size: 9px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
}

.action-btn i {
  font-size: 13px;
}

.action-btn:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.1);
}

.action-btn.edit:hover {
  border-color: var(--bantu-blue);
  color: var(--bantu-blue);
  box-shadow: 0 5px 15px rgba(0, 229, 255, 0.3);
}

.action-btn.insights:hover {
  border-color: var(--warm-gold);
  color: var(--warm-gold);
  box-shadow: 0 5px 15px rgba(0, 229, 255, 0.3);
}

.action-btn.view:hover {
  border-color: var(--soft-white);
  color: var(--soft-white);
  box-shadow: 0 5px 15px rgba(255, 255, 255, 0.1);
}

.action-btn.delete:hover {
  border-color: var(--error-color);
  color: var(--error-color);
  box-shadow: 0 5px 15px rgba(239, 68, 68, 0.3);
}

/* Empty State */
.empty-state {
  text-align: center;
  padding: 80px 20px;
  background: rgba(6, 20, 26, 0.75);
  border: 1px solid rgba(0, 229, 255, 0.3);
  border-radius: 16px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.empty-icon {
  font-size: 80px;
  color: var(--slate-grey);
  margin-bottom: 24px;
  opacity: 0.5;
}

.empty-title {
  font-family: 'Orbitron', sans-serif;
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 16px;
  color: var(--soft-white);
}

.empty-text {
  color: var(--slate-grey);
  font-size: 16px;
  line-height: 1.6;
  margin-bottom: 32px;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

@media (max-width: 480px) {
  .empty-state { padding: 40px 16px; }
  .empty-icon { font-size: 48px; margin-bottom: 16px; }
  .empty-title { font-size: 17px; margin-bottom: 10px; }
  .empty-text { font-size: 13px; margin-bottom: 20px; }
}

.upload-now-btn {
  background: linear-gradient(135deg, var(--bantu-blue), var(--warm-gold));
  color: var(--soft-white);
  border: none;
  padding: 14px 32px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 12px;
}

.upload-now-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 25px rgba(0, 229, 255, 0.4);
}

/* Error State */
.error-state {
  text-align: center;
  padding: 60px 20px;
  max-width: 600px;
  margin: 0 auto;
  background: rgba(6, 20, 26, 0.75);
  border: 1px solid rgba(0, 229, 255, 0.3);
  border-radius: 16px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.error-icon {
  font-size: 60px;
  color: var(--error-color);
  margin-bottom: 20px;
}

.error-title {
  font-size: 24px;
  font-weight: 600;
  color: var(--soft-white);
  margin-bottom: 10px;
}

.error-message {
  color: var(--slate-grey);
  margin-bottom: 30px;
  line-height: 1.6;
}

@media (max-width: 480px) {
  .error-state { padding: 30px 16px; }
  .error-icon { font-size: 40px; margin-bottom: 12px; }
  .error-title { font-size: 17px; }
  .error-message { font-size: 13px; margin-bottom: 20px; }
}

.error-actions {
  display: flex;
  gap: 15px;
  justify-content: center;
}

/* Modal Styles */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0, 0, 0, 0.8);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 20px;
}

.modal-content {
  background: var(--card-bg);
  backdrop-filter: blur(20px);
  border-radius: 20px;
  padding: 30px;
  width: 100%;
  max-width: 500px;
  border: 1px solid var(--card-border);
}

.modal-header {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 20px;
}

.modal-icon {
  font-size: 24px;
  color: var(--warm-gold);
}

.modal-title {
  font-family: 'Orbitron', sans-serif;
  font-size: 20px;
  font-weight: 700;
  color: var(--soft-white);
  flex: 1;
}

.modal-close {
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.5);
  font-size: 20px;
  cursor: pointer;
  width: 30px;
  height: 30px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.modal-close:hover {
  background: rgba(255, 255, 255, 0.1);
}

.modal-body {
  margin-bottom: 25px;
}

.modal-note {
  font-size: 14px;
  color: var(--slate-grey);
  line-height: 1.5;
  margin-top: 15px;
  padding: 15px;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  border-radius: 12px;
  color: var(--error-color);
}

.modal-actions {
  display: flex;
  gap: 15px;
}

.modal-btn {
  flex: 1;
  padding: 15px;
  border-radius: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  border: none;
  font-size: 16px;
}

.modal-btn.primary {
  background: var(--error-color);
  color: white;
}

.modal-btn.primary:hover {
  background: #dc2626;
  transform: translateY(-2px);
}

.modal-btn.secondary {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.modal-btn.secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

/* Insights Modal Specific */
/* Content Insights modal cards — same thin/glassmorphic/cyan-highlight
   recipe. Always stays 2x2, never stacks to a single column on mobile. */
.insights-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  margin-bottom: 20px;
}

.insight-card {
  background: rgba(6, 20, 26, 0.75);
  border: 1px solid rgba(0, 229, 255, 0.3);
  border-radius: 12px;
  padding: 14px;
  text-align: center;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 0 12px rgba(0, 229, 255, 0.08);
}

.insight-icon {
  font-size: 22px;
  margin-bottom: 8px;
}

.insight-icon.views { color: var(--bantu-blue); }
.insight-icon.likes { color: var(--error-color); }
.insight-icon.comments { color: var(--warm-gold); }
.insight-icon.earnings { color: var(--success-color); }

.insight-value {
  font-family: 'Orbitron', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: var(--soft-white);
  margin-bottom: 4px;
}

.insight-label {
  font-size: 10px;
  color: var(--slate-grey);
}

@media (max-width: 480px) {
  .insights-grid { gap: 6px; }
  .insight-card { padding: 10px 6px; border-radius: 10px; }
  .insight-icon { font-size: 17px; margin-bottom: 5px; }
  .insight-value { font-size: 14px; }
  .insight-label { font-size: 8.5px; }
}

.performance-bar {
  background: rgba(6, 20, 26, 0.75);
  border: 1px solid rgba(0, 229, 255, 0.3);
  border-radius: 14px;
  padding: 16px;
  margin-bottom: 20px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.performance-label {
  display: flex;
  justify-content: space-between;
  margin-bottom: 8px;
  font-size: 14px;
  color: var(--slate-grey);
}

.performance-progress {
  height: 8px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  overflow: hidden;
  margin-bottom: 16px;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--bantu-blue), var(--warm-gold));
  border-radius: 4px;
  transition: width 0.3s ease;
}

/* Creator Summary Card — thin/glassmorphic/cyan-highlight recipe, same as
   creator-dashboard.css/watch-history.css this session. 3 columns now that
   Earnings is hidden (no real payout flow exists yet), always a single row
   even on mobile/tablet - never stacked. */
.creator-summary {
  background: rgba(6, 20, 26, 0.75);
  border: 1px solid rgba(0, 229, 255, 0.3);
  border-radius: 14px;
  padding: 14px 10px;
  margin-bottom: 24px;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  box-shadow: 0 0 12px rgba(0, 229, 255, 0.08);
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
}

@media (max-width: 767px) {
  .creator-summary { padding: 10px 6px; gap: 6px; border-radius: 10px; }
}

.summary-item {
  text-align: center;
}

.summary-label {
  font-size: 12px;
  color: var(--slate-grey);
  margin-bottom: 4px;
}

@media (max-width: 767px) {
  .summary-label { font-size: 9px; }
}

.summary-value {
  font-family: 'Orbitron', sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--soft-white);
  margin-bottom: 4px;
}

.summary-sub {
  font-size: 11px;
  color: var(--warm-gold);
}

@media (max-width: 767px) {
  .summary-value { font-size: 15px; }
  .summary-sub { font-size: 8.5px; }
}

.monetization-badge {
  display: inline-block;
  padding: 4px 8px;
  border-radius: 12px;
  font-size: 10px;
  font-weight: 600;
  background: rgba(16, 185, 129, 0.2);
  color: var(--success-color);
}

/* Edit Modal Specific */
.edit-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.form-label {
  font-size: 14px;
  font-weight: 600;
  color: var(--soft-white);
}

.form-input,
.form-select,
.form-textarea {
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  padding: 12px 16px;
  color: var(--soft-white);
  font-size: 14px;
  outline: none;
  transition: all 0.3s ease;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: var(--warm-gold);
}

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

.save-btn {
  background: linear-gradient(135deg, var(--bantu-blue), var(--warm-gold));
  color: white;
  border: none;
  padding: 15px;
  border-radius: 12px;
  font-size: 16px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
}

.save-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px rgba(0, 229, 255, 0.4);
}

/* Toast Container */
#toast-container {
  position: fixed;
  bottom: 20px;
  right: 20px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast {
  padding: 15px 25px;
  border-radius: 12px;
  color: var(--soft-white);
  font-weight: 500;
  max-width: 300px;
  backdrop-filter: blur(10px);
  border: 1px solid var(--card-border);
  display: flex;
  align-items: center;
  gap: 10px;
  animation: slideIn 0.3s ease;
}

/* .toast.success/.error/.warning/.info (space-separated class) removed:
   dead code now that every page's showToast() has been consolidated onto
   shared-components.js's global version, which generates .toast-success/
   .toast-error/etc (hyphenated) instead - the cyan design system's actual
   selectors. This block's hardcoded green/red never matches anymore. */

@keyframes slideIn {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* .global-nav/.nav-item (bottom nav) removed — replaced by the canonical sidebar. */

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: var(--deep-navy);
}

::-webkit-scrollbar-thumb {
  background: var(--bantu-blue);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--warm-gold);
}

/* Responsive */
@media (max-width: 768px) {
  .container {
    padding: 16px;
  }

  .error-actions {
    flex-direction: column;
  }

  .modal-actions {
    flex-direction: column;
  }
}
