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

html,
body,
#root {
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
}

body {
  margin: 0;
  padding: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
  background: #f8fafc;
  color: #111827;
}

button,
input,
textarea,
select {
  font: inherit;
}

a {
  color: inherit;
}

button {
  border: none;
}

img {
  max-width: 100%;
  display: block;
}

body::-webkit-scrollbar {
  width: 10px;
}

body::-webkit-scrollbar-thumb {
  background: rgba(148, 163, 184, 0.5);
  border-radius: 999px;
}

#root {
  width: 100%;
  max-width: 100%;
  margin: 0 auto;
  min-height: 100vh;
}

h1,
h2,
h3,
h4,
strong {
  color: #111827;
}

p,
label,
button,
input,
textarea,
select {
  color: #334155;
}

button,
input,
textarea,
select {
  font-family: inherit;
}

::selection {
  background: #dbeafe;
  color: #1d4ed8;

  margin: 0 0 8px;
  @media (max-width: 1024px) {
    font-size: 20px;
  }
}
p {
  margin: 0;
}

code,
.counter {
  font-family: var(--mono);
  display: inline-flex;
  border-radius: 4px;
  color: var(--text-h);
}

code {
  font-size: 15px;
  line-height: 135%;
  padding: 4px 8px;
  background: var(--code-bg);
}







.auth-panel .info-message {
  margin: 0;
  padding: 14px 16px;
  border-radius: 16px;
  background: #e0f2fe;
  color: #0369a1;
  font-weight: 600;
}

.auth-panel .error-message {
  margin: 0;
  padding: 14px 16px;
  border-radius: 16px;
  background: #fee2e2;
  color: #b91c1c;
  font-weight: 600;
}

.auth-panel .small-text {
  margin: 18px 0 0;
  text-align: center;
  color: #6b7280;
}

.auth-panel .small-text a {
  color: #2563eb;
  font-weight: 700;
}

.banner-section {
  display: block;
  width: 100%;
  margin: 30px 0;
  min-height: 280px;
  position: relative;
  background: #ffffff;
  border-radius: 12px;
  padding: 16px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.banner-posters {
  width: 100%;
  height: 250px;
  padding: 0;
  overflow: hidden;
  position: relative;
}

.banner-filter {
  background: #ffffff;
  border: 1px solid #f1f5f9;
  border-radius: 20px;
  padding: 28px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.posters-container {
  display: flex;
  gap: 24px;
  width: max-content;
  transition: transform 0.5s ease;
}

.banner-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  padding: 16px 0 0 0;
}

.banner-dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 2px solid #cbd5e1;
  background: transparent;
  cursor: pointer;
  transition: all 0.3s ease;
}

.banner-dot:hover {
  border-color: #94a3b8;
  background: #e2e8f0;
}

.banner-dot.active {
  background: #1e293b;
  border-color: #1e293b;
  width: 12px;
  height: 12px;
}

@keyframes slidePosters {
  0% { transform: translateX(0); }
  100% { transform: translateX(-100%); }
}

.poster-item {
  position: relative;
  overflow: hidden;
  border-radius: 28px;
  text-decoration: none;
  display: block;
  min-height: 500px;
  min-width: 320px;
  flex-shrink: 0;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.poster-item:hover {
  transform: scale(1.02);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
}

.poster-image {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: flex-end;
  justify-content: flex-start;
  padding: 28px;
  position: relative;
  overflow: hidden;
  background-size: cover;
  background-position: center;
}

.poster-image-inner {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.poster-image::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.08) 0%, rgba(0, 0, 0, 0.55) 100%);
  z-index: 1;
}

.poster-placeholder {
  position: relative;
  z-index: 2;
  color: #ffffff;
  width: 100%;
  max-width: 75%;
}

.poster-category {
  display: inline-flex;
  background: rgba(255, 255, 255, 0.92);
  color: #111827;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  margin-bottom: 14px;
  border: 1px solid rgba(15, 23, 42, 0.08);
}

.poster-placeholder h3 {
  margin: 0 0 8px;
  font-size: 1.65rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.poster-placeholder p {
  margin: 0;
  font-size: 0.75rem;
  color: rgba(255, 255, 255, 0.85);
  font-weight: 500;
}

.banner-filter h2 {
  margin: 0 0 20px;
  font-size: 1.1rem;
  color: #111827;
  font-weight: 700;
}

.hero-panel,
.detail-panel,
.admin-panel,
.scanner-page {
  display: grid;
  gap: 24px;
}

.detail-banner {
  min-height: 360px;
  border-radius: 28px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.12);
  position: relative;
  overflow: hidden;
  display: grid;
  align-items: center;
}

.detail-banner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(15, 23, 42, 0.12) 0%, rgba(15, 23, 42, 0.72) 100%);
}

.detail-hero-copy {
  position: relative;
  z-index: 1;
  padding: 48px 40px;
  color: #ffffff;
  max-width: 720px;
}

.detail-banner-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.detail-banner-placeholder {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  background: #1f2937;
  color: rgba(255, 255, 255, 0.85);
  font-size: 1rem;
  z-index: 0;
}

.detail-banner-meta {
  margin: 16px 0 0;
  color: rgba(255, 255, 255, 0.9);
  font-size: 1rem;
}

.detail-banner-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 20px;
  margin-top: 28px;
}

.detail-banner-stats div {
  background: rgba(255, 255, 255, 0.12);
  padding: 18px 22px;
  border-radius: 18px;
}

.detail-banner-stats span {
  display: block;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.85rem;
  margin-bottom: 6px;
}

.detail-banner-stats strong {
  font-size: 1.45rem;
  font-weight: 700;
}

.detail-page {
  display: grid;
  gap: 32px;
}

.detail-grid {
  display: grid;
  grid-template-columns: minmax(300px, 380px) minmax(0, 1fr);
  gap: 32px;
}

.detail-sidebar-card,
.detail-summary-card,
.detail-description-card {
  background: #ffffff;
  border-radius: 28px;
  padding: 28px;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08);
}

.detail-sidebar-card h2,
.detail-description-card h3 {
  margin: 0 0 20px;
}

.ticket-selection {
  display: grid;
  gap: 14px;
  margin-bottom: 24px;
}

.order-actions {
  display: grid;
  gap: 16px;
  margin-top: 14px;
}

.order-quantity {
  display: grid;
  gap: 10px;
}

.detail-main {
  display: grid;
  gap: 24px;
}

.detail-main.full-width {
  width: 100%;
  max-width: 100%;
}

.detail-summary-top {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 24px;
  margin-bottom: 24px;
}

.detail-price-block {
  text-align: right;
}

.detail-price-block span {
  display: block;
  color: #64748b;
  font-size: 0.9rem;
}

.detail-price-block strong {
  font-size: 2rem;
  color: #111827;
}

.detail-info-list {
  display: grid;
  gap: 16px;
}

.detail-info-list div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid #e2e8f0;
}

.detail-info-list div:last-child {
  border-bottom: none;
}

.detail-image-card {
  background: #ffffff;
  border-radius: 28px;
  overflow: hidden;
  box-shadow: 0 20px 40px rgba(15, 23, 42, 0.08);
}

.detail-image-card img {
  width: 100%;
  display: block;
  object-fit: cover;
  min-height: 320px;
}

@media (max-width: 1024px) {
  .detail-grid {
    grid-template-columns: 1fr;
  }
  .detail-banner {
    min-height: 300px;
  }
}

.home-banner {
  display: grid;
  grid-template-columns: minmax(0, 1.2fr) minmax(0, 0.9fr);
  gap: 28px;
  background: linear-gradient(135deg, #eff6ff 0%, #f8fbff 100%);
  border: 1px solid #d1d5db;
  border-radius: 28px;
  padding: 36px 40px;
  margin-bottom: 32px;
  align-items: center;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.08);
}

.home-banner h2 {
  margin: 0 0 18px;
  font-size: clamp(2rem, 4vw, 3rem);
  color: #0f172a;
  line-height: 1.05;
}

.home-banner .banner-label {
  display: inline-flex;
  margin-bottom: 1rem;
}

.hero-visual {
  display: grid;
  place-items: center;
  min-height: 100%;
}

