:root {
  --bg-dark: #080d1a;
  --bg-deep: #111832;

  --panel: rgba(23, 30, 54, 0.72);
  --panel-strong: rgba(30, 38, 68, 0.86);

  --white: #ffffff;
  --muted: #cfd6ea;
  --muted-soft: #9fa8c0;

  --blue: #27b2ff;
  --purple: #8b5cf6;
  --pink: #ff2f92;

  --border: rgba(255, 255, 255, 0.10);
  --border-strong: rgba(139, 92, 246, 0.35);

  --radius: 22px;
  --shadow: 0 20px 55px rgba(0, 0, 0, 0.34);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Arial, Helvetica, sans-serif;
  color: var(--white);

  background:
    radial-gradient(circle at top left, rgba(39, 178, 255, 0.20), transparent 32%),
    radial-gradient(circle at top right, rgba(255, 47, 146, 0.18), transparent 30%),
    radial-gradient(circle at bottom left, rgba(139, 92, 246, 0.20), transparent 34%),
    linear-gradient(135deg, #0b1224 0%, #111832 45%, #25142f 100%);
}

/* HEADER */

.main-header {
  height: 74px;
  padding: 0 13%;

  display: flex;
  align-items: center;
  justify-content: space-between;

  position: sticky;
  top: 0;
  z-index: 1000;

  background: rgba(7, 11, 24, 0.78);
  backdrop-filter: blur(18px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.brand {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
}

.brand-gradient {
  font-size: 26px;
  font-weight: 900;
  letter-spacing: -0.5px;
  background: linear-gradient(135deg, #27b2ff, #8b5cf6, #ff2f92);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.brand-logo, .brand-name {
  display: none;
}

.admin-button {
  height: 44px;
  padding: 0 22px;

  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 999px;

  background: rgba(255, 255, 255, 0.07);
  color: white;

  font-weight: 800;
  cursor: pointer;
  transition: 0.22s ease;
}

.admin-button:hover {
  transform: translateY(-2px);
  border-color: rgba(139, 92, 246, 0.45);
  box-shadow: 0 0 24px rgba(139, 92, 246, 0.24);
}

/* HOME */

.hero {
  padding: 82px 13%;
  background:
    linear-gradient(120deg, rgba(39, 178, 255, 0.08), rgba(139, 92, 246, 0.08), rgba(255, 47, 146, 0.08));
}

.hero-mini-text {
  display: inline-block;
  margin-bottom: 16px;

  color: #ded2ff;
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.hero h1 {
  margin: 0 0 14px;

  color: white;
  font-size: 60px;
  line-height: 1;
  letter-spacing: -3px;
}

.hero p {
  margin: 0;
  max-width: 720px;

  color: #dbe7ff;
  font-size: 21px;
}

.main-content {
  padding: 54px 13%;
}

.section-header {
  margin-bottom: 26px;
}

.section-header h2 {
  margin: 0 0 8px;

  color: white;
  font-size: 32px;
  letter-spacing: -1px;
}

.section-header p {
  margin: 0;
  color: var(--muted);
}

/* EVENTOS HOME */

.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(310px, 1fr));
  gap: 30px;
}

.event-card {
  overflow: hidden;
  border-radius: 26px;

  background: linear-gradient(180deg, rgba(32, 41, 75, 0.92), rgba(20, 26, 49, 0.96));
  border: 1px solid rgba(255, 255, 255, 0.12);

  cursor: pointer;
  transition: 0.28s ease;

  box-shadow:
    0 0 35px rgba(39, 178, 255, 0.14),
    0 0 60px rgba(139, 92, 246, 0.14),
    0 0 80px rgba(255, 47, 146, 0.10),
    0 22px 60px rgba(0, 0, 0, 0.38);
}

.event-card:hover {
  transform: translateY(-8px) scale(1.01);
  border-color: rgba(139, 92, 246, 0.48);
  box-shadow:
    0 0 45px rgba(39, 178, 255, 0.18),
    0 0 80px rgba(139, 92, 246, 0.22),
    0 0 110px rgba(255, 47, 146, 0.16),
    0 30px 70px rgba(0, 0, 0, 0.46);
}

.event-image {
  position: relative;
  height: 220px;

  display: flex;
  align-items: center;
  justify-content: center;

  background: linear-gradient(135deg, rgba(39, 178, 255, 0.96), rgba(139, 92, 246, 0.96), rgba(255, 47, 146, 0.96));

  color: white;
  font-size: 30px;
  font-weight: 900;
  text-align: center;
}

.date-badge {
  position: absolute;
  top: 18px;
  right: 18px;

  width: 64px;
  height: 64px;
  border-radius: 18px;

  background: white;
  color: #111827;

  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;

  font-weight: 900;

  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
}

.date-badge small {
  font-size: 10px;
  color: #6b7280;
}

.date-badge span {
  font-size: 26px;
  line-height: 1;
}

.date-badge em {
  font-size: 10px;
  font-style: normal;
  color: var(--blue);
}

.event-info {
  padding: 23px;
}

.event-info h3 {
  margin: 0 0 12px;
  color: white;
  font-size: 23px;
}

.event-info p {
  margin: 8px 0;
  color: #d6dced;
  font-size: 15px;
}

.tags {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 16px;
}

.tag {
  padding: 7px 12px;
  border-radius: 999px;

  background: rgba(255, 255, 255, 0.10);
  color: white;

  font-size: 13px;
  font-weight: 800;
}

/* PÁGINA EVENTO */

.ticket-page {
  padding: 42px 13% 76px;
}

.ticket-layout {
  display: grid;
  grid-template-columns: 330px minmax(0, 1fr);
  gap: 54px;
  align-items: start;
}

.ticket-left {
  position: sticky;
  top: 100px;
}

.ticket-poster {
  height: 410px;
  border-radius: 24px;

  display: flex;
  align-items: center;
  justify-content: center;

  padding: 30px;

  background:
    linear-gradient(135deg, rgba(39, 178, 255, 0.96), rgba(139, 92, 246, 0.96), rgba(255, 47, 146, 0.96));

  color: white;
  font-size: 38px;
  font-weight: 900;
  text-align: center;
  line-height: 1.25;

  box-shadow:
    0 0 34px rgba(39, 178, 255, 0.18),
    0 0 54px rgba(139, 92, 246, 0.20),
    0 0 72px rgba(255, 47, 146, 0.13),
    0 24px 55px rgba(0, 0, 0, 0.36);
}

.ticket-info-block {
  margin-top: 22px;
  padding: 18px;

  border-radius: 18px;

  background: rgba(255, 255, 255, 0.052);
  border: 1px solid rgba(255, 255, 255, 0.08);

  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.16);
}

.ticket-info-block h3 {
  margin: 0 0 10px;

  color: white;
  font-size: 17px;
}

.ticket-info-block p {
  margin: 0 0 14px;

  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.55;
}

.ticket-info-block p:last-child {
  margin-bottom: 0;
}

.map-link {
  color: #d8e2ff;
  text-decoration: none;
  font-weight: 700;
  font-size: 14.5px;
}

.map-link:hover {
  color: white;
}

.ticket-right {
  padding-top: 6px;
}

.event-date-line {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;

  margin-bottom: 12px;

  color: #dbe4ff;
  font-size: 16px;
  font-weight: 700;
}

.event-date-line span + span {
  padding-left: 12px;
  border-left: 1px solid rgba(255, 255, 255, 0.22);
}

.ticket-right h1 {
  margin: 0 0 18px;

  color: white;
  font-size: 36px;
  letter-spacing: -1px;
}

.event-badges {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;

  margin-bottom: 28px;
}

.event-badges span {
  padding: 8px 12px;
  border-radius: 9px;

  background: rgba(255, 255, 255, 0.10);
  color: white;

  font-size: 13px;
  font-weight: 900;
}

/* BLOQUES DE ENTRADAS */

.ticket-category {
  margin-top: 24px;
  padding: 20px;

  border-radius: 22px;

  background:
    linear-gradient(180deg, rgba(22, 29, 53, 0.78), rgba(16, 22, 42, 0.78));

  border: 1px solid rgba(255, 255, 255, 0.08);

  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 16px 40px rgba(0, 0, 0, 0.18);
}

.ticket-category h2 {
  position: relative;

  margin: 0 0 16px;
  padding-left: 16px;

  color: white;
  font-size: 26px;
  letter-spacing: -0.4px;
}

.ticket-category h2::before {
  content: "";

  position: absolute;
  left: 0;
  top: 5px;

  width: 4px;
  height: 24px;
  border-radius: 999px;

  background: linear-gradient(180deg, var(--blue), var(--purple));
  box-shadow: 0 0 15px rgba(39, 178, 255, 0.42);
}

.ticket-category-pink h2::before {
  background: linear-gradient(180deg, var(--pink), var(--purple));
  box-shadow: 0 0 15px rgba(255, 47, 146, 0.42);
}

.ticket-option {
  min-height: 94px;
  margin-bottom: 12px;
  padding: 17px 18px;

  border-radius: 16px;

  background:
    linear-gradient(180deg, rgba(39, 48, 82, 0.72), rgba(25, 32, 60, 0.78));

  border: 1px solid rgba(255, 255, 255, 0.10);

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;

  transition: 0.24s ease;

  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.02),
    0 10px 26px rgba(0, 0, 0, 0.16);
}

.ticket-option:last-child {
  margin-bottom: 0;
}

.ticket-option:hover {
  transform: translateY(-2px);

  border-color: rgba(139, 92, 246, 0.45);

  box-shadow:
    0 0 24px rgba(39, 178, 255, 0.10),
    0 0 34px rgba(139, 92, 246, 0.12),
    0 14px 32px rgba(0, 0, 0, 0.24);
}

.ticket-option h3 {
  margin: 0 0 6px;

  color: white;
  font-size: 17px;
  text-transform: uppercase;
  letter-spacing: -0.2px;
}

.ticket-option p {
  margin: 0 0 14px;

  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.35;
}

.ticket-option strong {
  color: white;
  font-size: 18px;
}

.ticket-option button {
  min-width: 46px;
  height: 46px;

  border: none;
  border-radius: 13px;

  background: linear-gradient(135deg, var(--blue), var(--purple), var(--pink));
  color: white;

  font-size: 24px;
  font-weight: 900;

  cursor: pointer;

  transition: 0.22s ease;

  box-shadow: 0 0 22px rgba(139, 92, 246, 0.22);
}

.ticket-option button:hover {
  transform: scale(1.06);
  box-shadow:
    0 0 20px rgba(39, 178, 255, 0.24),
    0 0 30px rgba(255, 47, 146, 0.22);
}

/* CHECKOUT */

.checkout-page {
  padding: 38px 13% 80px;
}

.checkout-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 340px;
  gap: 34px;
  align-items: start;
}

