:root {
  --bg-main: #09090b;
  --bg-card: #121217;
  --bg-card-hover: #181820;
  --bg-input: #0c0c10;
  --border: #22222b;
  --border-focus: #dc2626;
  --text-primary: #f4f4f5;
  --text-secondary: #a1a1aa;
  --text-muted: #71717a;
  --accent-gold: #f59e0b;
  --accent-blue: #38bdf8;
  --accent-emerald: #10b981;
  --accent-red: #dc2626;
  --accent-purple: #a855f7;
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.6), 0 8px 10px -6px rgba(0, 0, 0, 0.5);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
}

body {
  background-color: var(--bg-main);
  color: var(--text-primary);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  overflow-x: hidden;
  -webkit-tap-highlight-color: transparent;
  padding-bottom: env(safe-area-inset-bottom, 0px);
}

.hidden {
  display: none !important;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 600;
  cursor: pointer;
  border: 1px solid transparent;
  transition: all 0.2s ease;
}

.btn-primary {
  background: linear-gradient(135deg, #dc2626, #b91c1c);
  color: #fff;
  border-color: #ef4444;
}

.btn-primary:hover {
  background: linear-gradient(135deg, #ef4444, #dc2626);
  box-shadow: 0 0 16px rgba(220, 38, 38, 0.45);
}

.btn-outline {
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-secondary);
  border-color: var(--border);
}

.btn-outline:hover {
  background: var(--bg-card-hover);
  color: var(--text-primary);
  border-color: #38bdf8;
}

.btn-sm {
  padding: 5px 10px;
  font-size: 0.8rem;
}

.btn-block {
  width: 100%;
}

/* Login View */
#login-view {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  padding: 20px;
  background: radial-gradient(circle at 50% 20%, #172554 0%, #0b0f19 80%);
}

.login-card {
  width: 100%;
  max-width: 440px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 40px;
  box-shadow: var(--shadow);
}

.login-header {
  text-align: center;
  margin-bottom: 28px;
}

.logo-badge {
  display: inline-block;
  padding: 4px 12px;
  border-radius: 999px;
  background: rgba(245, 158, 11, 0.15);
  color: var(--accent-gold);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.login-header h1 {
  font-size: 1.6rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.subtitle {
  color: var(--text-secondary);
  font-size: 0.88rem;
}

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

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

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 12px 14px;
  background: var(--bg-input);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: 0.95rem;
  outline: none;
  transition: border-color 0.2s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  border-color: var(--border-focus);
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.2);
}

.error-msg {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid var(--accent-red);
  color: #fca5a5;
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  margin-bottom: 18px;
}

.login-footer {
  margin-top: 24px;
  text-align: center;
  border-top: 1px solid var(--border);
  padding-top: 18px;
}

.login-footer p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.login-footer .hint {
  font-size: 0.75rem;
  margin-top: 4px;
  color: #64748b;
}

/* Dashboard View */
.navbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 28px;
  background: rgba(15, 23, 42, 0.9);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-badge {
  background: #dc2626;
  color: #fff;
  font-size: 0.72rem;
  font-weight: 800;
  padding: 4px 9px;
  border-radius: 4px;
  letter-spacing: 0.6px;
}

.nav-brand h2 {
  font-size: 1.25rem;
  font-weight: 700;
}

.nav-controls {
  display: flex;
  align-items: center;
  gap: 20px;
}

.band-selector {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.band-selector select {
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-primary);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  outline: none;
}

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

.badge-role {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 999px;
  background: rgba(16, 185, 129, 0.2);
  color: var(--accent-emerald);
}

.badge-role.admin {
  background: rgba(245, 158, 11, 0.2);
  color: var(--accent-gold);
}

.user-name {
  font-size: 0.9rem;
  font-weight: 600;
}

/* Main Content */
.main-content {
  max-width: 1280px;
  margin: 0 auto;
  padding: 28px 20px 60px;
  width: 100%;
}

.band-banner {
  background: linear-gradient(135deg, #1e293b, #0f172a);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 28px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
  box-shadow: var(--shadow);
}

.genre-pill {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 999px;
  background: rgba(56, 189, 248, 0.15);
  color: var(--accent-blue);
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 8px;
}

.band-banner h1 {
  font-size: 2.1rem;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.banner-desc {
  color: var(--text-secondary);
  font-size: 0.92rem;
  margin-top: 4px;
}

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

.stat-card {
  background: rgba(15, 23, 42, 0.7);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  text-align: center;
  min-width: 130px;
}

.stat-num {
  display: block;
  font-size: 1.7rem;
  font-weight: 800;
  color: var(--accent-gold);
}

.stat-label {
  font-size: 0.72rem;
  color: var(--text-muted);
}

/* Tabs */
.content-tabs {
  display: flex;
  gap: 6px;
  background: #111115;
  border: 1px solid var(--border);
  padding: 6px;
  border-radius: var(--radius-sm);
  margin-bottom: 26px;
  overflow-x: auto;
}

.tab-btn {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-size: 0.88rem;
  font-weight: 600;
  padding: 9px 16px;
  cursor: pointer;
  border-radius: 4px;
  transition: all 0.15s ease;
  white-space: nowrap;
}

.tab-btn:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
}

.tab-btn.active {
  background: #dc2626;
  color: #fff;
  box-shadow: 0 2px 10px rgba(220, 38, 38, 0.35);
}

.tab-panel {
  animation: fadeIn 0.25s ease;
}

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

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.section-header h3 {
  font-size: 1.25rem;
  font-weight: 700;
}

.section-sub {
  color: var(--text-secondary);
  font-size: 0.85rem;
  margin-top: 2px;
}

/* ========================================================
   TAB 1: Wöchentlicher Bearbeitungsplan (Accordion)
   ======================================================== */
.accordion-list {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.week-row-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.2s;
}

.week-row-card:hover {
  border-color: #38bdf8;
}

.week-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  cursor: pointer;
  user-select: none;
  background: rgba(255, 255, 255, 0.015);
}

.week-left {
  display: flex;
  align-items: center;
  gap: 12px;
  flex: 1;
  min-width: 0;
}

.week-badge {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-primary);
  font-weight: 700;
  font-size: 0.84rem;
  padding: 5px 11px;
  border-radius: 4px;
  border: 1px solid var(--border);
  white-space: nowrap;
  flex-shrink: 0;
}

.week-focus-text {
  font-weight: 500;
  font-size: 0.88rem;
  color: var(--text-secondary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 440px;
  flex-shrink: 1;
}

.week-toggle-icon {
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: transform 0.2s;
}

.week-row-card.open .week-toggle-icon {
  transform: rotate(180deg);
}

.week-drawer {
  display: none;
  padding: 16px 20px 20px;
  border-top: 1px solid var(--border);
  background: rgba(11, 15, 25, 0.5);
}

.week-row-card.open .week-drawer {
  display: block;
}

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

.week-task-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 10px 14px;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  font-size: 0.9rem;
}

.task-day {
  font-weight: 700;
  color: var(--accent-gold);
  min-width: 90px;
}

.task-name {
  flex: 1;
}

/* ========================================================
   TAB 2: Content-Plan (Cards)
   ======================================================== */
.grid-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 18px;
}

.content-plan-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: transform 0.2s, border-color 0.2s;
}

.content-plan-card:hover {
  transform: translateY(-2px);
  border-color: #38bdf8;
}

.content-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 12px;
}

.category-tag {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.08);
  color: var(--text-secondary);
  text-transform: uppercase;
}

.workflow-pill {
  font-size: 0.75rem;
  font-weight: 700;
  padding: 4px 10px;
  border-radius: 999px;
  white-space: nowrap;
}

.workflow-todo_shoot {
  background: rgba(239, 68, 68, 0.15);
  color: #fca5a5;
  border: 1px solid rgba(239, 68, 68, 0.4);
}

.workflow-in_progress {
  background: rgba(245, 158, 11, 0.15);
  color: var(--accent-gold);
  border: 1px solid rgba(245, 158, 11, 0.4);
}

.workflow-done {
  background: rgba(16, 185, 129, 0.15);
  color: var(--accent-emerald);
  border: 1px solid rgba(16, 185, 129, 0.4);
}

.content-plan-card h4 {
  font-size: 1.05rem;
  font-weight: 700;
  margin-bottom: 12px;
  line-height: 1.4;
}

.content-timeline-meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 0.85rem;
  background: rgba(11, 15, 25, 0.5);
  padding: 10px 12px;
  border-radius: var(--radius-sm);
  margin-bottom: 12px;
  border: 1px solid rgba(255, 255, 255, 0.05);
}

/* ========================================================
   TAB 2: Content-Plan (Kalenderwochen & Tagesansicht wie Bild 2)
   ======================================================== */
.calendar-table-wrapper {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow-x: auto;
  box-shadow: var(--shadow);
}

.cal-table {
  width: 100%;
  min-width: 980px;
  border-collapse: collapse;
  text-align: left;
}

.cal-table th {
  background: rgba(15, 23, 42, 0.95);
  color: var(--text-muted);
  font-weight: 700;
  font-size: 0.8rem;
  text-transform: uppercase;
  padding: 14px 12px;
  border-bottom: 2px solid var(--border);
  border-right: 1px solid rgba(255, 255, 255, 0.05);
}

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

.cal-col-kw {
  width: 140px;
}

.cal-col-week {
  width: 220px;
}

