@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

:root {
  --bg-primary: #070A12;
  --bg-secondary: #0d1117;
  --bg-card: rgba(15, 20, 35, 0.7);
  --bg-card-hover: rgba(20, 28, 50, 0.8);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
  --text-primary: #e8eaed;
  --text-secondary: #8b949e;
  --text-muted: #6b7280;
  --neon-cyan: #00e5ff;
  --neon-magenta: #ff00e5;
  --neon-lime: #76ff03;
  --neon-yellow: #ffea00;
  --neon-orange: #ff6e40;
  --neon-purple: #7c4dff;
  --neon-red: #ff1744;
  --neon-green: #00e676;
  --border-radius: 16px;
  --border-radius-sm: 10px;
  --border-radius-xs: 6px;
  --transition: all 0.3s 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: var(--bg-primary);
  color: var(--text-primary);
  min-height: 100vh;
  line-height: 1.6;
  background-image:
    linear-gradient(rgba(0, 229, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 229, 255, 0.03) 1px, transparent 1px);
  background-size: 40px 40px;
}

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

.container { max-width: 1200px; margin: 0 auto; padding: 0 1rem; }
.container-sm { max-width: 700px; }
.main-content { padding: 2rem 0; }

.glass-card {
  background: var(--bg-card);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius);
  box-shadow: var(--glass-shadow);
  transition: var(--transition);
  overflow: hidden;
}
.glass-card:hover {
  border-color: rgba(0, 229, 255, 0.12);
}

.card-body { padding: 1.5rem; }

.navbar {
  background: rgba(7, 10, 18, 0.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--glass-border);
  padding: 0.6rem 0;
  position: sticky;
  top: 0;
  z-index: 100;
}
.nav-container {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.navbar-brand {
  font-weight: 800;
  font-size: 1.2rem;
  color: var(--neon-cyan);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  white-space: nowrap;
}
.navbar-brand i { filter: drop-shadow(0 0 8px var(--neon-cyan)); font-size: 1.4rem; }
.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  flex-wrap: wrap;
}
.nav-link {
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 0.85rem;
  padding: 0.45rem 0.75rem;
  border-radius: var(--border-radius-xs);
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 0.35rem;
  white-space: nowrap;
}
.nav-link:hover, .nav-link.active {
  color: var(--text-primary);
  background: rgba(0, 229, 255, 0.08);
}
.nav-user {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  margin-left: 0.5rem;
  padding-left: 0.5rem;
  border-left: 1px solid var(--glass-border);
}
.nav-email { color: var(--text-muted); font-size: 0.8rem; display: flex; align-items: center; gap: 0.3rem; }
.currency-form { display: inline-flex; }
.currency-select { width: auto !important; padding: 0.25rem 1.8rem 0.25rem 0.5rem !important; font-size: 0.75rem !important; border-radius: 6px !important; min-width: 0 !important; background-size: 8px !important; }
.nav-toggle {
  display: none;
  background: none;
  border: 1px solid var(--glass-border);
  color: var(--text-primary);
  font-size: 1.4rem;
  padding: 0.3rem 0.5rem;
  border-radius: var(--border-radius-xs);
  cursor: pointer;
}

.btn-neon {
  background: linear-gradient(135deg, var(--neon-cyan), var(--neon-purple));
  color: #000;
  font-weight: 700;
  border: none;
  border-radius: var(--border-radius-sm);
  padding: 0.6rem 1.5rem;
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: inherit;
}
.btn-neon:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 20px rgba(0, 229, 255, 0.4), 0 0 40px rgba(124, 77, 255, 0.2);
}
.btn-neon:active { transform: scale(0.96); }
.btn-full { width: 100%; justify-content: center; }

.btn-neon-outline {
  background: transparent;
  color: var(--neon-cyan);
  border: 1px solid var(--neon-cyan);
  border-radius: var(--border-radius-sm);
  padding: 0.5rem 1.2rem;
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: inherit;
}
.btn-neon-outline:hover {
  background: rgba(0, 229, 255, 0.1);
  box-shadow: 0 0 15px rgba(0, 229, 255, 0.2);
}