.checkout-main {
  min-width: 0;
}

.checkout-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;

  margin-bottom: 22px;

  color: #d5d8e4;
  text-decoration: none;

  font-size: 14px;
  font-weight: 700;
}

.checkout-back:hover {
  color: white;
}

.checkout-date {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;

  margin-bottom: 18px;

  color: #c9d2eb;
  font-size: 14px;
  font-weight: 700;
}

.checkout-main h1 {
  margin: 0 0 24px;

  color: white;
  font-size: 42px;
  font-weight: 900;
  letter-spacing: -1.5px;
}

.checkout-ticket-card {
  padding: 24px;

  border-radius: 22px;

  background:
    linear-gradient(180deg, rgba(18, 27, 42, 0.92), rgba(14, 18, 32, 0.96));

  border: 1px solid rgba(39, 178, 255, 0.34);

  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;

  box-shadow:
    0 0 30px rgba(39, 178, 255, 0.10),
    0 0 50px rgba(139, 92, 246, 0.10),
    0 20px 50px rgba(0, 0, 0, 0.30);
}

.checkout-ticket-card h2 {
  margin: 0 0 10px;

  color: white;
  font-size: 24px;
  font-weight: 900;
  text-transform: uppercase;
}

.checkout-ticket-card p {
  margin: 0 0 10px;

  color: #c7cee0;
  line-height: 1.5;
}

.checkout-ticket-card strong {
  color: var(--blue);
  font-size: 32px;
  white-space: nowrap;
}

.checkout-note {
  margin-top: 16px !important;
  padding-top: 14px;

  border-top: 1px solid rgba(255, 255, 255, 0.08);

  color: #9eb6ff !important;
  font-size: 14px;
}

.quantity-box,
.buyer-form-box {
  margin-top: 24px;
  padding: 0;

  overflow: hidden;

  border-radius: 22px;

  background:
    linear-gradient(180deg, rgba(28, 33, 52, 0.94), rgba(20, 24, 40, 0.96));

  border: 1px solid rgba(255, 255, 255, 0.08);

  box-shadow:
    0 0 24px rgba(139, 92, 246, 0.08),
    0 18px 44px rgba(0, 0, 0, 0.22);
}

.quantity-box h2,
.buyer-form-box h2 {
  margin: 0;
  padding: 16px 22px;

  background:
    linear-gradient(90deg, rgba(19, 214, 209, 0.16), rgba(139, 92, 246, 0.12));

  color: #13d6d1;
  font-size: 16px;
  font-weight: 900;
  text-transform: uppercase;
}

.quantity-box {
  padding-bottom: 28px;
}

.quantity-control {
  display: flex;
  align-items: center;
  justify-content: center;

  padding-top: 26px;
  gap: 24px;
}

.quantity-control button {
  width: 58px;
  height: 58px;

  border: 0;
  border-radius: 50%;

  background:
    linear-gradient(135deg, rgba(39, 178, 255, 0.16), rgba(139, 92, 246, 0.18));

  color: white;

  font-size: 30px;
  font-weight: 900;

  cursor: pointer;

  transition: 0.2s ease;
}

.quantity-control button:hover {
  transform: scale(1.06);
  box-shadow: 0 0 24px rgba(139, 92, 246, 0.20);
}

.quantity-control button:disabled {
  opacity: 0.35;
  cursor: not-allowed;
}

.quantity-control span {
  width: 62px;

  color: white;
  text-align: center;

  font-size: 38px;
  font-weight: 900;
}

/* FORMULARIO COMPRADOR */

.buyer-form-box > p {
  margin: 0;
  padding: 18px 22px 0;

  color: var(--muted);
  font-size: 14.5px;
  line-height: 1.5;
}

.buyer-form {
  padding: 22px;

  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px 18px;
}

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

.form-row label {
  color: white;
  font-size: 14px;
  font-weight: 800;
}

.form-row label::after {
  content: " *";
  color: var(--pink);
}

.form-row input {
  width: 100%;
  height: 48px;

  padding: 0 14px;

  border: 1px solid rgba(255, 255, 255, 0.10);
  border-radius: 8px;

  background: rgba(255, 255, 255, 0.12);

  color: white;

  font-size: 15px;
  font-weight: 700;

  outline: none;

  transition: 0.2s ease;
}

.form-row input::placeholder {
  color: rgba(255, 255, 255, 0.42);
  font-weight: 500;
}

.form-row input:focus {
  border-color: rgba(39, 178, 255, 0.65);
  background: rgba(255, 255, 255, 0.16);

  box-shadow:
    0 0 0 3px rgba(39, 178, 255, 0.12),
    0 0 22px rgba(139, 92, 246, 0.14);
}

.form-check {
  grid-column: 1 / -1;

  display: flex;
  align-items: flex-start;
  gap: 10px;

  margin-top: 4px;

  color: var(--muted);
  font-size: 14px;
  line-height: 1.45;
}

.form-check input {
  width: 18px;
  height: 18px;
  margin-top: 2px;

  accent-color: var(--blue);
}

.form-check label {
  cursor: pointer;
}

.checkout-summary {
  position: sticky;
  top: 100px;

  padding: 24px;

  border-radius: 22px;

  background:
    linear-gradient(180deg, rgba(27, 32, 54, 0.92), rgba(18, 22, 38, 0.96));

  border: 1px solid rgba(255, 255, 255, 0.08);

  box-shadow:
    0 0 30px rgba(139, 92, 246, 0.08),
    0 20px 50px rgba(0, 0, 0, 0.26);
}

.checkout-summary h2 {
  margin: 0 0 22px;

  color: white;
  font-size: 26px;
}

.summary-line {
  display: flex;
  justify-content: space-between;
  gap: 16px;

  margin-bottom: 18px;

  color: var(--muted);
  line-height: 1.5;
}

.summary-total {
  display: flex;
  justify-content: space-between;
  align-items: center;

  margin-top: 24px;
  padding-top: 20px;

  border-top: 1px solid rgba(255, 255, 255, 0.10);

  color: white;
  font-size: 24px;
  font-weight: 900;
}

.checkout-button {
  width: 100%;
  height: 58px;

  margin-top: 26px;

  border: 0;
  border-radius: 16px;

  background:
    linear-gradient(135deg, var(--blue), var(--purple), var(--pink));

  color: white;

  font-size: 17px;
  font-weight: 900;

  cursor: pointer;

  transition: 0.22s ease;

  box-shadow: 0 0 30px rgba(139, 92, 246, 0.20);
}

.checkout-button:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 40px rgba(139, 92, 246, 0.28);
}

/* FOOTER */

.main-footer {
  padding: 38px 13%;

  color: #aeb8d4;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.footer-content {
  display: flex;
  justify-content: space-between;
  gap: 20px;
}

/* RESPONSIVE */

@media (max-width: 1250px) {
  .main-header,
  .hero,
  .main-content,
  .ticket-page,
  .checkout-page,
  .main-footer {
    padding-left: 8%;
    padding-right: 8%;
  }

  .ticket-layout {
    grid-template-columns: 310px minmax(0, 1fr);
    gap: 38px;
  }

  .ticket-poster {
    height: 385px;
  }
}

@media (max-width: 980px) {
  .ticket-layout {
    grid-template-columns: 290px minmax(0, 1fr);
    gap: 30px;
  }

  .ticket-poster {
    height: 350px;
    font-size: 32px;
  }

  .ticket-category {
    padding: 18px;
  }

  .ticket-option {
    min-height: 90px;
  }

  .checkout-layout {
    grid-template-columns: 1fr;
  }

  .checkout-summary {
    position: static;
  }
}