.cal-col-day {
  width: calc((100% - 360px) / 7);
  min-width: 100px;
}

.cal-table td {
  padding: 12px 10px;
  border-bottom: 1px solid var(--border);
  border-right: 1px solid rgba(255, 255, 255, 0.04);
  vertical-align: top;
  font-size: 0.85rem;
  background: rgba(255, 255, 255, 0.01);
}

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

.cal-table tr:hover td {
  background: rgba(255, 255, 255, 0.025);
}

.cal-kw-badge {
  display: inline-block;
  background: rgba(56, 189, 248, 0.15);
  color: var(--accent-blue);
  font-weight: 700;
  font-size: 0.88rem;
  padding: 4px 8px;
  border-radius: var(--radius-sm);
  border: 1px solid rgba(56, 189, 248, 0.3);
  margin-bottom: 4px;
}

.cal-kw-dates {
  font-size: 0.75rem;
  color: var(--text-muted);
  display: block;
}

.cal-week-summary-box {
  background: rgba(11, 15, 25, 0.6);
  border-left: 3px solid var(--accent-gold);
  padding: 8px 10px;
  border-radius: 4px;
  font-size: 0.82rem;
  line-height: 1.4;
  color: var(--text-primary);
  font-weight: 500;
}

.cal-day-cell {
  min-height: 80px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.cal-pill {
  padding: 6px 8px;
  border-radius: 5px;
  font-size: 0.78rem;
  font-weight: 600;
  line-height: 1.3;
  cursor: pointer;
  transition: transform 0.15s, box-shadow 0.15s;
  display: block;
  text-decoration: none;
}

.cal-pill:hover {
  transform: translateY(-1px);
  filter: brightness(1.15);
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.pill-todo_shoot {
  background: rgba(239, 68, 68, 0.2);
  color: #fca5a5;
  border: 1px solid rgba(239, 68, 68, 0.4);
}

.pill-in_progress {
  background: rgba(56, 189, 248, 0.2);
  color: #bae6fd;
  border: 1px solid rgba(56, 189, 248, 0.4);
}

.pill-planned {
  background: rgba(245, 158, 11, 0.2);
  color: #fde68a;
  border: 1px solid rgba(245, 158, 11, 0.4);
}

.pill-done {
  background: rgba(16, 185, 129, 0.2);
  color: #a7f3d0;
  border: 1px solid rgba(16, 185, 129, 0.4);
}

.pill-type-label {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  text-transform: uppercase;
  opacity: 0.85;
  margin-bottom: 2px;
}

.cal-empty-day {
  color: rgba(255, 255, 255, 0.1);
  font-size: 0.75rem;
  text-align: center;
  padding-top: 10px;
}


/* ========================================================
   TAB 3: Termine & Live-Produktionen (Spalte Links + Balken + Buttons)
   ======================================================== */
.events-accordion-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.event-row-container {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
  transition: border-color 0.2s;
}

.event-row-container:hover {
  border-color: #38bdf8;
}

.event-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 14px 18px;
  gap: 16px;
}

.event-bar-info {
  display: flex;
  align-items: center;
  gap: 18px;
  flex: 1;
  min-width: 0;
}

.event-date-badge {
  background: rgba(245, 158, 11, 0.15);
  color: var(--accent-gold);
  border: 1px solid rgba(245, 158, 11, 0.3);
  font-weight: 700;
  font-size: 0.85rem;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  white-space: nowrap;
  display: flex;
  flex-direction: column;
  align-items: center;
  line-height: 1.2;
}

.event-date-badge small {
  font-size: 0.7rem;
  font-weight: 500;
  opacity: 0.85;
}

.event-name-block {
  min-width: 0;
}

.event-title-text {
  font-size: 1rem;
  font-weight: 700;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.event-location-text {
  font-size: 0.82rem;
  color: var(--accent-blue);
  margin-top: 2px;
  display: flex;
  align-items: center;
  gap: 4px;
}

.event-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-drawer-toggle {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text-secondary);
  border: 1px solid var(--border);
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s;
  white-space: nowrap;
}

.btn-drawer-toggle:hover,
.btn-drawer-toggle.active {
  background: var(--bg-card-hover);
  color: var(--text-primary);
  border-color: #38bdf8;
}

.btn-drawer-toggle.active {
  background: rgba(56, 189, 248, 0.15);
  color: #38bdf8;
}

/* Accordion Drawer beneath Event Bar */
.event-drawer {
  display: none;
  background: #0d1322;
  border-top: 1px solid var(--border);
  padding: 18px 22px;
  animation: fadeIn 0.2s ease;
}

.event-drawer.open {
  display: block;
}

.drawer-content-pane {
  display: none;
}

.drawer-content-pane.active {
  display: block;
}

.drawer-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.drawer-header h5 {
  font-size: 0.95rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 8px;
}

.drawer-text-box {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 12px 14px;
  font-size: 0.9rem;
  color: var(--text-primary);
  line-height: 1.5;
}

.todo-checklist {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.todo-item {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  font-size: 0.9rem;
  background: var(--bg-card);
  padding: 10px 14px;
  border-radius: var(--radius-sm);
  border-left: 3px solid #38bdf8;
  line-height: 1.4;
}

/* Table */
.admin-users-table-container {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  overflow: hidden;
}

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

.data-table th,
.data-table td {
  padding: 14px 20px;
  border-bottom: 1px solid var(--border);
  font-size: 0.9rem;
}

.data-table th {
  background: rgba(15, 23, 42, 0.8);
  color: var(--text-muted);
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.78rem;
}

/* Modal & Pop-ups (Zentral zentriert) */
.modal,
.modal-overlay,
.modal-backdrop {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 9999;
  padding: 20px;
  box-sizing: border-box;
}

.modal.hidden,
.modal-overlay.hidden,
.modal-backdrop.hidden {
  display: none !important;
}

.modal-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  max-width: 500px;
  width: 100%;
  padding: 28px;
  box-shadow: 0 20px 45px rgba(0, 0, 0, 0.65);
  margin: auto;
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 20px;
}

.modal-close {
  background: transparent;
  border: none;
  font-size: 1.5rem;
  color: var(--text-muted);
  cursor: pointer;
}

.modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 24px;
}

/* ========================================================
   RESPONSIVE & MOBILE SMARTPHONE OPTIMIZATION
   ======================================================== */
@media (max-width: 860px) {
  .navbar {
    flex-direction: column;
    gap: 12px;
    align-items: stretch;
    padding: 14px 18px;
  }

  .nav-controls {
    width: 100%;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
  }

  .band-selector {
    flex: 1;
    min-width: 200px;
  }

  .band-selector select {
    width: 100%;
  }

  .band-banner {
    flex-direction: column;
    align-items: stretch;
    gap: 20px;
    padding: 22px 18px;
  }

  .banner-right {
    width: 100%;
    flex-direction: column;
    align-items: stretch !important;
    gap: 16px;
  }

  .cloud-storage-box {
    width: 100%;
    align-items: stretch !important;
  }

  .cloud-buttons-group {
    width: 100%;
    display: flex;
    gap: 10px;
  }

  .cloud-buttons-group > div {
    flex: 1;
  }

  .cloud-buttons-group .btn-picdrop,
  .cloud-buttons-group .btn-cloud {
    width: 100%;
    justify-content: center;
    padding: 10px 12px;
    font-size: 0.88rem;
  }

  .quick-stats {
    width: 100%;
    display: flex;
    gap: 10px;
  }

  .stat-card {
    flex: 1;
    min-width: 0;
  }

  .event-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
    padding: 14px 16px;
  }

  .event-bar-info {
    width: 100%;
  }

  .event-actions {
    width: 100%;
    display: flex;
    gap: 8px;
  }

  .btn-drawer-toggle {
    flex: 1;
    justify-content: center;
    padding: 8px 10px;
    font-size: 0.8rem;
  }
}

@media (max-width: 600px) {
  .main-content {
    padding: 14px 12px 50px;
  }

  .band-banner h1 {
    font-size: 1.55rem;
  }

  .content-tabs {
    gap: 4px;
    margin-bottom: 20px;
    -webkit-overflow-scrolling: touch;
  }

  .tab-btn {
    padding: 10px 14px;
    font-size: 0.88rem;
  }

  .category-filter-bar {
    overflow-x: auto;
    flex-wrap: nowrap;
    padding-bottom: 8px;
    -webkit-overflow-scrolling: touch;
  }

  .filter-chip {
    flex-shrink: 0;
  }

  .contentlist-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .week-bar {
    padding: 14px 14px;
  }

  .week-left {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .week-task-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 6px;
  }

  .week-task-item .status-pill {
    align-self: flex-start;
  }

  .modal {
    padding: 12px;
  }

  .modal-card {
    padding: 20px 16px;
    border-radius: 14px;
    max-height: 90vh;
    overflow-y: auto;
  }

  input, select, textarea {
    font-size: 16px !important;
  }
}

/* ========================================================
   TAB: Contentliste (Fertiger Content & Google Cloud Downloads)
   ======================================================== */
.contentlist-toolbar {
  display: flex;
  flex-direction: column;
  gap: 16px;
  margin-bottom: 24px;
}

.category-filter-bar {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  align-items: center;
}

.filter-chip {
  background: var(--bg-card);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.2s ease;
}

.filter-chip:hover {
  border-color: #38bdf8;
  color: var(--text-primary);
  background: rgba(56, 189, 248, 0.08);
}