.btn-danger-outline {
  background: transparent;
  color: var(--neon-red);
  border: 1px solid var(--neon-red);
  border-radius: var(--border-radius-sm);
  padding: 0.5rem 1.2rem;
  font-weight: 600;
  font-size: 0.85rem;
  cursor: pointer;
  transition: var(--transition);
  font-family: inherit;
}
.btn-danger-outline:hover {
  background: rgba(255, 23, 68, 0.1);
}

.btn-ghost {
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius-sm);
  padding: 0.5rem 1rem;
  font-weight: 500;
  font-size: 0.85rem;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  font-family: inherit;
}
.btn-ghost:hover {
  color: var(--text-primary);
  border-color: rgba(255,255,255,0.2);
  background: rgba(255,255,255,0.05);
}
.btn-sm { padding: 0.35rem 0.8rem; font-size: 0.8rem; }
.btn-icon { width: 34px; height: 34px; padding: 0; display: inline-flex; align-items: center; justify-content: center; border-radius: 8px; }
.btn-group { display: flex; gap: 0.5rem; align-items: center; flex-wrap: wrap; }

.neon-input, .neon-select {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid var(--glass-border);
  border-radius: var(--border-radius-sm);
  color: var(--text-primary);
  padding: 0.65rem 1rem;
  font-size: 0.95rem;
  font-family: 'Inter', sans-serif;
  transition: var(--transition);
  width: 100%;
}
.neon-input:focus, .neon-select:focus {
  outline: none;
  border-color: var(--neon-cyan);
  box-shadow: 0 0 0 3px rgba(0, 229, 255, 0.15), 0 0 20px rgba(0, 229, 255, 0.08);
  background: rgba(255, 255, 255, 0.06);
}
.neon-input::placeholder { color: var(--text-muted); }
.neon-input-lg { font-size: 1.8rem; font-weight: 700; text-align: center; padding: 0.8rem; }

.neon-select {
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' fill='%238b949e' viewBox='0 0 16 16'%3E%3Cpath d='M7.247 11.14L2.451 5.658C1.885 5.013 2.345 4 3.204 4h9.592a1 1 0 0 1 .753 1.659l-4.796 5.48a1 1 0 0 1-1.506 0z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 1rem center;
  padding-right: 2.5rem;
}
.neon-select option { background: var(--bg-secondary); color: var(--text-primary); }

textarea.neon-input { resize: vertical; min-height: 80px; }

.form-label {
  display: block;
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 0.4rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.form-group { margin-bottom: 1.2rem; }
.form-row { display: flex; gap: 1rem; }
.form-row .form-group { flex: 1; }
.form-actions { display: flex; justify-content: space-between; align-items: center; padding-top: 1rem; border-top: 1px solid var(--glass-border); margin-top: 0.5rem; }
.flex-1 { flex: 1; }

.page-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}
.page-title { font-size: 1.6rem; font-weight: 800; letter-spacing: -0.5px; display: flex; align-items: center; gap: 0.5rem; }
.page-title i { color: var(--neon-cyan); filter: drop-shadow(0 0 6px var(--neon-cyan)); }
.page-subtitle { font-size: 0.9rem; color: var(--text-secondary); margin-top: 0.2rem; }

.breadcrumb-link {
  font-size: 0.85rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 0.3rem;
  margin-bottom: 0.3rem;
  transition: var(--transition);
}
.breadcrumb-link:hover { color: var(--neon-cyan); }

.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.2rem;
  border-bottom: 1px solid var(--glass-border);
}
.section-title {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-secondary);
}
.section-title-inline { font-size: 1rem; font-weight: 700; margin-bottom: 1rem; color: var(--text-primary); }

