/* Odisha Entertainment Dashboard - CineSphere Dark Mode Design System */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Outfit:wght@400;500;600;700;800&display=swap');

:root {
  --bg-dark: #090d16;
  --bg-card: rgba(15, 23, 42, 0.75);
  --bg-card-hover: rgba(30, 41, 59, 0.85);
  --bg-input: rgba(30, 41, 59, 0.6);
  --border-glass: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(245, 158, 11, 0.3);
  
  --accent-gold: #f59e0b;
  --accent-gold-glow: rgba(245, 158, 11, 0.15);
  --accent-red: #ef4444;
  --accent-cyan: #06b6d4;
  --accent-emerald: #10b981;
  --accent-purple: #8b5cf6;
  
  --text-main: #f8fafc;
  --text-sub: #cbd5e1;
  --text-muted: #64748b;

  --sidebar-width: 260px;
  --header-height: 72px;
  --radius-lg: 16px;
  --radius-md: 12px;
  --radius-sm: 8px;
  --shadow-glow: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
  --transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-main);
  background-image: 
    radial-gradient(circle at 10% 20%, rgba(245, 158, 11, 0.04) 0%, transparent 40%),
    radial-gradient(circle at 90% 80%, rgba(6, 182, 212, 0.04) 0%, transparent 40%);
  background-attachment: fixed;
  min-height: 100vh;
  overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6, .brand-title {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
}

/* App Container Layout */
.app-container {
  display: flex;
  min-height: 100vh;
}

/* Sidebar Navigation */
.sidebar {
  width: var(--sidebar-width);
  background: rgba(11, 15, 25, 0.95);
  backdrop-filter: blur(20px);
  border-right: 1px solid var(--border-glass);
  padding: 24px 16px;
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  z-index: 100;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 0 12px 28px 12px;
  border-bottom: 1px solid var(--border-glass);
  margin-bottom: 24px;
}

.brand-logo {
  width: 42px;
  height: 42px;
  background: linear-gradient(135deg, #f59e0b, #ef4444);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
}

.brand-text h2 {
  font-size: 18px;
  letter-spacing: -0.5px;
  background: linear-gradient(to right, #ffffff, #cbd5e1);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.brand-text p {
  font-size: 11px;
  color: var(--accent-gold);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}

.nav-menu {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 6px;
  flex-grow: 1;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 12px 16px;
  border-radius: var(--radius-md);
  color: var(--text-sub);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition-fast);
}

.nav-item:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-main);
  transform: translateX(4px);
}

.nav-item.active {
  background: linear-gradient(90deg, var(--accent-gold-glow), rgba(245, 158, 11, 0.02));
  border-left: 3px solid var(--accent-gold);
  color: var(--accent-gold);
  font-weight: 600;
}

.nav-item svg {
  width: 20px;
  height: 20px;
  stroke-width: 2px;
}

.sidebar-footer {
  margin-top: auto;
  padding-top: 20px;
  border-top: 1px solid var(--border-glass);
}

.server-status-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.2);
  border-radius: 30px;
  font-size: 12px;
  color: var(--accent-emerald);
}

.status-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--accent-emerald);
  box-shadow: 0 0 10px var(--accent-emerald);
  animation: pulse 2s infinite;
}

@keyframes pulse {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.15); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

/* Main Content Area */
.main-content {
  margin-left: var(--sidebar-width);
  flex-grow: 1;
  padding: 32px 40px;
  min-height: 100vh;
}

/* Header */
.top-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 36px;
}

.page-title h1 {
  font-size: 28px;
  letter-spacing: -0.5px;
}

.page-title p {
  color: var(--text-muted);
  font-size: 14px;
  margin-top: 4px;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 16px;
}

.search-box {
  position: relative;
}

.search-box input {
  background: var(--bg-input);
  border: 1px solid var(--border-glass);
  border-radius: 30px;
  padding: 10px 16px 10px 42px;
  color: var(--text-main);
  font-size: 14px;
  width: 260px;
  transition: var(--transition-fast);
}

.search-box input:focus {
  outline: none;
  border-color: var(--accent-gold);
  box-shadow: 0 0 15px var(--accent-gold-glow);
  width: 300px;
}