.filter-chip.active {
  background: linear-gradient(135deg, #0284c7, #0369a1);
  border-color: #38bdf8;
  color: #ffffff;
  box-shadow: 0 2px 8px rgba(2, 132, 199, 0.35);
}

.filter-chip-count {
  font-size: 0.75rem;
  padding: 2px 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.15);
}

.contentlist-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(360px, 1fr));
  gap: 20px;
}

@media (max-width: 480px) {
  .contentlist-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }
}

/* ========================================================
   MASTER-MEDIA-CARD: 2-IN-1 VIDEO + THUMBNAIL BUNDLE
   ======================================================== */
.media-split-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 10px;
  margin-bottom: 8px;
}

.media-split-container.thumb-collapsed,
.media-split-container.single-column {
  grid-template-columns: 1fr;
}

@media (max-width: 640px) {
  .media-split-container {
    grid-template-columns: 1fr;
  }
}

.media-split-col.media-col-thumb.hidden {
  display: none !important;
}

.media-split-col {
  background: #090d16;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.35);
  transition: border-color 0.2s ease;
}

.media-split-col:hover {
  border-color: rgba(56, 189, 248, 0.3);
}

.media-col-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 10px;
  background: rgba(255, 255, 255, 0.03);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.74rem;
  font-weight: 700;
}

.media-col-badge {
  display: flex;
  align-items: center;
  gap: 5px;
  color: #e2e8f0;
}

.media-col-size {
  color: #94a3b8;
  font-size: 0.72rem;
  font-family: monospace;
}

.media-player-wrapper {
  position: relative;
  background: #000000;
  min-height: 240px;
  max-height: 310px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.media-html5-player {
  width: 100%;
  height: 100%;
  max-height: 310px;
  object-fit: contain;
  background: #000;
  display: block;
}

.media-thumb-preview-box {
  position: relative;
  background: #050811;
  min-height: 240px;
  max-height: 310px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  cursor: pointer;
}

.media-thumb-preview-box img {
  width: 100%;
  height: 100%;
  max-height: 310px;
  object-fit: contain;
  display: block;
  transition: transform 0.25s ease;
}

.media-thumb-preview-box:hover img {
  transform: scale(1.03);
}

.media-thumb-overlay-hint {
  position: absolute;
  bottom: 8px;
  right: 8px;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(4px);
  color: #e2e8f0;
  padding: 3px 8px;
  border-radius: 4px;
  font-size: 0.72rem;
  font-weight: 600;
  pointer-events: none;
  border: 1px solid rgba(255, 255, 255, 0.15);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
  transition: all 0.2s ease;
}

.media-thumb-preview-box:hover .media-thumb-overlay-hint {
  background: rgba(56, 189, 248, 0.85);
  color: #000;
  border-color: #38bdf8;
}

.media-file-info {
  display: flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  background: rgba(15, 23, 42, 0.75);
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.74rem;
  color: #94a3b8;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.media-file-icon {
  flex-shrink: 0;
}

.media-file-name {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Bundle Pill Badge im Header */
.bundle-pill-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 2px 8px;
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.15), rgba(168, 85, 247, 0.15));
  border: 1px solid rgba(56, 189, 248, 0.4);
  color: #38bdf8;
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.15);
}

.content-item-date {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
}

/* Status Section */
.content-status-section {
  margin-top: 10px;
  margin-bottom: 4px;
}

.content-status-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 6px;
  font-size: 0.74rem;
}

.status-label-caption {
  font-weight: 700;
  color: #cbd5e1;
}

.status-sync-caption {
  color: #94a3b8;
  font-size: 0.7rem;
}

/* Download Actions Container */
.content-bundle-actions {
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
  margin-top: 10px;
  padding-top: 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.bundle-download-primary {
  width: 100%;
}

.btn-primary-bundle-dl {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 10px 16px;
  background: linear-gradient(135deg, #0284c7 0%, #0369a1 100%);
  border: 1px solid rgba(56, 189, 248, 0.4);
  border-radius: 8px;
  color: #ffffff;
  font-weight: 700;
  font-size: 0.92rem;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(2, 132, 199, 0.35);
  transition: all 0.2s ease;
  font-family: inherit;
}

.btn-primary-bundle-dl:hover {
  background: linear-gradient(135deg, #0ea5e9 0%, #0284c7 100%);
  box-shadow: 0 6px 20px rgba(14, 165, 233, 0.5);
  transform: translateY(-1px);
}

.btn-primary-bundle-dl .btn-arrow {
  margin-left: auto;
  font-size: 0.85rem;
  opacity: 0.85;
}

.bundle-download-secondary {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  width: 100%;
}

.btn-secondary-dl {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 7px 10px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  color: #cbd5e1;
  font-size: 0.8rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.15s ease;
}

.btn-secondary-dl:hover {
  background: rgba(56, 189, 248, 0.12);
  border-color: rgba(56, 189, 248, 0.35);
  color: #ffffff;
}

.btn-secondary-dl .file-size-hint {
  color: #94a3b8;
  font-size: 0.72rem;
  font-weight: 500;
}

/* Lightbox Modal */
.media-lightbox-modal {
  position: fixed;
  inset: 0;
  width: 100vw;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10000;
  background: rgba(5, 8, 15, 0.88);
  backdrop-filter: blur(8px);
}

.media-lightbox-modal.hidden {
  display: none !important;
}

.media-lightbox-content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.media-lightbox-content img {
  max-width: 88vw;
  max-height: 82vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8), 0 0 20px rgba(56, 189, 248, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.15);
}

.media-lightbox-close {
  position: absolute;
  top: -40px;
  right: -10px;
  background: rgba(255, 255, 255, 0.15);
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #fff;
  font-size: 1.4rem;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.media-lightbox-close:hover {
  background: #ef4444;
  border-color: #ef4444;
  transform: scale(1.1);
}

.media-lightbox-caption {
  margin-top: 12px;
  color: #e2e8f0;
  font-size: 0.88rem;
  font-weight: 600;
  text-align: center;
}

.content-item-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 14px;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}

.content-item-card:hover {
  border-color: #38bdf8;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
}

.content-item-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 10px;
}

.cat-pill {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 6px;
  text-transform: none;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.cat-pill-ankundigungen {
  background: rgba(245, 158, 11, 0.15);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.4);
}

.cat-pill-recaps {
  background: rgba(168, 85, 247, 0.15);
  color: #c084fc;
  border: 1px solid rgba(168, 85, 247, 0.4);
}

.cat-pill-reels {
  background: rgba(56, 189, 248, 0.15);
  color: #38bdf8;
  border: 1px solid rgba(56, 189, 248, 0.4);
}

.cat-pill-2w1l {
  background: rgba(249, 115, 22, 0.15);
  color: #fb923c;
  border: 1px solid rgba(249, 115, 22, 0.4);
}

.cat-pill-fun {
  background: rgba(236, 72, 153, 0.15);
  color: #f472b6;
  border: 1px solid rgba(236, 72, 153, 0.4);
}

.cat-pill-technik {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.4);
}

.cat-pill-sonstiges {
  background: rgba(148, 163, 184, 0.15);
  color: #cbd5e1;
  border: 1px solid rgba(148, 163, 184, 0.4);
}

.content-item-title {
  font-size: 1.08rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-top: 8px;
  line-height: 1.4;
}

.content-item-meta {
  font-size: 0.8rem;
  color: var(--text-muted);
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  margin-top: 6px;
}

.content-item-notes {
  font-size: 0.84rem;
  color: var(--text-secondary);
  background: rgba(255, 255, 255, 0.03);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  border-left: 3px solid #38bdf8;
  line-height: 1.4;
}

.content-item-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 8px;
  margin-top: 6px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  flex-wrap: wrap;
  width: 100%;
  box-sizing: border-box;
}

.btn-cloud-download {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: linear-gradient(135deg, #0284c7, #0369a1);
  color: #ffffff;
  border-radius: 6px;
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  transition: all 0.2s;
  box-shadow: 0 2px 8px rgba(2, 132, 199, 0.3);
}

/* ========================================================
   STATUS FARBSCHEMA & GROSSE STATUS-BUTTONS (FÜR ALLE BANDS)
   ======================================================== */
.content-item-card {
  position: relative;
}

body .content-item-card.status-unbenutzt {
  border-left: 5px solid #10b981 !important;
}

body .content-item-card.status-gepostet {
  border-left: 5px solid #f59e0b !important;
  background: linear-gradient(180deg, rgba(245, 158, 11, 0.06) 0%, var(--bg-card) 100%);
}

body .content-item-card.status-loeschen {
  border-left: 5px solid #ef4444 !important;
  background: linear-gradient(180deg, rgba(239, 68, 68, 0.08) 0%, var(--bg-card) 100%);
}

.status-pill {
  font-size: 0.72rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 6px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.status-pill-unbenutzt {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.4);
}

.status-pill-gepostet {
  background: rgba(245, 158, 11, 0.2);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.5);
  box-shadow: 0 0 8px rgba(245, 158, 11, 0.2);
}

.status-pill-loeschen {
  background: rgba(239, 68, 68, 0.2);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.5);
  box-shadow: 0 0 8px rgba(239, 68, 68, 0.2);
}

/* ========================================================
   KOMPAKTES CONTENT-DESIGN (BILD-DROPDOWN & 3 STATUS-BUTTONS IN 1 REIHE)
   ======================================================== */