@media (max-width: 760px) {
  .main-header,
  .hero,
  .main-content,
  .ticket-page,
  .checkout-page,
  .main-footer {
    padding-left: 22px;
    padding-right: 22px;
  }

  .main-header {
    height: 72px;
  }

  .brand-gradient {
    font-size: 22px;
  }

  .admin-button {
    height: 42px;
    padding: 0 14px;
    font-size: 13px;
  }

  .hero {
    padding-top: 62px;
    padding-bottom: 62px;
  }

  .hero h1 {
    font-size: 44px;
  }

  .hero p {
    font-size: 18px;
  }

  .ticket-page {
    padding-top: 30px;
  }

  .ticket-layout {
    grid-template-columns: 1fr;
  }

  .ticket-left {
    position: static;
  }

  .ticket-poster {
    height: 310px;
    font-size: 32px;
  }

  .ticket-right h1 {
    font-size: 31px;
  }

  .event-date-line {
    font-size: 15px;
  }

  .event-date-line span + span {
    padding-left: 0;
    border-left: 0;
  }

  .ticket-category h2 {
    font-size: 24px;
  }

  .ticket-option {
    align-items: center;
  }

  .checkout-main h1 {
    font-size: 34px;
  }

  .checkout-ticket-card {
    flex-direction: column;
    align-items: flex-start;
  }

  .checkout-ticket-card strong {
    font-size: 28px;
  }

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

  .footer-content {
    flex-direction: column;
  }
}

/* Mantén todo tu CSS actual igual */

/* =========================
   CONFIRMACIÓN
========================= */

.confirmation-page,
.ticket-generated-page {
  min-height: calc(100vh - 74px);
  padding: 60px 13% 90px;

  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.confirmation-card,
.ticket-generated-card {
  width: 100%;
  max-width: 760px;

  padding: 34px;

  border-radius: 28px;

  background:
    linear-gradient(
      180deg,
      rgba(27, 32, 54, 0.94),
      rgba(18, 22, 38, 0.97)
    );

  border: 1px solid rgba(255, 255, 255, 0.10);

  box-shadow:
    0 0 35px rgba(39, 178, 255, 0.10),
    0 0 65px rgba(139, 92, 246, 0.12),
    0 0 90px rgba(255, 47, 146, 0.08),
    0 28px 70px rgba(0, 0, 0, 0.38);
}

.confirmation-icon {
  width: 66px;
  height: 66px;

  border-radius: 50%;

  display: flex;
  align-items: center;
  justify-content: center;

  background:
    linear-gradient(135deg, var(--blue), var(--purple), var(--pink));

  color: white;

  font-size: 34px;
  font-weight: 900;

  box-shadow: 0 0 30px rgba(139, 92, 246, 0.30);
}

.confirmation-label {
  display: inline-block;

  margin-top: 24px;

  color: #13d6d1;

  font-size: 14px;
  font-weight: 900;

  text-transform: uppercase;
  letter-spacing: 1px;
}

.confirmation-card h1 {
  margin: 12px 0 14px;

  color: white;

  font-size: 42px;
  letter-spacing: -1.5px;
}

.confirmation-text {
  margin: 0 0 28px;

  color: var(--muted);

  font-size: 16px;
  line-height: 1.6;
}

.confirmation-summary {
  margin-top: 26px;
  padding: 24px;

  border-radius: 22px;

  background: rgba(255, 255, 255, 0.045);

  border: 1px solid rgba(255, 255, 255, 0.08);
}

.confirmation-summary h2 {
  margin: 0 0 20px;

  color: white;

  font-size: 24px;
}

.confirmation-line {
  display: flex;
  justify-content: space-between;
  gap: 24px;

  padding: 14px 0;

  border-bottom: 1px solid rgba(255, 255, 255, 0.07);

  color: var(--muted);
}

.confirmation-line:last-child {
  border-bottom: 0;
}

.confirmation-line strong {
  color: white;
  text-align: right;
}

.confirmation-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;

  margin-top: 28px;
}

.confirmation-button,
.confirmation-secondary-button {
  min-height: 54px;

  padding: 0 24px;

  border-radius: 16px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  text-decoration: none;

  font-weight: 900;
}

.confirmation-button {
  background:
    linear-gradient(135deg, var(--blue), var(--purple), var(--pink));

  color: white;

  box-shadow: 0 0 30px rgba(139, 92, 246, 0.22);
}

.confirmation-secondary-button {
  background: rgba(255, 255, 255, 0.07);

  color: white;

  border: 1px solid rgba(255, 255, 255, 0.10);
}

/* =========================
   ENTRADA DIGITAL QR
========================= */

.ticket-generated-card {
  max-width: 880px;
}

.ticket-generated-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 20px;

  margin-bottom: 30px;
}

.ticket-label {
  color: #13d6d1;

  font-size: 14px;
  font-weight: 900;

  text-transform: uppercase;
  letter-spacing: 1px;
}

.ticket-generated-top h1 {
  margin: 10px 0 0;

  color: white;

  font-size: 42px;
  letter-spacing: -1.5px;
}

.ticket-status {
  padding: 9px 14px;

  border-radius: 999px;

  background: rgba(19, 214, 209, 0.12);

  color: #13d6d1;

  border: 1px solid rgba(19, 214, 209, 0.35);

  font-size: 13px;
  font-weight: 900;
}

.ticket-generated-body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 280px;
  gap: 28px;

  align-items: start;
}

.ticket-details {
  padding: 24px;

  border-radius: 22px;

  background: rgba(255, 255, 255, 0.045);

  border: 1px solid rgba(255, 255, 255, 0.08);
}

.ticket-detail-line {
  display: flex;
  justify-content: space-between;
  gap: 20px;

  padding: 14px 0;

  border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.ticket-detail-line:first-child {
  padding-top: 0;
}

.ticket-detail-line:last-child {
  padding-bottom: 0;
  border-bottom: 0;
}

.ticket-detail-line span {
  color: var(--muted);
}

.ticket-detail-line strong {
  color: white;
  text-align: right;
}

.qr-panel {
  padding: 22px;

  border-radius: 24px;

  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.08),
      rgba(255, 255, 255, 0.04)
    );

  border: 1px solid rgba(255, 255, 255, 0.10);

  text-align: center;

  box-shadow:
    0 0 28px rgba(39, 178, 255, 0.10),
    0 0 44px rgba(139, 92, 246, 0.10);
}

.qr-box {
  width: 238px;
  height: 238px;

  margin: 0 auto;

  padding: 9px;

  border-radius: 22px;

  background: white;

  display: flex;
  align-items: center;
  justify-content: center;
}

.qr-box canvas {
  width: 220px;
  height: 220px;

  border-radius: 10px;
}

.qr-panel p {
  margin: 16px 0 0;

  color: var(--muted);

  font-size: 14px;
}

.ticket-warning {
  margin-top: 26px;
  padding: 18px 20px;

  border-radius: 18px;

  background: rgba(39, 178, 255, 0.08);

  border: 1px solid rgba(39, 178, 255, 0.18);

  color: #dbe7ff;

  font-size: 14px;
  line-height: 1.5;
}

.ticket-actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;

  margin-top: 26px;
}

.ticket-actions button,
.ticket-actions a {
  min-height: 52px;

  padding: 0 22px;

  border-radius: 15px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  font-weight: 900;

  cursor: pointer;

  text-decoration: none;
}

.ticket-actions button {
  border: 0;

  background:
    linear-gradient(135deg, var(--blue), var(--purple), var(--pink));

  color: white;

  box-shadow: 0 0 26px rgba(139, 92, 246, 0.22);
}

.ticket-actions a {
  color: white;

  background: rgba(255, 255, 255, 0.07);

  border: 1px solid rgba(255, 255, 255, 0.10);
}

/* =========================
   RESPONSIVE EXTRA
========================= */

@media (max-width: 900px) {
  .confirmation-page,
  .ticket-generated-page {
    padding-left: 22px;
    padding-right: 22px;
  }

  .ticket-generated-body {
    grid-template-columns: 1fr;
  }

  .qr-panel {
    max-width: 320px;
    margin: 0 auto;
  }
}

@media (max-width: 600px) {
  .confirmation-card,
  .ticket-generated-card {
    padding: 24px;
  }

  .confirmation-card h1,
  .ticket-generated-top h1 {
    font-size: 32px;
  }

  .ticket-generated-top {
    flex-direction: column;
  }

  .confirmation-line,
  .ticket-detail-line {
    flex-direction: column;
    gap: 6px;
  }

  .confirmation-line strong,
  .ticket-detail-line strong {
    text-align: left;
  }
}

/* =========================
   ADMIN PANEL
========================= */

.admin-page {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 260px minmax(0, 1fr);
  background:
    radial-gradient(circle at top left, rgba(39, 178, 255, 0.18), transparent 30%),
    radial-gradient(circle at top right, rgba(255, 47, 146, 0.14), transparent 28%),
    linear-gradient(135deg, #0b1224 0%, #111832 45%, #25142f 100%);
}

.admin-sidebar {
  padding: 24px;
  background: rgba(7, 11, 24, 0.82);
  border-right: 1px solid rgba(255,255,255,0.08);
}

.admin-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  color: white;
  text-decoration: none;
  font-size: 24px;
  font-weight: 900;
  margin-bottom: 34px;
}