.kpi-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 1rem;
}
.kpi-grid-4 { grid-template-columns: repeat(4, 1fr); }
.kpi-grid-3 { grid-template-columns: repeat(3, 1fr); }
.kpi-card { padding: 1.25rem; text-align: center; }
.kpi-card-mini { text-align: center; padding: 0.5rem; }
.kpi-icon { font-size: 1.5rem; margin-bottom: 0.5rem; color: var(--text-muted); }
.kpi-value { font-size: 1.75rem; font-weight: 800; letter-spacing: -1px; line-height: 1.2; }
.kpi-value-sm { font-size: 1.3rem; font-weight: 700; }
.kpi-label { font-size: 0.75rem; color: var(--text-secondary); text-transform: uppercase; letter-spacing: 1px; margin-top: 0.3rem; font-weight: 600; }
.neon-cyan { color: var(--neon-cyan); text-shadow: 0 0 20px rgba(0, 229, 255, 0.3); }
.neon-magenta { color: var(--neon-magenta); text-shadow: 0 0 20px rgba(255, 0, 229, 0.3); }
.neon-lime { color: var(--neon-lime); text-shadow: 0 0 20px rgba(118, 255, 3, 0.3); }
.neon-yellow { color: var(--neon-yellow); text-shadow: 0 0 20px rgba(255, 234, 0, 0.3); }
.neon-orange { color: var(--neon-orange); text-shadow: 0 0 20px rgba(255, 110, 64, 0.3); }
.neon-red { color: var(--neon-red); text-shadow: 0 0 20px rgba(255, 23, 68, 0.3); }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  padding: 0.3rem 0.7rem;
  border-radius: 20px;
  font-size: 0.78rem;
  font-weight: 600;
}
.badge-sm { padding: 0.2rem 0.55rem; font-size: 0.72rem; }
.badge-cyan { background: rgba(0, 229, 255, 0.15); color: var(--neon-cyan); border: 1px solid rgba(0, 229, 255, 0.3); }
.badge-draft { background: rgba(139, 148, 158, 0.15); color: var(--text-secondary); border: 1px solid rgba(139, 148, 158, 0.3); }
.badge-published { background: rgba(0, 230, 118, 0.15); color: var(--neon-green); border: 1px solid rgba(0, 230, 118, 0.3); }
.badge-finished { background: rgba(0, 229, 255, 0.15); color: var(--neon-cyan); border: 1px solid rgba(0, 229, 255, 0.3); }
.badge-favorite { background: rgba(255, 234, 0, 0.15); color: var(--neon-yellow); border: 1px solid rgba(255, 234, 0, 0.3); }
.badge-income { background: rgba(0, 229, 255, 0.15); color: var(--neon-cyan); border: 1px solid rgba(0, 229, 255, 0.3); }
.badge-expense { background: rgba(255, 110, 64, 0.15); color: var(--neon-orange); border: 1px solid rgba(255, 110, 64, 0.3); }
.badge-budget-planned { background: rgba(139, 148, 158, 0.15); color: var(--text-secondary); border: 1px solid rgba(139, 148, 158, 0.3); }
.badge-budget-committed { background: rgba(255, 234, 0, 0.15); color: var(--neon-yellow); border: 1px solid rgba(255, 234, 0, 0.3); }
.badge-budget-paid { background: rgba(0, 230, 118, 0.15); color: var(--neon-green); border: 1px solid rgba(0, 230, 118, 0.3); }

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

.tour-card {
  padding: 1.5rem;
  display: block;
  transition: var(--transition);
}
.tour-card:hover { transform: translateY(-3px); box-shadow: 0 8px 32px rgba(0, 229, 255, 0.1); }
.tour-card-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 0.5rem; gap: 0.5rem; }
.tour-card-title { font-size: 1.15rem; font-weight: 700; }
.tour-card-desc { font-size: 0.85rem; color: var(--text-secondary); margin-bottom: 0.75rem; }
.tour-card-meta { font-size: 0.8rem; color: var(--text-muted); margin-bottom: 0.75rem; display: flex; gap: 0.75rem; }
.tour-card-stats { display: flex; gap: 1rem; font-size: 0.85rem; color: var(--text-secondary); }
.tour-card-stats .stat { display: flex; align-items: center; gap: 0.3rem; }