/* Titel-Zeile mit Bild-Anzeigen Toggle */
.content-item-title-row {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 10px;
  margin-top: 4px;
  margin-bottom: 6px;
}

.content-item-title-row .content-item-title {
  margin: 0;
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.35;
  color: #fff;
  flex: 1;
}

/* Bild anzeigen Toggle Button */
.btn-toggle-thumb {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 10px;
  border-radius: 6px;
  font-size: 0.78rem;
  font-weight: 600;
  background: rgba(56, 189, 248, 0.08);
  border: 1px solid rgba(56, 189, 248, 0.25);
  color: #38bdf8;
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
  user-select: none;
}

.btn-toggle-thumb:hover {
  background: rgba(56, 189, 248, 0.18);
  border-color: #38bdf8;
  transform: translateY(-1px);
}

.btn-toggle-thumb.is-open {
  background: rgba(248, 113, 113, 0.12);
  border-color: rgba(248, 113, 113, 0.35);
  color: #fca5a5;
}

.btn-toggle-thumb .btn-thumb-caret {
  font-size: 0.7rem;
  transition: transform 0.2s ease;
}

.btn-toggle-thumb.is-open .btn-thumb-caret {
  transform: rotate(180deg);
}

/* Ausklappbares Thumbnail Drawer */
.content-item-thumb-drawer {
  margin-top: 10px;
  margin-bottom: 8px;
  border-radius: 8px;
  overflow: hidden;
  max-height: 220px;
  background: #0b0f17;
  border: 1px solid rgba(255, 255, 255, 0.1);
  text-align: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.content-item-thumb-drawer.hidden {
  display: none !important;
}

.content-item-thumb-drawer img {
  max-height: 210px;
  width: 100%;
  object-fit: cover;
  display: block;
}

/* Kompakte 3-Button Status-Reihe (Alle 3 Buttons in einer Reihe) */
.content-status-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 6px;
  margin-top: 12px;
  margin-bottom: 2px;
  width: 100%;
  box-sizing: border-box;
}

.btn-status-chip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 6px 4px;
  border-radius: 8px;
  font-size: 0.76rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  user-select: none;
  text-align: center;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: var(--text-muted);
  white-space: normal;
  word-break: normal;
  line-height: 1.18;
  min-height: 42px;
  min-width: 0;
  width: 100%;
  box-sizing: border-box;
  overflow: hidden;
}

.btn-status-chip .status-btn-text {
  display: inline-block;
  line-height: 1.15;
  text-align: center;
}

.btn-status-chip:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.07);
}

/* Button 1: Noch nicht benutzt (Grün) */
.btn-status-chip.btn-status-unbenutzt {
  border-color: rgba(16, 185, 129, 0.3);
}
.btn-status-chip.btn-status-unbenutzt:hover {
  border-color: #10b981;
  color: #34d399;
}
.btn-status-chip.btn-status-unbenutzt.is-active {
  background: linear-gradient(135deg, #059669, #047857) !important;
  color: #ffffff !important;
  border-color: #34d399 !important;
  box-shadow: 0 3px 12px rgba(16, 185, 129, 0.45) !important;
}

/* Button 2: Bereits gepostet (Gelb/Amber) */
.btn-status-chip.btn-status-gepostet {
  border-color: rgba(245, 158, 11, 0.3);
}
.btn-status-chip.btn-status-gepostet:hover {
  border-color: #f59e0b;
  color: #fbbf24;
}
.btn-status-chip.btn-status-gepostet.is-active {
  background: linear-gradient(135deg, #d97706, #b45309) !important;
  color: #ffffff !important;
  border-color: #fbbf24 !important;
  box-shadow: 0 3px 12px rgba(245, 158, 11, 0.45) !important;
}

/* Button 3: Kann gelöscht werden (Rot) */
.btn-status-chip.btn-status-loeschen {
  border-color: rgba(239, 68, 68, 0.3);
}
.btn-status-chip.btn-status-loeschen:hover {
  border-color: #ef4444;
  color: #f87171;
}
.btn-status-chip.btn-status-loeschen.is-active {
  background: linear-gradient(135deg, #dc2626, #991b1b) !important;
  color: #ffffff !important;
  border-color: #f87171 !important;
  box-shadow: 0 3px 12px rgba(239, 68, 68, 0.45) !important;
}

@media (max-width: 640px) {
  .content-status-row {
    grid-template-columns: 1fr;
    gap: 6px;
  }
}

/* Badge: Thumbnail hinterlegt */
.badge-thumbnail-ready {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 700;
  background: rgba(16, 185, 129, 0.12);
  border: 1px solid rgba(16, 185, 129, 0.35);
  color: #34d399;
  letter-spacing: 0.2px;
  white-space: nowrap;
}

.badge-thumbnail-ready .thumb-badge-dot {
  font-size: 0.65rem;
  color: #10b981;
  animation: pulse-dot 2s infinite ease-in-out;
}

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.35; transform: scale(0.85); }
}

/* Download Dropdown Wrapper & Popover Menu */
.download-dropdown-wrapper {
  position: relative;
  display: inline-block;
}

.btn-cloud-download {
  cursor: pointer;
  border: none;
  font-family: inherit;
}

.btn-cloud-download .dropdown-caret {
  font-size: 0.75rem;
  margin-left: 2px;
  opacity: 0.85;
}

/* Popover Menu */
.download-popover-menu {
  position: absolute;
  bottom: calc(100% + 8px);
  left: 0;
  min-width: 270px;
  background: #0f172a;
  border: 1px solid rgba(56, 189, 248, 0.3);
  border-radius: 10px;
  padding: 6px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.7), 0 0 15px rgba(56, 189, 248, 0.18);
  z-index: 100;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.download-popover-menu.hidden {
  display: none !important;
}

.download-popover-menu::after {
  content: '';
  position: absolute;
  top: 100%;
  left: 24px;
  border-width: 6px;
  border-style: solid;
  border-color: #0f172a transparent transparent transparent;
}

.dl-popover-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 6px;
  text-decoration: none;
  color: #e2e8f0;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid transparent;
  cursor: pointer;
  text-align: left;
  font-family: inherit;
  font-size: 0.84rem;
  transition: all 0.15s ease;
  width: 100%;
}

.dl-popover-item:hover {
  background: rgba(56, 189, 248, 0.14);
  border-color: rgba(56, 189, 248, 0.35);
  color: #fff;
  transform: translateX(2px);
}

.dl-popover-item .dl-item-icon {
  font-size: 1.15rem;
}

.dl-popover-item .dl-item-info {
  display: flex;
  flex-direction: column;
  gap: 1px;
  flex: 1;
}

.dl-popover-item .dl-item-info strong {
  font-size: 0.85rem;
  font-weight: 700;
  color: #fff;
}