.admin-menu {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.admin-menu a {
  padding: 13px 14px;
  border-radius: 14px;
  color: #cfd6ea;
  text-decoration: none;
  font-weight: 800;
}

.admin-menu a.active,
.admin-menu a:hover {
  background: linear-gradient(135deg, rgba(39,178,255,0.16), rgba(139,92,246,0.18));
  color: white;
}

.admin-content {
  padding: 34px;
}

.admin-topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  margin-bottom: 28px;
}

.admin-label {
  color: #13d6d1;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.admin-topbar h1 {
  margin: 8px 0 0;
  font-size: 38px;
}

.admin-create-button {
  height: 48px;
  padding: 0 22px;
  border: 0;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--blue), var(--purple), var(--pink));
  color: white;
  font-weight: 900;
  cursor: pointer;
}

.admin-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 18px;
  margin-bottom: 28px;
}

.admin-stat-card,
.admin-panel {
  background: linear-gradient(180deg, rgba(27,32,54,0.92), rgba(18,22,38,0.96));
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 22px;
  box-shadow: 0 18px 44px rgba(0,0,0,0.24);
}

.admin-stat-card {
  padding: 22px;
}

.admin-stat-card span {
  color: #cfd6ea;
  font-size: 14px;
  font-weight: 800;
}

.admin-stat-card strong {
  display: block;
  margin: 12px 0 8px;
  font-size: 34px;
}

.admin-stat-card p {
  margin: 0;
  color: #9fa8c0;
  font-size: 14px;
}

.admin-panel {
  padding: 24px;
}

.admin-panel-header h2 {
  margin: 0 0 6px;
  font-size: 28px;
}

.admin-panel-header p {
  margin: 0 0 22px;
  color: #cfd6ea;
}

.admin-table {
  overflow-x: auto;
}

.admin-table-row {
  min-width: 820px;
  display: grid;
  grid-template-columns: 1.3fr 1fr .8fr .7fr .7fr auto;
  gap: 16px;
  align-items: center;
  padding: 16px 0;
  border-bottom: 1px solid rgba(255,255,255,0.07);
}

.admin-table-head {
  color: #9fa8c0;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.status-active {
  color: #13d6d1;
}

.table-button {
  margin-right: 8px;
  padding: 8px 12px;
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 10px;
  background: rgba(255,255,255,0.08);
  color: white;
  font-weight: 800;
  cursor: pointer;
}

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

  .admin-sidebar {
    position: static;
  }

  .admin-stats-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 650px) {
  .admin-content {
    padding: 22px;
  }

  .admin-topbar {
    flex-direction: column;
    align-items: flex-start;
  }

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

/* =========================
   MENU HORIZONTAL ADMIN
========================= */

.admin-horizontal-menu {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;

  margin-bottom: 42px;
}

.admin-menu-pill {
  min-height: 54px;

  padding: 0 24px;

  border-radius: 999px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  text-decoration: none;

  color: #dbe7ff;

  font-size: 15px;
  font-weight: 900;

  background: rgba(255,255,255,0.05);

  border: 1px solid rgba(255,255,255,0.10);

  transition:
    transform 0.18s ease,
    border 0.18s ease,
    background 0.18s ease,
    box-shadow 0.18s ease;
}

.admin-menu-pill:hover {
  transform: translateY(-2px);

  border-color: rgba(39,178,255,0.35);

  background:
    linear-gradient(
      135deg,
      rgba(39,178,255,0.12),
      rgba(139,92,246,0.14)
    );

  box-shadow:
    0 0 20px rgba(39,178,255,0.10);
}

.admin-menu-pill.active {
  color: white;

  border-color: rgba(39,178,255,0.45);

  background:
    linear-gradient(
      135deg,
      rgba(39,178,255,0.18),
      rgba(139,92,246,0.18),
      rgba(255,47,146,0.18)
    );

  box-shadow:
    0 0 24px rgba(139,92,246,0.16);
}

/* =========================
   SOMBRAS COLORES MENU ADMIN
========================= */

.admin-menu-pill:nth-child(1) {
  box-shadow:
    0 0 24px rgba(39,178,255,0.12);
}

.admin-menu-pill:nth-child(2) {
  box-shadow:
    0 0 24px rgba(139,92,246,0.12);
}

.admin-menu-pill:nth-child(3) {
  box-shadow:
    0 0 24px rgba(255,47,146,0.12);
}

.admin-menu-pill:nth-child(4) {
  box-shadow:
    0 0 24px rgba(19,214,209,0.12);
}

.admin-menu-pill:nth-child(5) {
  box-shadow:
    0 0 24px rgba(255,170,0,0.12);
}

.admin-menu-pill:nth-child(6) {
  box-shadow:
    0 0 24px rgba(0,255,163,0.12);
}

.admin-menu-pill:nth-child(7) {
  box-shadow:
    0 0 24px rgba(255,95,109,0.12);
}

/* HOVER MÁS PREMIUM */

.admin-menu-pill:hover {
  transform: translateY(-3px) scale(1.02);

  box-shadow:
    0 0 18px rgba(39,178,255,0.18),
    0 0 36px rgba(139,92,246,0.16),
    0 0 54px rgba(255,47,146,0.12);
}

/* AJUSTE FICHA EVENTO PÚBLICA */

.ticket-page {
  max-width: 1240px;
  margin: 0 auto;
  padding: 48px 24px 70px;
  display: grid;
  grid-template-columns: 360px minmax(0, 1fr);
  gap: 48px;
  align-items: start;
}

.compact-poster {
  width: 100%;
  height: 460px;
  border-radius: 24px;
  box-shadow:
    0 0 32px rgba(39,178,255,0.16),
    0 0 58px rgba(139,92,246,0.18),
    0 0 74px rgba(255,47,146,0.12);
}

.ticket-left {
  display: grid;
  gap: 22px;
}

.ticket-right {
  padding-top: 34px;
}

.ticket-category {
  max-width: 720px;
}

.ticket-option {
  margin-bottom: 14px;
}

@media (max-width: 900px) {
  .ticket-page {
    grid-template-columns: 1fr;
  }

  .compact-poster {
    height: 320px;
  }

  .ticket-right {
    padding-top: 0;
  }
}

/* =========================
   CHECKOUT PRO
========================= */

.checkout-pro-page {
  min-height: 100vh;

  display: grid;
  grid-template-columns: minmax(0, 1fr) 420px;

  gap: 34px;

  padding: 40px 6% 70px;

  align-items: start;
}

.checkout-left {
  display: grid;
  gap: 22px;
}

.checkout-back-button {
  display: inline-flex;
  align-items: center;

  width: fit-content;

  color: #dbe7ff;
  text-decoration: none;
  font-weight: 800;

  margin-bottom: 8px;
}

.checkout-header h1 {
  margin: 10px 0 10px;
  color: white;
  font-size: 42px;
}

.checkout-header p {
  margin: 0;
  color: #cfd6ea;
}

.checkout-label {
  color: var(--blue);
  font-weight: 900;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-size: 12px;
}

.checkout-card {
  padding: 28px;

  border-radius: 24px;

  background:
    linear-gradient(
      180deg,
      rgba(27,32,54,0.94),
      rgba(18,22,38,0.98)
    );

  border: 1px solid rgba(255,255,255,0.10);

  box-shadow:
    0 0 24px rgba(39,178,255,0.08),
    0 0 44px rgba(139,92,246,0.10),
    0 18px 44px rgba(0,0,0,0.26);
}

.checkout-card-header {
  margin-bottom: 24px;
}

.checkout-card-header h2 {
  margin: 0;
  color: white;
  font-size: 22px;
}

.checkout-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 18px;
}

.checkout-grid .admin-form-full {
  grid-column: 1 / -1;
}

.checkout-card .admin-form-row input {
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  color: white;
}

.checkout-card .admin-form-row input:focus {
  border-color: rgba(39,178,255,0.55);

  box-shadow:
    0 0 0 3px rgba(39,178,255,0.12),
    0 0 22px rgba(139,92,246,0.14);
}

.checkout-quantity-box {
  min-height: 86px;

  display: flex;
  align-items: center;
  justify-content: center;

  gap: 22px;
}

.checkout-quantity-box button {
  width: 54px;
  height: 54px;

  border: 0;
  border-radius: 16px;

  background:
    linear-gradient(
      135deg,
      rgba(39,178,255,0.16),
      rgba(139,92,246,0.18)
    );

  color: white;
  font-size: 28px;
  font-weight: 900;

  cursor: pointer;

  box-shadow:
    0 0 22px rgba(39,178,255,0.10);
}

.checkout-quantity-box span {
  min-width: 80px;

  text-align: center;

  color: white;
  font-size: 40px;
  font-weight: 900;
}

.payment-methods {
  display: grid;
  gap: 14px;
}

.payment-option {
  min-height: 74px;
  padding: 0 22px;

  display: flex;
  align-items: center;

  border-radius: 18px;

  background: rgba(255,255,255,0.055);
  border: 1px solid rgba(255,255,255,0.08);

  cursor: pointer;

  transition: 0.18s ease;
}

.payment-option:hover {
  transform: translateY(-2px);

  border-color: rgba(39,178,255,0.34);

  box-shadow:
    0 0 22px rgba(39,178,255,0.10),
    0 0 34px rgba(139,92,246,0.10);
}