.hero-visual-card {
  width: 100%;
  max-width: 420px;
  background: #ffffff;
  border: 1px solid #f1f5f9;
  border-radius: 32px;
  overflow: hidden;
  box-shadow: 0 30px 60px rgba(15, 23, 42, 0.08);
  position: relative;
}

.home-banner p {
  margin: 0;
  color: #475569;
}

.banner-label {
  display: inline-flex;
  text-transform: uppercase;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  color: #2563eb;
  margin-bottom: 8px;
}

.homepage-hero {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px;
  align-items: stretch;
  margin-bottom: 48px;
  padding: 0 16px;
}

.hero-left {
  grid-area: hero-left;
}

.hero-center {
  grid-area: hero-center;
}

.hero-right {
  grid-area: hero-right;
}

.homepage-showcase {
  margin-bottom: 48px;
  padding: 0 16px;
}

.showcase-card {
  display: grid;
  grid-template-columns: 1fr 1.5fr 1fr;
  gap: 24px;
  background: linear-gradient(135deg, #a11d78 0%, #ec1488 100%);
  border-radius: 32px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(224, 36, 130, 0.18);
}

.showcase-side {
  padding: 32px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.showcase-side-left,
.showcase-side-right {
  min-height: 420px;
}

.showcase-side-left {
  background: linear-gradient(180deg, rgba(121, 30, 146, 0.95), rgba(92, 15, 158, 0.95));
  color: #f8f4ff;
}

.showcase-side-right {
  background: rgba(0, 0, 0, 0.18);
  color: #ffffff;
  align-items: center;
  justify-content: center;
}

.showcase-side-title {
  font-size: 3rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  margin-bottom: 12px;
}

.showcase-side-subtitle {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 18px;
}

.showcase-side-text {
  font-size: 1.05rem;
  line-height: 1.8;
  opacity: 0.9;
}

.showcase-right-card {
  width: 100%;
  min-height: 220px;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 24px;
  display: grid;
  place-items: center;
  font-size: 1.4rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.15em;
}

.showcase-center {
  padding: 36px 32px;
  display: grid;
  grid-template-columns: 1fr 320px;
  gap: 18px;
  align-items: center;
}

.showcase-copy {
  color: #ffffff;
}

.showcase-copy h2 {
  font-size: clamp(2rem, 3vw, 3rem);
  margin: 18px 0 18px;
  line-height: 1.05;
}

.showcase-copy p {
  max-width: 520px;
  color: rgba(255, 255, 255, 0.88);
  line-height: 1.8;
}

.showcase-phone {
  width: 100%;
  display: flex;
  justify-content: center;
}

.showcase-phone-screen {
  width: 100%;
  max-width: 280px;
  background: #ffffff;
  border-radius: 36px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.18);
  overflow: hidden;
}

.showcase-phone-title {
  padding: 22px 20px;
  background: linear-gradient(135deg, #ec1488 0%, #a11d78 100%);
  color: #ffffff;
  font-size: 1.1rem;
  font-weight: 900;
  text-align: center;
}

.showcase-phone-body {
  padding: 24px 20px;
}

.showcase-phone-row {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 14px 0;
  border-bottom: 1px solid #f3f4f7;
}

.showcase-phone-row span {
  color: #64748b;
}

.showcase-phone-row strong {
  color: #111827;
}

@media (max-width: 1024px) {
  .showcase-card {
    grid-template-columns: 1fr;
  }

  .showcase-center {
    grid-template-columns: 1fr;
  }

  .showcase-side,
  .showcase-center,
  .showcase-right-card {
    min-height: auto;
  }
}

.hero-left {
  background: linear-gradient(135deg, #f0f9ff 0%, #e0f2fe 100%);
  border: 1px solid #bae6fd;
  box-shadow: 0 20px 40px rgba(59, 130, 246, 0.1);
}

.hero-center {
  background: #ffffff;
  border: 1px solid #f1f5f9;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
}

.hero-right {
  background: linear-gradient(135deg, #fef7ff 0%, #fdf4ff 100%);
  border: 1px solid #e9d5ff;
  box-shadow: 0 20px 40px rgba(139, 92, 246, 0.1);
}

.hero-label {
  text-transform: uppercase;
  color: #7c3aed;
  font-weight: 700;
  letter-spacing: 0.25em;
  font-size: 0.8rem;
  margin-bottom: 12px;
  display: inline-block;
}

.hero-left h2,
.hero-center h1 {
  margin: 0;
  color: #1e293b;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.hero-left p,
.hero-center p {
  line-height: 1.7;
  color: #64748b;
  font-size: 1.1rem;
  margin: 0;
}

.hero-cta-group {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  margin-top: 8px;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
  margin-top: 32px;
}

.hero-stats div {
  padding: 24px 20px;
  background: linear-gradient(135deg, #f0f9ff, #e0f2fe);
  border-radius: 20px;
  text-align: center;
  border: 1px solid #bae6fd;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hero-stats div:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 25px rgba(59, 130, 246, 0.15);
}

.hero-stats strong {
  display: block;
  font-size: 1.8rem;
  color: #1d4ed8;
  font-weight: 900;
  margin-bottom: 4px;
}

.hero-stats span {
  display: block;
  color: #64748b;
  font-size: 0.9rem;
  font-weight: 500;
}

.hero-visual {
  display: grid;
  place-items: center;
  min-height: 100%;
}

.hero-visual-card {
  width: 100%;
  max-width: 380px;
  background: #ffffff;
  border: 1px solid #f1f5f9;
  border-radius: 32px;
  overflow: hidden;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.1), 0 0 0 1px rgba(255, 255, 255, 0.05);
  position: relative;
}

.hero-visual-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #3b82f6, #8b5cf6, #ec4899);
}

.hero-visual-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 20px 24px;
  background: linear-gradient(135deg, #fef7ff, #fdf4ff);
  border-bottom: 1px solid #f1f5f9;
}

.dot {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.dot.red { background: #ef4444; }
.dot.yellow { background: #f59e0b; }
.dot.green { background: #10b981; }

.hero-visual-body {
  padding: 32px 28px;
  background: linear-gradient(135deg, #ffffff 0%, #fafafa 100%);
}

.visual-title {
  display: block;
  font-size: 1.25rem;
  font-weight: 900;
  color: #1e293b;
  margin-bottom: 8px;
  letter-spacing: -0.02em;
}

.visual-subtitle {
  font-size: 1rem;
  color: #64748b;
  margin-bottom: 28px;
  font-weight: 500;
}

.ticket-detail {
  display: grid;
  gap: 16px;
  margin-bottom: 24px;
  color: #475569;
  font-size: 0.95rem;
}

.ticket-detail div {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 8px 0;
  border-bottom: 1px solid #f1f5f9;
}

.ticket-detail div:last-child {
  border-bottom: none;
}

.qr-placeholder {
  height: 180px;
  border-radius: 24px;
  background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
  display: grid;
  place-items: center;
  color: #94a3b8;
  font-weight: 700;
  letter-spacing: 0.1em;
  font-size: 0.9rem;
  border: 2px dashed #e2e8f0;
  position: relative;
}

.qr-placeholder::before {
  content: '📱';
  font-size: 2rem;
  position: absolute;
  top: 12px;
  right: 12px;
  opacity: 0.3;
}

.hero-panel {
  grid-template-columns: 1.4fr 0.9fr;
  gap: 28px;
  align-items: start;
}

.hero-panel h1,
.detail-content h1,
.admin-panel h1,
.scanner-card h1 {
  font-size: clamp(2rem, 3vw, 3rem);
  margin: 0 0 12px;
  color: #111827;
}

.hero-panel p,
.detail-content p,
.form-card p,
.ticket-card p,
.event-card p,
.event-card strong {
  color: #4b5563;
}

.hero-panel .eyebrow,
.ticket-header .eyebrow,
.form-card h2,
.ticket-selection h2,
.admin-panel .card h1 {
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.82rem;
  color: #2563eb;
}

.hero-card,
.card,
.event-card,
.ticket-card,
.scanner-card,
.form-card {
  background: #ffffff;
  border: 1px solid #f1f5f9;
  border-radius: 24px;
  padding: 32px;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.08);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.hero-card:hover,
.card:hover,
.event-card:hover,
.ticket-card:hover,
.scanner-card:hover,
.form-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 32px 64px rgba(0, 0, 0, 0.12);
  border-color: #e2e8f0;
}

.grid-list {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(360px, 1fr));
  gap: 24px;
}

.events-layout {
  display: grid;
  grid-template-columns: minmax(260px, 280px) minmax(0, 1fr);
  gap: 32px;
  align-items: start;
  margin-top: 24px;
}

.events-filter {
  position: sticky;
  top: 120px;
  align-self: start;
  width: 100%;
  max-width: 280px;
}

.filter-card {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 28px;
  padding: 28px;
  box-shadow: 0 28px 60px rgba(15, 23, 42, 0.08);
}

.events-listing {
  display: grid;
  gap: 20px;
}

.events-list-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 24px;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 22px;
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.08);
}

.view-actions {
  display: flex;
  gap: 10px;
}

.view-pill {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 16px;
  border-radius: 999px;
  background: #f8fafc;
  color: #475569;
  font-size: 0.9rem;
  border: 1px solid #e2e8f0;
}

.view-pill.active {
  background: #2563eb;
  color: #ffffff;
  border-color: #2563eb;
}

.category-menu {
  margin-top: 28px;
}

.category-menu h3 {
  margin-bottom: 14px;
  color: #111827;
  font-size: 1rem;
  font-weight: 700;
}

.category-list {
  display: grid;
  gap: 10px;
}

.category-pill {
  width: 100%;
  text-align: left;
  border: 1px solid #e2e8f0;
  border-radius: 999px;
  padding: 14px 18px;
  background: #f8fafc;
  color: #475569;
  cursor: pointer;
  font-size: 0.95rem;
}

.category-pill.active {
  background: #2563eb;
  color: #ffffff;
  border-color: #2563eb;
}

.event-card {
  display: block;
  border-radius: 28px;
  overflow: hidden;
  background: #ffffff;
  box-shadow: 0 24px 60px rgba(15, 23, 42, 0.12);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
  text-decoration: none;
  color: inherit;
  min-height: 520px;
}

.event-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 42px 80px rgba(15, 23, 42, 0.16);
}

.event-thumb {
  min-height: 320px;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  background-size: cover;
  background-position: center;
  position: relative;
  overflow: hidden;
}

.event-thumb-image {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 0;
}

.event-thumb-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.08) 0%, rgba(0, 0, 0, 0.48) 100%);
  z-index: 1;
}

.event-thumb-top {
  position: absolute;
  inset: 18px 18px auto 18px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 12px;
  z-index: 2;
}

.event-location,
.event-price {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.94);
  color: #0f172a;
  font-size: 0.9rem;
  font-weight: 700;
}