.dl-popover-item .dl-item-info small {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.dl-popover-item .dl-item-arrow {
  font-size: 0.8rem;
  color: var(--text-muted);
  opacity: 0.6;
}

.dl-popover-item:hover .dl-item-arrow {
  opacity: 1;
  color: #38bdf8;
}

.dl-item-both {
  background: rgba(56, 189, 248, 0.06);
  border-color: rgba(56, 189, 248, 0.2);
}

/* Status Filter Bar */
.status-filter-bar {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
  margin-top: 10px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.status-filter-label {
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-right: 4px;
}

.status-filter-chip {
  padding: 5px 12px;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 600;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.15s ease;
}

.status-filter-chip:hover {
  border-color: rgba(255, 255, 255, 0.25);
  color: var(--text-primary);
}

.status-filter-chip.active {
  background: rgba(56, 189, 248, 0.15);
  border-color: #38bdf8;
  color: #38bdf8;
  font-weight: 700;
}

.status-filter-chip.status-chip-unbenutzt.active {
  background: rgba(16, 185, 129, 0.18);
  border-color: #10b981;
  color: #34d399;
}

.status-filter-chip.status-chip-gepostet.active {
  background: rgba(245, 158, 11, 0.18);
  border-color: #f59e0b;
  color: #fbbf24;
}

.status-filter-chip.status-chip-loeschen.active {
  background: rgba(239, 68, 68, 0.18);
  border-color: #ef4444;
  color: #f87171;
}

.btn-cloud-download:hover {
  background: linear-gradient(135deg, #0369a1, #075985);
  box-shadow: 0 4px 12px rgba(2, 132, 199, 0.5);
  transform: translateY(-1px);
}

/* ========================================================
   THEME: ASENBLUT (Norse Pagan Metal / Ember & Bronze)
   ======================================================== */
body.theme-asenblut {
  --bg-main: #0c0907;
  --bg-card: #16100c;
  --bg-card-hover: #221812;
  --bg-input: #120c09;
  --border: #382417;
  --border-focus: #f59e0b;
  --text-primary: #faf6f0;
  --text-secondary: #baa89b;
  --text-muted: #806e62;
  --accent-gold: #f59e0b;
  --accent-blue: #f59e0b;
  --shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.7), 0 8px 16px -6px rgba(180, 83, 9, 0.12);
  background-color: #0c0907;
  background-image: radial-gradient(circle at 85% 15%, rgba(234, 88, 12, 0.08) 0%, transparent 55%),
                    radial-gradient(circle at 15% 85%, rgba(180, 83, 9, 0.06) 0%, transparent 50%);
}

body.theme-asenblut .navbar {
  background: rgba(18, 13, 9, 0.94);
  border-bottom: 1px solid rgba(180, 83, 9, 0.35);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

body.theme-asenblut .brand-badge {
  background: linear-gradient(135deg, #d97706, #9a3412);
  color: #fff;
  border: 1px solid rgba(245, 158, 11, 0.4);
  box-shadow: 0 0 10px rgba(217, 119, 6, 0.3);
}

body.theme-asenblut .band-banner {
  background: radial-gradient(circle at 90% 10%, rgba(234, 88, 12, 0.22) 0%, transparent 60%),
              radial-gradient(circle at 10% 90%, rgba(180, 83, 9, 0.15) 0%, transparent 50%),
              linear-gradient(135deg, #20150e 0%, #110b08 100%);
  border: 1px solid rgba(217, 119, 6, 0.38);
  box-shadow: 0 14px 35px -5px rgba(0, 0, 0, 0.75), 0 0 25px rgba(217, 119, 6, 0.12);
  position: relative;
  overflow: hidden;
}

body.theme-asenblut .band-banner::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent 0%, #f59e0b 50%, transparent 100%);
}

body.theme-asenblut .genre-pill {
  background: rgba(245, 158, 11, 0.15);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.35);
  letter-spacing: 0.5px;
  text-transform: uppercase;
  font-size: 0.72rem;
}

body.theme-asenblut .band-banner h1 {
  color: #fff;
  text-shadow: 0 0 20px rgba(245, 158, 11, 0.25);
  letter-spacing: 0.5px;
}

body.theme-asenblut .banner-desc {
  color: #c9b9ad;
}

body.theme-asenblut .stat-card {
  background: rgba(20, 14, 10, 0.85);
  border: 1px solid rgba(180, 83, 9, 0.35);
  box-shadow: inset 0 0 15px rgba(0, 0, 0, 0.5);
}

body.theme-asenblut .stat-num {
  color: #fbbf24;
  text-shadow: 0 0 12px rgba(245, 158, 11, 0.35);
}

body.theme-asenblut .content-tabs {
  border-bottom: 1px solid rgba(180, 83, 9, 0.3);
}

body.theme-asenblut .tab-btn {
  color: #a8988d;
}

body.theme-asenblut .tab-btn:hover {
  color: #fef3c7;
}

body.theme-asenblut .tab-btn.active {
  background: var(--accent-red);
  color: #fff;
  border-radius: 4px;
  box-shadow: 0 2px 10px rgba(220, 38, 38, 0.35);
  text-shadow: none;
}

body.theme-asenblut .week-row-card {
  background: #17100b;
  border: 1px solid rgba(120, 53, 15, 0.38);
}

body.theme-asenblut .week-row-card:hover {
  border-color: #d97706;
  box-shadow: 0 4px 20px rgba(217, 119, 6, 0.15);
}

body.theme-asenblut .week-bar {
  background: rgba(255, 255, 255, 0.015);
}

body.theme-asenblut .week-badge {
  background: rgba(245, 158, 11, 0.15);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.3);
}

body.theme-asenblut .week-drawer {
  background: #100a07;
  border-top: 1px solid rgba(120, 53, 15, 0.3);
}

body.theme-asenblut .week-task-item {
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

body.theme-asenblut .event-row-container {
  background: #17100b;
  border: 1px solid rgba(120, 53, 15, 0.38);
}

body.theme-asenblut .event-row-container:hover {
  border-color: #d97706;
  box-shadow: 0 4px 20px rgba(217, 119, 6, 0.15);
}

body.theme-asenblut .event-date-badge {
  background: linear-gradient(135deg, #78350f 0%, #451a03 100%);
  color: #fef3c7;
  border: 1px solid rgba(245, 158, 11, 0.45);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
}

body.theme-asenblut .event-location-text {
  color: #fbbf24;
}

body.theme-asenblut .event-drawer {
  background: #100a07;
  border-top: 1px solid rgba(120, 53, 15, 0.3);
}

body.theme-asenblut .btn-drawer-toggle {
  background: rgba(255, 255, 255, 0.03);
  border-color: rgba(120, 53, 15, 0.4);
  color: #baa89b;
}

body.theme-asenblut .btn-drawer-toggle:hover {
  background: rgba(217, 119, 6, 0.1);
  color: #fef3c7;
  border-color: #d97706;
}

body.theme-asenblut .btn-drawer-toggle.active {
  background: rgba(245, 158, 11, 0.18);
  color: #fbbf24;
  border-color: #f59e0b;
  box-shadow: 0 0 12px rgba(245, 158, 11, 0.25);
}

body.theme-asenblut .filter-chip {
  background: #17100b;
  border-color: rgba(120, 53, 15, 0.4);
  color: #baa89b;
}

body.theme-asenblut .filter-chip:hover {
  border-color: #f59e0b;
  color: #fef3c7;
  background: rgba(245, 158, 11, 0.08);
}

body.theme-asenblut .filter-chip.active {
  background: linear-gradient(135deg, #d97706, #9a3412);
  border-color: #f59e0b;
  color: #fff;
  box-shadow: 0 2px 10px rgba(217, 119, 6, 0.4);
}

body.theme-asenblut .content-item-card {
  background: #17100b;
  border: 1px solid rgba(120, 53, 15, 0.38);
}

body.theme-asenblut .content-item-card:hover {
  border-color: #d97706;
  box-shadow: 0 6px 20px rgba(217, 119, 6, 0.15);
}

body.theme-asenblut .btn-primary {
  background: linear-gradient(135deg, #d97706, #9a3412);
  border-color: #f59e0b;
  color: #fff;
  box-shadow: 0 2px 10px rgba(217, 119, 6, 0.3);
}

body.theme-asenblut .btn-primary:hover {
  background: linear-gradient(135deg, #f59e0b, #b45309);
  box-shadow: 0 0 16px rgba(245, 158, 11, 0.45);
}

body.theme-asenblut .btn-outline:hover {
  border-color: #f59e0b;
  color: #fbbf24;
}

body.theme-asenblut .badge-role.admin {
  background: rgba(245, 158, 11, 0.15);
  color: #fbbf24;
  border-color: rgba(245, 158, 11, 0.4);
}



/* ========================================================
   WOCHE 1: UI/UX POLISH, MOBILE BOTTOM NAV & TOAST NOTIFICATIONS
   ======================================================== */

/* Mobile Bottom Navigation (Daumen-Bedienung auf Smartphones) */
.mobile-bottom-nav {
  display: none;
}

@media (max-width: 768px) {
  .mobile-bottom-nav {
    display: flex;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 9999;
    background: rgba(11, 15, 25, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid var(--border);
    padding: 6px 12px calc(6px + env(safe-area-inset-bottom, 0px));
    justify-content: space-around;
    align-items: center;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.5);
  }

  body {
    padding-bottom: calc(75px + env(safe-area-inset-bottom, 0px));
  }

  .mobile-nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 0.72rem;
    font-weight: 600;
    gap: 3px;
    padding: 6px 12px;
    cursor: pointer;
    border-radius: var(--radius-sm);
    transition: color 0.15s ease, transform 0.1s ease;
    min-width: 60px;
  }

  .mobile-nav-item:active {
    transform: scale(0.94);
  }

  .mobile-nav-item.active {
    color: var(--accent-blue);
  }

  .mobile-nav-icon {
    font-size: 1.25rem;
    line-height: 1;
  }

  .mobile-nav-item.active .mobile-nav-icon {
    transform: translateY(-1px);
    filter: drop-shadow(0 0 6px rgba(56, 189, 248, 0.6));
  }
}

/* Floating Toast Notification System */
.toast-container {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 10000;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
  max-width: 380px;
  width: calc(100% - 40px);
}

@media (max-width: 600px) {
  .toast-container {
    top: 14px;
    right: 20px;
    left: 20px;
    width: auto;
  }
}

.toast-item {
  pointer-events: auto;
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 18px;
  border-radius: var(--radius-md);
  font-size: 0.88rem;
  font-weight: 500;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  backdrop-filter: blur(12px);
  animation: toastSlideIn 0.25s cubic-bezier(0.16, 1, 0.3, 1) forwards;
  transition: opacity 0.25s ease, transform 0.25s ease;
}

.toast-item.toast-leave {
  opacity: 0;
  transform: translateY(-10px) scale(0.95);
}

.toast-item.toast-success {
  background: rgba(16, 185, 129, 0.95);
  color: #fff;
  border: 1px solid rgba(16, 185, 129, 0.4);
}

.toast-item.toast-error {
  background: rgba(239, 68, 68, 0.95);
  color: #fff;
  border: 1px solid rgba(239, 68, 68, 0.4);
}

.toast-item.toast-info {
  background: rgba(15, 23, 42, 0.95);
  color: var(--text-primary);
  border: 1px solid var(--border);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5), 0 0 15px rgba(56, 189, 248, 0.2);
}

.toast-icon {
  font-size: 1.2rem;
  flex-shrink: 0;
}

.toast-content {
  flex: 1;
  line-height: 1.35;
}

.toast-close {
  background: none;
  border: none;
  color: inherit;
  opacity: 0.7;
  cursor: pointer;
  font-size: 1.1rem;
  padding: 0 4px;
}

.toast-close:hover {
  opacity: 1;
}

@keyframes toastSlideIn {
  from {
    opacity: 0;
    transform: translateY(-15px) scale(0.94);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

/* Modern Empty States */
.empty-state {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 48px 20px;
  background: rgba(21, 28, 46, 0.4);
  border: 1px dashed var(--border);
  border-radius: var(--radius-lg);
  margin: 16px 0;
}

.empty-state-icon {
  font-size: 2.8rem;
  margin-bottom: 14px;
  opacity: 0.85;
}

.empty-state-title {
  font-size: 1.15rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 6px;
}

.empty-state-desc {
  font-size: 0.88rem;
  color: var(--text-muted);
  max-width: 420px;
  line-height: 1.5;
  margin-bottom: 18px;
}

/* Tech-Rider & Print Export Styling */
.techrider-card {
  transition: transform 0.15s ease, border-color 0.15s ease;
}

.techrider-card:hover {
  border-color: rgba(56, 189, 248, 0.4);
}

@media print {
  .navbar,
  .content-tabs,
  .mobile-bottom-nav,
  .cloud-storage-box,
  .storage-meter-card,
  .quick-stats,
  .genre-pill,
  .banner-desc,
  #btn-print-techrider,
  #btn-copy-techrider-link,
  #btn-edit-stageplot,
  #btn-edit-monitoring,
  #btn-edit-hospitality,
  #btn-add-channellist-row,
  .tab-btn,
  .toast-container,
  #table-channellist th:last-child,
  #table-channellist td:last-child {
    display: none !important;
  }

  body {
    background: #fff !important;
    color: #000 !important;
    padding: 0 !important;
  }

  .main-content {
    padding: 0 !important;
  }

  .tab-panel {
    display: none !important;
  }

  #tab-techrider {
    display: block !important;
  }

  .techrider-card,
  #tab-techrider > div {
    background: #fff !important;
    color: #000 !important;
    border: 1px solid #ccc !important;
    box-shadow: none !important;
    page-break-inside: avoid;
  }

  .data-table th,
  .data-table td {
    color: #000 !important;
    border-color: #ddd !important;
  }
}


/* ========================================================
   POWERED BY BAALPHEMOR & WAPPEN BRANDING
   ======================================================== */
.brand-wappen-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  transition: transform 0.15s ease;
}

.brand-wappen-link:hover {
  transform: translateY(-1px);
}

.nav-wappen-img {
  height: 28px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 6px rgba(220, 38, 38, 0.4));
  transition: filter 0.2s ease, transform 0.2s ease;
}

.brand-wappen-link:hover .nav-wappen-img {
  filter: drop-shadow(0 0 10px rgba(220, 38, 38, 0.7));
  transform: scale(1.05);
}

.powered-by-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 8px 16px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  color: var(--text-secondary);
  font-size: 0.86rem;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.2s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.powered-by-link:hover {
  background: rgba(220, 38, 38, 0.12);
  border-color: rgba(220, 38, 38, 0.45);
  color: #fff;
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(220, 38, 38, 0.25);
}

.wappen-icon {
  height: 24px;
  width: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 4px rgba(220, 38, 38, 0.4));
}

.powered-arrow {
  font-size: 0.75rem;
  color: var(--accent-red);
  transition: transform 0.15s ease;
}

.powered-by-link:hover .powered-arrow {
  transform: translateX(2px);
}

.portal-footer {
  margin-top: 40px;
  padding: 28px 0 36px;
  border-top: 1px solid var(--border);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

.portal-footer-sub {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin: 0;
}

.portal-footer-sub a {
  color: var(--text-secondary);
  text-decoration: underline;
  transition: color 0.15s ease;
}

.portal-footer-sub a:hover {
  color: #fff;
}


/* ========================================================
   2-ZEILIGE NAVIGATION MIT KACHELN: 4ER-TEILUNG JE ZEILE
   ALLE 8 BUTTONS EXAKT GLEICHGROSS & KEIN SCROLLBALKEN
   ======================================================== */
.nav-tiles-grid {
  display: grid !important;
  grid-template-columns: repeat(5, 1fr) !important; /* 4 gleichgroße Spalten je Zeile */
  gap: 10px;
  background: #111115;
  border: 1px solid var(--border);
  padding: 10px;
  border-radius: var(--radius-md);
  margin-bottom: 26px;
  overflow: hidden !important; /* Kein horizontaler Scrollbalken */
}

/* Jeder der 8 Buttons nimmt exakt 1 von 4 Spalten ein = 100% identische Größe! */
.nav-tiles-grid .tile-btn {
  grid-column: span 1 !important;
  display: flex;
  align-items: center;
  gap: 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.07);
  padding: 11px 14px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  text-align: left;
  user-select: none;
  min-height: 56px;
  width: 100% !important;
  box-sizing: border-box;
}

.nav-tiles-grid .tile-btn:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.16);
  transform: translateY(-1px);
}