.payment-option input {
  display: none;
}

.payment-option span {
  color: white;
  font-weight: 900;
  font-size: 16px;
}

.checkout-right {
  position: sticky;
  top: 24px;
}

.checkout-summary-card {
  padding: 30px;

  border-radius: 28px;

  background:
    linear-gradient(
      180deg,
      rgba(27,32,54,0.96),
      rgba(18,22,38,0.99)
    );

  border: 1px solid rgba(255,255,255,0.10);

  box-shadow:
    0 0 30px rgba(39,178,255,0.10),
    0 0 52px rgba(139,92,246,0.12),
    0 22px 58px rgba(0,0,0,0.32);
}

.checkout-summary-label {
  color: var(--blue);
  font-weight: 900;
  text-transform: uppercase;
  font-size: 12px;
  letter-spacing: 0.05em;
}

.checkout-summary-card h2 {
  margin: 12px 0 28px;
  color: white;
  font-size: 34px;
  line-height: 1.1;
}

.checkout-ticket-preview {
  padding: 20px;

  border-radius: 18px;

  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.08);

  display: flex;
  justify-content: space-between;
  gap: 18px;

  margin-bottom: 20px;
}

.checkout-ticket-preview strong {
  display: block;
  color: white;
  font-size: 18px;
}

.checkout-ticket-preview span {
  display: block;
  margin-top: 8px;
  color: #cfd6ea;
  font-size: 14px;
}

.checkout-total-box {
  padding: 22px 0;

  border-top: 1px solid rgba(255,255,255,0.08);
  border-bottom: 1px solid rgba(255,255,255,0.08);

  display: grid;
  gap: 18px;

  margin-bottom: 28px;
}

.checkout-total-box div {
  display: flex;
  justify-content: space-between;
  gap: 14px;
}

.checkout-total-box span {
  color: #cfd6ea;
}

.checkout-total-box strong {
  color: white;
  font-size: 20px;
}

.checkout-pay-button {
  width: 100%;
  min-height: 64px;

  border: 0;
  border-radius: 20px;

  background:
    linear-gradient(
      135deg,
      var(--blue),
      var(--purple),
      var(--pink)
    );

  color: white;
  font-size: 18px;
  font-weight: 900;

  cursor: pointer;

  box-shadow:
    0 0 32px rgba(39,178,255,0.16),
    0 0 54px rgba(139,92,246,0.18);
}

.checkout-pay-button:hover {
  transform: translateY(-2px);
}


.checkout-consent-label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  margin: 16px 0 0;
  padding: 12px;
  border-radius: 12px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.08);
  cursor: pointer;
  font-size: 13px;
  line-height: 1.5;
  color: #cfd6ea;
}

.checkout-consent-label input[type="checkbox"] {
  margin-top: 3px;
  width: 18px;
  height: 18px;
  min-width: 18px;
  accent-color: #4f8cff;
  cursor: pointer;
}

.checkout-consent-label a {
  color: #4f8cff;
  text-decoration: underline;
}

.checkout-consent-label a:hover {
  color: #7aabff;
}

.checkout-legal-text {
  margin: 18px 0 0;

  color: #9fa8c0;
  font-size: 13px;
  line-height: 1.5;
}

@media (max-width: 1000px) {
  .checkout-pro-page {
    grid-template-columns: 1fr;
  }

  .checkout-right {
    position: static;
  }
}

@media (max-width: 760px) {
  .checkout-pro-page {
    padding: 24px 20px 60px;
  }

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

  .checkout-header h1 {
    font-size: 34px;
  }

  .checkout-ticket-preview {
    flex-direction: column;
  }
}

/* =========================
   SCANNER QR
========================= */

.scanner-page {
  min-height: 100vh;
  padding: 32px 6% 70px;
  background:
    radial-gradient(circle at top left, rgba(39,178,255,0.12), transparent 34%),
    radial-gradient(circle at top right, rgba(255,47,146,0.10), transparent 36%),
    linear-gradient(135deg, #07111f, #0b0f1a 55%, #111827);
  color: white;
}

.scanner-header {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  margin-bottom: 34px;
}

.scanner-header h1 {
  margin: 8px 0;
  font-size: 42px;
  color: white;
}

.scanner-header p {
  margin: 0;
  color: #cfd6ea;
}

.scanner-layout {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) 420px;
  gap: 28px;
  align-items: stretch;
}

.scanner-camera-card,
.scanner-result-card,
.scanner-stats article {
  background: linear-gradient(180deg, rgba(27,32,54,0.92), rgba(18,22,38,0.98));
  border: 1px solid rgba(255,255,255,0.10);
  box-shadow:
    0 0 24px rgba(39,178,255,0.08),
    0 0 44px rgba(139,92,246,0.10),
    0 18px 44px rgba(0,0,0,0.32);
}

.scanner-camera-card {
  padding: 28px;
  border-radius: 28px;
}

.scanner-frame {
  position: relative;
  min-height: 420px;
  border-radius: 24px;
  overflow: hidden;
  background:
    linear-gradient(rgba(0,0,0,0.30), rgba(0,0,0,0.50)),
    radial-gradient(circle at center, rgba(39,178,255,0.16), transparent 44%),
    linear-gradient(135deg, rgba(39,178,255,0.10), rgba(255,47,146,0.08));
  display: flex;
  align-items: center;
  justify-content: center;
}


/* Scanner camera - mobile compatible */
#reader {
  width: 100% !important;
  min-height: 280px;
  position: relative;
  z-index: 1;
  overflow: hidden;
  border-radius: 16px;
  background: #000;
}

#reader video {
  width: 100% !important;
  max-height: 400px !important;
  object-fit: cover !important;
  border-radius: 16px;
  display: block !important;
}

#reader > br,
#reader > img {
  display: none !important;
}

#reader__scan_region {
  min-height: 280px;
  border: none !important;
}

#reader__scan_region > br,
#reader__scan_region > img {
  display: none !important;
}

#reader__dashboard,
#reader__dashboard_section,
#reader__dashboard_section_csr,
#reader__dashboard_section_swaplink,
#reader__header_message,
#reader__status_span {
  display: none !important;
}

#reader__camera_selection {
  display: none !important;
}

html5-qrcode-anchor {
  display: none !important;
}

.scanner-frame::before {
  content: "";
  position: absolute;
  left: 12%;
  right: 12%;
  top: 50%;
  height: 3px;
  background: #00e676;
  pointer-events: none;
  z-index: 10;
  box-shadow:
    0 0 16px rgba(0,230,118,0.95),
    0 0 42px rgba(0,230,118,0.45);
  animation: scannerLine 2s ease-in-out infinite;
}

@keyframes scannerLine {
  0%, 100% {
    transform: translateY(-120px);
  }
  50% {
    transform: translateY(120px);
  }
}

.scanner-corners::before,
.scanner-corners::after {
  content: "";
  position: absolute;
  inset: 36px;
  border: 4px solid #00e676;
  border-radius: 18px;
  box-shadow: 0 0 22px rgba(0,230,118,0.45);
  clip-path: polygon(
    0 0, 18% 0, 18% 4px, 4px 4px, 4px 18%, 0 18%,
    0 82%, 4px 82%, 4px calc(100% - 4px), 18% calc(100% - 4px), 18% 100%, 0 100%,
    82% 100%, 82% calc(100% - 4px), calc(100% - 4px) calc(100% - 4px), calc(100% - 4px) 82%, 100% 82%,
    100% 18%, calc(100% - 4px) 18%, calc(100% - 4px) 4px, 82% 4px, 82% 0, 100% 0
  );
}

.scanner-placeholder {
  position: relative;
  z-index: 2;
  display: grid;
  gap: 12px;
  text-align: center;
  color: #dbe7ff;
  font-size: 64px;
}

.scanner-placeholder span {
  font-size: 18px;
  font-weight: 900;
}