.concert-list { display: flex; flex-direction: column; }
.concert-card-row {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem 1.2rem;
  border-bottom: 1px solid var(--glass-border);
  transition: var(--transition);
  text-decoration: none;
}
.concert-card-row:last-child { border-bottom: none; }
.concert-card-row:hover { background: rgba(255, 255, 255, 0.03); }

.concert-poster-thumb {
  width: 72px;
  height: 72px;
  border-radius: 10px;
  overflow: hidden;
  flex-shrink: 0;
  background: rgba(255,255,255,0.04);
}
.concert-poster-thumb img { width: 100%; height: 100%; object-fit: cover; }
.poster-placeholder {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  font-size: 1.5rem;
}

.concert-card-info { flex: 1; min-width: 0; }
.concert-card-title { font-weight: 700; font-size: 1rem; margin-bottom: 0.2rem; }
.concert-card-meta { font-size: 0.8rem; color: var(--text-muted); display: flex; gap: 0.75rem; flex-wrap: wrap; margin-bottom: 0.3rem; }
.concert-card-meta span { display: flex; align-items: center; gap: 0.2rem; }
.concert-card-tickets { display: flex; align-items: center; gap: 0.75rem; font-size: 0.85rem; }
.ticket-info { color: var(--text-secondary); }

.concert-card-ring { flex-shrink: 0; }

.progress-ring, .progress-ring-small, .progress-ring-large {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.progress-ring { width: 56px; height: 56px; }
.progress-ring-small { width: 44px; height: 44px; }
.progress-ring-large { width: 100px; height: 100px; }
.progress-ring svg, .progress-ring-small svg, .progress-ring-large svg { width: 100%; height: 100%; transform: rotate(-90deg); }
.ring-bg {
  fill: none;
  stroke: rgba(255, 255, 255, 0.06);
  stroke-width: 3;
}
.ring-fill {
  fill: none;
  stroke: var(--neon-cyan);
  stroke-width: 3;
  stroke-linecap: round;
  transition: stroke-dasharray 0.8s ease;
}
.ring-text, .ring-text-lg {
  position: absolute;
  font-weight: 700;
  color: var(--text-primary);
}
.ring-text { font-size: 0.7rem; }
.ring-text-lg { font-size: 1.1rem; }

.ticket-overview {
  display: flex;
  align-items: center;
  gap: 2rem;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
}
.ticket-stats { display: flex; flex-direction: column; gap: 0.4rem; }
.ticket-stat { display: flex; justify-content: space-between; gap: 1.5rem; }
.stat-label { font-size: 0.85rem; color: var(--text-secondary); }
.stat-value { font-size: 0.95rem; font-weight: 700; }

.quick-edit-form {
  padding-top: 1rem;
  border-top: 1px solid var(--glass-border);
  margin-top: 0.5rem;
}

.concert-poster-large {
  overflow: hidden;
}
.poster-img-large {
  width: 100%;
  display: block;
  border-radius: var(--border-radius);
}
.poster-placeholder-large {
  padding: 4rem 2rem;
  text-align: center;
  color: var(--text-muted);
}
.poster-placeholder-large i { font-size: 4rem; display: block; margin-bottom: 1rem; opacity: 0.5; }

.detail-grid { display: flex; flex-direction: column; gap: 0.75rem; }
.detail-item { display: flex; justify-content: space-between; align-items: center; padding: 0.4rem 0; }
.detail-label { font-size: 0.85rem; color: var(--text-muted); display: flex; align-items: center; gap: 0.4rem; }
.detail-value { font-weight: 600; text-align: right; }

.concert-list-mini .concert-mini-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.8rem 1.2rem;
  border-bottom: 1px solid var(--glass-border);
  transition: var(--transition);
  text-decoration: none;
  color: inherit;
}
.concert-mini-item:last-child { border-bottom: none; }
.concert-mini-item:hover { background: rgba(255, 255, 255, 0.03); }
.concert-mini-poster { width: 48px; height: 48px; border-radius: 8px; overflow: hidden; flex-shrink: 0; background: rgba(255,255,255,0.04); }
.concert-mini-poster img { width: 100%; height: 100%; object-fit: cover; }
.concert-mini-info { flex: 1; min-width: 0; }
.concert-mini-title { font-weight: 600; font-size: 0.9rem; }
.concert-mini-meta { font-size: 0.78rem; color: var(--text-muted); display: flex; gap: 0.5rem; }
.concert-mini-stats { flex-shrink: 0; text-align: center; }
.ticket-count { font-size: 0.72rem; color: var(--text-muted); margin-top: 0.2rem; }