.search-box svg {
  position: absolute;
  left: 14px;
  top: 50%;
  transform: translateY(-50%);
  width: 18px;
  height: 18px;
  color: var(--text-muted);
}

.btn-primary {
  background: linear-gradient(135deg, var(--accent-gold), #d97706);
  color: #000;
  font-weight: 600;
  font-size: 14px;
  padding: 10px 20px;
  border-radius: 30px;
  border: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition-fast);
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.25);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(245, 158, 11, 0.4);
}

.btn-outline {
  background: transparent;
  border: 1px solid var(--border-glass);
  color: var(--text-main);
  font-size: 14px;
  font-weight: 500;
  padding: 10px 18px;
  border-radius: 30px;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 8px;
  transition: var(--transition-fast);
}

.btn-outline:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--text-sub);
}

.btn-edit {
  background: rgba(6, 182, 212, 0.15);
  color: var(--accent-cyan);
  border: 1px solid rgba(6, 182, 212, 0.3);
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-fast);
}

.btn-edit:hover {
  background: rgba(6, 182, 212, 0.3);
}

.btn-delete {
  background: rgba(239, 68, 68, 0.15);
  color: var(--accent-red);
  border: 1px solid rgba(239, 68, 68, 0.3);
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-fast);
}

.btn-delete:hover {
  background: rgba(239, 68, 68, 0.3);
}

/* Form Group Controls */
.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 6px;
  letter-spacing: 0.5px;
}

.form-control {
  width: 100%;
  padding: 10px 14px;
  background: var(--bg-input);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-sm);
  color: var(--text-main);
  font-size: 14px;
  outline: none;
  transition: var(--transition-fast);
}

.form-control:focus {
  border-color: var(--accent-gold);
  box-shadow: 0 0 10px var(--accent-gold-glow);
}

/* Glassmorphism Metric Cards */
.metrics-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 24px;
  margin-bottom: 36px;
}

.metric-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 24px;
  position: relative;
  overflow: hidden;
  transition: var(--transition-fast);
}

.metric-card:hover {
  border-color: var(--border-glow);
  transform: translateY(-4px);
  box-shadow: var(--shadow-glow);
}

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

.metric-title {
  font-size: 13px;
  color: var(--text-muted);
  text-transform: uppercase;
  font-weight: 600;
  letter-spacing: 0.5px;
}

.metric-icon {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.metric-icon.gold { background: rgba(245, 158, 11, 0.15); color: var(--accent-gold); }
.metric-icon.cyan { background: rgba(6, 182, 212, 0.15); color: var(--accent-cyan); }
.metric-icon.emerald { background: rgba(16, 185, 129, 0.15); color: var(--accent-emerald); }
.metric-icon.purple { background: rgba(139, 92, 246, 0.15); color: var(--accent-purple); }

.metric-value {
  font-size: 30px;
  font-weight: 800;
  font-family: 'Outfit', sans-serif;
  letter-spacing: -0.5px;
  margin-bottom: 8px;
}

.metric-footer {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
}

.trend-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  padding: 4px 8px;
  border-radius: 20px;
  font-weight: 600;
  font-size: 12px;
}

.trend-badge.up { background: rgba(16, 185, 129, 0.15); color: var(--accent-emerald); }
.trend-badge.down { background: rgba(239, 68, 68, 0.15); color: var(--accent-red); }

.metric-subtext {
  color: var(--text-muted);
}

/* Dashboard Content Grid */
.content-grid {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 32px;
  margin-bottom: 36px;
}

.section-card {
  background: var(--bg-card);
  backdrop-filter: blur(16px);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 28px;
}

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

.section-header h3 {
  font-size: 18px;
}

/* Dynamic Charts */
.chart-container {
  width: 100%;
  height: 280px;
  position: relative;
}

/* Movie Leaderboard List */
.movie-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.movie-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  transition: var(--transition-fast);
}

.movie-item:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(245, 158, 11, 0.3);
}

.movie-info {
  display: flex;
  align-items: center;
  gap: 14px;
}

.movie-poster-placeholder {
  width: 44px;
  height: 58px;
  background: linear-gradient(135deg, #1e293b, #0f172a);
  border-radius: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--accent-gold);
  font-weight: 700;
  font-size: 18px;
  border: 1px solid var(--border-glass);
}