.scanner-main-button {
  width: 100%;
  min-height: 62px;
  margin-top: 24px;
  border: 0;
  border-radius: 18px;
  background: linear-gradient(135deg, #00e676, #22c55e);
  color: #07111f;
  font-size: 18px;
  font-weight: 900;
  cursor: pointer;
  box-shadow:
    0 0 28px rgba(0,230,118,0.22),
    0 0 48px rgba(0,230,118,0.14);
}

.scanner-result-card {
  min-height: 100%;
  padding: 36px;
  border-radius: 28px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  text-align: center;
}

.scanner-result-card h2 {
  margin: 12px 0;
  font-size: 34px;
  color: white;
}

.scanner-result-card p {
  margin: 0;
  color: #cfd6ea;
  font-size: 17px;
  line-height: 1.5;
}

.scanner-status-label {
  color: #40a9ff;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.scanner-result-success {
  border-color: rgba(0,230,118,0.32);
  box-shadow:
    0 0 34px rgba(0,230,118,0.20),
    0 0 64px rgba(0,230,118,0.10),
    0 18px 44px rgba(0,0,0,0.32);
}

.scanner-result-success .scanner-status-label {
  color: #00e676;
}

.scanner-result-success h2::before {
  content: "✓";
  width: 96px;
  height: 96px;
  margin: 0 auto 22px;
  border-radius: 50%;
  background: rgba(0,230,118,0.16);
  border: 1px solid rgba(0,230,118,0.28);
  color: #00e676;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 56px;
  box-shadow: 0 0 38px rgba(0,230,118,0.20);
}

.scanner-result-error {
  border-color: rgba(255,82,82,0.34);
  box-shadow:
    0 0 34px rgba(255,82,82,0.18),
    0 0 64px rgba(255,82,82,0.09),
    0 18px 44px rgba(0,0,0,0.32);
}

.scanner-result-error .scanner-status-label {
  color: #ff5252;
}

.scanner-result-error h2::before {
  content: "×";
  width: 96px;
  height: 96px;
  margin: 0 auto 22px;
  border-radius: 50%;
  background: rgba(255,82,82,0.14);
  border: 1px solid rgba(255,82,82,0.28);
  color: #ff5252;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 64px;
  box-shadow: 0 0 38px rgba(255,82,82,0.20);
}

.scanner-stats {
  margin-top: 28px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
}

.scanner-stats article {
  min-height: 120px;
  padding: 22px;
  border-radius: 22px;
}

.scanner-stats span {
  display: block;
  margin-bottom: 10px;
  color: #cfd6ea;
  font-weight: 800;
}

.scanner-stats strong {
  color: white;
  font-size: 34px;
}

#validCount {
  color: #00e676;
}

#invalidCount {
  color: #ff5252;
}

#lastScan {
  color: #40a9ff;
}

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

  .scanner-result-card {
    min-height: 320px;
  }
}

@media (max-width: 700px) {
  .scanner-page {
    padding: 24px 18px 50px;
  }

  .scanner-header {
    flex-direction: column;
  }

  .scanner-header h1 {
    font-size: 34px;
  }

  .scanner-frame {
    min-height: 310px;
  }

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

/* PANEL AFORO EN VIVO */

.capacity-panel {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr)) 1.4fr;
  gap: 18px;
  margin-bottom: 28px;
}

.capacity-panel article,
.capacity-progress-card {
  padding: 22px;
  border-radius: 22px;
  background: linear-gradient(180deg, rgba(27,32,54,0.92), rgba(18,22,38,0.98));
  border: 1px solid rgba(255,255,255,0.10);
  box-shadow:
    0 0 24px rgba(39,178,255,0.08),
    0 0 44px rgba(139,92,246,0.10),
    0 18px 44px rgba(0,0,0,0.26);
}

.capacity-panel span {
  display: block;
  margin-bottom: 10px;
  color: #cfd6ea;
  font-weight: 800;
  font-size: 14px;
}

.capacity-panel strong {
  color: white;
  font-size: 32px;
}

.capacity-progress-header {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 16px;
}

.capacity-progress-header span {
  margin: 0;
}

.capacity-progress-header strong {
  font-size: 24px;
}

.capacity-bar {
  height: 14px;
  overflow: hidden;
  border-radius: 999px;
  background: rgba(255,255,255,0.10);
}

.capacity-bar span {
  display: block;
  width: 0%;
  height: 100%;
  margin: 0;
  border-radius: inherit;
  background: linear-gradient(90deg,#00e676,#22c55e);
  box-shadow: 0 0 18px rgba(0,230,118,0.35);
  transition: width 0.35s ease;
}

@media (max-width: 1200px) {
  .capacity-panel {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .capacity-progress-card {
    grid-column: 1 / -1;
  }
}

@media (max-width: 700px) {
  .capacity-panel {
    grid-template-columns: 1fr;
  }
}

/* PANEL VENTAS */

.admin-sales-page {
  min-height: 100vh;
  padding: 34px 7% 70px;
}

.admin-sales-header {
  display: flex;
  align-items: flex-start;
  gap: 24px;
  margin-bottom: 34px;
}

.admin-sales-header h1 {
  margin: 8px 0;
  color: white;
  font-size: 42px;
}

.admin-sales-header p {
  margin: 0;
  color: #cfd6ea;
}

.sales-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 18px;
  margin-bottom: 28px;
}

.sales-stats-grid article,
.sales-panel {
  padding: 24px;
  border-radius: 24px;
  background: linear-gradient(180deg, rgba(27,32,54,0.94), rgba(18,22,38,0.98));
  border: 1px solid rgba(255,255,255,0.10);
  box-shadow:
    0 0 24px rgba(39,178,255,0.08),
    0 0 44px rgba(139,92,246,0.10),
    0 18px 44px rgba(0,0,0,0.26);
}

.sales-stats-grid span {
  display: block;
  margin-bottom: 10px;
  color: #cfd6ea;
  font-weight: 800;
}

.sales-stats-grid strong {
  color: white;
  font-size: 32px;
}

.sales-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 360px;
  gap: 22px;
}

.sales-panel-header {
  margin-bottom: 22px;
}

.sales-panel-header h2 {
  margin: 8px 0 0;
  color: white;
  font-size: 28px;
}

.sales-table {
  overflow-x: auto;
}

.sales-row {
  min-width: 820px;
  display: grid;
  grid-template-columns: 1.1fr 1.4fr 1.2fr 0.7fr 0.9fr 0.8fr;
  gap: 14px;
  align-items: center;
  padding: 16px 18px;
  margin-bottom: 10px;
  border-radius: 16px;
  background: rgba(255,255,255,0.055);
  border: 1px solid rgba(255,255,255,0.08);
}