.nav-tiles-grid .tile-btn.active {
  background: linear-gradient(135deg, var(--theme-accent, #dc2626), var(--theme-accent-dark, #991b1b)) !important;
  border-color: var(--theme-accent-light, #ef4444) !important;
  color: #fff !important;
  box-shadow: 0 4px 16px var(--theme-accent-shadow, rgba(220, 38, 38, 0.4)), inset 0 1px 0 rgba(255, 255, 255, 0.2) !important;
}

.tile-btn .tile-icon {
  font-size: 1.35rem;
  line-height: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  width: 28px;
}

.tile-btn .tile-label {
  display: flex;
  flex-direction: column;
  gap: 2px;
  overflow: hidden;
}

.tile-btn .tile-title {
  font-size: 0.9rem;
  font-weight: 700;
  color: #f1f5f9;
  letter-spacing: 0.2px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tile-btn.active .tile-title {
  color: #ffffff;
}

.tile-btn .tile-sub {
  font-size: 0.72rem;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.tile-btn.active .tile-sub {
  color: rgba(255, 255, 255, 0.9);
}

/* ========================================================
   HAMBURGER MENÜ (3 STRICHE ☰ OBEN RECHTS) & DRAWER
   ======================================================== */
.btn-burger {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 42px;
  height: 42px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.2s ease;
  padding: 0;
  margin-left: 10px;
  flex-shrink: 0;
}

.btn-burger:hover {
  background: rgba(220, 38, 38, 0.15);
  border-color: rgba(220, 38, 38, 0.5);
  box-shadow: 0 0 12px rgba(220, 38, 38, 0.3);
}

.btn-burger .burger-bar {
  display: block;
  width: 22px;
  height: 2px;
  background: #f1f5f9;
  border-radius: 2px;
  transition: all 0.25s ease;
}

.btn-burger:hover .burger-bar {
  background: #ff5555;
}

/* Drawer Overlay & Sliding Panel */
.burger-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 10000;
  display: flex;
  justify-content: flex-end;
  opacity: 1;
  transition: opacity 0.25s ease;
}

.burger-overlay.hidden {
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
}

.burger-drawer {
  width: 380px;
  max-width: 90vw;
  height: 100%;
  background: #0d1017;
  border-left: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: -10px 0 35px rgba(0, 0, 0, 0.85);
  display: flex;
  flex-direction: column;
  transform: translateX(0);
  transition: transform 0.28s cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
}

.burger-overlay.hidden .burger-drawer {
  transform: translateX(100%);
}

.burger-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 20px 22px;
  background: rgba(255, 255, 255, 0.02);
  border-bottom: 1px solid var(--border);
}

.burger-close-btn {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-size: 1.8rem;
  line-height: 1;
  cursor: pointer;
  padding: 4px 10px;
  border-radius: 4px;
  transition: all 0.15s ease;
}

.burger-close-btn:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.08);
}

.burger-menu-list {
  padding: 16px 14px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.burger-menu-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid transparent;
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  text-decoration: none;
  cursor: pointer;
  text-align: left;
  transition: all 0.15s ease;
  width: 100%;
}

.burger-menu-item:hover {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(255, 255, 255, 0.12);
  transform: translateX(3px);
}

.burger-item-icon {
  font-size: 1.3rem;
  width: 28px;
  text-align: center;
  flex-shrink: 0;
}

.burger-item-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.burger-item-text strong {
  font-size: 0.92rem;
  color: #fff;
  font-weight: 600;
}

.burger-item-text small {
  font-size: 0.74rem;
  color: var(--text-muted);
}

.burger-divider {
  height: 1px;
  background: var(--border);
  margin: 10px 4px;
}

.burger-logout-item:hover {
  background: rgba(239, 68, 68, 0.15) !important;
  border-color: rgba(239, 68, 68, 0.4) !important;
}

/* ========================================================
   FARBSCHEMATA (THEMES) - 4 HOCHKONTRASTIGE DESIGNS
   ======================================================== */
:root {
  --theme-accent: #dc2626;
  --theme-accent-dark: #991b1b;
  --theme-accent-light: #ef4444;
  --theme-accent-shadow: rgba(220, 38, 38, 0.4);
}

/* 1. Standard: Baalphemor Obsidian Red */
body[data-color-theme="red"] {
  --border-focus: #dc2626;
  --theme-accent: #dc2626;
  --theme-accent-dark: #991b1b;
  --theme-accent-light: #ef4444;
  --theme-accent-shadow: rgba(220, 38, 38, 0.4);
}
body[data-color-theme="red"] .brand-badge {
  background: #dc2626 !important;
}

/* 2. Nordic Amber / Gold */
body[data-color-theme="gold"] {
  --bg-main: #0c0b08;
  --bg-card: #15130e;
  --bg-card-hover: #1c1913;
  --bg-input: #100e0a;
  --border: #2a2418;
  --border-focus: #f59e0b;
  --theme-accent: #d97706;
  --theme-accent-dark: #92400e;
  --theme-accent-light: #fbbf24;
  --theme-accent-shadow: rgba(245, 158, 11, 0.4);
}
body[data-color-theme="gold"] .brand-badge {
  background: #d97706 !important;
}
body[data-color-theme="gold"] .btn-primary {
  background: #d97706 !important;
  border-color: #f59e0b !important;
}
body[data-color-theme="gold"] .btn-primary:hover {
  background: #b45309 !important;
}

/* 3. Studio Cyan / Cobalt (High Tech & Studio Monitor) */
body[data-color-theme="cyan"] {
  --bg-main: #060b11;
  --bg-card: #0b1522;
  --bg-card-hover: #101e30;
  --bg-input: #08101a;
  --border: #18283d;
  --border-focus: #06b6d4;
  --theme-accent: #0284c7;
  --theme-accent-dark: #0369a1;
  --theme-accent-light: #38bdf8;
  --theme-accent-shadow: rgba(6, 182, 212, 0.4);
}
body[data-color-theme="cyan"] .brand-badge {
  background: #0284c7 !important;
}
body[data-color-theme="cyan"] .btn-primary {
  background: #0284c7 !important;
  border-color: #38bdf8 !important;
}
body[data-color-theme="cyan"] .btn-primary:hover {
  background: #0369a1 !important;
}

/* 4. Emerald Forest / Dark Jade (Ermüdungsfrei & Ruhig) */
body[data-color-theme="emerald"] {
  --bg-main: #060e0a;
  --bg-card: #0a1811;
  --bg-card-hover: #0f2219;
  --bg-input: #08130d;
  --border: #163023;
  --border-focus: #10b981;
  --theme-accent: #059669;
  --theme-accent-dark: #047857;
  --theme-accent-light: #34d399;
  --theme-accent-shadow: rgba(16, 185, 129, 0.4);
}
body[data-color-theme="emerald"] .brand-badge {
  background: #059669 !important;
}
body[data-color-theme="emerald"] .btn-primary {
  background: #059669 !important;
  border-color: #34d399 !important;
}
body[data-color-theme="emerald"] .btn-primary:hover {
  background: #047857 !important;
}

/* Theme Selector Pills im Burger-Menü & Profil */
.theme-selector-group {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 8px;
  padding: 4px 0 10px;
}

.theme-pill-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 5px;
  padding: 8px 4px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: all 0.2s ease;
  color: var(--text-secondary);
  user-select: none;
}