.movie-details h4 {
  font-size: 15px;
  margin-bottom: 4px;
}

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

.movie-progress {
  width: 120px;
}

.progress-bar-bg {
  width: 100%;
  height: 6px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 10px;
  overflow: hidden;
  margin-top: 6px;
}

.progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--accent-gold), var(--accent-red));
  border-radius: 10px;
}

/* Data Table Styling */
.table-responsive {
  width: 100%;
  overflow-x: auto;
}

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

.custom-table th {
  padding: 14px 18px;
  font-size: 12px;
  text-transform: uppercase;
  color: var(--text-muted);
  font-weight: 600;
  letter-spacing: 0.5px;
  border-bottom: 1px solid var(--border-glass);
}

.custom-table td {
  padding: 16px 18px;
  font-size: 14px;
  border-bottom: 1px solid var(--border-glass);
  color: var(--text-sub);
}

.custom-table tr:hover td {
  background: rgba(255, 255, 255, 0.02);
  color: var(--text-main);
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}

.badge-confirmed { background: rgba(16, 185, 129, 0.15); color: var(--accent-emerald); border: 1px solid rgba(16, 185, 129, 0.3); }
.badge-pending { background: rgba(245, 158, 11, 0.15); color: var(--accent-gold); border: 1px solid rgba(245, 158, 11, 0.3); }
.badge-cancelled { background: rgba(239, 68, 68, 0.15); color: var(--accent-red); border: 1px solid rgba(239, 68, 68, 0.3); }

/* Database Terminal Inspector Tab */
.db-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
  flex-wrap: wrap;
}

.db-tab-btn {
  padding: 8px 16px;
  background: var(--bg-input);
  border: 1px solid var(--border-glass);
  border-radius: 20px;
  color: var(--text-sub);
  font-size: 13px;
  cursor: pointer;
  transition: var(--transition-fast);
}

.db-tab-btn.active, .db-tab-btn:hover {
  background: var(--accent-gold-glow);
  border-color: var(--accent-gold);
  color: var(--accent-gold);
}

.raw-json-box {
  background: #05080e;
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-md);
  padding: 20px;
  font-family: 'Consolas', 'Courier New', monospace;
  font-size: 13px;
  color: #38bdf8;
  max-height: 400px;
  overflow-y: auto;
  white-space: pre-wrap;
}

/* Modal Popup */
.modal-backdrop {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  overflow-y: auto;
  padding: 20px 10px;
  z-index: 1000;
  opacity: 0;
  pointer-events: none;
  transition: var(--transition-fast);
}

.modal-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-card {
  background: #0f172a;
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-lg);
  padding: 32px;
  width: 100%;
  max-width: 500px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
}

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

.close-btn {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 24px;
  cursor: pointer;
}

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

/* Material Design 3 Large Modal & Form Styling */
.modal-card.large-modal {
  max-width: 900px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  padding: 28px;
  background: #0b0f19;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.6);
  animation: modalScaleIn 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  overflow: hidden;
}

#movie-form, #theatre-form {
  display: flex;
  flex-direction: column;
  flex: 1;
  min-height: 0;
  overflow: hidden;
}

@keyframes modalScaleIn {
  from { transform: scale(0.95); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

.modal-scroll-area {
  flex: 1;
  overflow-y: auto;
  padding-right: 12px;
  margin-top: 10px;
  margin-bottom: 20px;
}

/* Custom Scrollbar for Modal Area */
.modal-scroll-area::-webkit-scrollbar {
  width: 6px;
}
.modal-scroll-area::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.02);
  border-radius: 4px;
}
.modal-scroll-area::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 4px;
}
.modal-scroll-area::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.3);
}

.form-section {
  margin-bottom: 24px;
}

.section-title {
  font-size: 16px;
  font-weight: 600;
  color: var(--accent-gold);
  margin-bottom: 16px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.section-divider {
  border: 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(255,255,255,0.08) 0%, rgba(255,255,255,0.02) 100%);
  margin: 24px 0;
}

.form-grid {
  display: grid;
  grid-template-columns: repeat(12, 1fr);
  gap: 16px;
}

.col-12 { grid-column: span 12; }
.col-8 { grid-column: span 8; }
.col-7 { grid-column: span 7; }
.col-6 { grid-column: span 6; }
.col-5 { grid-column: span 5; }
.col-4 { grid-column: span 4; }