.event-card-body {
  padding: 24px;
  display: grid;
  gap: 8px;
}

.event-category {
  display: inline-flex;
  align-items: center;
  background: rgba(248, 113, 113, 0.12);
  color: #b91c1c;
  padding: 8px 16px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.event-card-body h3 {
  margin: 0;
  font-size: 1.45rem;
  line-height: 1.15;
  color: #111827;
}

.event-card-body p {
  margin: 0;
  color: #475569;
  font-size: 0.95rem;
}

@media (max-width: 980px) {
  .events-layout {
    grid-template-columns: 1fr;
  }

  .events-filter {
    position: static;
    top: auto;
  }

  .filter-card {
    padding: 20px;
  }

  .events-list-header {
    flex-direction: column;
    align-items: flex-start;
  }

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

.event-card h2 {
  margin: 0;
  color: #1e293b;
  font-size: 1.25rem;
  font-weight: 700;
  line-height: 1.3;
}

.event-category {
  display: inline-flex;
  background: linear-gradient(135deg, #fef3c7, #fde68a);
  color: #92400e;
  padding: 8px 16px;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.event-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 16px;
}

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

.form-group label {
  display: block;
  margin-bottom: 8px;
  color: #374151;
  font-weight: 600;
  font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
  width: 100%;
  padding: 16px 20px;
  border: 2px solid #f3f4f6;
  border-radius: 16px;
  font-size: 1rem;
  background: #ffffff;
  transition: all 0.2s ease;
  box-sizing: border-box;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
  background: #fefefe;
}

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

.form-group input::placeholder,
.form-group textarea::placeholder {
  color: #9ca3af;
  font-style: italic;
}

.checkbox-group {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 16px 0;
}

.checkbox-group input[type="checkbox"] {
  width: 20px;
  height: 20px;
  accent-color: #3b82f6;
  border-radius: 6px;
}

.checkbox-group label {
  margin: 0;
  font-weight: 500;
  color: #4b5563;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 6px 12px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.badge.success {
  background: linear-gradient(135deg, #dcfce7, #bbf7d0);
  color: #166534;
}

.badge.warning {
  background: linear-gradient(135deg, #fef3c7, #fde68a);
  color: #92400e;
}

.badge.error {
  background: linear-gradient(135deg, #fee2e2, #fecaca);
  color: #991b1b;
}

.badge.info {
  background: linear-gradient(135deg, #dbeafe, #bfdbfe);
  color: #1e40af;
}

.status-indicator {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 0.9rem;
  font-weight: 500;
}

.status-indicator::before {
  content: '';
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: currentColor;
}

.status-indicator.success {
  color: #059669;
}

.status-indicator.pending {
  color: #d97706;
}

.status-indicator.error {
  color: #dc2626;
}

.footer {
  width: 100%;
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  color: #f1f5f9;
  padding: 56px 32px 32px;
  border-top: 1px solid rgba(226, 232, 240, 0.1);
  margin-top: 20px;
}

.footer-container {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 40px;
  margin-bottom: 40px;
}

.footer-section {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-title {
  font-size: 1.5rem;
  font-weight: 900;
  color: #3b82f6;
  letter-spacing: -0.02em;
  margin: 0;
}

.footer-description {
  color: #cbd5e1;
  line-height: 1.6;
  font-size: 0.95rem;
  margin: 0;
}

.footer-section-title {
  font-size: 1rem;
  font-weight: 700;
  color: #ffffff;
  margin: 0;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-links {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-links a {
  color: #cbd5e1;
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

.footer-links a:hover {
  color: #3b82f6;
}

.footer-socials {
  display: flex;
  gap: 16px;
  font-size: 1.2rem;
}

.footer-socials a {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  background: rgba(59, 130, 246, 0.1);
  border-radius: 8px;
  color: #3b82f6;
  text-decoration: none;
  transition: all 0.3s ease;
  border: 1px solid rgba(59, 130, 246, 0.2);
}

.footer-socials a:hover {
  background: rgba(59, 130, 246, 0.2);
  border-color: rgba(59, 130, 246, 0.4);
  transform: translateY(-2px);
}

.footer-contact {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.contact-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.contact-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.contact-item a {
  color: #cbd5e1;
  text-decoration: none;
  font-size: 0.95rem;
  transition: color 0.3s ease;
}

.contact-item a:hover {
  color: #3b82f6;
}

.footer-bottom {
  max-width: 1400px;
  margin: 0 auto;
  padding-top: 32px;
  border-top: 1px solid rgba(226, 232, 240, 0.1);
  text-align: center;
  color: #94a3b8;
  font-size: 0.9rem;
}

.footer-bottom p {
  margin: 0;
}

@media (max-width: 1024px) {
  .hero-panel,
  .homepage-hero,
  .home-banner {
    grid-template-columns: 1fr;
    gap: 28px;
  }

  .hero-left,
  .hero-center,
  .hero-right,
  .home-banner {
    padding: 24px;
  }

  .hero-cta-group {
    flex-direction: column;
    align-items: stretch;
  }

  .hero-cta-group .button {
    width: 100%;
    justify-content: center;
  }

  .hero-stats {
    grid-template-columns: 1fr;
  }

  .footer-container {
    grid-template-columns: 1fr 1fr;
    gap: 32px;
  }
}

@media (max-width: 768px) {
  .page {
    padding: 16px;
  }

  .shell {
    width: min(100%, calc(100% - 2rem));
  }

  .banner-posters {
    padding: 0 8px;
    margin-bottom: 32px;
  }

  .posters-container {
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 12px;
  }

  .poster-placeholder h3 {
    font-size: 0.95rem;
  }

  .poster-placeholder p {
    font-size: 0.75rem;
  }

  .hero-card,
  .card,
  .event-card,
  .ticket-card,
  .scanner-card,
  .form-card,
  .hero-segment {
    padding: 20px;
    border-radius: 16px;
  }

  .grid-list {
    grid-template-columns: 1fr;
    gap: 16px;
  }

  .hero-panel h1,
  .detail-content h1,
  .admin-panel h1,
  .scanner-card h1 {
    font-size: 2rem;
  }

  .topbar {
    padding: 16px;
  }

  nav {
    width: 100%;
    justify-content: center;
  }

  .category-links {
    justify-content: center;
  }

  .event-footer {
    flex-direction: column;
    align-items: stretch;
  }

  .event-footer .button {
    width: 100%;
  }

  .hero-stats div {
    padding: 18px 16px;
  }

  .hero-visual-card {
    margin: 0 auto;
  }

  .footer {
    padding: 40px 16px 24px;
  }

  .footer-container {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .footer-section {
    gap: 12px;
  }
}

@media (max-width: 640px) {
  .hero-left h2,
  .hero-center h1 {
    font-size: 1.75rem;
  }

  .hero-left p,
  .hero-center p {
    font-size: 1rem;
  }

  .button {
    padding: 12px 20px;
    font-size: 0.95rem;
  }

  .form-group input,
  .form-group select,
  .form-group textarea {
    padding: 14px 16px;
  }

  .posters-container {
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 10px;
  }

  .poster-image {
    padding: 12px;
  }

  .poster-placeholder h3 {
    font-size: 0.9rem;
  }

  .poster-placeholder p {
    font-size: 0.75rem;
  }
}

.small,
.info-message,
.error-message,
.mono {
  font-size: 0.95rem;
}

.button,
.button.small {
  display: inline-flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  border: none;
  cursor: pointer;
  border-radius: 16px;
  background: linear-gradient(135deg, #3b82f6, #1d4ed8);
  color: #ffffff;
  font-weight: 600;
  padding: 14px 24px;
  font-size: 1rem;
  box-shadow: 0 4px 14px rgba(59, 130, 246, 0.25);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left 0.5s;
}

.button:hover::before {
  left: 100%;
}

.button:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(59, 130, 246, 0.35);
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
}

.button:active {
  transform: translateY(0);
  box-shadow: 0 2px 8px rgba(59, 130, 246, 0.25);
}

.button.secondary {
  background: #ffffff;
  color: #475569;
  border: 1px solid #e2e8f0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.button.secondary:hover {
  background: #f8fafc;
  border-color: #cbd5e1;
  color: #1e293b;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.1);
}

.topbar-actions .button,
.topbar-actions .button.secondary {
  background: #ffffff;
  color: #1f2937;
  border: 1px solid #d1d5db;
  box-shadow: 0 1px 2px rgba(15, 23, 42, 0.08);
}

.topbar-actions .button:hover,
.topbar-actions .button.secondary:hover {
  background: #f8fafc;
  color: #111827;
  border-color: #cbd5e1;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.12);
}

.button.small {
  padding: 12px 20px;
  font-size: 0.9rem;
  border-radius: 12px;
}

input,
textarea,
select {
  width: 100%;
  border-radius: 16px;
  border: 1px solid #d1d5db;
  padding: 14px 16px;
  background: #f8fafc;
  color: #111827;
  outline: none;
}

label {
  display: grid;
  gap: 10px;
  margin-bottom: 16px;
  color: #374151;
}

.ticket-selection {
  display: grid;
  gap: 16px;
}

.ticket-option {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 18px;
  align-items: center;
  padding: 18px;
  border: 1px solid #e2e8f0;
  border-radius: 22px;
  cursor: pointer;
  transition: border-color 0.2s ease, background 0.2s ease;
  background: #f8fafc;
}

.ticket-option input {
  width: 20px;
  height: 20px;
}

.ticket-option.active {
  background: #eff6ff;
  border-color: #2563eb;
}

.order-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  align-items: flex-end;
}

.order-actions > div {
  min-width: 160px;
}

.form-grid {
  display: grid;
  gap: 14px;
}

.ticket-card {
  max-width: 860px;
  margin: 0 auto;
}

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

.badge {
  display: inline-flex;
  align-items: center;
  background: #d1fae5;
  color: #065f46;
  padding: 10px 16px;
  border-radius: 999px;
  font-weight: 700;
}

.ticket-body {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 24px;
  margin-top: 22px;
}

.qr-image {
  min-height: 220px;
  display: grid;
  place-items: center;
  background: #f1f5f9;
  border-radius: 24px;
}

.ticket-details {
  display: grid;
  gap: 10px;
  margin-top: 22px;
  padding-top: 22px;
  border-top: 1px solid #e2e8f0;
}

.camera-frame {
  border-radius: 24px;
  overflow: hidden;
  background: #e2e8f0;
  min-height: 420px;
}

.camera-preview {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.info-message {
  color: #2563eb;
}

.error-message {
  color: #dc2626;
}

.ticket-row,
.ticket-group {
  display: grid;
  gap: 12px;
}

.ticket-row {
  grid-template-columns: repeat(3, minmax(0, 1fr));
}

/* Admin Layout with Sidebar */
.admin-layout {
  display: flex;
  height: 100vh;
  width: 100%;
  background: #f0f2f5;
  margin: 0;
  padding: 0;
}

.admin-sidebar {
  width: 200px;
  background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
  color: white;
  padding: 2rem 1rem;
  display: flex;
  flex-direction: column;
  box-shadow: 2px 0 8px rgba(0, 0, 0, 0.1);
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
  margin: 0;
}

.sidebar-header {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin-bottom: 2rem;
  padding-bottom: 1.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar-avatar {
  width: 50px;
  height: 50px;
  background: #c60c30;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: bold;
  font-size: 1.5rem;
}

.sidebar-user h3 {
  margin: 0;
  font-size: 0.95rem;
  font-weight: 600;
}

.sidebar-user p {
  margin: 4px 0 0 0;
  font-size: 0.75rem;
  opacity: 0.7;
}

.sidebar-menu {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
  flex: 1;
  margin-bottom: 2rem;
}

.menu-item {
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.7);
  padding: 0.75rem 1rem;
  border-radius: 6px;
  cursor: pointer;
  text-align: left;
  transition: all 0.3s ease;
  font-size: 0.95rem;
  font-weight: 500;
}

.menu-item:hover {
  background: rgba(255, 255, 255, 0.1);
  color: white;
}


.logout-btn {
  background: transparent;
  border: 2px solid rgba(255, 255, 255, 0.3);
  color: white;
  padding: 0.75rem 1rem;
  border-radius: 6px;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.3s ease;
}


.admin-content {
  flex: 1;
  padding: 0;
  overflow-y: auto;
  margin: 0;
  display: flex;
  flex-direction: column;
}

.admin-topbar {
  background: transparent;
  padding: 1rem 2rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  border-bottom: none;
  gap: 2rem;
  flex-shrink: 0;
}

.search-container {
  flex: 1;
  position: relative;
  max-width: 500px;
}

.search-input {
  width: 100%;
  padding: 0.75rem 1rem 0.75rem 2.5rem;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  font-size: 0.95rem;
  transition: all 0.3s ease;
}

.search-input:focus {
  outline: none;
  border-color: #c60c30;
  box-shadow: 0 0 0 3px rgba(198, 12, 48, 0.1);
}

.search-icon {
  position: absolute;
  left: 0.75rem;
  top: 50%;
  transform: translateY(-50%);
  color: #94a3b8;
  font-size: 1rem;
}

.topbar-actions {
  display: flex;
  align-items: center;
  gap: 1.5rem;
}

.topbar-actions .button {
  background: #2563eb;
  color: #ffffff;
  border: 1px solid #2563eb;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
}

.topbar-actions .button:hover {
  background: #1d4ed8;
  color: #ffffff;
  border-color: #1d4ed8;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.topbar-icon {
  background: transparent;
  border: none;
  font-size: 1.2rem;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 0.5rem;
}

.topbar-icon:hover {
  transform: scale(1.1);
}

.user-menu {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding-left: 1rem;
  border-left: 1px solid #e2e8f0;
  color: #1e293b;
  font-weight: 500;
}

.admin-header {
  margin: 0;
  padding: 2rem 2rem 0 2rem;
  flex-grow: 1;
}

.admin-header h1 {
  font-size: 2.5rem;
  color: #1e293b;
  margin: 0;
}

.admin-subtitle {
  color: #64748b;
  font-size: 1rem;
  margin-top: 0.5rem;
}

/* Dashboard Stats Grid */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1.5rem;
  margin: 0;
  padding: 2rem 2rem 0 2rem;
}

.stat-card {
  background: linear-gradient(135deg, #c60c30 0%, #e91e63 100%);
  color: white;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(198, 12, 48, 0.2);
  display: flex;
  align-items: center;
  gap: 1rem;
}

.stat-icon {
  font-size: 2rem;
  opacity: 0.9;
}

.stat-content {
  flex: 1;
}

.stat-number {
  font-size: 1.8rem;
  font-weight: bold;
  line-height: 1;
}

.stat-label {
  font-size: 0.85rem;
  opacity: 0.9;
  margin-top: 0.5rem;
}

/* Dashboard Section */
.dashboard-section h2,
.events-section h2,
.form-section h2 {
  color: #1e293b;
  margin-top: 2rem;
  margin-bottom: 1rem;
  padding: 0 2rem;
}

.events-list-section {
  background: white;
  padding: 1.5rem 2rem;
  border-radius: 0;
  margin: 0;
  margin-top: 2rem;
  width: 100%;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

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

.event-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem;
  background: #f8fafc;
  border-radius: 8px;
  border-left: 4px solid #c60c30;
}

.event-info h3 {
  margin: 0;
  font-size: 1rem;
  color: #1e293b;
}

.event-info p {
  margin: 0.25rem 0 0 0;
  font-size: 0.85rem;
  color: #64748b;
}

.event-stats {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.progress-bar-small {
  width: 100px;
  height: 6px;
  background: #e2e8f0;
  border-radius: 3px;
  overflow: hidden;
}

.progress-bar-small div {
  height: 100%;
  background: linear-gradient(90deg, #4caf50, #8bc34a);
  border-radius: 3px;
}

.event-seats {
  min-width: 50px;
  text-align: right;
  font-weight: 600;
  color: #c60c30;
}

/* Events Container */
.events-container {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.5rem;
  padding: 0 2rem 2rem 2rem;
  margin: 0;
}

.banner-section {
  background: white;
  padding: 2rem;
  border-radius: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  width: 100%;
  margin: 2rem 0 0 0;
}

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

.banner-association {
  display: grid;
  grid-template-columns: 1.3fr 1.7fr auto;
  gap: 1rem;
  align-items: end;
  margin-bottom: 1.5rem;
}

.banner-association .form-group {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.banner-association select,
.banner-association input {
  width: 100%;
  padding: 0.95rem 1rem;
  border: 1px solid #d1d5db;
  border-radius: 12px;
  background: #fff;
}

.banner-save-button {
  min-width: 220px;
}

.banner-remove-card-button {
  margin-top: 1rem;
  width: fit-content;
}

.banner-card {
  background: #f8fafc;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  display: flex;
  flex-direction: column;
}

.banner-preview {
  min-height: 170px;
  background: linear-gradient(180deg, #e2e8f0 0%, #ffffff 100%);
  display: flex;
  align-items: center;
  justify-content: center;
}

.banner-preview img {
  width: 100%;
  height: 170px;
  object-fit: cover;
}

.form-banner-preview {
  margin-top: 1rem;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
}

.form-banner-preview img {
  height: 140px;
}

.banner-placeholder {
  color: #64748b;
  font-size: 0.95rem;
  padding: 1rem;
  text-align: center;
}

.banner-details {
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.banner-details h3 {
  margin: 0;
  font-size: 1.05rem;
  color: #1e293b;
}

.banner-details p {
  margin: 0;
  color: #64748b;
  font-size: 0.9rem;
}

.banner-details label {
  font-weight: 600;
  color: #1e293b;
  margin-top: 0.5rem;
}

.banner-details input {
  width: 100%;
  padding: 0.8rem;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  font-size: 0.95rem;
}

.event-actions {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
}

.form-actions {
  display: flex;
  gap: 0.5rem;
  margin-top: 1rem;
}

.banner-details button {
  align-self: flex-start;
}

.event-card {
  background: white;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
  border: 1px solid #e2e8f0;
}

.event-card:hover {
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  border-color: #c60c30;
}

.event-card-banner {
  min-height: 120px;
  border-radius: 8px;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  margin-bottom: 1rem;
}

.event-card-header {
  display: flex;
  justify-content: space-between;
  align-items: start;
  margin-bottom: 1rem;
  gap: 1rem;
}

.event-card h3 {
  margin: 0;
  font-size: 1.1rem;
  color: #1e293b;
}

.category-badge {
  background: #c60c30;
  color: white;
  padding: 0.25rem 0.75rem;
  border-radius: 4px;
  font-size: 0.75rem;
  font-weight: 600;
  white-space: nowrap;
}

.event-card-meta {
  font-size: 0.85rem;
  color: #64748b;
  margin-bottom: 1rem;
}

.event-card-stats {
  display: flex;
  gap: 2rem;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #e2e8f0;
}

.event-card-stats .stat {
  flex: 1;
}

.event-card-stats .stat .label {
  display: block;
  font-size: 0.75rem;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.25rem;
}

.event-card-stats .stat .value {
  display: block;
  font-size: 1.3rem;
  font-weight: bold;
  color: #c60c30;
}

.progress-bar {
  width: 100%;
  height: 8px;
  background: #e2e8f0;
  border-radius: 4px;
  margin-bottom: 1rem;
  overflow: hidden;
}

.progress-bar div {
  height: 100%;
  background: linear-gradient(90deg, #4caf50, #8bc34a);
  border-radius: 4px;
  transition: width 0.3s ease;
}

/* Forms */
.form-section {
  background: white;
  padding: 2rem;
  border-radius: 0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  width: 100%;
  margin: 2rem 0 0 0;
}

.form-section h2 {
  color: #1e293b;
  margin-top: 0;
  font-size: 1.5rem;
  margin-bottom: 1rem;
}

.form-description {
  color: #64748b;
  margin-bottom: 1.5rem;
  font-size: 0.95rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}

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

.form-group label {
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #1e293b;
  font-size: 0.9rem;
}

.form-group input,
.form-group select {
  padding: 0.75rem;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  font-family: inherit;
}

.form-group input:focus,
.form-group select:focus {
  outline: none;
  border-color: #c60c30;
  box-shadow: 0 0 0 3px rgba(198, 12, 48, 0.1);
}

.form-help {
  font-size: 0.8rem;
  color: #64748b;
  margin-top: 0.25rem;
  font-style: italic;
}

.ticket-section {
  background: #f8fafc;
  padding: 1.5rem;
  border-radius: 8px;
  margin: 1.5rem 0;
}

.ticket-section h3 {
  margin-top: 0;
  color: #1e293b;
  font-size: 1rem;
}

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

.ticket-inputs {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.ticket-inputs input {
  padding: 0.5rem;
  border: 1px solid #e2e8f0;
  border-radius: 4px;
  font-size: 0.85rem;
}

.empty-state {
  text-align: center;
  padding: 3rem 2rem;
  color: #94a3b8;
  font-size: 1rem;
}



.button.secondary:hover {
  background: #cbd5e1;
}

.delete-btn {
  background: #f44336;
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
  margin-top: 0;
}

.delete-btn:hover {
  background: #d32f2f;
}

.admin-message {
  padding: 1rem;
  margin-bottom: 1.5rem;
  border-radius: 8px;
  font-weight: 500;
  border-left: 4px solid;
  animation: slideIn 0.3s ease;
}

.admin-message.success {
  background: #e8f5e9;
  color: #2e7d32;
  border-left-color: #4caf50;
}

.admin-message.error {
  background: #ffebee;
  color: #c62828;
  border-left-color: #f44336;
}

/* Animations */
@keyframes slideIn {
  from {
    transform: translateY(-10px);
    opacity: 0;
  }
  to {
    transform: translateY(0);
    opacity: 1;
  }
}

/* Responsive Design */
@media (max-width: 768px) {
  .admin-layout {
    flex-direction: column;
  }

  .admin-sidebar {
    width: 100%;
    height: auto;
    position: relative;
    padding: 1rem;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
  }

  .sidebar-header {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
    flex: 1;
  }

  .sidebar-menu {
    display: none;
  }

  .sidebar-menu.mobile-open {
    display: flex;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    flex-direction: column;
    background: #1e293b;
    padding: 1rem;
    z-index: 100;
  }

  .logout-btn {
    align-self: center;
  }

  .admin-content {
    padding: 1rem;
  }

  .admin-header h1 {
    font-size: 1.8rem;
  }

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

  .stat-card {
    padding: 1rem;
  }

  .stat-number {
    font-size: 1.4rem;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .events-container {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 480px) {
  .admin-sidebar {
    padding: 0.75rem;
  }

  .admin-content {
    padding: 0.75rem;
  }

  .admin-header h1 {
    font-size: 1.5rem;
  }

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

  .stat-card {
    padding: 1rem;
    flex-direction: column;
    text-align: center;
  }

  .stat-icon {
    position: static;
  }

  .form-section {
    padding: 1rem;
  }

  .ticket-section {
    padding: 1rem;
  }

  .event-item {
    flex-direction: column;
    align-items: flex-start;
    gap: 1rem;
  }

  .event-stats {
    width: 100%;
    flex-direction: column;
  }

  .progress-bar-small {
    width: 100%;
  }
}

/* COMPLAINTS STYLES */
.complaints-container {
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem 0;
}

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

.complaints-header h1 {
  margin: 0;
  color: #1e293b;
}

.complaint-form-card {
  background: white;
  padding: 2rem;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
  border: 1px solid #e2e8f0;
  margin-bottom: 2rem;
}

.complaint-form-card h2 {
  margin: 0 0 1.5rem 0;
  color: #1e293b;
}

.complaints-list {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.complaint-card {
  background: white;
  padding: 1.5rem;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  border: 1px solid #e2e8f0;
  transition: all 0.3s ease;
}

.complaint-card:hover {
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  border-color: #c60c30;
}

.complaint-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1rem;
  gap: 1rem;
}

.complaint-header h3 {
  margin: 0;
  color: #1e293b;
  font-size: 1.1rem;
}

.complaint-meta {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.status-badge,
.priority-badge {
  padding: 0.25rem 0.75rem;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 600;
  color: white;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.complaint-content {
  margin-bottom: 1rem;
}

.complaint-content p {
  margin: 0;
  color: #64748b;
  line-height: 1.6;
}

.complaint-footer {
  border-top: 1px solid #f1f5f9;
  padding-top: 1rem;
}

/* TICKET CARD STYLES */
.tickets-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding: 2rem 0;
}

.ticket-card-container {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.ticket-card-container.order-card-fallback {
  background: linear-gradient(135deg, #f0f9ff 0%, #f3f4f6 100%);
  border: 1px solid #bae6fd;
}

.ticket-display {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: center;
  padding: 2rem;
}

.ticket-card-container.order-card-fallback .ticket-display {
  grid-template-columns: 1fr;
}

.ticket-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.ticket-header {
  border-bottom: 2px solid #f1f5f9;
  padding-bottom: 1rem;
}

.ticket-header h3 {
  margin: 0 0 0.5rem 0;
  color: #1e293b;
  font-size: 1.5rem;
}

.ticket-code {
  color: #64748b;
  font-size: 0.9rem;
  font-family: monospace;
  margin: 0;
}

.ticket-status {
  color: #0284c7;
  font-size: 0.9rem;
  margin: 0;
  font-weight: 500;
}

.ticket-qr {
  display: flex;
  justify-content: center;
  align-items: center;
  background: #f8fafc;
  border-radius: 12px;
  padding: 1.5rem;
  border: 1px solid #e2e8f0;
  min-width: 200px;
}

.qr-image {
  max-width: 180px;
  width: 100%;
  height: auto;
}

.qr-placeholder {
  color: #94a3b8;
  font-size: 0.9rem;
}

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

.detail-item {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.detail-item .label {
  font-size: 0.8rem;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

.detail-item .value {
  color: #1e293b;
  font-weight: 500;
}

.ticket-actions {
  display: flex;
  gap: 1rem;
  flex-direction: column;
  justify-content: flex-start;
}

.ticket-actions .button {
  white-space: nowrap;
}

.tabs-navigation {
  display: flex;
  gap: 1rem;
  margin: 2rem 0;
  border-bottom: 2px solid #e2e8f0;
  padding-bottom: 0;
}

.tab-button {
  padding: 12px 20px;
  background: none;
  border: none;
  color: #64748b;
  font-weight: 600;
  cursor: pointer;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  transition: all 0.3s ease;
}

.tab-button:hover {
  color: #1e293b;
}

.tab-button.active {
  color: #2563eb;
  border-bottom-color: #2563eb;
}

.cart-item-controls {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  margin-top: 1rem;
}

.cart-item-controls label {
  margin: 0;
  font-size: 0.9rem;
}

.cart-item-controls input {
  width: 80px;
  padding: 8px 12px;
}

.cart-summary {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 2px solid #f1f5f9;
}

.summary-card {
  background: #f8fafc;
  padding: 2rem;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  max-width: 400px;
  margin-left: auto;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  padding: 1rem 0;
  border-bottom: 1px solid #e2e8f0;
  color: #64748b;
}

.summary-row.total {
  border-bottom: none;
  padding-top: 1.5rem;
  font-size: 1.2rem;
  font-weight: 700;
  color: #1e293b;
}

.summary-card .full-width {
  width: 100%;
  margin-top: 1.5rem;
}

.button.danger-outline {
  background: white;
  color: #dc2626;
  border: 1px solid #dc2626;
}

.button.danger-outline:hover {
  background: #fee2e2;
  border-color: #dc2626;
}

.button.danger {
  background: #dc2626;
  color: white;
  border: 1px solid #dc2626;
}

.button.danger:hover {
  background: #b91c1c;
  border-color: #b91c1c;
}

.button.danger:disabled {
  background: #fca5a5;
  border-color: #fca5a5;
  opacity: 0.6;
  cursor: not-allowed;
}

@media (max-width: 768px) {
  .ticket-display {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

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

  .ticket-qr {
    min-width: auto;
    width: 100%;
    max-width: 200px;
    margin: 0 auto;
  }
}

.complaint-date {
  font-size: 0.85rem;
  color: #94a3b8;
  margin-bottom: 0.5rem;
}

.admin-response {
  background: #f8fafc;
  padding: 1rem;
  border-radius: 8px;
  border-left: 4px solid #c60c30;
}

.admin-response h4 {
  margin: 0 0 0.5rem 0;
  color: #1e293b;
  font-size: 0.95rem;
}

.admin-response p {
  margin: 0 0 0.5rem 0;
  color: #64748b;
}

.admin-response small {
  color: #94a3b8;
  font-size: 0.8rem;
}

.complaint-messages {
  margin-top: 1rem;
}

.complaint-messages h4 {
  margin: 0 0 0.5rem 0;
  color: #374151;
  font-size: 0.95rem;
}

.messages-thread {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.message {
  padding: 1rem;
  border-radius: 8px;
  border-left: 3px solid;
}

.message.client {
  background: #f8fafc;
  border-left-color: #3b82f6;
  margin-left: 1rem;
}

.message.admin {
  background: #fef2f2;
  border-left-color: #c60c30;
  margin-right: 1rem;
}

.message-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
  font-size: 0.85rem;
}

.message-author {
  font-weight: 600;
  color: #374151;
}

.message.client .message-author {
  color: #1d4ed8;
}

.message.admin .message-author {
  color: #c60c30;
}

.message-date {
  color: #6b7280;
  font-size: 0.8rem;
}

.message-content {
  color: #374151;
  line-height: 1.5;
}

.complaint-reply {
  margin-top: 1rem;
  padding: 1rem;
  background: #f9fafb;
  border-radius: 8px;
  border: 1px solid #e5e7eb;
}

.complaint-reply form {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.complaint-reply textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-family: inherit;
  resize: vertical;
  min-height: 80px;
}

.complaint-reply textarea:focus {
  outline: none;
  border-color: #3b82f6;
  box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1);
}

.complaint-reply button {
  align-self: flex-start;
  padding: 0.5rem 1rem;
}

textarea {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  font-size: 0.95rem;
  font-family: inherit;
  resize: vertical;
  min-height: 100px;
  transition: all 0.3s ease;
}

textarea:focus {
  outline: none;
  border-color: #c60c30;
  box-shadow: 0 0 0 3px rgba(198, 12, 48, 0.1);
}

/* ADMIN COMPLAINTS STYLES */
.complaints-section {
  width: 100%;
  padding: 2rem;
  background: #ffffff;
  border-radius: 24px;
  box-shadow: 0 20px 60px rgba(15, 23, 42, 0.08);
  border: 1px solid rgba(226, 232, 240, 0.9);
  margin-top: 2rem;
}

.complaints-stats {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.complaints-stats .stat {
  background: #f8fafc;
  color: #64748b;
  padding: 0.5rem 1rem;
  border-radius: 20px;
  font-size: 0.85rem;
  font-weight: 600;
}

.complaints-stats .stat.pending {
  background: #fef3c7;
  color: #92400e;
}

.complaints-stats .stat.in-progress {
  background: #dbeafe;
  color: #1e40af;
}

.complaints-table {
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  overflow: hidden;
  margin-top: 1.5rem;
}

.complaint-subject {
  max-width: 200px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.complaint-modal {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
}

.modal-content {
  background: white;
  border-radius: 16px;
  max-width: 600px;
  width: 90%;
  max-height: 80vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  border-bottom: 1px solid #e2e8f0;
}

.modal-header h3 {
  margin: 0;
  color: #1e293b;
}

.close-button {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #64748b;
  padding: 0.5rem;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.close-button:hover {
  background: #f1f5f9;
  color: #1e293b;
}

.modal-body {
  padding: 1.5rem;
}

.complaint-details {
  margin-bottom: 2rem;
}

.detail-row {
  margin-bottom: 1rem;
}

.detail-row strong {
  display: block;
  color: #1e293b;
  margin-bottom: 0.5rem;
  font-size: 0.9rem;
}

.complaint-message,
.admin-response-text {
  background: #f8fafc;
  padding: 1rem;
  border-radius: 8px;
  border-left: 4px solid #c60c30;
  margin: 0;
  color: #64748b;
  line-height: 1.6;
}

.complaint-actions {
  border-top: 1px solid #e2e8f0;
  padding-top: 1.5rem;
}

.status-actions {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
  flex-wrap: wrap;
}
.users-section {
  width: 100%;
  padding: 2rem;
  background: #ffffff;
  border-radius: 24px;
  box-shadow: 0 20px 60px rgba(15, 23, 42, 0.08);
  border: 1px solid rgba(226, 232, 240, 0.9);
  margin-top: 2rem;
}

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

.section-header h2 {
  margin: 0;
  color: #0f172a;
  font-size: 1.5rem;
}

.users-table {
  background: #ffffff;
  border-radius: 16px;
  border: 1px solid #e2e8f0;
  overflow: hidden;
}

.table-header,
.table-row {
  display: grid;
  grid-template-columns: minmax(220px, 2fr) minmax(220px, 2fr) minmax(130px, 1fr) minmax(140px, 1fr) minmax(220px, 1.5fr);
  gap: 16px;
  align-items: center;
}

.table-header {
  padding: 18px 24px;
  background: #f8fafc;
  border-bottom: 1px solid #e2e8f0;
  font-weight: 700;
  color: #475569;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
}

.table-row {
  padding: 18px 24px;
  border-bottom: 1px solid #f1f5f9;
  transition: background-color 0.2s ease, transform 0.2s ease;
}

.table-row:hover {
  background: #f8fafc;
  transform: translateY(-1px);
}

.table-row:last-child {
  border-bottom: none;
}

.table-row > div {
  min-width: 0;
}

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

.user-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2563eb 0%, #9333ea 100%);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
}

.user-info span {
  color: #0f172a;
  font-weight: 600;
}

.role-badge {
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.role-badge.admin {
  background: #fef3c7;
  color: #92400e;
}

.role-badge.organizer {
  background: #dbeafe;
  color: #1e40af;
}

.role-badge.user {
  background: #f3f4f6;
  color: #374151;
}

.user-actions {
  display: flex;
  gap: 0.75rem;
  justify-content: flex-end;
  flex-wrap: wrap;
}

.button.small {
  padding: 0.65rem 1rem;
  font-size: 0.85rem;
  border-radius: 10px;
}

.user-form {
  max-width: 520px;
}

.role-badge.admin {
  background: #fef3c7;
  color: #92400e;
}

.role-badge.organizer {
  background: #dbeafe;
  color: #1e40af;
}

.role-badge.user {
  background: #f3f4f6;
  color: #374151;
}

.user-actions {
  display: flex;
  gap: 8px;
}

.user-form {
  max-width: 500px;
}

@media (max-width: 900px) {
  .hero-panel,
  .ticket-body,
  .order-actions,
  .ticket-row {
    grid-template-columns: 1fr;
  }

  nav {
    display: none;
  }
}

@media (max-width: 640px) {
  .topbar {
    flex-direction: column;
    align-items: stretch;
    gap: 16px;
    padding: 16px 20px;
  }

  .topbar-shell {
    width: 100%;
    justify-content: space-between;
  }

  .category-nav,
  .topbar-actions {
    display: none;
  }

  .topbar-hamburger {
    display: inline-flex;
  }

  .mobile-menu {
    display: none;
  }

  .mobile-menu.open {
    display: flex;
  }

  .mobile-menu {
    width: 100%;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.08);
    border-radius: 16px;
  }

  .mobile-menu-section {
    padding: 16px 0;
  }

  .mobile-menu-section + .mobile-menu-section {
    border-top: 1px solid #e2e8f0;
  }

  .mobile-menu .button {
    width: 100%;
  }

  .page {
    min-height: auto;
  }
}

/* TICKET AND MESSAGE STYLES */
.error-message,
.success-message {
  padding: 12px 16px;
  border-radius: 6px;
  font-size: 0.9rem;
  margin: 0;
}

.error-message {
  color: #dc2626;
  background: #fee2e2;
  border-left: 4px solid #dc2626;
}

.success-message {
  color: #059669;
  background: #d1fae5;
  border-left: 4px solid #059669;
}

.ticket-card-container {
  background: white;
  border-radius: 16px;
  overflow: hidden;
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
}

.ticket-card-container.order-card-fallback {
  background: linear-gradient(135deg, #f0f9ff 0%, #f3f4f6 100%);
  border: 1px solid #bae6fd;
}

.ticket-display {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 2rem;
  align-items: flex-start;
  padding: 2rem;
}

.ticket-card-container.order-card-fallback .ticket-display {
  grid-template-columns: 1fr;
}

.ticket-info {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.ticket-header {
  border-bottom: 2px solid #f1f5f9;
  padding-bottom: 1rem;
}

.ticket-header h3 {
  margin: 0 0 0.5rem 0;
  color: #1e293b;
  font-size: 1.5rem;
}

.ticket-code,
.ticket-status {
  margin: 0;
  font-size: 0.9rem;
  font-weight: 500;
}

.ticket-code {
  color: #64748b;
  font-family: monospace;
}

.ticket-status {
  color: #0284c7;
}

.ticket-qr {
  display: flex;
  justify-content: center;
  align-items: center;
  background: #f8fafc;
  border-radius: 12px;
  padding: 1.5rem;
  border: 1px solid #e2e8f0;
  min-width: 200px;
}

.qr-image {
  max-width: 180px;
  width: 100%;
  height: auto;
}

.qr-placeholder {
  color: #94a3b8;
  font-size: 0.9rem;
}

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

.detail-item {
  display: flex;
  flex-direction: column;
  gap: 0.4rem;
}

.detail-item .label {
  font-size: 0.8rem;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

.detail-item .value {
  color: #1e293b;
  font-weight: 500;
}

.ticket-actions {
  display: flex;
  gap: 1rem;
  flex-direction: column;
  justify-content: flex-start;
  min-width: 160px;
}

.ticket-actions .button {
  white-space: nowrap;
}

.button.danger-outline {
  background: white;
  color: #dc2626;
  border: 1px solid #dc2626;
}

.button.danger-outline:hover {
  background: #fee2e2;
  border-color: #dc2626;
}

.tabs-navigation {
  display: flex;
  gap: 1rem;
  margin: 2rem 0;
  border-bottom: 2px solid #e2e8f0;
  padding-bottom: 0;
}

.tab-button {
  padding: 12px 20px;
  background: none;
  border: none;
  color: #64748b;
  font-weight: 600;
  cursor: pointer;
  border-bottom: 3px solid transparent;
  margin-bottom: -2px;
  transition: all 0.3s ease;
}

.tab-button:hover {
  color: #1e293b;
}

.tab-button.active {
  color: #2563eb;
  border-bottom-color: #2563eb;
}

.cart-item-controls {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  margin-top: 1rem;
}

.cart-item-controls label {
  margin: 0;
  font-size: 0.9rem;
}

.cart-item-controls input {
  width: 80px;
  padding: 8px 12px;
}

.cart-summary {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 2px solid #f1f5f9;
}

.summary-card {
  background: #f8fafc;
  padding: 2rem;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  max-width: 400px;
  margin-left: auto;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  padding: 1rem 0;
  border-bottom: 1px solid #e2e8f0;
  color: #64748b;
}

.summary-row.total {
  border-bottom: none;
  padding-top: 1.5rem;
  font-size: 1.2rem;
  font-weight: 700;
  color: #1e293b;
}

.summary-card .full-width {
  width: 100%;
  margin-top: 1.5rem;
}

.tickets-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  padding: 2rem 0;
}

@media (max-width: 768px) {
  .ticket-display {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

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

  .ticket-qr {
    min-width: auto;
    width: 100%;
    max-width: 200px;
    margin: 0 auto;
  }

  .ticket-actions {
    min-width: auto;
  }
}

/* CART AND HISTORY STYLES */
.cart-section {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.cart-empty {
  text-align: center;
  padding: 4rem 2rem;
  background: #f8fafc;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
}

.cart-empty h3 {
  margin: 0 0 1rem 0;
  color: #1e293b;
  font-size: 1.25rem;
}

.cart-empty p {
  margin: 0;
  color: #64748b;
  font-size: 1rem;
}

.cart-items {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.cart-item {
  background: white;
  border-radius: 12px;
  padding: 1.5rem;
  border: 1px solid #e2e8f0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.cart-item:hover {
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  border-color: #2563eb;
}

.cart-item-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1rem;
  gap: 1rem;
}

.cart-item-title {
  margin: 0;
  color: #1e293b;
  font-size: 1.1rem;
  font-weight: 600;
}

.cart-item-price {
  color: #2563eb;
  font-size: 1.2rem;
  font-weight: 700;
}

.cart-item-details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem;
  margin-bottom: 1rem;
}

.cart-item-detail {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.cart-item-detail .label {
  font-size: 0.8rem;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

.cart-item-detail .value {
  color: #1e293b;
  font-weight: 500;
}

.cart-item-controls {
  display: flex;
  gap: 0.75rem;
  align-items: center;
  margin-top: 1rem;
}

.cart-item-controls label {
  margin: 0;
  font-size: 0.9rem;
  color: #374151;
  font-weight: 500;
}

.cart-item-controls input {
  width: 80px;
  padding: 8px 12px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-size: 0.9rem;
  text-align: center;
}

.cart-item-controls input:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}

.cart-item-actions {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
}

.cart-summary {
  margin-top: 2rem;
  padding-top: 2rem;
  border-top: 2px solid #f1f5f9;
}

.summary-card {
  background: #f8fafc;
  padding: 2rem;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  max-width: 400px;
  margin-left: auto;
}

.summary-row {
  display: flex;
  justify-content: space-between;
  padding: 1rem 0;
  border-bottom: 1px solid #e2e8f0;
  color: #64748b;
}

.summary-row.total {
  border-bottom: none;
  padding-top: 1.5rem;
  font-size: 1.2rem;
  font-weight: 700;
  color: #1e293b;
}

.summary-card .full-width {
  width: 100%;
  margin-top: 1.5rem;
}

/* HISTORY SECTION */
.history-section {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.history-empty {
  text-align: center;
  padding: 4rem 2rem;
  background: #f8fafc;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
}

.history-empty h3 {
  margin: 0 0 1rem 0;
  color: #1e293b;
  font-size: 1.25rem;
}

.history-empty p {
  margin: 0;
  color: #64748b;
  font-size: 1rem;
}

.history-items {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.history-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 24px;
  width: 100%;
}

.history-ticket-card {
  width: 100%;
  min-width: 0;
}

.history-item {
  background: white;
  border-radius: 12px;
  padding: 1.5rem;
  border: 1px solid #e2e8f0;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
  transition: all 0.3s ease;
}

.history-item:hover {
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
  border-color: #059669;
}

.history-item-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 1rem;
  gap: 1rem;
}

.history-item-title {
  margin: 0;
  color: #1e293b;
  font-size: 1.1rem;
  font-weight: 600;
}

.history-item-date {
  color: #64748b;
  font-size: 0.9rem;
  font-weight: 500;
}

.history-item-details {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 1rem;
  margin-bottom: 1rem;
}

.history-item-detail {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.history-item-detail .label {
  font-size: 0.8rem;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

.history-item-detail .value {
  color: #1e293b;
  font-weight: 500;
}

.history-item-status {
  display: inline-flex;
  align-items: center;
  padding: 0.5rem 1rem;
  border-radius: 999px;
  font-size: 0.8rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.history-item-status.used {
  background: #dcfce7;
  color: #166534;
}

.history-item-status.active {
  background: #dbeafe;
  color: #1e40af;
}

.history-item-status.expired {
  background: #fee2e2;
  color: #991b1b;
}

.history-item-actions {
  display: flex;
  gap: 0.75rem;
  margin-top: 1rem;
}

/* QR MODAL */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.75);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1000;
  padding: 1rem;
}

.modal-content {
  background: white;
  border-radius: 16px;
  max-width: 500px;
  width: 100%;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

.modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1.5rem;
  border-bottom: 1px solid #e2e8f0;
}

.modal-header h3 {
  margin: 0;
  color: #1e293b;
  font-size: 1.25rem;
}

.modal-close {
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: #64748b;
  padding: 0.5rem;
  border-radius: 50%;
  transition: all 0.3s ease;
}

.modal-close:hover {
  background: #f1f5f9;
  color: #1e293b;
}

.modal-body {
  padding: 1.5rem;
  text-align: center;
}

.qr-display {
  margin-bottom: 1.5rem;
}

.qr-display img {
  max-width: 100%;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.qr-info {
  margin-bottom: 1.5rem;
}

.qr-info h4 {
  margin: 0 0 0.5rem 0;
  color: #1e293b;
  font-size: 1rem;
}

.qr-info p {
  margin: 0;
  color: #64748b;
  font-size: 0.9rem;
}

.modal-actions {
  display: flex;
  gap: 1rem;
  justify-content: center;
  flex-wrap: wrap;
}

/* RESPONSIVE DESIGN FOR CART AND HISTORY */
@media (max-width: 768px) {
  .cart-item-header,
  .history-item-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .cart-item-price,
  .history-item-date {
    align-self: flex-end;
  }

  .cart-item-details,
  .history-item-details {
    grid-template-columns: 1fr;
  }

  .cart-item-controls {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .cart-item-controls input {
    width: 100%;
  }

  .summary-card {
    max-width: 100%;
    margin-left: 0;
  }

  .modal-content {
    margin: 1rem;
    max-height: calc(100vh - 2rem);
  }

  .modal-header,
  .modal-body {
    padding: 1rem;
  }

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

  .modal-actions .button {
    width: 100%;
  }
}

/* Event Actions and Export Styles */
.event-actions {
  display: flex;
  gap: 0.5rem;
  justify-content: flex-start;
  flex-wrap: wrap;
  margin-top: 1rem;
}

.event-actions .button {
  flex: 1;
  min-width: 120px;
}

.header-actions {
  display: flex;
  gap: 1rem;
  align-items: center;
  flex-wrap: wrap;
}

.header-actions .button {
  white-space: nowrap;
}