.theme-pill-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
}

.theme-pill-btn.active {
  border-color: #fff !important;
  background: rgba(255, 255, 255, 0.12) !important;
  color: #fff !important;
  box-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
}

.theme-color-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  display: block;
}

.theme-pill-btn span {
  font-size: 0.7rem;
  font-weight: 600;
}

/* ========================================================
   RESPONSIVES DESIGN: KEINE SCROLLBALKEN, VOLLE MOBIL-OPTIMIERUNG
   ======================================================== */
@media (max-width: 1080px) {
  .nav-tiles-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 8px;
    padding: 8px;
    overflow-x: hidden !important;
  }
}

@media (max-width: 580px) {
  .nav-tiles-grid {
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 6px;
    padding: 6px;
    overflow-x: hidden !important;
  }
  .tile-btn {
    padding: 8px 10px;
    gap: 8px;
    min-height: 48px;
  }
  .tile-btn .tile-icon {
    font-size: 1.15rem;
    width: 22px;
  }
  .tile-btn .tile-title {
    font-size: 0.8rem;
  }
  .tile-btn .tile-sub {
    font-size: 0.65rem;
  }
}


/* ========================================================
   TAB HELP BUTTONS (Mehr Infos & Erklärvideo)
   ======================================================== */
.tab-help-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.btn-tab-info,
.btn-tab-video {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.82rem;
  font-weight: 600;
  padding: 6px 12px;
  border-radius: var(--radius-sm);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #cbd5e1;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-tab-info:hover {
  background: rgba(56, 189, 248, 0.15);
  border-color: rgba(56, 189, 248, 0.4);
  color: #38bdf8;
  transform: translateY(-1px);
}

.btn-tab-video:hover {
  background: rgba(239, 68, 68, 0.15);
  border-color: rgba(239, 68, 68, 0.4);
  color: #ef4444;
  transform: translateY(-1px);
}

#btn-tab-info-speak.speaking {
  background: rgba(16, 185, 129, 0.25) !important;
  border-color: #10b981 !important;
  color: #10b981 !important;
  animation: pulseSpeaking 1.5s infinite;
}

@keyframes pulseSpeaking {
  0% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.5); }
  70% { box-shadow: 0 0 0 8px rgba(16, 185, 129, 0); }
  100% { box-shadow: 0 0 0 0 rgba(16, 185, 129, 0); }
}


/* ========================================================
   PRIVACY- / DISKRETIONS-MODUS (Backstage-Schutz)
   ======================================================== */
.privacy-blur {
  filter: blur(8px) !important;
  user-select: none !important;
  transition: filter 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  cursor: pointer;
}

.privacy-blur:hover {
  filter: blur(3px) !important;
}

.privacy-blur.revealed {
  filter: none !important;
  user-select: auto !important;
}

.btn-filter-bilanz {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  padding: 6px 12px;
  font-size: 0.8rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-filter-bilanz:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.btn-filter-bilanz.active {
  background: var(--theme-accent, #dc2626);
  border-color: var(--theme-accent-light, #ef4444);
  color: #fff;
  font-weight: 600;
}


/* ========================================================
   BAND-GUIDELINE & WISSENS-HUB STYLES ("Mehr Infos zu...")
   ======================================================== */
.btn-filter-guideline {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: var(--text-secondary);
  border-radius: var(--radius-sm);
  padding: 5px 12px;
  font-size: 0.78rem;
  cursor: pointer;
  transition: all 0.2s ease;
}

.btn-filter-guideline:hover {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.btn-filter-guideline.active {
  background: var(--theme-accent, #dc2626);
  border-color: var(--theme-accent-light, #ef4444);
  color: #fff;
  font-weight: 600;
}

.guideline-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 18px 20px;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.guideline-card:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
}

.guideline-content-text {
  font-size: 0.88rem;
  line-height: 1.6;
  color: #cbd5e1;
  background: rgba(0, 0, 0, 0.25);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  margin: 12px 0;
  border-left: 3px solid var(--theme-accent, #dc2626);
}

/* ========================================================
   PARTNER-FINANZEN DATENSCHUTZ & FORCED BLUR (MICHAEL ADMIN)
   ======================================================== */
.privacy-blur-forced {
  filter: blur(7px) !important;
  user-select: none !important;
  pointer-events: none !important;
  opacity: 0.65;
  transition: none !important;
}

.privacy-badge-protected {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  background: rgba(239, 68, 68, 0.12);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #f87171;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}

/* ========================================================
   ADMIN TEST-COCKPIT TIER SWITCHER BAR (BAALPHEMOR SIMULATOR)
   ======================================================== */
.admin-tier-bar {
  background: linear-gradient(135deg, rgba(30, 41, 59, 0.95), rgba(15, 23, 42, 0.98));
  border: 1px solid rgba(56, 189, 248, 0.35);
  border-radius: var(--radius-md);
  padding: 12px 18px;
  margin-bottom: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4), 0 0 15px rgba(56, 189, 248, 0.12);
}

.admin-tier-bar-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.admin-tier-bar-title {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
}

.admin-tier-tag {
  background: rgba(56, 189, 248, 0.2);
  border: 1px solid #38bdf8;
  color: #38bdf8;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.5px;
}

.admin-tier-sub {
  font-size: 0.88rem;
  color: #e2e8f0;
}

.tier-buttons {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.btn-tier-switch {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 7px 14px;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
  user-select: none;
}

.btn-tier-switch:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.25);
  color: #fff;
  transform: translateY(-1px);
}

.btn-tier-switch.active {
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.3), rgba(14, 165, 233, 0.2));
  border-color: #38bdf8;
  color: #38bdf8;
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.3);
}

/* ========================================================
   PASSWORT VERGESSEN & SELF-SERVICE MODAL
   ======================================================== */
.btn-link {
  font-family: inherit;
  transition: opacity 0.2s ease;
}
.btn-link:hover {
  opacity: 0.85;
}

/* Banner Nav Controls (Projekt Switcher & Burger Menü im Hero-Banner) */
.banner-nav-controls {
  display: flex;
  align-items: center;
  gap: 12px;
}

.banner-nav-controls .band-selector select {
  height: 42px;
  padding: 8px 12px;
}

@media (max-width: 860px) {
  .banner-nav-controls {
    width: 100%;
    justify-content: space-between;
    margin-left: 0 !important;
  }
  .banner-nav-controls .band-selector {
    flex: 1;
  }
  .banner-nav-controls .band-selector select {
    width: 100%;
  }
}

/* ========================================================
   GIG-VERKÄUFE & GRÖSSEN-SKALIERUNG CSS
   ======================================================== */
.merch-subtabs .active-subtab {
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.25), rgba(2, 132, 199, 0.35)) !important;
  color: #38bdf8 !important;
  border-color: #38bdf8 !important;
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.3) !important;
}