.required-star {
  color: var(--accent-red);
  margin-left: 2px;
}

.inline-error {
  display: block;
  color: var(--accent-red);
  font-size: 11px;
  margin-top: 4px;
  font-weight: 500;
}

.form-control.error-field {
  border-color: var(--accent-red) !important;
  box-shadow: 0 0 0 2px rgba(239, 68, 68, 0.2);
}

/* Custom Multiselect styles */
.custom-multiselect {
  position: relative;
  width: 100%;
}

.custom-multiselect .select-trigger {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px;
  background: var(--bg-input);
  border: 1px solid var(--border-glass);
  border-radius: var(--radius-sm);
  color: var(--text-main);
  font-size: 13px;
  cursor: pointer;
  user-select: none;
  transition: var(--transition-fast);
}

.custom-multiselect .select-trigger:hover {
  border-color: rgba(255, 255, 255, 0.2);
}

.custom-multiselect .select-arrow {
  font-size: 10px;
  color: var(--text-muted);
  transition: transform 0.2s ease;
}

.custom-multiselect.open .select-arrow {
  transform: rotate(180deg);
}

.custom-multiselect .dropdown-options {
  position: absolute;
  top: 105%;
  left: 0;
  right: 0;
  background: #0f172a;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: var(--radius-sm);
  max-height: 200px;
  overflow-y: auto;
  z-index: 2000;
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  padding: 8px 0;
}

.custom-multiselect .dropdown-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 14px;
  font-size: 13px;
  color: var(--text-sub);
  cursor: pointer;
  transition: background 0.15s ease;
}

.custom-multiselect .dropdown-option:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-main);
}

.custom-multiselect .dropdown-option input[type="checkbox"] {
  accent-color: var(--accent-gold);
  cursor: pointer;
}

.selected-chips-container {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  margin-top: 8px;
}

.selected-chips-container .chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.25);
  border-radius: 16px;
  font-size: 11px;
  color: var(--accent-gold);
  font-weight: 500;
}

.selected-chips-container .chip .remove-chip {
  cursor: pointer;
  font-size: 12px;
  color: var(--accent-gold);
  opacity: 0.7;
  transition: opacity 0.15s;
}

.selected-chips-container .chip .remove-chip:hover {
  opacity: 1;
}

/* Character Counter */
.char-counter-container {
  text-align: right;
  margin-top: 4px;
}

.char-counter {
  font-size: 11px;
  color: var(--text-muted);
}

/* Dynamic rows cast/crew sections */
.dynamic-section {
  background: rgba(255, 255, 255, 0.015);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: var(--radius-md);
  padding: 16px;
  margin-top: 14px;
}

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

.dynamic-header h4 {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-sub);
}

.btn-secondary-sm {
  padding: 6px 12px;
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.2);
  border-radius: var(--radius-sm);
  color: var(--accent-gold);
  font-size: 11px;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition-fast);
}

.btn-secondary-sm:hover {
  background: rgba(245, 158, 11, 0.2);
}

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

.dynamic-row {
  display: grid;
  grid-template-columns: 1fr 1fr 120px 40px;
  gap: 10px;
  align-items: center;
}

.dynamic-row.crew-row {
  grid-template-columns: 1fr 1fr 40px;
}

.dynamic-row .btn-remove-row {
  height: 36px;
  width: 36px;
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.2);
  border-radius: var(--radius-sm);
  color: var(--accent-red);
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

.dynamic-row .btn-remove-row:hover {
  background: rgba(239, 68, 68, 0.2);
}

.dynamic-row-image-preview {
  width: 36px;
  height: 36px;
  border-radius: var(--radius-sm);
  background: var(--bg-input);
  border: 1px solid var(--border-glass);
  background-size: cover;
  background-position: center;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 10px;
  color: var(--text-muted);
}

/* Upload Zone for media files */
.upload-zone {
  position: relative;
  height: 180px;
  border: 2px dashed var(--border-glass);
  border-radius: var(--radius-md);
  background: var(--bg-input);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  overflow: hidden;
  transition: var(--transition-fast);
}

.upload-zone.landscape {
  height: 140px;
}