.sales-head {
  color: #9fa8c0;
  background: transparent;
  border: 0;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.sales-row span {
  color: #dbe7ff;
  font-size: 14px;
}

.sales-row strong {
  color: white;
}

.sales-empty {
  padding: 22px;
  border-radius: 18px;
  color: #cfd6ea;
  background: rgba(255,255,255,0.055);
  border: 1px solid rgba(255,255,255,0.08);
}

.payment-breakdown {
  display: grid;
  gap: 14px;
}

.payment-card {
  padding: 18px;
  border-radius: 18px;
  background: rgba(255,255,255,0.055);
  border: 1px solid rgba(255,255,255,0.08);
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.payment-card strong {
  color: white;
}

.payment-card span {
  display: block;
  margin-top: 6px;
  color: #9fa8c0;
  font-size: 13px;
}

@media (max-width: 1100px) {
  .sales-stats-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .sales-layout {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 700px) {
  .admin-sales-page {
    padding: 24px 20px 60px;
  }

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

/* CRM */

.crm-search-panel {
  margin-bottom: 22px;
}

.crm-search-panel input {
  min-height: 56px;
  padding: 0 18px;
  border-radius: 16px;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
  color: white;
}

.crm-row {
  min-width: 980px;
  display: grid;
  grid-template-columns: 1.2fr 1.2fr 1.3fr 1.1fr 0.6fr 0.8fr 0.9fr;
  gap: 14px;
  align-items: center;
  padding: 16px 18px;
  margin-bottom: 10px;
  border-radius: 16px;
  background: rgba(255,255,255,0.055);
  border: 1px solid rgba(255,255,255,0.08);
}

.crm-head {
  color: #9fa8c0;
  background: transparent;
  border: 0;
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.crm-row span {
  color: #dbe7ff;
  font-size: 14px;
}

.crm-row strong {
  color: white;
}

.crm-action-button {
  min-height: 38px;
  padding: 0 14px;
  border-radius: 12px;
  background: linear-gradient(135deg,#22c55e,#00e676);
  color: #07111f;
  font-weight: 900;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
}

.crm-action-button.disabled {
  pointer-events: none;
  opacity: 0.35;
}

@media (max-width: 700px) {
  .crm-row {
    min-width: 900px;
  }
}

/* CRTickets state fixes */

.ticket-stock-line {
  display: block;
  margin-top: 8px;
  color: #9fa8c0;
  font-size: 12px;
  font-weight: 800;
}

.ticket-option-disabled {
  opacity: 0.56;
}

.ticket-option-disabled:hover {
  transform: none;
}

.ticket-option button:disabled,
.checkout-pay-button:disabled,
.checkout-quantity-box button:disabled {
  cursor: not-allowed;
  opacity: 0.42;
  transform: none;
}

.payment-option.active {
  border-color: rgba(39,178,255,0.48);
  background:
    linear-gradient(
      135deg,
      rgba(39,178,255,0.16),
      rgba(139,92,246,0.14)
    );
  box-shadow:
    0 0 20px rgba(39,178,255,0.12),
    0 0 32px rgba(139,92,246,0.12);
}

.checkout-error {
  padding: 16px 18px;
  border-radius: 16px;
  border: 1px solid rgba(255, 71, 126, 0.35);
  background: rgba(255, 71, 126, 0.10);
  color: white;
  font-weight: 800;
}

.ticket-unavailable {
  width: min(720px, calc(100% - 40px));
  margin: 80px auto;
  padding: 34px;
  border-radius: 24px;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(16, 22, 40, 0.92);
  color: white;
}

.ticket-unavailable a {
  color: var(--blue);
  font-weight: 900;
}

/* =========================
   EVENTO PÚBLICO PRO FINAL
========================= */

.ticket-page {
  max-width: 1500px !important;
  margin: 0 auto !important;
  padding: 48px 34px 70px !important;
  display: block !important;
}

.event-public-layout {
  display: grid;
  grid-template-columns: 460px minmax(0, 1fr);
  gap: 54px;
  align-items: start;
}

.event-public-left {
  display: grid;
  gap: 26px;
}

.event-public-poster {
  min-height: 520px;
  border-radius: 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  background:
    linear-gradient(rgba(0,0,0,0.18), rgba(0,0,0,0.40)),
    radial-gradient(circle at 20% 80%, rgba(39,178,255,0.85), transparent 32%),
    radial-gradient(circle at 80% 75%, rgba(255,47,146,0.90), transparent 35%),
    linear-gradient(135deg, #101827, #251044);
  border: 1px solid rgba(255,255,255,0.12);
  box-shadow:
    0 0 34px rgba(39,178,255,0.16),
    0 0 72px rgba(255,47,146,0.14),
    0 28px 70px rgba(0,0,0,0.42);
}

.event-public-poster h2 {
  margin: 0;
  color: white;
  font-size: 58px;
  line-height: 1;
  text-transform: uppercase;
}

.event-public-poster span {
  display: block;
  margin-top: 20px;
  color: #ff7bd4;
  font-size: 22px;
  font-weight: 900;
  text-transform: uppercase;
}

.event-public-card {
  padding: 26px;
  border-radius: 20px;
  background: rgba(255,255,255,0.055);
  border: 1px solid rgba(255,255,255,0.11);
  box-shadow:
    0 0 24px rgba(39,178,255,0.07),
    0 0 44px rgba(139,92,246,0.08);
}

.event-public-card h2 {
  margin: 0 0 16px;
  color: white;
  font-size: 22px;
}

.event-public-card p {
  margin: 0 0 10px;
  color: #dbe7ff;
  line-height: 1.55;
}

.event-public-right {
  padding-top: 18px;
}

.event-public-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 26px;
  margin-bottom: 34px;
}

.event-public-meta span {
  color: white;
  font-size: 18px;
  font-weight: 900;
}

.event-public-right h1 {
  margin: 0 0 24px;
  color: white;
  font-size: clamp(42px, 5vw, 72px);
  line-height: 1;
  text-transform: uppercase;
}

.event-public-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 40px;
}

.event-public-tags span {
  padding: 10px 16px;
  border-radius: 12px;
  color: #f4f7ff;
  font-weight: 900;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.12);
}

.event-location-block {
  margin-bottom: 70px;
}

.event-location-block h2 {
  margin: 0 0 10px;
  color: white;
  font-size: 26px;
}

.event-location-block p {
  margin: 0 0 12px;
  color: #cfd6ea;
  font-size: 18px;
}

.event-location-block a {
  color: #8b5cf6;
  font-weight: 900;
  text-decoration: none;
}

.public-tickets-section h2 {
  position: relative;
  margin: 0 0 24px;
  padding-left: 22px;
  color: white;
  font-size: 32px;
}

.public-tickets-section h2::before {
  content: "";
  position: absolute;
  left: 0;
  top: 6px;
  width: 5px;
  height: 32px;
  border-radius: 999px;
  background: linear-gradient(180deg, var(--blue), var(--pink));
  box-shadow: 0 0 22px rgba(139,92,246,0.55);
}

.public-tickets-list {
  display: grid;
  gap: 14px;
}

.public-ticket-card {
  min-height: 116px;
  padding: 22px 24px;
  border-radius: 18px;
  display: grid;
  grid-template-columns: minmax(0, 1fr) 160px 170px;
  gap: 22px;
  align-items: center;
  background: linear-gradient(180deg, rgba(27,32,54,0.86), rgba(18,22,38,0.96));
  border: 1px solid rgba(255,255,255,0.13);
  box-shadow:
    0 0 20px rgba(39,178,255,0.07),
    0 18px 44px rgba(0,0,0,0.24);
}

.public-ticket-card::before {
  content: "";
  width: 5px;
  height: 74px;
  border-radius: 999px;
  grid-row: 1;
  grid-column: 1;
  justify-self: start;
  margin-left: -2px;
}

.public-ticket-info {
  padding-left: 20px;
}

.public-ticket-info h3 {
  margin: 0 0 8px;
  color: white;
  font-size: 22px;
  text-transform: uppercase;
}

.public-ticket-info p {
  margin: 0;
  color: #dbe7ff;
  font-size: 15px;
}

.public-ticket-price {
  text-align: right;
}

.public-ticket-price strong {
  display: block;
  color: #5cff9b;
  font-size: 30px;
  margin-bottom: 6px;
}

.public-ticket-price span {
  color: #cfd6ea;
  font-size: 14px;
}

.public-ticket-card button {
  min-height: 58px;
  border: 0;
  border-radius: 16px;
  background: linear-gradient(135deg, var(--blue), var(--purple), var(--pink));
  color: white;
  font-size: 18px;
  font-weight: 900;
  cursor: pointer;
}

.public-ticket-green::before {
  background: #22c55e;
  box-shadow: 0 0 20px rgba(34,197,94,0.45);
}

.public-ticket-pink::before {
  background: #ff4faa;
  box-shadow: 0 0 20px rgba(255,79,170,0.45);
}

.public-ticket-gold::before {
  background: #ffd166;
  box-shadow: 0 0 20px rgba(255,209,102,0.45);
}

.public-ticket-blue::before {
  background: #40a9ff;
  box-shadow: 0 0 20px rgba(64,169,255,0.45);
}

.public-ticket-pink .public-ticket-price strong {
  color: #ff7bd4;
}

.public-ticket-gold .public-ticket-price strong {
  color: #ffd166;
}

.public-ticket-blue .public-ticket-price strong {
  color: #40a9ff;
}

.event-empty-text {
  color: #cfd6ea;
  padding: 22px;
  border-radius: 18px;
  background: rgba(255,255,255,0.06);
}

.event-unavailable {
  max-width: 760px;
  margin: 80px auto;
  padding: 40px;
  border-radius: 24px;
  background: rgba(255,255,255,0.06);
  color: white;
}

.event-unavailable a {
  color: #40a9ff;
  font-weight: 900;
}

@media (max-width: 1100px) {
  .event-public-layout {
    grid-template-columns: 1fr;
  }

  .event-public-poster {
    min-height: 420px;
  }

  .event-location-block {
    margin-bottom: 40px;
  }
}

@media (max-width: 760px) {
  .ticket-page {
    padding: 28px 18px 60px !important;
  }

  .event-public-poster {
    min-height: 360px;
  }

  .event-public-poster h2 {
    font-size: 42px;
  }

  .event-public-right h1 {
    font-size: 40px;
  }

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

  .public-ticket-price {
    text-align: left;
  }
}

/* =========================
   EVENTO PÚBLICO PRO AJUSTE COMPACTO
========================= */

.ticket-page {
  max-width: 1280px !important;
  padding: 36px 28px 60px !important;
}

.event-public-layout {
  grid-template-columns: 340px minmax(0, 1fr) !important;
  gap: 38px !important;
}

.event-public-poster {
  min-height: 360px !important;
  border-radius: 22px !important;
}

.event-public-poster h2 {
  font-size: 42px !important;
  line-height: 1.05 !important;
}

.event-public-poster span {
  font-size: 17px !important;
  margin-top: 16px !important;
}

.event-public-card {
  padding: 20px !important;
  border-radius: 18px !important;
}

.event-public-card h2 {
  font-size: 20px !important;
}

.event-public-right {
  padding-top: 8px !important;
}

.event-public-meta {
  gap: 20px !important;
  margin-bottom: 24px !important;
}

.event-public-meta span {
  font-size: 16px !important;
}

.event-public-right h1 {
  font-size: clamp(36px, 4vw, 54px) !important;
  margin-bottom: 20px !important;
}

.event-public-tags {
  margin-bottom: 30px !important;
}

.event-public-tags span {
  padding: 8px 13px !important;
  font-size: 14px !important;
}

.event-location-block {
  margin-bottom: 46px !important;
}

.event-location-block h2 {
  font-size: 23px !important;
}

.event-location-block p {
  font-size: 16px !important;
}

.public-tickets-section h2 {
  font-size: 28px !important;
  margin-bottom: 18px !important;
}

.public-ticket-card {
  min-height: 96px !important;
  padding: 18px 20px !important;
  grid-template-columns: minmax(0, 1fr) 130px 140px !important;
  gap: 18px !important;
}

.public-ticket-card::before {
  height: 58px !important;
}

.public-ticket-info h3 {
  font-size: 19px !important;
}

.public-ticket-info p {
  font-size: 14px !important;
}

.public-ticket-price strong {
  font-size: 26px !important;
}

.public-ticket-price span {
  font-size: 13px !important;
}

.public-ticket-card button {
  min-height: 50px !important;
  font-size: 16px !important;
  border-radius: 14px !important;
}

@media (max-width: 1100px) {
  .event-public-layout {
    grid-template-columns: 1fr !important;
  }

  .event-public-poster {
    min-height: 330px !important;
  }
}

@media (max-width: 760px) {
  .ticket-page {
    padding: 24px 18px 50px !important;
  }

  .event-public-poster {
    min-height: 300px !important;
  }

  .event-public-poster h2 {
    font-size: 34px !important;
  }

  .event-public-right h1 {
    font-size: 34px !important;
  }

  .public-ticket-card {
    grid-template-columns: 1fr !important;
  }
}

/* =========================
   ENTRADAS MÁS COMPACTAS
========================= */

.public-ticket-card {
  min-height: auto !important;
  padding: 14px 18px !important;

  grid-template-columns:
    minmax(0, 1fr)
    120px
    110px !important;

  gap: 14px !important;
  align-items: center !important;
}

.public-ticket-card::before {
  height: 46px !important;
}

.public-ticket-info {
  padding-left: 14px !important;
}

.public-ticket-info h3 {
  font-size: 16px !important;
  line-height: 1.05 !important;
  margin-bottom: 6px !important;
}

.public-ticket-info p {
  font-size: 13px !important;
  line-height: 1.2 !important;
}

.public-ticket-price strong {
  font-size: 20px !important;
  margin-bottom: 4px !important;
}

.public-ticket-price span {
  font-size: 12px !important;
}

.public-ticket-card button {
  min-height: 42px !important;
  height: 42px !important;
  font-size: 14px !important;
  border-radius: 12px !important;
  padding: 0 16px !important;
}

.public-tickets-list {
  gap: 10px !important;
}

/* =========================
   TICKETS ULTRA COMPACTOS
========================= */

.public-ticket-card {
  min-height: unset !important;
  height: auto !important;

  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;

  padding: 14px 18px !important;
  gap: 20px !important;
}

.public-ticket-card::before {
  height: 42px !important;
  flex-shrink: 0 !important;
}

.public-ticket-info {
  flex: 1 !important;
  padding-left: 10px !important;
}

.public-ticket-info h3 {
  margin: 0 0 4px !important;
}

.public-ticket-info p {
  margin: 0 !important;
  max-width: 260px !important;
}

.public-ticket-price {
  min-width: 90px !important;
  text-align: right !important;
}

.public-ticket-card button {
  width: 140px !important;
  min-width: 140px !important;
  max-width: 140px !important;

  min-height: 42px !important;
  height: 42px !important;

  margin: 0 !important;
  padding: 0 !important;

  flex-shrink: 0 !important;
}

.public-tickets-list {
  gap: 10px !important;
}

@media (max-width: 760px) {

  .public-ticket-card {
    flex-direction: column !important;
    align-items: flex-start !important;
  }

  .public-ticket-price {
    text-align: left !important;
  }

  .public-ticket-card button {
    width: 100% !important;
    max-width: 100% !important;
  }
}

/* =========================
   EVENTOS ADMIN GRID
========================= */

.events-admin-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 220px;
  gap: 18px;
  margin-bottom: 34px;
}

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

.event-admin-card {
  overflow: hidden;
  border-radius: 24px;

  background:
    linear-gradient(
      180deg,
      rgba(24,28,46,0.94),
      rgba(16,19,34,0.98)
    );

  border: 1px solid rgba(255,255,255,0.08);

  box-shadow:
    0 0 24px rgba(39,178,255,0.08),
    0 20px 44px rgba(0,0,0,0.28);

  transition:
    transform .22s ease,
    border-color .22s ease,
    box-shadow .22s ease;
}

.event-admin-card:hover {
  transform: translateY(-4px);

  border-color:
    rgba(139,92,246,0.35);

  box-shadow:
    0 0 34px rgba(39,178,255,0.12),
    0 24px 54px rgba(0,0,0,0.34);
}

.event-admin-cover {
  height: 180px;

  display: flex;
  align-items: end;

  padding: 24px;

  background:
    linear-gradient(rgba(0,0,0,0.15), rgba(0,0,0,0.55)),
    radial-gradient(circle at 20% 20%, rgba(39,178,255,0.75), transparent 30%),
    radial-gradient(circle at 80% 80%, rgba(255,47,146,0.85), transparent 35%),
    linear-gradient(135deg, #101827, #2a1146);
}

.event-admin-cover span {
  color: white;
  font-size: 34px;
  font-weight: 900;
  line-height: 1;
  text-transform: uppercase;
}

.event-admin-content {
  padding: 22px;
}

.event-admin-top {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 20px;
}

.event-admin-top strong {
  display: block;
  color: white;
  font-size: 24px;
  margin-bottom: 6px;
}

.event-admin-top span {
  color: #bfc8de;
  font-size: 14px;
}

.event-admin-status {
  height: fit-content;

  padding: 8px 14px;
  border-radius: 999px;

  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.event-admin-status.published {
  color: #5cff9b;

  background:
    rgba(34,197,94,0.12);

  border:
    1px solid rgba(34,197,94,0.32);
}

.event-admin-status.draft {
  color: #ffd166;

  background:
    rgba(255,209,102,0.12);

  border:
    1px solid rgba(255,209,102,0.28);
}

.event-admin-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 18px;

  margin-bottom: 24px;
}

.event-admin-meta span {
  color: #dbe7ff;
  font-size: 14px;
}

.event-admin-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.event-admin-button {
  min-height: 46px;

  padding: 0 18px;

  border-radius: 14px;

  display: inline-flex;
  align-items: center;
  justify-content: center;

  background:
    linear-gradient(
      135deg,
      var(--blue),
      var(--purple)
    );

  color: white;
  font-size: 14px;
  font-weight: 800;
  text-decoration: none;

  border: 0;

  cursor: pointer;
}

.event-admin-button.secondary {
  background:
    rgba(255,255,255,0.06);

  border:
    1px solid rgba(255,255,255,0.1);
}

.event-admin-button.publish {
  background:
    linear-gradient(
      135deg,
      #22c55e,
      #16a34a
    );
}

.admin-empty-state {
  padding: 40px;
  border-radius: 24px;

  background:
    rgba(255,255,255,0.05);

  border:
    1px solid rgba(255,255,255,0.08);

  text-align: center;
}

.admin-empty-state strong {
  display: block;
  color: white;
  font-size: 20px;
  margin-bottom: 8px;
}

.admin-empty-state span {
  color: #c7d0e6;
}

@media (max-width: 860px) {

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

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

}﻿
/* FOOTER ENHANCED */

.footer-left {
  display: flex;
  align-items: center;
  gap: 4px;
  color: #aeb8d4;
  font-size: 14px;
}

.footer-center {
  display: flex;
  align-items: center;
  gap: 18px;
  flex-wrap: wrap;
  justify-content: center;
}

.footer-center a {
  color: var(--muted-soft);
  text-decoration: none;
  font-size: 13px;
  transition: color 0.2s;
}

.footer-center a:hover {
  color: var(--blue);
}

.footer-right {
  display: flex;
  align-items: center;
  font-size: 13px;
  color: var(--muted-soft);
}

.footer-right a {
  color: var(--muted-soft);
  text-decoration: none;
}

.footer-right a:hover {
  color: var(--blue);
}

@media (max-width: 768px) {
  .footer-content {
    flex-direction: column;
    align-items: center;
    gap: 14px;
    text-align: center;
  }
  .footer-center {
    gap: 12px;
  }
}

/* Price tiers list */

/* Price tiers list */
.public-tier-list {
  list-style: none;
  padding: 0;
  margin: 10px 0 0 0;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.public-tier-list li {
  padding: 8px 12px;
  border-radius: 8px;
  font-size: 0.85rem;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 6px 12px;
  background: rgba(255,255,255,0.04);
  border: 1px solid rgba(255,255,255,0.06);
}

.public-tier-list li.tier-active {
  background: rgba(99,102,241,0.12);
  border-color: rgba(99,102,241,0.3);
}

.public-tier-list li.tier-past {
  opacity: 0.5;
  text-decoration: line-through;
}

.public-tier-list li.tier-future {
  border-color: rgba(139,92,246,0.2);
}

.tier-row-main {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex: 1;
  min-width: 0;
}

.tier-name {
  color: #c4c9d8;
  font-weight: 500;
}

.tier-price {
  font-weight: 700;
  color: #e2e8f0;
}

.tier-date {
  font-size: 0.75rem;
  color: #8892a8;
  width: 100%;
}

.tier-status {
  font-size: 0.7rem;
  font-weight: 600;
  padding: 2px 8px;
  border-radius: 4px;
  text-transform: uppercase;
  letter-spacing: 0.02em;
}

.tier-status.tier-active {
  background: rgba(99,102,241,0.2);
  color: #a5b4fc;
}

.tier-status.tier-past {
  background: rgba(255,255,255,0.05);
  color: #6b7280;
}

.tier-status.tier-future {
  background: rgba(139,92,246,0.15);
  color: #c4b5fd;
}

/* Low stock warning */
.public-low-stock {
  display: inline-block;
  background: linear-gradient(135deg, rgba(245,158,11,0.2), rgba(239,68,68,0.2));
  color: #fbbf24;
  padding: 4px 12px;
  border-radius: 6px;
  font-size: 0.8rem;
  font-weight: 700;
  margin-top: 6px;
  border: 1px solid rgba(245,158,11,0.3);
  animation: pulse-glow 2s ease-in-out infinite;
}

@keyframes pulse-glow {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.7; }
}

/* Footer responsive */
@media (max-width: 768px) {
  .footer-content {
    flex-direction: column;
    align-items: center;
    gap: 14px;
    text-align: center;
  }
  .footer-center {
    gap: 12px;
  }
}