/* Toggle Switch */
.toggle-switch {
  position: relative;
  display: inline-block;
  width: 48px;
  height: 26px;
  flex-shrink: 0;
}
.toggle-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}
.toggle-slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: rgba(255, 255, 255, 0.15);
  transition: .25s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 34px;
  border: 1px solid var(--border);
}
.toggle-slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: .25s cubic-bezier(0.4, 0, 0.2, 1);
  border-radius: 50%;
}
.toggle-switch input:checked + .toggle-slider {
  background-color: #10b981;
}
.toggle-switch input:checked + .toggle-slider:before {
  transform: translateX(22px);
}

/* Size Inputs Grid in Modal */
.size-input-col {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 6px 4px;
}
.size-input-col .size-lbl {
  font-size: 0.72rem;
  font-weight: 800;
  color: #38bdf8;
}
.size-input-col input {
  width: 100%;
  text-align: center;
  padding: 4px 2px;
  background: var(--bg-card);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 700;
}

/* Size Badges in Table */
.size-badge-pill {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 2px 6px;
  border-radius: 4px;
  font-size: 0.72rem;
  font-weight: 700;
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #cbd5e1;
  margin: 1px;
}
.size-badge-pill.has-stock {
  border-color: rgba(16, 185, 129, 0.35);
  background: rgba(16, 185, 129, 0.1);
  color: #34d399;
}
.size-badge-pill.zero-stock {
  opacity: 0.45;
  color: #94a3b8;
}

/* Filter Button Pills in Gig Sales */
.btn-gig-type-filter {
  padding: 6px 12px;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: var(--bg-card);
  color: var(--text-secondary);
  font-size: 0.82rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
}
.btn-gig-type-filter:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}
.btn-gig-type-filter.active-filter {
  background: linear-gradient(135deg, #0284c7, #0369a1) !important;
  color: #fff !important;
  border-color: #38bdf8 !important;
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.3) !important;
}

/* Counter Buttons for Selling */
.gig-counter-btn {
  width: 28px;
  height: 28px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 6px;
  border: 1px solid var(--border);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font-size: 1rem;
  font-weight: 800;
  cursor: pointer;
  transition: all 0.15s ease;
  user-select: none;
}
.gig-counter-btn:hover {
  background: rgba(255, 255, 255, 0.18);
  border-color: #38bdf8;
}
.gig-counter-btn:active {
  transform: scale(0.92);
}

/* Gig Sale Card */
.gig-sale-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-md);
  padding: 18px 22px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
  gap: 16px;
  transition: transform 0.15s ease, border-color 0.15s ease;
}
.gig-sale-card:hover {
  border-color: #38bdf8;
  transform: translateY(-2px);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.3);
}


/* ========================================================
   HAUPTMENÜ DESIGN-MODUS (REIHENFOLGE & AUSBLENDEN)
   ======================================================== */
.btn-menu-design {
  transition: all 0.2s ease;
}
.btn-menu-design:hover {
  background: rgba(255, 255, 255, 0.12) !important;
  border-color: rgba(255, 255, 255, 0.35) !important;
}
.btn-menu-design.active-mode {
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.25), rgba(2, 132, 199, 0.35)) !important;
  color: #38bdf8 !important;
  border-color: #38bdf8 !important;
  box-shadow: 0 0 14px rgba(56, 189, 248, 0.4) !important;
  font-weight: 700;
}

/* Nav Grid im Design-Modus */
.nav-tiles-grid.design-mode-active {
  position: relative;
  background: rgba(56, 189, 248, 0.04);
  padding: 8px;
  border-radius: var(--radius-lg);
  border: 1px dashed rgba(56, 189, 248, 0.35);
}

.nav-tiles-grid.design-mode-active .tile-btn {
  position: relative !important;
  cursor: grab !important;
  border: 1px dashed rgba(56, 189, 248, 0.45) !important;
  user-select: none;
  min-height: 84px;
}
.nav-tiles-grid.design-mode-active .tile-btn:active {
  cursor: grabbing !important;
}
.nav-tiles-grid.design-mode-active .tile-btn.is-dragging {
  opacity: 0.35;
  transform: scale(0.96);
}
.nav-tiles-grid.design-mode-active .tile-btn.drag-over {
  border-color: #38bdf8 !important;
  background: rgba(56, 189, 248, 0.18) !important;
  transform: scale(1.02);
}

/* Kachel ausgeblendet im Design-Modus */
.tile-btn.tile-hidden-dimmed {
  opacity: 0.42 !important;
  filter: grayscale(85%) !important;
  border-color: rgba(239, 68, 68, 0.4) !important;
  background: rgba(239, 68, 68, 0.05) !important;
}

/* Eye-Button auf Kachel */
.tile-eye-btn {
  position: absolute;
  top: 6px;
  right: 6px;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.25);
  font-size: 0.8rem;
  color: #fff;
  cursor: pointer;
  z-index: 15;
  transition: all 0.15s ease;
}
.tile-eye-btn:hover {
  transform: scale(1.15);
  background: rgba(15, 23, 42, 1);
  border-color: #38bdf8;
}

/* Move Buttons ◀ ▶ auf Kachel */
.tile-move-controls {
  position: absolute;
  bottom: 6px;
  right: 6px;
  display: flex;
  gap: 3px;
  z-index: 15;
}
.tile-move-btn {
  width: 24px;
  height: 22px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.25);
  font-size: 0.7rem;
  color: #e2e8f0;
  cursor: pointer;
  transition: all 0.15s ease;
}
.tile-move-btn:hover {
  background: #38bdf8;
  color: #0f172a;
  border-color: #38bdf8;
  font-weight: 800;
}

/* Badge 'Ausgeblendet' */
.tile-hidden-badge {
  position: absolute;
  bottom: 6px;
  left: 8px;
  font-size: 0.65rem;
  font-weight: 700;
  text-transform: uppercase;
  color: #ef4444;
  background: rgba(239, 68, 68, 0.15);
  padding: 1px 6px;
  border-radius: 4px;
  border: 1px solid rgba(239, 68, 68, 0.3);
}

/* Normaler Modus: Ausgeblendete Kacheln komplett verstecken */
.tile-btn.menu-tile-hidden {
  display: none !important;
}

/* ========================================================
   BILANZ RECURRING (REGELMÄSSIGE AUSGABEN) CSS
   ======================================================== */
.bilanz-recurring-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 0.72rem;
  padding: 2px 7px;
  border-radius: 12px;
  background: rgba(168, 85, 247, 0.15);
  color: #c084fc;
  border: 1px solid rgba(168, 85, 247, 0.3);
  font-weight: 600;
  margin-top: 3px;
}

.badge-end-of-month {
  font-size: 0.68rem;
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.12);
  padding: 1px 5px;
  border-radius: 4px;
  margin-left: 4px;
  border: 1px solid rgba(56, 189, 248, 0.25);
}


/* ========================================================
   ADMIN PRICING & ABO-KONFIGURATOR CSS
   ======================================================== */
.pricing-admin-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  align-items: stretch;
  margin-bottom: 30px;
}

@media (max-width: 1200px) {
  .pricing-admin-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 680px) {
  .pricing-admin-grid {
    grid-template-columns: 1fr;
  }
}

.pricing-admin-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 24px;
  display: flex;
  flex-direction: column;
  position: relative;
  transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
}

.pricing-admin-card:hover {
  border-color: rgba(56, 189, 248, 0.4);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.pricing-admin-card.featured-pro {
  border-color: #38bdf8;
  background: linear-gradient(180deg, rgba(56, 189, 248, 0.08) 0%, rgba(15, 23, 42, 0.6) 100%);
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.2);
}

.pricing-admin-card.featured-partner {
  border-color: #f59e0b;
  background: linear-gradient(180deg, rgba(245, 158, 11, 0.08) 0%, rgba(15, 23, 42, 0.6) 100%);
  box-shadow: 0 0 20px rgba(245, 158, 11, 0.15);
}

.pricing-card-badge {
  display: inline-block;
  font-size: 0.72rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 4px 10px;
  border-radius: 9999px;
  margin-bottom: 12px;
  align-self: flex-start;
}

.pricing-card-title {
  font-size: 1.3rem;
  font-weight: 800;
  color: #fff;
  margin: 0 0 6px 0;
}

.pricing-card-price-row {
  display: flex;
  align-items: baseline;
  gap: 8px;
  margin: 14px 0 6px 0;
}

.pricing-card-price-input {
  font-size: 1.6rem;
  font-weight: 900;
  color: #fff;
  background: rgba(0, 0, 0, 0.3);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 4px 8px;
  width: 120px;
  text-align: right;
  font-variant-numeric: tabular-nums;
}

.pricing-card-desc-textarea {
  width: 100%;
  background: rgba(0, 0, 0, 0.25);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 8px 10px;
  color: var(--text-secondary);
  font-size: 0.8rem;
  line-height: 1.4;
  resize: vertical;
  min-height: 54px;
  margin-bottom: 16px;
}

.pricing-features-list {
  list-style: none;
  padding: 0;
  margin: 0 0 20px 0;
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.pricing-feature-item {
  font-size: 0.82rem;
  color: #cbd5e1;
  display: flex;
  align-items: flex-start;
  gap: 8px;
  line-height: 1.4;
}

.pricing-feature-check {
  color: #10b981;
  font-size: 0.9rem;
  flex-shrink: 0;
}

.pricing-card-save-btn {
  margin-top: auto;
  width: 100%;
  padding: 10px 14px;
  font-weight: 700;
  font-size: 0.88rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.15s ease;
}