.upload-zone:hover, .upload-zone.dragover {
  border-color: var(--accent-gold);
  background: rgba(245, 158, 11, 0.03);
}

.upload-zone.dragover .upload-icon {
  transform: translateY(-5px);
  color: var(--accent-gold);
}

.upload-icon {
  font-size: 32px;
  color: var(--text-muted);
  margin-bottom: 8px;
  transition: var(--transition-fast);
}

.upload-text {
  font-size: 12px;
  color: var(--text-sub);
  text-align: center;
}

.upload-browse {
  color: var(--accent-gold);
  font-weight: 600;
  text-decoration: underline;
}

.upload-preview {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 10;
  background: #0f172a;
}

/* Video Preview Ratio 16:9 */
.video-preview-ratio {
  position: relative;
  width: 100%;
  padding-top: 56.25%; /* 16:9 Ratio */
  background: #000;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--border-glass);
}

.video-preview-ratio iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* Duration fields */
.duration-inputs {
  display: flex;
  gap: 12px;
}

.dur-field {
  display: flex;
  align-items: center;
  gap: 6px;
  flex: 1;
}

.dur-field span {
  font-size: 12px;
  color: var(--text-muted);
  font-weight: 500;
}

.duration-preview-text {
  font-size: 11px;
  color: var(--accent-emerald);
  margin-top: 6px;
  font-weight: 600;
}

/* Modal Footer Buttons */
.modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  padding-top: 20px;
  border-top: 1px solid var(--border-glass);
}

.modal-footer button {
  padding: 10px 20px;
  font-size: 13px;
  font-weight: 600;
  border-radius: var(--radius-sm);
  cursor: pointer;
  transition: var(--transition-fast);
}

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

.btn-secondary:hover {
  background: var(--accent-gold);
  color: #000;
}

/* Responsive adjustment */
@media (max-width: 768px) {
  .modal-card.large-modal, .modal-card.extra-large-modal {
    width: 95% !important;
    max-height: 95vh !important;
    padding: 18px !important;
  }
  
  .col-6, .col-8, .col-4 {
    grid-column: span 12 !important;
  }
  
  .dynamic-row {
    grid-template-columns: 1fr 1fr 40px !important;
  }
  .dynamic-row-image-preview {
    display: none !important;
  }
}

/* Extra Large Modal (Cinema Hall form) */
.modal-card.extra-large-modal {
  max-width: 1100px;
  max-height: 90vh;
  display: flex;
  flex-direction: column;
  padding: 28px;
  background: #0b0f19;
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 24px 48px rgba(0, 0, 0, 0.6);
  animation: modalScaleIn 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
  overflow: hidden;
}

/* Searchable Dropdowns */
.searchable-dropdown {
  position: relative;
  width: 100%;
}

.searchable-trigger {
  position: relative;
  display: flex;
  align-items: center;
}

.searchable-trigger .dropdown-arrow {
  position: absolute;
  right: 14px;
  font-size: 9px;
  color: var(--text-muted);
  pointer-events: none;
  transition: transform 0.2s ease;
}

.searchable-dropdown.open .dropdown-arrow {
  transform: rotate(180deg);
}

.searchable-options-list {
  position: absolute;
  top: 105%;
  left: 0;
  right: 0;
  background: #0e1320;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: var(--radius-sm);
  max-height: 180px;
  overflow-y: auto;
  z-index: 2100;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.6);
  padding: 6px 0;
}

.searchable-option-item {
  padding: 9px 14px;
  font-size: 13px;
  color: var(--text-sub);
  cursor: pointer;
  transition: background 0.15s ease, color 0.15s ease;
}

.searchable-option-item:hover {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-main);
}

.searchable-option-item.no-results {
  color: var(--text-muted);
  font-style: italic;
  cursor: default;
  background: transparent !important;
}

.disabled-dropdown {
  opacity: 0.5;
  pointer-events: none;
}

.disabled-dropdown input {
  background: rgba(255, 255, 255, 0.02) !important;
  cursor: not-allowed;
}

/* Sound & Projection Capabilities Layout */
.capabilities-container {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  background: rgba(255, 255, 255, 0.012);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: var(--radius-md);
  padding: 16px;
}

@media (max-width: 576px) {
  .capabilities-container {
    grid-template-columns: 1fr;
    gap: 16px;
  }
}