.filter-pills { display: flex; gap: 0.5rem; flex-wrap: wrap; }
.filter-pill {
  padding: 0.35rem 0.9rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--transition);
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-secondary);
  border: 1px solid var(--glass-border);
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
}
.filter-pill:hover { color: var(--text-primary); border-color: rgba(255,255,255,0.2); }
.filter-pill.active { background: rgba(0, 229, 255, 0.15); color: var(--neon-cyan); border-color: var(--neon-cyan); }

.search-bar { display: flex; gap: 0.75rem; align-items: center; }
.search-input-wrap { flex: 1; position: relative; }
.search-input-wrap i { position: absolute; left: 1rem; top: 50%; transform: translateY(-50%); color: var(--text-muted); }
.search-input { padding-left: 2.5rem !important; }

.filter-bar { display: flex; gap: 0.75rem; align-items: center; flex-wrap: wrap; }

.neon-table { width: 100%; border-collapse: collapse; }
.neon-table th {
  text-align: left;
  padding: 0.7rem 1rem;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-muted);
  border-bottom: 1px solid var(--glass-border);
}
.neon-table td {
  padding: 0.7rem 1rem;
  font-size: 0.88rem;
  border-bottom: 1px solid var(--glass-border);
  vertical-align: middle;
}
.neon-table tr:last-child td { border-bottom: none; }
.neon-table tr:hover td { background: rgba(255,255,255,0.02); }
.text-end { text-align: right; }
.text-muted { color: var(--text-muted); }
.text-truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }

.neon-link { color: var(--neon-cyan); transition: var(--transition); }
.neon-link:hover { color: var(--neon-cyan); text-shadow: 0 0 8px var(--neon-cyan); }

.empty-state { text-align: center; padding: 3rem 1rem; color: var(--text-muted); }
.empty-state i { font-size: 3rem; margin-bottom: 0.75rem; display: block; opacity: 0.4; }
.empty-state p { font-size: 0.95rem; }

.alert { padding: 0.75rem 1rem; border-radius: var(--border-radius-sm); margin-bottom: 1rem; font-size: 0.9rem; display: flex; align-items: center; gap: 0.5rem; }
.alert-error { background: rgba(255, 23, 68, 0.15); border: 1px solid rgba(255, 23, 68, 0.3); color: var(--neon-red); }

.auth-container {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}
.auth-card { max-width: 420px; width: 100%; padding: 2.5rem; }
.auth-title { text-align: center; margin-bottom: 2rem; }
.auth-title h2 { font-size: 1.6rem; font-weight: 800; margin-bottom: 0.25rem; }
.auth-title p { color: var(--text-muted); font-size: 0.9rem; }
.brand-icon { font-size: 2.5rem; color: var(--neon-cyan); filter: drop-shadow(0 0 15px var(--neon-cyan)); margin-bottom: 0.5rem; }
.auth-footer { text-align: center; margin-top: 1.5rem; padding-top: 1rem; border-top: 1px solid var(--glass-border); font-size: 0.9rem; color: var(--text-muted); }

.toast-container {
  position: fixed;
  top: 1rem;
  right: 1rem;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}
.neon-toast {
  padding: 0.8rem 1.2rem;
  border-radius: var(--border-radius-sm);
  font-size: 0.9rem;
  font-weight: 500;
  animation: slideIn 0.3s ease-out, fadeOut 0.3s ease-in 2.7s forwards;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  min-width: 250px;
}
.neon-toast.success { background: rgba(0, 230, 118, 0.15); border: 1px solid rgba(0, 230, 118, 0.3); color: var(--neon-green); }
.neon-toast.error { background: rgba(255, 23, 68, 0.15); border: 1px solid rgba(255, 23, 68, 0.3); color: var(--neon-red); }

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