.cap-column {
  display: flex;
  flex-direction: column;
}

.cap-column-title {
  font-size: 12px;
  font-weight: 600;
  color: var(--accent-gold);
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  padding-bottom: 6px;
  margin-bottom: 10px;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.cap-checkbox-list {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px 12px;
}

@media (max-width: 768px) {
  .cap-checkbox-list {
    grid-template-columns: 1fr;
  }
}

.cap-item {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--text-sub);
}

.cap-item input[type="checkbox"] {
  accent-color: var(--accent-gold);
  cursor: pointer;
}

.cap-item label {
  cursor: pointer;
  margin: 0;
  user-select: none;
}

/* Premium Toast Notifications */
.toast-container {
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 12px;
  pointer-events: none;
}

.toast {
  pointer-events: auto;
  background: rgba(15, 23, 42, 0.95);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-left: 4px solid var(--accent-gold);
  border-radius: var(--radius-md);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
  padding: 16px 20px;
  min-width: 320px;
  max-width: 450px;
  display: flex;
  align-items: center;
  gap: 12px;
  transform: translateX(120%);
  transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.toast.show {
  transform: translateX(0);
}

.toast-success {
  border-left-color: var(--accent-emerald);
}

.toast-error {
  border-left-color: var(--accent-red);
}

.toast-icon {
  font-size: 18px;
  flex-shrink: 0;
}

.toast-content {
  flex: 1;
}

.toast-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-main);
  margin-bottom: 2px;
}

.toast-message {
  font-size: 11px;
  color: var(--text-muted);
}

.toast-close {
  background: none;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 16px;
  padding: 0;
  transition: color 0.15s;
}

.toast-close:hover {
  color: var(--text-main);
}

/* Interactive Cinema Cards & Details Shows Lists */
.theatre-card-interactive {
  cursor: pointer;
  transition: transform 0.2s cubic-bezier(0.165, 0.84, 0.44, 1), box-shadow 0.2s ease, border-color 0.2s ease;
}

.theatre-card-interactive:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 24px rgba(6, 182, 212, 0.15);
  border-color: rgba(6, 182, 212, 0.3) !important;
}

.det-show-row {
  background: rgba(255, 255, 255, 0.015);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  transition: background 0.15s ease;
}

.det-show-row:hover {
  background: rgba(255, 255, 255, 0.03);
}

.det-show-info {
  flex: 1;
}

.det-show-title {
  font-size: 14px;
  font-weight: 600;
  color: var(--text-main);
  margin-bottom: 4px;
}

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

.det-show-stats {
  text-align: right;
  min-width: 145px;
}

.det-show-price {
  font-size: 13px;
  font-weight: 700;
  color: var(--accent-emerald);
  margin-bottom: 4px;
}

.det-show-seats {
  font-size: 11px;
  color: var(--text-sub);
}

.det-show-progress-bg {
  width: 100%;
  height: 4px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 2px;
  margin-top: 6px;
  overflow: hidden;
}

.det-show-progress-bar {
  height: 100%;
  background: var(--accent-cyan);
  border-radius: 2px;
}

/* Premium Custom Select Dropdowns */
select.form-control-premium {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  background-color: rgba(30, 41, 59, 0.6);
  color: var(--text-main);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 6px;
  padding: 8px 30px 8px 12px;
  height: 38px;
  background-image: url("data:image/svg+xml;utf8,<svg fill='%23a1a1aa' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/><path d='M0 0h24v24H0z' fill='none'/></svg>");
  background-repeat: no-repeat;
  background-position: right 10px center;
  background-size: 20px;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: 'Inter', sans-serif;
  font-size: 13px;
}

select.form-control-premium:hover:not(:disabled) {
  background-color: rgba(30, 41, 59, 0.8);
  border-color: rgba(255, 255, 255, 0.15);
}

select.form-control-premium:focus {
  outline: none;
  border-color: var(--accent-cyan);
  box-shadow: 0 0 0 2px rgba(6, 182, 212, 0.2);
}

select.form-control-premium:disabled {
  opacity: 0.45;
  cursor: not-allowed;
  background-color: rgba(255, 255, 255, 0.02);
  color: var(--text-muted);
}

select.form-control-premium option {
  background-color: #0f172a;
  color: var(--text-main);
}