.row { display: flex; flex-wrap: wrap; margin: 0 -0.5rem; }
.col { padding: 0 0.5rem; margin-bottom: 1rem; }
.col-12 { width: 100%; }
.col-6 { width: 50%; }

.gap-3 > .col { margin-bottom: 1rem; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mb-3 { margin-bottom: 1.5rem; }

@media (min-width: 769px) {
  .col-md-5 { width: 41.666%; }
  .col-md-7 { width: 58.333%; }
  .col-md-6 { width: 50%; }
}

@media (max-width: 768px) {
  .nav-toggle { display: block; }
  .nav-links {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-primary);
    border-bottom: 1px solid var(--glass-border);
    padding: 0.75rem 1rem;
    flex-direction: column;
    align-items: stretch;
    gap: 0.25rem;
    z-index: 99;
  }
  .nav-links.show { display: flex; }
  .nav-user { margin-left: 0; padding-left: 0; border-left: none; padding-top: 0.5rem; border-top: 1px solid var(--glass-border); margin-top: 0.5rem; }

  .kpi-grid { grid-template-columns: repeat(2, 1fr); }
  .kpi-grid-4, .kpi-grid-3 { grid-template-columns: repeat(2, 1fr); }
  .kpi-value { font-size: 1.4rem; }

  .page-header { flex-direction: column; align-items: flex-start; }
  .page-title { font-size: 1.3rem; }

  .form-row { flex-direction: column; gap: 0; }

  .concert-card-row { flex-wrap: wrap; }
  .concert-card-ring { width: 100%; display: flex; justify-content: center; margin-top: 0.5rem; }

  .ticket-overview { flex-direction: column; align-items: center; }

  .neon-table { font-size: 0.8rem; }
  .neon-table th, .neon-table td { padding: 0.5rem 0.6rem; }

  .filter-bar { flex-direction: column; }
  .filter-bar .neon-select { max-width: 100% !important; }

  .col-md-5, .col-md-7 { width: 100%; }

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

.modal-overlay { position: fixed; inset: 0; background: rgba(0,0,0,0.7); backdrop-filter: blur(4px); z-index: 1000; display: flex; align-items: flex-start; justify-content: center; }
.page-bottom-actions { display: flex; gap: 0.75rem; justify-content: center; flex-wrap: wrap; margin-top: 2rem; padding: 1.5rem; background: var(--bg-card); border: 1px solid var(--glass-border); border-radius: 12px; backdrop-filter: blur(12px); }

.amount-mode-toggle { display: flex; gap: 0.75rem; margin-top: 0.5rem; }
.mode-option { flex: 1; cursor: pointer; }
.mode-option input { display: none; }
.mode-label { display: flex; align-items: center; gap: 0.5rem; padding: 0.75rem 1rem; background: var(--bg-card); border: 1px solid var(--glass-border); border-radius: 8px; transition: all 0.2s; text-align: center; justify-content: center; }
.mode-option input:checked + .mode-label { border-color: var(--neon-cyan); background: rgba(0, 229, 255, 0.08); color: var(--neon-cyan); }
.mode-label:hover { border-color: var(--neon-cyan); }

.clickable-row:hover { background: var(--bg-card-hover); transition: background 0.2s; }
.btn-edit-icon { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 8px; color: var(--neon-cyan); background: rgba(0, 229, 255, 0.1); border: 1px solid rgba(0, 229, 255, 0.3); transition: all 0.2s; }
.btn-edit-icon:hover { background: rgba(0, 229, 255, 0.2); border-color: var(--neon-cyan); }

@media (max-width: 480px) {
  .kpi-grid { grid-template-columns: repeat(2, 1fr); }
  .concert-poster-thumb { width: 56px; height: 56px; }
}
