:root {
  --bg: #000062;
  --blue: #043A99;
  --green: #8aea1b;
  --ink: #ffffff;
  --muted: rgba(255, 255, 255, 0.68);
  --soft: rgba(255, 255, 255, 0.09);
  --soft-2: rgba(255, 255, 255, 0.14);
  --line: rgba(255, 255, 255, 0.16);
  --panel: rgba(3, 10, 58, 0.68);
  --panel-solid: #050646;
  --shadow: rgba(0, 0, 0, 0.36);
  --danger: #ff5f76;
  --warning: #ffd166;
}

* {
  box-sizing: border-box;
}

html {
  min-height: 100%;
  background: var(--bg);
}

body {
  min-height: 100vh;
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 8% 10%, rgba(138, 234, 27, 0.18), transparent 22rem),
    radial-gradient(circle at 82% -10%, rgba(4, 58, 153, 0.86), transparent 34rem),
    linear-gradient(145deg, #000062 0%, #010148 46%, #00002f 100%);
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.035) 1px, transparent 1px);
  background-size: 64px 64px;
  mask-image: radial-gradient(circle at 50% 0%, black, transparent 68%);
}

button,
input,
select {
  font: inherit;
}

button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.45rem;
  border: 1px solid rgba(138, 234, 27, 0.42);
  border-radius: 999px;
  padding: 0.82rem 1rem;
  color: #06113b;
  background: linear-gradient(135deg, var(--green), #d8ff91);
  cursor: pointer;
  font-weight: 900;
  box-shadow: 0 18px 42px rgba(138, 234, 27, 0.22);
  transition: transform 160ms ease, box-shadow 160ms ease, opacity 160ms ease, border-color 160ms ease;
}

button:hover {
  transform: translateY(-1px);
  box-shadow: 0 22px 54px rgba(138, 234, 27, 0.3);
}

button.secondary {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.08);
  border-color: var(--line);
  box-shadow: none;
}

button:disabled {
  cursor: not-allowed;
  opacity: 0.42;
  transform: none;
  box-shadow: none;
}

.btn-icon {
  line-height: 1;
}

.app {
  position: relative;
  width: min(1500px, calc(100% - 2rem));
  margin: 0 auto;
  padding: 2rem 0;
  z-index: 1;
}

.hidden {
  display: none !important;
}

.eyebrow {
  color: var(--green);
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.brand-logo {
  display: block;
  object-fit: contain;
  filter: drop-shadow(0 18px 34px rgba(0, 0, 0, 0.36));
}

.login-screen {
  display: grid;
  min-height: calc(100vh - 4rem);
  place-items: center;
}

.login-card,
.topbar,
.stat-card,
.filters-panel,
.table-card,
.pagination,
.drawer-panel {
  border: 1px solid var(--line);
  background: linear-gradient(145deg, rgba(255, 255, 255, 0.13), rgba(255, 255, 255, 0.055));
  box-shadow: 0 26px 80px var(--shadow);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
}

.login-card {
  width: min(470px, 100%);
  padding: 2.4rem;
  border-radius: 34px;
}

.login-logo {
  width: min(270px, 90%);
  max-height: 140px;
  margin: 0 auto 1.5rem;
}

.login-card h1,
.topbar h1 {
  margin: 0.3rem 0 0.55rem;
  color: #ffffff;
  font-size: clamp(2.1rem, 4vw, 3.15rem);
  line-height: 0.94;
  letter-spacing: -0.055em;
}

.login-card p,
.topbar p,
.table-title p {
  margin: 0;
  color: var(--muted);
}

.login-card form {
  display: grid;
  gap: 1rem;
  margin-top: 1.5rem;
}

label {
  display: grid;
  gap: 0.45rem;
  color: rgba(255, 255, 255, 0.78);
  font-weight: 800;
}

input,
select {
  width: 100%;
  border: 1px solid var(--line);
  border-radius: 18px;
  padding: 0.92rem 1rem;
  color: var(--ink);
  background: rgba(255, 255, 255, 0.095);
  outline: none;
  transition: border-color 160ms ease, box-shadow 160ms ease, background 160ms ease;
}

input::placeholder {
  color: rgba(255, 255, 255, 0.46);
}

input:focus,
select:focus {
  border-color: rgba(138, 234, 27, 0.76);
  background: rgba(255, 255, 255, 0.14);
  box-shadow: 0 0 0 4px rgba(138, 234, 27, 0.12);
}

.error {
  min-height: 1.4rem;
  color: var(--danger);
  font-weight: 850;
}

.panel {
  display: grid;
  gap: 1rem;
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.25rem;
  padding: 1.25rem;
  border-radius: 32px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 1.2rem;
}

.panel-logo {
  width: 150px;
  max-height: 76px;
}

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

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 1rem;
}

.stat-card {
  position: relative;
  overflow: hidden;
  min-height: 138px;
  padding: 1.1rem;
  border-radius: 28px;
}

.stat-card::after {
  content: "";
  position: absolute;
  right: -45px;
  bottom: -45px;
  width: 130px;
  height: 130px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.075);
}

.stat-card.accent::after {
  background: rgba(138, 234, 27, 0.18);
}

.stat-card.danger::after {
  background: rgba(255, 95, 118, 0.18);
}

.stat-icon {
  display: grid;
  width: 44px;
  height: 44px;
  margin-bottom: 1rem;
  place-items: center;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.1);
}

.stat-card span {
  display: block;
  color: var(--muted);
  font-weight: 800;
}

.stat-card strong {
  display: block;
  margin-top: 0.25rem;
  color: #ffffff;
  font-size: 2.35rem;
  line-height: 1;
  letter-spacing: -0.05em;
}

.filters-panel {
  display: grid;
  gap: 0.9rem;
  padding: 1rem;
  border-radius: 28px;
}

.searchbox {
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 0.7rem;
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 0 0.95rem;
  background: rgba(255, 255, 255, 0.085);
}

.searchbox span {
  color: var(--green);
  font-size: 1.35rem;
  font-weight: 900;
}

.searchbox input {
  border: 0;
  padding-left: 0;
  background: transparent;
  box-shadow: none;
}

.chip-group {
  display: flex;
  flex-wrap: wrap;
  gap: 0.6rem;
}

.chip {
  min-height: 40px;
  padding: 0.62rem 0.95rem;
  color: rgba(255, 255, 255, 0.82);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.14);
  box-shadow: none;
}

.chip:hover {
  box-shadow: none;
}

.chip.is-active {
  color: #06113b;
  background: var(--green);
  border-color: rgba(138, 234, 27, 0.8);
}

.legacy-filter {
  display: none !important;
}

.table-card {
  overflow: hidden;
  border-radius: 30px;
}

.table-title {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 1rem;
  padding: 1.15rem;
  border-bottom: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.045);
}

.table-title h2 {
  margin: 0 0 0.25rem;
  font-size: 1.15rem;
}

#pageText {
  color: var(--muted);
  font-weight: 900;
}

.table-wrap {
  max-height: 62vh;
  overflow: auto;
}

table {
  width: 100%;
  min-width: 1180px;
  border-collapse: collapse;
  background: rgba(0, 0, 40, 0.38);
}

th,
td {
  padding: 0.92rem 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.09);
  text-align: left;
  vertical-align: middle;
  font-size: 0.91rem;
}

th {
  position: sticky;
  top: 0;
  z-index: 2;
  color: var(--green);
  background: rgba(0, 0, 72, 0.94);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  font-size: 0.76rem;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

tbody tr {
  cursor: pointer;
  transition: background 140ms ease, transform 140ms ease;
}

tbody tr:hover {
  background: rgba(138, 234, 27, 0.075);
}

td {
  color: rgba(255, 255, 255, 0.84);
}

.badge {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  padding: 0.28rem 0.66rem;
  font-size: 0.75rem;
  font-weight: 950;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: rgba(255, 255, 255, 0.1);
}

.badge.confirmed {
  color: #06113b;
  background: var(--green);
  border-color: rgba(138, 234, 27, 0.85);
}

.badge.pending {
  color: #fff0be;
  background: rgba(255, 209, 102, 0.22);
  border-color: rgba(255, 209, 102, 0.34);
}

.badge.rejected {
  color: #ffdce3;
  background: rgba(255, 95, 118, 0.2);
  border-color: rgba(255, 95, 118, 0.34);
}

.pagination {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.8rem;
  padding: 0.9rem;
  border-radius: 26px;
}

.drawer {
  position: fixed;
  inset: 0;
  z-index: 20;
  display: grid;
  justify-items: end;
  background: rgba(0, 0, 28, 0.64);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.drawer-panel {
  width: min(520px, 100%);
  height: 100%;
  overflow: auto;
  border-radius: 28px 0 0 28px;
  padding: 1.3rem;
  background: rgba(2, 6, 58, 0.9);
}

.drawer-close {
  position: sticky;
  top: 0;
  float: right;
  width: 42px;
  height: 42px;
  padding: 0;
  color: var(--blue);
  background: var(--green);
  border-color: var(--line);
  box-shadow: none;
  z-index: 10;
  font-size: 20px;

}

.drawer h2 {
  margin: 0.4rem 0 0.2rem;
  font-size: 1.8rem;
  letter-spacing: -0.04em;
}

.drawer .meta {
  color: var(--muted);
  margin-bottom: 1.2rem;
}

.detail-section {
  margin-top: 1rem;
  padding: 1rem;
  border: 1px solid var(--line);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.07);
}

.detail-section h3 {
  margin: 0 0 0.8rem;
  color: var(--green);
  font-size: 0.82rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.detail-grid {
  display: grid;
  gap: 0.65rem;
}

.detail-row {
  display: grid;
  grid-template-columns: 145px 1fr;
  gap: 0.75rem;
  color: rgba(255, 255, 255, 0.86);
}

.detail-row span:first-child {
  color: var(--muted);
  font-weight: 800;
}

@media (max-width: 1000px) {

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

  .actions {
    width: 100%;
    justify-content: flex-start;
  }

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

@media (max-width: 620px) {
  .app {
    width: min(100% - 1rem, 1500px);
    padding: 0.5rem 0;
  }

  .login-card,
  .topbar,
  .filters-panel,
  .table-card,
  .pagination {
    border-radius: 22px;
  }

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

  .panel-logo {
    width: 132px;
  }

  .drawer-panel {
    border-radius: 0;
  }

  .detail-row {
    grid-template-columns: 1fr;
    gap: 0.1rem;
  }
}


/* === Ajustes premium participantes === */

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

.category-card {
  border-color: rgba(138, 234, 27, 0.34);
  background:
    linear-gradient(145deg, rgba(138, 234, 27, 0.20), rgba(138, 234, 27, 0.075)),
    rgba(255, 255, 255, 0.055);
  box-shadow:
    0 26px 80px rgba(0, 0, 0, 0.34),
    inset 0 1px 0 rgba(255, 255, 255, 0.14);
}

.category-card::after {
  background: rgba(138, 234, 27, 0.22);
}

.category-card .stat-icon {
  border-color: rgba(138, 234, 27, 0.35);
  background: rgba(138, 234, 27, 0.14);
  box-shadow: 0 14px 30px rgba(138, 234, 27, 0.1);
}

.category-card span {
  color: rgba(255, 255, 255, 0.82);
}

.category-card strong {
  color: #8aea1b;
  text-shadow: 0 0 24px rgba(138, 234, 27, 0.28);
}

.category-card small {
  display: block;
  margin-top: 0.25rem;
  color: rgba(255, 255, 255, 0.66);
  font-weight: 800;
}

.filters-panel {
  grid-template-columns: 1fr 220px 220px;
  align-items: center;
}

.searchbox {
  min-height: 54px;
}

.select-field {
  position: relative;
  display: grid;
  grid-template-columns: auto 1fr;
  align-items: center;
  gap: 0.65rem;
  min-height: 54px;
  border: 1px solid rgba(138, 234, 27, 0.34);
  border-radius: 20px;
  padding: 0 0.8rem;
  background:
    linear-gradient(145deg, rgba(138, 234, 27, 0.18), rgba(138, 234, 27, 0.065)),
    rgba(255, 255, 255, 0.06);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

.select-field span {
  color: #8aea1b;
  font-size: 1.05rem;
  line-height: 1;
}

.brand-select {
  height: 52px;
  border: 0;
  border-radius: 0;
  padding: 0 2rem 0 0;
  color: #ffffff;
  background: transparent;
  box-shadow: none;
  font-weight: 900;
  cursor: pointer;
  appearance: none;
  background-image:
    linear-gradient(45deg, transparent 50%, #8aea1b 50%),
    linear-gradient(135deg, #8aea1b 50%, transparent 50%);
  background-position:
    calc(100% - 13px) 52%,
    calc(100% - 7px) 52%;
  background-size: 6px 6px, 6px 6px;
  background-repeat: no-repeat;
}

.brand-select:focus {
  box-shadow: none;
  background-color: transparent;
}

.brand-select option {
  color: #06113b;
  background: #ffffff;
  font-weight: 800;
}

.legacy-filter,
.chip-group,
.chip {
  display: none !important;
}

.row-icon {
  display: inline-grid;
  width: 28px;
  height: 28px;
  margin-right: 0.45rem;
  place-items: center;
  border-radius: 10px;
  color: #06113b;
  background: #8aea1b;
  font-size: 0.85rem;
  font-weight: 950;
  vertical-align: middle;
  box-shadow: 0 10px 24px rgba(138, 234, 27, 0.16);
}

.participant-cell {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

.avatar-icon {
  display: grid;
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 1px solid rgba(138, 234, 27, 0.32);
  border-radius: 14px;
  color: #8aea1b;
  background: rgba(138, 234, 27, 0.09);
}

.participant-name {
  display: block;
  color: #ffffff;
  font-weight: 900;
}

.participant-email-mini {
  display: block;
  margin-top: 0.1rem;
  color: rgba(255, 255, 255, 0.48);
  font-size: 0.78rem;
}

.category-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  border: 1px solid rgba(138, 234, 27, 0.34);
  border-radius: 999px;
  padding: 0.32rem 0.62rem;
  color: #8aea1b;
  background: rgba(138, 234, 27, 0.085);
  font-weight: 950;
}

.visual-icon {
  color: #8aea1b;
  font-weight: 900;
}

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

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

@media (max-width: 620px) {
  .category-stats {
    grid-template-columns: 1fr;
  }
}


/* === Corrección: iconos en headers, cards pro y selects limpios === */

.category-card {
  position: relative;
  display: flex;
  min-height: 168px;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1.25rem;
  overflow: hidden;
  border-color: rgba(138, 234, 27, 0.36);
  background:
    linear-gradient(145deg, rgba(138, 234, 27, 0.18), rgba(138, 234, 27, 0.045) 58%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.045));
}

.category-card::before {
  content: attr(data-bg);
  position: absolute;
  right: -0.28em;
  top: 50%;
  transform: translateY(-52%);
  color: rgba(57, 197, 50, 0.67);
  font-size: clamp(4.8rem, 9vw, 8rem);
  font-weight: 950;
  line-height: 1;
  letter-spacing: -0.12em;
  pointer-events: none;
}

.category-card::after {
  right: auto;
  left: 1.25rem;
  bottom: 1.25rem;
  width: 56px;
  height: 3px;
  border-radius: 999px;
  background: #8aea1b;
  box-shadow: 0 0 24px rgba(138, 234, 27, 0.65);
}

.category-card .stat-icon {
  display: none !important;
}

.category-card span,
.category-card strong,
.category-card small {
  position: relative;
  z-index: 1;
}

.category-card span {
  color: rgba(255, 255, 255, 0.66);
  font-size: 0.78rem;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.category-card strong {
  margin-bottom: 0.35rem;
  color: #ffffff;
  font-size: clamp(2.7rem, 5vw, 4.25rem);
  line-height: 0.9;
  letter-spacing: -0.08em;
  text-shadow: none;
}

.category-card small {
  padding-bottom: 0.9rem;
  color: #8aea1b;
  font-size: 0.88rem;
  font-weight: 900;
}

.select-field {
  grid-template-columns: 1fr;
  padding: 0 0.8rem;
}

.select-field>span {
  display: none !important;
}

.brand-select {
  padding-left: 0.2rem;
}

.th-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.15rem;
  margin-right: 0.38rem;
  color: #8aea1b;
  font-size: 0.85rem;
  filter: drop-shadow(0 0 10px rgba(138, 234, 27, 0.28));
}

.row-icon,
.avatar-icon,
.visual-icon {
  display: none !important;
}

.participant-cell {
  display: block;
}

.category-pill {
  padding: 0.36rem 0.66rem;
  color: #06113b;
  background: #8aea1b;
  border-color: rgba(138, 234, 27, 0.85);
  box-shadow: 0 10px 22px rgba(138, 234, 27, 0.13);
}


/* === Ajuste final solicitado: sin iconos en tabla y cards más destacadas === */

.th-icon,
.row-icon,
.avatar-icon,
.visual-icon {
  display: none !important;
}

.category-stats {
  gap: 1.15rem;
}

.category-card {
  position: relative;
  min-height: 182px;
  padding: 0;
  overflow: hidden;
  border: 1px solid rgba(138, 234, 27, 0.55);
  background:
    radial-gradient(circle at 8% 35%, rgba(27, 234, 156, 0.22), transparent 16rem), linear-gradient(135deg, rgba(138, 234, 27, 0.18), rgba(4, 58, 153, 0.2) 48%, rgba(255, 255, 255, 0.07)), rgba(0, 0, 98, 0.52);
  box-shadow:
    0 26px 70px rgba(0, 0, 0, 0.34),
    0 0 0 1px rgba(138, 234, 27, 0.08) inset,
    0 0 34px rgba(138, 234, 27, 0.16);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}

.category-card::before {
  content: attr(data-bg);
  position: absolute;
  left: -0.14em;
  top: 50%;
  transform: translateY(-52%);
  z-index: 0;
  color: rgba(57, 197, 50, 0.4);
  font-size: clamp(5.4rem, 10vw, 8.7rem);
  font-weight: 950;
  line-height: 1;
  letter-spacing: -0.18em;
  text-shadow: 0 0 35px rgba(138, 234, 27, 0.12);
  pointer-events: none;
}



.category-card-content {
  position: relative;
  z-index: 1;
  display: flex;
  min-height: 182px;
  flex-direction: column;
  align-items: flex-end;
  justify-content: flex-end;
  padding: 1.25rem;
  text-align: right;
}

.category-card span {
  color: rgba(255, 255, 255, 0.68);
  font-size: 0.76rem;
  font-weight: 950;
  letter-spacing: 0.13em;
  text-transform: uppercase;
}

.category-card strong {
  margin: 0.35rem 0 0.25rem;
  color: #ffffff;
  font-size: clamp(3rem, 5vw, 4.65rem);
  line-height: 0.88;
  letter-spacing: -0.08em;
  text-shadow:
    0 0 26px rgba(138, 234, 27, 0.22),
    0 16px 38px rgba(0, 0, 0, 0.32);
}

.category-card small {
  color: #8aea1b;
  font-size: 0.92rem;
  font-weight: 950;
  letter-spacing: 0.02em;
}

.category-card .stat-icon {
  display: none !important;
}

.category-pill {
  display: inline-flex;
  min-width: 54px;
  justify-content: center;
  border-radius: 999px;
  padding: 0.36rem 0.66rem;
  color: #06113b;
  background: #8aea1b;
  border: 1px solid rgba(138, 234, 27, 0.85);
  font-weight: 950;
  box-shadow: 0 10px 22px rgba(138, 234, 27, 0.13);
}

.participant-cell {
  display: block;
}

@media (max-width: 1000px) {
  .category-card::before {
    font-size: clamp(5rem, 18vw, 8rem);
  }
}

.category-card span {
  color: #8aea1b !important
}

.category-card small {
  color: rgba(255, 255, 255, .68) !important
}

.category-card-content {
  text-align: right;
  align-items: flex-end;
}

/* === Ajuste final: logo grande sin orbit + cards globales clicables === */

.logo-orbit,
.logo-plate,
.logo-orbit::before,
.logo-orbit::after {
  all: unset !important;
  display: contents !important;
}

.panel-logo {
  width: 112px !important;
  height: 112px !important;
  max-width: 112px !important;
  max-height: 112px !important;
  object-fit: contain;
  filter: drop-shadow(0 18px 34px rgba(0, 0, 0, 0.34));
}

.brand {
  align-items: center;
  gap: 1.45rem;
}

.category-card {
  cursor: pointer;
  transition:
    transform 180ms ease,
    border-color 180ms ease,
    box-shadow 180ms ease,
    background 180ms ease;
}

.category-card:hover,
.category-card.is-active {
  transform: translateY(-3px);
  border-color: rgba(138, 234, 27, 0.86);
  box-shadow:
    0 32px 86px rgba(0, 0, 0, 0.38),
    0 0 0 1px rgba(138, 234, 27, 0.18) inset,
    0 0 46px rgba(138, 234, 27, 0.26);
}

.category-card.is-active::after {
  width: 82px;
}

.category-card span {
  color: #8aea1b !important;
}

.category-card small {
  color: rgba(255, 255, 255, 0.70) !important;
}

@media (max-width: 620px) {
  .brand {
    flex-direction: row;
    align-items: center;
    gap: 1rem;
  }

  .panel-logo {
    width: 84px !important;
    height: 84px !important;
    max-width: 84px !important;
    max-height: 84px !important;
  }

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


/* === Corrección final: cards sin leyenda de categoría y línea blanca seleccionada === */

.category-card span {
  color: #8aea1b !important;
}

.category-card small {
  color: rgba(255, 255, 255, 0.70) !important;
}

.category-card.is-active::after {
  background: #ffffff !important;
  box-shadow: 0 0 28px rgba(255, 255, 255, 0.68) !important;
}

.category-card.is-active {
  border-color: rgb(138, 234, 27);
}

/* === Cupos, lista de espera y acciones admin === */

.capacity-panel {
  display: grid;
  gap: 1rem;
  padding: 1.1rem;
  border: 1px solid var(--line);
  border-radius: 30px;
  background:
    linear-gradient(145deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0.045)),
    rgba(0, 0, 98, 0.35);
  box-shadow: 0 26px 80px var(--shadow);
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
}

.capacity-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.capacity-header h2 {
  margin: 0 0 0.25rem;
  font-size: 1.18rem;
  letter-spacing: -0.03em;
}

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

.capacity-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 0.85rem;
}

.slot-card {
  display: grid;
  gap: 0.55rem;
  margin: 0;
  padding: 1rem;
  border: 1px solid rgba(138, 234, 27, 0.26);
  border-radius: 22px;
  background: rgba(138, 234, 27, 0.07);
}

.slot-card span {
  color: #8aea1b;
  font-size: 0.78rem;
  font-weight: 950;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.slot-card input {
  color: #ffffff;
  font-size: 1.45rem;
  font-weight: 950;
  text-align: right;
}

.slot-card small,
.capacity-message {
  color: rgba(255, 255, 255, 0.68);
  font-weight: 800;
}

.capacity-message.success {
  color: #8aea1b;
}

.capacity-message.error {
  color: #ff5f76;
}

.badge.waitlist {
  color: #06113b;
  background: #8aea1b;
  border-color: rgba(138, 234, 27, 0.75);
}

.badge.cancelled {
  color: rgba(255, 255, 255, 0.78);
  background: rgba(255, 255, 255, 0.10);
}

.drawer-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin: 1rem 0;
}

.drawer-actions button {
  min-height: 44px;
}

.drawer-actions .danger {
  color: #ffffff;
  background: rgba(255, 95, 118, 0.24);
  border-color: rgba(255, 95, 118, 0.45);
  box-shadow: none;
}

.drawer-alert {
  margin-top: 0.75rem;
  padding: 0.85rem;
  border: 1px solid rgba(138, 234, 27, 0.28);
  border-radius: 16px;
  color: rgba(255, 255, 255, 0.78);
  background: rgba(138, 234, 27, 0.075);
}

@media (max-width: 900px) {
  .capacity-header {
    align-items: flex-start;
    flex-direction: column;
  }

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

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


/* === Config drawer de cupos === */

.config-button {
  border-color: rgba(138, 234, 27, 0.36);
  color: #eaffd3;
  background:
    linear-gradient(135deg, rgba(138, 234, 27, 0.16), rgba(138, 234, 27, 0.08)),
    rgba(255, 255, 255, 0.08);
  box-shadow: none;
}

.config-button:hover {
  box-shadow: 0 18px 38px rgba(138, 234, 27, 0.13);
}

.config-drawer {
  background: rgba(0, 0, 42, 0.58);
}

.config-drawer-panel {
  border-left: 1px solid rgba(138, 234, 27, 0.24);
  background:
    radial-gradient(circle at 20% 0%, rgba(138, 234, 27, 0.16), transparent 18rem),
    linear-gradient(160deg, rgba(7, 45, 56, 0.94), rgba(0, 0, 70, 0.92));
}

.config-drawer-head {
  padding-right: 3rem;
  margin-bottom: 1.2rem;
}

.config-drawer-head h2 {
  margin: 0.25rem 0 0.45rem;
  font-size: clamp(1.8rem, 4vw, 2.5rem);
  line-height: 0.95;
  letter-spacing: -0.05em;
}

.config-drawer-head p {
  margin: 0;
  color: rgba(255, 255, 255, 0.68);
}

.config-capacity-grid {
  grid-template-columns: 1fr;
}

.config-capacity-grid .slot-card {
  border-color: rgba(138, 234, 27, 0.22);
  background:
    linear-gradient(135deg, rgba(138, 234, 27, 0.11), rgba(138, 234, 27, 0.035)),
    rgba(255, 255, 255, 0.055);
}

.config-capacity-grid .slot-card span {
  color: rgba(234, 255, 211, 0.86);
}

.config-capacity-grid .slot-card input {
  border-color: rgba(138, 234, 27, 0.24);
  background: rgba(0, 0, 98, 0.25);
}

.config-actions {
  position: sticky;
  bottom: 0;
  padding-top: 1rem;
  background: linear-gradient(to top, rgba(5, 20, 48, 0.96), rgba(5, 20, 48, 0));
}

@media (max-width: 620px) {
  .config-button {
    width: auto;
  }
}


/* === Status, resumen de lista de espera y CSV dropdown === */

.summary-waitlist {
  margin: 0.35rem 0 0;
  color: rgba(96, 221, 255, 0.92);
  font-size: 0.95rem;
  font-weight: 850;
}

.card-waitlist {
  display: block;
  margin-top: 0.28rem;
  color: rgba(96, 221, 255, 0.95);
  font-size: 0.78rem;
  font-style: normal;
  font-weight: 900;
  letter-spacing: 0.01em;
}

.export-control {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
}

.export-select {
  min-width: 220px;

  color: #06113b;
  font-weight: 900;

  border: 1px solid rgba(138, 234, 27, .45);

  background:
    linear-gradient(135deg,
      rgba(138, 234, 27, .92),
      rgba(138, 234, 27, .78));

  box-shadow:
    0 10px 30px rgba(138, 234, 27, .18);

  transition: all .2s ease;
}

.export-select:hover {
  transform: translateY(-1px);

  box-shadow:
    0 14px 34px rgba(138, 234, 27, .24);
}

.export-select option {
  background: #fff;
  color: #06113b;
}

.badge.confirmed {
  color: #06113b;
  background: #8aea1b;
  border-color: rgba(138, 234, 27, 0.85);
}

.badge.waitlist {
  color: #06113b;
  background: #60ddff;
  border-color: rgba(96, 221, 255, 0.85);
}

.badge.cancelled {
  color: #ffffff;
  background: #ff4d5f;
  border-color: rgba(255, 77, 95, 0.85);
}

.badge.extraordinary {
  color: #06113b;
  background: #ffd166;
  border-color: rgba(255, 209, 102, 0.85);
}

@media (max-width: 780px) {
  .export-control {
    width: 100%;
    align-items: stretch;
    flex-direction: column;
  }

  .export-select {
    width: 100%;
  }
}

.icon-only {
  width: 46px;
  min-width: 46px;
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.export-select {
  min-width: 220px;
  cursor: pointer;
}

/* === Stripe simple detail section === */

.stripe-detail-section {
  margin-top: 1rem;
}

.stripe-simple-heading {
  display: flex;
  align-items: center;
  gap: .65rem;
  margin: 0 0 .8rem;
}

.stripe-simple-heading h3 {
  margin: 0;
}

.stripe-simple-logo {
  display: inline-grid;
  min-width: 58px;
  height: 28px;
  place-items: center;
  border-radius: 9px;
  color: #06113b;
  background: linear-gradient(135deg, var(--green), rgba(138, 234, 27, 0.62));
  color: #06113b;
  font-size: .9rem;
  font-weight: 950;
  letter-spacing: -.05em;
  text-transform: none;
}

.stripe-inline-actions {
  margin: 1rem 0 0;
}



.stripe-detail-section {
  border-color: rgba(138, 234, 27, 0.32);
  background:
    linear-gradient(135deg, rgba(138, 234, 27, 0.105), rgba(255, 255, 255, 0.055)),
    rgba(255, 255, 255, 0.06);
}

.stripe-simple-heading h3 {
  color: var(--green);
}

.payment-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  white-space: nowrap;
  border-radius: 999px;
  padding: 0.28rem 0.66rem;
  font-size: 0.72rem;
  font-weight: 950;
  border: 1px solid rgba(255, 255, 255, 0.14);
}

.payment-badge.paid {
  color: #06113b;
  background: var(--green);
  border-color: rgba(138, 234, 27, 0.84);
}

.payment-badge.refunded {
  color: #fff7c4;
  background: rgba(255, 209, 102, 0.22);
  border-color: rgba(255, 209, 102, 0.42);
}

.payment-badge.pending {
  color: #c9f6ff;
  background: rgba(58, 221, 255, 0.16);
  border-color: rgba(58, 221, 255, 0.32);
}

.payment-badge.none {
  color: rgba(255, 255, 255, 0.62);
  background: rgba(255, 255, 255, 0.075);
  border-color: rgba(255, 255, 255, 0.13);
}



/* === Refinamiento visual Stripe / pagos === */

.stripe-detail-section {
  border-color: rgba(138, 234, 27, 0.26) !important;
  background:
    radial-gradient(circle at top left, rgba(138, 234, 27, 0.18), transparent 36%),
    linear-gradient(145deg, rgba(138, 234, 27, 0.10), rgba(255, 255, 255, 0.055)),
    rgba(255, 255, 255, 0.065) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .12),
    0 18px 46px rgba(0, 0, 0, .16);
}

.stripe-simple-heading {
  align-items: center;
  margin-bottom: 1rem;
}

.stripe-simple-heading h3 {
  margin: 0;
  color: var(--green);
}

.stripe-simple-heading p {
  margin: .18rem 0 0;
  color: rgba(255, 255, 255, .62);
  font-size: .78rem;
  font-weight: 800;
}

.stripe-simple-logo {
  min-width: 66px;
  height: 32px;
  color: #ffffff !important;
  background: #635bff !important;
  border: 1px solid rgba(255, 255, 255, .18);
  box-shadow: 0 14px 32px rgba(99, 91, 255, .22);
}

.stripe-payment-mini-summary {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: .8rem;
  align-items: center;
  margin-bottom: 1rem;
  padding: .85rem;
  border: 1px solid rgba(138, 234, 27, .18);
  border-radius: 18px;
  background: rgba(0, 0, 35, .22);
}

.stripe-payment-amount span {
  display: block;
  color: rgba(255, 255, 255, .58);
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.stripe-payment-amount strong {
  display: block;
  margin-top: .16rem;
  color: #ffffff;
  font-size: 1.2rem;
  line-height: 1;
}

.stripe-payment-card-brand {
  display: inline-flex;
  align-items: center;
  gap: .55rem;
  color: rgba(255, 255, 255, .86);
  font-size: .82rem;
  font-weight: 900;
  white-space: nowrap;
}

.card-brand-logo {
  display: inline-grid;
  min-width: 48px;
  height: 30px;
  place-items: center;
  border-radius: 8px;
  padding: 0 .45rem;
  color: #ffffff;
  background: #1f2937;
  border: 1px solid rgba(255, 255, 255, .2);
  font-size: .7rem;
  font-weight: 950;
  letter-spacing: .02em;
}

.card-brand-logo--visa {
  color: #173b7a;
  background: #ffffff;
}

.card-brand-logo--mastercard {
  color: #111827;
  background: linear-gradient(90deg, #eb001b 0 48%, #f79e1b 52% 100%);
}

.card-brand-logo--amex,
.card-brand-logo--american_express {
  background: #2e77bc;
}

.card-brand-logo--discover {
  background: linear-gradient(90deg, #111827, #f97316);
}

.card-brand-logo--unknown {
  color: rgba(255, 255, 255, .72);
  background: rgba(255, 255, 255, .09);
}

.payment-badge {
  gap: .35rem;
  min-width: 82px;
  justify-content: center;
  border-radius: 10px;
  padding: .34rem .58rem;
  font-size: .69rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, .075);
  border-style: solid;
  border-width: 1px;
}

.payment-badge::before {
  content: "";
  width: .46rem;
  height: .46rem;
  border-radius: 999px;
  background: currentColor;
  opacity: .9;
}

.payment-badge.paid {
  color: #caff72;
  background: rgba(138, 234, 27, .075);
  border-color: rgba(138, 234, 27, .26);
}

.payment-badge.refunded {
  color: #d9c7ff;
  background: rgba(151, 117, 250, .10);
  border-color: rgba(151, 117, 250, .28);
}

.payment-badge.pending {
  color: #9fe7ff;
  background: rgba(58, 221, 255, .09);
  border-color: rgba(58, 221, 255, .24);
}

.payment-badge.none {
  color: rgba(255, 255, 255, .48);
  background: rgba(255, 255, 255, .055);
  border-color: rgba(255, 255, 255, .11);
}

@media (max-width: 620px) {
  .stripe-payment-mini-summary {
    grid-template-columns: 1fr;
  }

  .stripe-payment-card-brand {
    justify-content: flex-start;
  }
}


/* === Stripe cyan/glass refinement === */

.stripe-detail-section {
  border-color: rgba(58, 221, 255, 0.32) !important;
  background:
    radial-gradient(circle at top left, rgba(58, 221, 255, 0.20), transparent 38%),
    linear-gradient(145deg, rgba(58, 221, 255, 0.11), rgba(255, 255, 255, 0.055)),
    rgba(255, 255, 255, 0.065) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .13),
    0 18px 48px rgba(58, 221, 255, .08),
    0 18px 46px rgba(0, 0, 0, .16);
}

.stripe-simple-heading {
  align-items: center;
  margin-bottom: 1rem;
}

.stripe-simple-heading h3 {
  margin: 0;
  color: #9feeff !important;
}

.stripe-simple-heading p {
  margin: .18rem 0 0;
  color: rgba(255, 255, 255, .62);
  font-size: .78rem;
  font-weight: 800;
}

.stripe-simple-logo {
  min-width: 66px;
  height: 32px;
  color: #ffffff !important;
  background: #635bff !important;
  border: 1px solid rgba(255, 255, 255, .20);
  box-shadow: 0 14px 32px rgba(99, 91, 255, .22);
}

.stripe-payment-mini-summary {
  display: none !important;
}

.card-last4 {
  margin-left: .5rem;
  color: rgba(255, 255, 255, .82);
  font-weight: 900;
  letter-spacing: .04em;
  vertical-align: middle;
}

.card-brand-logo {
  display: inline-grid;
  min-width: 52px;
  height: 31px;
  place-items: center;
  border-radius: 9px;
  padding: 0 .48rem;
  color: #ffffff;
  background: #121827;
  border: 1px solid rgba(255, 255, 255, .24);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .22),
    0 10px 20px rgba(0, 0, 0, .16);
  font-size: .68rem;
  font-weight: 950;
  letter-spacing: .03em;
  line-height: 1;
}

.card-brand-logo--visa {
  color: #173b7a;
  background: linear-gradient(180deg, #ffffff, #edf3ff);
}

.card-brand-logo--mastercard {
  color: #fff;
  background:
    radial-gradient(circle at 34% 50%, #eb001b 0 28%, transparent 29%),
    radial-gradient(circle at 64% 50%, #f79e1b 0 28%, transparent 29%),
    #171923;
  font-size: 0;
}

.card-brand-logo--mastercard::before {
  content: "";
  width: 34px;
  height: 19px;
  background:
    radial-gradient(circle at 35% 50%, #eb001b 0 9px, transparent 10px),
    radial-gradient(circle at 65% 50%, #f79e1b 0 9px, transparent 10px);
}

.card-brand-logo--amex,
.card-brand-logo--american_express {
  color: #fff;
  background: linear-gradient(180deg, #2e77bc, #1d5f9f);
}

.card-brand-logo--discover {
  color: #fff;
  background: linear-gradient(90deg, #111827, #f97316);
}

.card-brand-logo--unknown {
  color: rgba(255, 255, 255, .72);
  background: rgba(255, 255, 255, .09);
}

.payment-badge {
  gap: .35rem;
  min-width: 82px;
  justify-content: center;
  border-radius: 10px;
  padding: .34rem .58rem;
  font-size: .69rem;
  letter-spacing: .04em;
  text-transform: uppercase;
  background: rgba(255, 255, 255, .075);
  border-style: solid;
  border-width: 1px;
}

.payment-badge::before {
  content: "";
  width: .46rem;
  height: .46rem;
  border-radius: 999px;
  background: currentColor;
  opacity: .9;
}

.payment-badge.paid {
  color: #9feeff;
  background: rgba(58, 221, 255, .075);
  border-color: rgba(58, 221, 255, .26);
}

.payment-badge.refunded {
  color: #d9c7ff;
  background: rgba(151, 117, 250, .10);
  border-color: rgba(151, 117, 250, .28);
}

.payment-badge.pending {
  color: #fff0be;
  background: rgba(255, 209, 102, .09);
  border-color: rgba(255, 209, 102, .24);
}

.payment-badge.none {
  color: rgba(255, 255, 255, .48);
  background: rgba(255, 255, 255, .055);
  border-color: rgba(255, 255, 255, .11);
}



/* Stripe dashboard premium */

.stripe-dashboard-card {
  background:
    radial-gradient(circle at top left, rgba(58, 221, 255, .08), transparent 40%),
    rgba(255, 255, 255, .05) !important;
  backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, .08);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .08),
    0 12px 40px rgba(0, 0, 0, .18);
}

.stripe-dashboard-header {
  margin-bottom: 1rem;
}

.stripe-wordmark {
  color: #635BFF;
  font-weight: 900;
  font-size: 1.1rem;
  letter-spacing: -.04em;
}

.stripe-top-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.stripe-card-row {
  display: flex;
  align-items: center;
  gap: .65rem;
}

.stripe-last4 {
  font-weight: 800;
  color: rgba(255, 255, 255, .9);
}

.stripe-amount {
  font-size: 1.35rem;
  font-weight: 900;
  color: #fff;
  white-space: nowrap;
}

.stripe-name {
  font-weight: 800;
  color: #fff;
}

.stripe-email {
  margin-top: .2rem;
  color: rgba(255, 255, 255, .55);
  font-size: .85rem;
}

.stripe-code-block {
  margin-bottom: .9rem;
}

.stripe-code-block label {
  display: block;
  font-size: .75rem;
  color: rgba(255, 255, 255, .55);
  margin-bottom: .35rem;
}

.stripe-code-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  background: rgba(255, 255, 255, .04);
  border-radius: 10px;
  padding: .65rem .85rem;
}

.stripe-code-row code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, monospace;
  color: #fff;
  overflow-wrap: anywhere;
}

.stripe-code-row a {
  color: #9feeff;
  text-decoration: none;
  white-space: nowrap;
}


.stripe-refund-btn {
  background: transparent;
  border: 1px solid rgba(255, 90, 90, .35);
  color: #fff;
  border-radius: 12px;
  padding: .7rem 1rem;
}

.stripe-refund-btn:hover {
  background: rgba(255, 90, 90, .12);
}

@media (max-width:620px) {

  .stripe-top-row,
  .stripe-code-row {
    flex-direction: column;
    align-items: flex-start;
  }
}


/* === Stripe dashboard premium v2 === */

.stripe-dashboard-card {
  background:
    radial-gradient(circle at top left, rgba(58, 221, 255, .08), transparent 40%),
    rgba(255, 255, 255, .05) !important;
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);
  border: 1px solid rgba(255, 255, 255, .08) !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .08),
    0 12px 40px rgba(0, 0, 0, .18) !important;
}

.stripe-dashboard-header {
  margin-bottom: 1rem;
}

.stripe-wordmark {
  color: #635BFF;
  font-weight: 950;
  font-size: 1.1rem;
  letter-spacing: -0.055em;
  text-transform: lowercase;
}

.stripe-top-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.stripe-card-row {
  display: flex;
  align-items: center;
  gap: .65rem;
}

.stripe-last4 {
  font-weight: 850;
  color: rgba(255, 255, 255, .9);
  letter-spacing: .04em;
}

.stripe-amount {
  font-size: 1.35rem;
  font-weight: 950;
  color: #ffffff;
  white-space: nowrap;
  letter-spacing: -.03em;
}

.stripe-name {
  font-weight: 850;
  color: #ffffff;
}

.stripe-email {
  margin-top: .2rem;
  color: rgba(255, 255, 255, .55);
  font-size: .85rem;
  font-weight: 750;
}

.stripe-code-block {
  margin-bottom: .9rem;
}

.stripe-code-block label {
  display: block;
  color: rgba(255, 255, 255, .55);
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .08em;
  margin-bottom: .35rem;
  text-transform: uppercase;
}

.stripe-code-row {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  align-items: center;
  background: rgba(255, 255, 255, .04);
  border: 1px solid rgba(255, 255, 255, .07);
  border-radius: 12px;
  padding: .65rem .85rem;
}

.stripe-code-row code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  color: #ffffff;
  overflow-wrap: anywhere;
  font-size: .82rem;
}

.stripe-code-row a {
  color: #9feeff;
  text-decoration: none;
  white-space: nowrap;
  font-size: .78rem;
  font-weight: 900;
}

.stripe-code-row a:hover {
  text-decoration: underline;
}

.stripe-refund-btn {
  background: transparent;
  border: 1px solid rgba(255, 90, 90, .35);
  color: #ffffff;
  border-radius: 12px;
  padding: .7rem 1rem;
  font-weight: 900;
}

.stripe-refund-btn:hover {
  background: rgba(255, 90, 90, .12);
  box-shadow: 0 12px 24px rgba(255, 90, 90, .08);
}

.stripe-refund-info {
  display: flex;
  justify-content: space-between;
  gap: 1rem;
  margin-top: .9rem;
  padding: .75rem .85rem;
  border-radius: 12px;
  color: #d9c7ff;
  background: rgba(151, 117, 250, .10);
  border: 1px solid rgba(151, 117, 250, .24);
  font-weight: 900;
}

.card-brand-logo {
  display: inline-grid;
  min-width: 52px;
  height: 31px;
  place-items: center;
  border-radius: 9px;
  padding: 0 .48rem;
  color: #ffffff;
  background: #121827;
  border: 1px solid rgba(255, 255, 255, .24);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .22),
    0 10px 20px rgba(0, 0, 0, .16);
  font-size: .68rem;
  font-weight: 950;
  letter-spacing: .03em;
  line-height: 1;
}

.card-brand-logo--visa {
  color: #173b7a;
  background: linear-gradient(180deg, #ffffff, #edf3ff);
}

.card-brand-logo--mastercard {
  color: transparent;
  background:
    radial-gradient(circle at 34% 50%, #eb001b 0 27%, transparent 28%),
    radial-gradient(circle at 66% 50%, #f79e1b 0 27%, transparent 28%),
    #171923;
  font-size: 0;
}

.card-brand-logo--amex,
.card-brand-logo--american_express {
  color: #ffffff;
  background: linear-gradient(180deg, #2e77bc, #1d5f9f);
}

.card-brand-logo--discover {
  color: #ffffff;
  background: linear-gradient(90deg, #111827, #f97316);
}

.card-brand-logo--unknown {
  color: rgba(255, 255, 255, .72);
  background: rgba(255, 255, 255, .09);
}

@media (max-width: 620px) {

  .stripe-top-row,
  .stripe-code-row {
    flex-direction: column;
    align-items: flex-start;
  }

  .stripe-amount {
    font-size: 1.15rem;
  }
}



/* === Stripe hybrid glass final === */

.stripe-hybrid-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(58, 221, 255, 0.24) !important;
  background:
    radial-gradient(circle at 8% 0%, rgba(58, 221, 255, 0.22), transparent 34%),
    radial-gradient(circle at 92% 10%, rgba(99, 91, 255, 0.11), transparent 30%),
    linear-gradient(145deg, rgba(58, 221, 255, 0.10), rgba(255, 255, 255, 0.055)),
    rgba(255, 255, 255, .065) !important;
  backdrop-filter: blur(22px);
  -webkit-backdrop-filter: blur(22px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .14),
    0 20px 54px rgba(58, 221, 255, .08),
    0 20px 50px rgba(0, 0, 0, .22) !important;
}

.stripe-hybrid-card::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: linear-gradient(120deg, transparent 0%, rgba(255, 255, 255, .07) 42%, transparent 68%);
  opacity: .55;
}

.stripe-hybrid-card>* {
  position: relative;
}

.stripe-wordmark {
  color: #635BFF !important;
  font-size: 1.18rem;
  font-weight: 950;
  letter-spacing: -.06em;
  text-transform: lowercase;
}

.stripe-payment-mainline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: .95rem;
}

.stripe-card-row {
  display: inline-flex;
  align-items: center;
  gap: .72rem;
}

.stripe-last4 {
  color: rgba(255, 255, 255, .92);
  font-weight: 900;
  letter-spacing: .045em;
}

.stripe-amount {
  color: #fff;
  font-size: 1.42rem;
  line-height: 1;
  font-weight: 950;
  letter-spacing: -.035em;
  white-space: nowrap;
}

.stripe-person {}

.stripe-name {
  color: #ffffff;
  font-weight: 900;
  font-size: .98rem;
}

.stripe-email {
  margin-top: .18rem;
  color: rgba(255, 255, 255, .58);
  font-size: .86rem;
  font-weight: 760;
}

.stripe-details-list {
  display: grid;
  gap: .55rem;
  margin-top: .6rem;
}

.stripe-detail-line {
  display: grid;
  grid-template-columns: 120px 1fr;
  align-items: center;
  gap: .75rem;
  padding: .66rem .78rem;
  border: 1px solid rgba(255, 255, 255, .075);
  border-radius: 14px;
  background: rgba(255, 255, 255, .035);
}

.stripe-detail-line span {
  color: rgba(255, 255, 255, .52);
  font-size: .72rem;
  font-weight: 950;
  letter-spacing: .075em;
  text-transform: uppercase;
}

.stripe-detail-line strong,
.stripe-detail-line code {
  color: rgba(255, 255, 255, .93);
  font-weight: 850;
  overflow-wrap: anywhere;
}

.stripe-detail-line code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: .82rem;
}

.stripe-refund-actions {
  display: flex;
  justify-content: center;
  margin-top: 1rem;
}

.stripe-refund-btn {
  min-height: 42px;
  color: #fff !important;
  border: 1px solid rgba(255, 91, 112, .55) !important;
  border-radius: 14px !important;
  padding: .74rem 1rem !important;
  background:
    linear-gradient(145deg, rgba(255, 91, 112, .22), rgba(255, 255, 255, .045)) !important;
  box-shadow: 0 16px 34px rgba(255, 91, 112, .10) !important;
  font-weight: 950;
}

.stripe-refund-btn:hover {
  background:
    linear-gradient(145deg, rgba(255, 91, 112, .34), rgba(255, 255, 255, .06)) !important;
  box-shadow: 0 18px 40px rgba(255, 91, 112, .18) !important;
  transform: translateY(-1px);
}

.stripe-refund-panel {
  display: grid;
  gap: .36rem;
  margin-top: 1rem;
  padding: .8rem .9rem;
  border-radius: 16px;
  border: 1px solid rgba(151, 117, 250, .26);
  background: rgba(151, 117, 250, .095);
  color: #d9c7ff;
}

.stripe-refund-panel span {
  display: block;
  color: rgba(255, 255, 255, .55);
  font-size: .72rem;
  font-weight: 950;
  letter-spacing: .08em;
  text-transform: uppercase;
}

.stripe-refund-panel strong {
  color: #fff;
}

.stripe-refund-panel code {
  color: rgba(255, 255, 255, .86);
  font-size: .78rem;
  overflow-wrap: anywhere;
}

.stripe-refund-panel small {
  color: rgba(255, 255, 255, .62);
}


.stripe-dashboard-link:hover {
  color: #ffffff;
  border-bottom-color: #ffffff;
}

.card-brand-logo {
  display: inline-grid;
  min-width: 52px;
  height: 31px;
  place-items: center;
  border-radius: 9px;
  padding: 0 .48rem;
  color: #ffffff;
  background: #121827;
  border: 1px solid rgba(255, 255, 255, .24);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .22),
    0 10px 20px rgba(0, 0, 0, .16);
  font-size: .68rem;
  font-weight: 950;
  letter-spacing: .03em;
  line-height: 1;
}

.card-brand-logo--visa {
  color: #173b7a;
  background: linear-gradient(180deg, #ffffff, #edf3ff);
}

.card-brand-logo--mastercard {
  color: transparent;
  background:
    radial-gradient(circle at 34% 50%, #eb001b 0 27%, transparent 28%),
    radial-gradient(circle at 66% 50%, #f79e1b 0 27%, transparent 28%),
    #171923;
  font-size: 0;
}

.card-brand-logo--amex,
.card-brand-logo--american_express {
  color: #ffffff;
  background: linear-gradient(180deg, #2e77bc, #1d5f9f);
}

.card-brand-logo--discover {
  color: #ffffff;
  background: linear-gradient(90deg, #111827, #f97316);
}

.card-brand-logo--unknown {
  color: rgba(255, 255, 255, .72);
  background: rgba(255, 255, 255, .09);
}

@media (max-width: 620px) {
  .stripe-payment-mainline {
    align-items: flex-start;
    flex-direction: column;
  }

  .stripe-detail-line {
    grid-template-columns: 1fr;
    gap: .3rem;
  }

  .stripe-refund-actions {
    justify-content: stretch;
  }

  .stripe-refund-btn {
    width: 100%;
  }
}



/* === Stripe list elegant final === */

.stripe-hybrid-card {
  border: 1px solid rgba(58, 221, 255, 0.22) !important;
  background:
    radial-gradient(circle at 8% 0%, rgba(58, 221, 255, 0.20), transparent 34%),
    radial-gradient(circle at 92% 12%, rgba(99, 91, 255, 0.10), transparent 30%),
    linear-gradient(145deg, rgba(58, 221, 255, 0.095), rgba(255, 255, 255, 0.052)),
    rgba(255, 255, 255, .062) !important;
}

.stripe-hybrid-header {
  padding-bottom: .85rem;
  margin-bottom: 1rem;
  border-bottom: 1px solid rgba(255, 255, 255, .09);
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.stripe-wordmark {
  display: inline-grid;
  min-width: 100px;
  height: 34px;
  place-items: center;
  padding: 0 .7rem;
  border-radius: 12px;
  color: #635BFF !important;
  background: #ffffff;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .9),
    0 14px 28px rgba(0, 0, 0, .16);
  font-size: 1.05rem;
  font-weight: 950;
  letter-spacing: -.065em;
  text-transform: lowercase;
}

.stripe-info-list {
  display: grid;
  gap: 0;
  margin: 1rem 0 0;
  padding: 0;
  list-style: none;
  border-top: 1px solid rgba(255, 255, 255, .08);
}

.stripe-info-list li {
  display: grid;
  grid-template-columns: 124px 1fr;
  gap: .8rem;
  align-items: start;
  padding: .72rem 0;
  border-bottom: 1px solid rgba(255, 255, 255, .075);
}

.stripe-info-list span {
  color: rgba(255, 255, 255, .50);
  font-size: .72rem;
  font-weight: 950;
  letter-spacing: .075em;
  text-transform: uppercase;
}

.stripe-info-list strong,
.stripe-info-list code {
  color: rgba(255, 255, 255, .92);
  font-weight: 850;
  overflow-wrap: anywhere;
}

.stripe-info-list code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: .82rem;
}

.stripe-detail-line,
.stripe-code-row {
  background: transparent !important;
  border: 0 !important;
  border-radius: 0 !important;
  padding: 0 !important;
}

.stripe-dashboard-link {
  display: inline-flex;
  width: fit-content;
  margin-right: .5rem;
  color: #9feeff;
  font-size: .84rem;
  font-weight: 950;
  text-decoration: none;
  border-bottom: 1px dotted rgba(159, 238, 255, .9);
}

.stripe-dashboard-link:hover {
  color: #ffffff;
  border-bottom-color: #ffffff;
}

.stripe-refund-btn {
  min-height: 44px;
  color: #ffffff !important;
  border: 1px solid rgba(255, 91, 112, .62) !important;
  border-radius: 14px !important;
  padding: .78rem 1.08rem !important;
  background:
    linear-gradient(145deg, rgba(255, 91, 112, .28), rgba(255, 255, 255, .055)) !important;
  box-shadow: 0 16px 34px rgba(255, 91, 112, .13) !important;
  font-weight: 950;
}

@media (max-width: 620px) {
  .stripe-info-list li {
    grid-template-columns: 1fr;
    gap: .28rem;
  }
}


/* === Stripe card/list polish === */

.stripe-wordmark {
  background: rgba(255, 255, 255, .8) !important;
  color: #635BFF !important;
  border: 1px solid rgba(255, 255, 255, 1);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .35),
    0 12px 26px rgba(0, 0, 0, .12) !important;
}

.stripe-info-list li {
  display: flex !important;
  justify-content: space-between;
  align-items: center;
  gap: 1rem;
  grid-template-columns: none !important;
}

.stripe-info-list li>span {
  flex: 0 0 auto;
  text-align: left;
}

.stripe-info-list li>strong,
.stripe-info-list li>code {
  margin-left: auto;
  text-align: right;
  max-width: 68%;
}

.stripe-info-list li>strong .payment-badge {
  margin-left: auto;
}


/* Card logos closer to Stripe-style badges */

.card-brand-logo {
  position: relative;
  display: inline-grid;
  width: 60px;
  min-width: 60px;
  height: 36px;
  place-items: center;
  border-radius: 6px;
  padding: 0;
  border: 0;
  box-shadow: none;
  overflow: hidden;
  font-size: 0.86rem;
  font-weight: 950;
  line-height: 1;
  letter-spacing: -0.03em;
}

.card-brand-logo--visa {
  color: #ffffff;
  background: #1434CB;
  font-style: italic;
  font-size: 1rem;
  letter-spacing: -0.07em;
}

.card-brand-logo--mastercard {
  width: 60px;
  min-width: 60px;
  height: 36px;
  color: transparent;
  background: #111827;
  font-size: 0;
}

.card-brand-logo--mastercard::before,
.card-brand-logo--mastercard::after {
  content: "";
  position: absolute;
  top: 8px;
  width: 20px;
  height: 20px;
  border-radius: 50%;
}

.card-brand-logo--mastercard::before {
  left: 14px;
  background: #EB001B;
}

.card-brand-logo--mastercard::after {
  left: 26px;
  background: #F79E1B;
}

.card-brand-logo--amex,
.card-brand-logo--american_express {
  color: #ffffff;
  background: #0077A6;
  font-size: .82rem;
  letter-spacing: -0.06em;
  text-shadow: 0 1px 0 rgba(0, 0, 0, .18);
}

.card-brand-logo--discover {
  color: #ffffff;
  background: linear-gradient(90deg, #111827 0%, #1f2937 40%, #f97316 100%);
  font-size: .72rem;
}

.card-brand-logo--jcb {
  color: #ffffff;
  background: linear-gradient(90deg, #0b5cab 0 33%, #11a15b 33% 66%, #d9232e 66% 100%);
  font-size: .8rem;
}

.card-brand-logo--unknown {
  color: rgba(255, 255, 255, .74);
  background: rgba(255, 255, 255, .10);
  border: 1px solid rgba(255, 255, 255, .12);
  font-size: .72rem;
}

.stripe-last4 {
  font-size: .96rem;
}

@media (max-width: 620px) {
  .stripe-info-list li {
    display: grid !important;
    grid-template-columns: 1fr;
    gap: .28rem;
  }

  .stripe-info-list li>strong,
  .stripe-info-list li>code {
    max-width: 100%;
    text-align: left;
    margin-left: 0;
  }
}


/* === Refund detail + filter polish === */

.stripe-refund-list {
  margin-top: 1rem;
  padding: .9rem .95rem .85rem;
  border: 1px solid rgba(151, 117, 250, .72);
  border-radius: 16px;
  background:
    linear-gradient(145deg, rgba(151, 117, 250, .105), rgba(255, 255, 255, .04)),
    rgba(255, 255, 255, .035);
}

.stripe-refund-title {
  margin-bottom: .55rem;
  color: #d9c7ff;
  font-size: .72rem;
  font-weight: 950;
  letter-spacing: .09em;
  text-transform: uppercase;
}

.stripe-refund-list ul {
  display: grid;
  gap: 0;
  margin: 0;
  padding: 0;
  list-style: none;
}

.stripe-refund-list li {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
  padding: .55rem 0;
  border-top: 1px solid rgba(255, 255, 255, .07);
}

.stripe-refund-list li:first-child {
  border-top: 0;
}

.stripe-refund-list span {
  color: rgba(255, 255, 255, .54);
  font-size: .71rem;
  font-weight: 950;
  letter-spacing: .075em;
  text-transform: uppercase;
}

.stripe-refund-list strong,
.stripe-refund-list code {
  margin-left: auto;
  max-width: 68%;
  color: rgba(255, 255, 255, .94);
  text-align: right;
  overflow-wrap: anywhere;
}

.stripe-refund-list code {
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: .8rem;
}

/* Keep all filters in one line when space allows */
.filters-panel-inline,
.filters-panel {
  display: flex;
  align-items: center;
  gap: .75rem;
  flex-wrap: wrap;
}

.filters-panel .searchbox {
  flex: 1 1 260px;
  min-width: 240px;
}

.filters-panel .select-field {
  flex: 0 0 190px;
  min-width: 170px;
}

.filters-panel .payment-filter-field {
  flex-basis: 180px;
}

/* Restore dropdown chevron */
.select-field {
  position: relative;
}

.select-field::after {
  content: "";
  position: absolute;
  right: 1rem;
  top: 50%;
  width: .48rem;
  height: .48rem;
  pointer-events: none;
  border-right: 2px solid rgba(255, 255, 255, .74);
  border-bottom: 2px solid rgba(255, 255, 255, .74);
  transform: translateY(-65%) rotate(45deg);
}

.select-field select,
.brand-select {
  appearance: none;
  -webkit-appearance: none;
  padding-right: 2.4rem !important;
}

@media (max-width: 760px) {

  .filters-panel .searchbox,
  .filters-panel .select-field,
  .filters-panel .payment-filter-field {
    flex: 1 1 100%;
  }

  .stripe-refund-list li {
    display: grid;
    grid-template-columns: 1fr;
    gap: .25rem;
  }

  .stripe-refund-list strong,
  .stripe-refund-list code {
    max-width: 100%;
    text-align: left;
    margin-left: 0;
  }
}


/* === Premium admin UX: participant cell, drawer, status, animations === */
:root {
  --ease-premium: cubic-bezier(.2, .8, .2, 1);
}

button,
.stat-card,
.category-card,
.table-card,
.filters-panel,
.detail-section,
.drawer-panel,
.badge,
.payment-badge,
tbody tr,
input,
select {
  transition: background .18s var(--ease-premium), border-color .18s var(--ease-premium),
    box-shadow .18s var(--ease-premium), transform .18s var(--ease-premium), opacity .18s var(--ease-premium);
}

button:hover,
.category-card:hover,
.stat-card:hover {
  transform: translateY(-1px);
}

tbody tr {
  cursor: pointer;
}

tbody tr:hover {
  background: rgba(255, 255, 255, .035);
}

tbody tr:nth-child(even) {
  background: rgba(255, 255, 255, .012);
}

tbody tr:nth-child(even):hover {
  background: rgba(255, 255, 255, .04);
}

.participant-cell {
  display: grid;
  gap: .18rem;
  min-width: 210px;
}

.participant-cell strong {
  color: #fff;
  font-size: .94rem;
  font-weight: 950;
  letter-spacing: -.02em;
  line-height: 1.15;
}

.participant-cell span {
  color: rgba(255, 255, 255, .58);
  font-size: .78rem;
  font-weight: 760;
  line-height: 1.2;
}

.participant-cell small {
  color: rgba(138, 234, 27, .78);
  font-size: .72rem;
  font-weight: 850;
  line-height: 1.2;
}

.badge,
.payment-badge {
  min-width: 104px;
  justify-content: center;
  font-size: .72rem;
  font-weight: 950;
  letter-spacing: .035em;
  white-space: nowrap;
}

.badge.waitlist {
  color: #c9f6ff;
  background: rgba(58, 221, 255, .16);
  border-color: rgba(58, 221, 255, .32);
}

.badge.cancelled {
  color: #ffdce3;
  background: rgba(255, 95, 118, .20);
  border-color: rgba(255, 95, 118, .34);
}

.badge.extraordinary {
  color: #fff0be;
  background: rgba(255, 209, 102, .22);
  border-color: rgba(255, 209, 102, .34);
}

.drawer-profile-head {
  padding: 0 .15rem;
}

.drawer-profile-head h2 {
  margin-top: .35rem;
}

.premium-detail-section {
  position: relative;
  padding-top: 1.05rem;
}

.premium-detail-section h3 {
  display: flex;
  align-items: center;
  gap: .65rem;
  color: rgba(255, 255, 255, .58);
  font-size: .72rem;
  letter-spacing: .12em;
  text-transform: uppercase;
}

.premium-detail-section h3::before {
  content: "";
  width: .42rem;
  height: .42rem;
  border-radius: 999px;
  background: var(--green);
  box-shadow: 0 0 0 4px rgba(138, 234, 27, .10);
}

.premium-detail-section h3::after {
  content: "";
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--green));
}

.detail-row {
  align-items: start;
}

.detail-row span:first-child {
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .055em;
  text-transform: uppercase;
}

.detail-row span:last-child {
  text-align: right;
  overflow-wrap: anywhere;
}

.drawer:not(.hidden) .drawer-panel {
  animation: drawerSlideIn .22s var(--ease-premium) both;
}

@keyframes drawerSlideIn {
  from {
    opacity: 0;
    transform: translateX(18px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@media (max-width: 760px) {

  .badge,
  .payment-badge {
    min-width: auto;
  }

  .detail-row {
    grid-template-columns: 1fr;
    gap: .25rem;
  }

  .detail-row span:last-child {
    text-align: left;
  }
}


/* === Table point 5 fixed === */
.participant-cell {
  display: grid;
  gap: .18rem;
  min-width: 230px;
}

.participant-cell strong {
  color: #fff;
  font-size: .94rem;
  font-weight: 950;
  letter-spacing: -.02em;
  line-height: 1.15;
}

.participant-cell span {
  color: rgba(255, 255, 255, .58);
  font-size: .78rem;
  font-weight: 760;
  line-height: 1.2;
}

.participant-cell small {
  color: rgba(138, 234, 27, .78);
  font-size: .72rem;
  font-weight: 850;
  line-height: 1.2;
}

@media (max-width: 900px) {
  .participant-cell {
    min-width: 190px;
  }
}


/* === Final polish requested === */

.sort-th {
  display: inline-flex;
  align-items: center;
  gap: .38rem;
  padding: 0;
  min-height: auto;
  color: inherit;
  background: transparent;
  border: 0;
  box-shadow: none;
  font: inherit;
  text-transform: inherit;
}

.sort-th:hover {
  transform: none;
  color: #ffffff;
}

.sort-th span {
  width: .38rem;
  height: .38rem;
  border-right: 2px solid rgba(138, 234, 27, .78);
  border-bottom: 2px solid rgba(138, 234, 27, .78);
  transform: rotate(45deg) translateY(-1px);
  opacity: .75;
}

select,
.brand-select {
  background-image: none !important;
}

.select-field::after {
  border-right-color: rgba(138, 234, 27, .92) !important;
  border-bottom-color: rgba(138, 234, 27, .92) !important;
  filter: drop-shadow(0 0 6px rgba(138, 234, 27, .24));
}

.drawer-summary-pills {
  display: flex;
  flex-wrap: wrap;
  gap: .45rem;
  margin: .85rem 0 .15rem;
}

.drawer-summary-pills span {
  display: inline-flex;
  align-items: center;
  min-height: 28px;
  padding: .28rem .62rem;
  border-radius: 999px;
  color: rgba(255, 255, 255, .86);
  background: rgba(255, 255, 255, .075);
  border: 1px solid rgba(255, 255, 255, .12);
  font-size: .72rem;
  font-weight: 900;
  letter-spacing: .035em;
}

.premium-detail-section h3 {
  color: var(--green) !important;
}

.premium-detail-section {
  animation: sectionFadeUp .28s var(--ease-premium, cubic-bezier(.2, .8, .2, 1)) both;
}

.premium-detail-section:nth-of-type(2) {
  animation-delay: .025s;
}

.premium-detail-section:nth-of-type(3) {
  animation-delay: .05s;
}

.premium-detail-section:nth-of-type(4) {
  animation-delay: .075s;
}

.premium-detail-section:nth-of-type(5) {
  animation-delay: .1s;
}

@keyframes sectionFadeUp {
  from {
    opacity: 0;
    transform: translateY(7px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.premium-detail-section:hover {
  border-color: rgba(138, 234, 27, .22);
  background: rgba(255, 255, 255, .082);
}

/* Solid status badges */
.badge.confirmed {
  color: #06113b !important;
  background: #8aea1b !important;
  border-color: rgba(138, 234, 27, .95) !important;
}

.badge.waitlist {
  color: #031426 !important;
  background: #3addff !important;
  border-color: rgba(58, 221, 255, .95) !important;
}

.badge.extraordinary {
  color: #281b00 !important;
  background: #ffd166 !important;
  border-color: rgba(255, 209, 102, .95) !important;
}

.badge.cancelled {
  color: #ffffff !important;
  background: #ff5f76 !important;
  border-color: rgba(255, 95, 118, .95) !important;
}

/* Payment badge contrast/glow */
.payment-badge.paid {
  box-shadow: 0 0 0 1px rgba(58, 221, 255, .28), 0 0 18px rgba(58, 221, 255, .12);
}

.payment-badge.refunded {
  box-shadow: 0 0 0 1px rgba(151, 117, 250, .28), 0 0 18px rgba(151, 117, 250, .13);
}

.payment-badge.pending {
  box-shadow: 0 0 0 1px rgba(255, 209, 102, .24), 0 0 18px rgba(255, 209, 102, .10);
}

/* Participant age/location separation */
.participant-cell small {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  flex-wrap: wrap;
}

.participant-cell small em {
  display: inline-flex;
  align-items: center;
  min-height: 20px;
  padding: .12rem .42rem;
  border-radius: 999px;
  color: #06113b;
  background: rgba(138, 234, 27, .92);
  font-style: normal;
  font-size: .66rem;
  font-weight: 950;
  letter-spacing: .025em;
}

.participant-cell small b {
  color: rgba(255, 255, 255, .60);
  font-weight: 800;
}

.table-card:hover,
.filters-panel:hover {
  border-color: rgba(255, 255, 255, .16);
}

tbody tr:hover .participant-cell strong {
  color: var(--green);
}

tbody tr:hover {
  transform: translateY(-1px);
}



/* === Admin visual polish requested === */

/* Participante: edad outline green / ciudad green */
.participant-cell small {
  display: inline-flex;
  align-items: center;
  gap: .45rem;
  flex-wrap: wrap;
}

.participant-cell small em {
  display: inline-flex;
  align-items: center;
  min-height: 20px;
  padding: .12rem .46rem;
  border-radius: 999px;
  color: var(--green);
  background: transparent;
  border: 1px solid rgba(138, 234, 27, .72);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, .10);
  font-style: normal;
  font-size: .66rem;
  font-weight: 950;
  letter-spacing: .025em;
}

.participant-cell small b {
  color: var(--green);
  font-weight: 900;
}

/* Detalle top: carrera · status · pago, sin cápsulas */
.drawer-summary-pills {
  display: none !important;
}

.drawer-summary-line {
  margin: .45rem 0 .9rem;
  color: rgba(255, 255, 255, .76);
  font-size: .84rem;
  font-weight: 900;
  letter-spacing: .025em;
}

/* Stripe: link arriba de la lista, alineado a la derecha */
.stripe-dashboard-link-row {}

.stripe-dashboard-link:hover {
  color: #ffffff;
  border-bottom-color: #ffffff;
}

/* Evita link inferior si algún CSS previo lo empuja */
.stripe-hybrid-card>.stripe-dashboard-link {
  display: none !important;
}

/* Export CSV estilo select verde sólido con texto azul */
.export-green-select,
#exportCsvBtn {
  min-height: 44px;
  border-radius: 14px !important;
  border: 1px solid rgba(138, 234, 27, .92) !important;
  background: var(--green) !important;
  color: var(--blue-extra-dark, #000062) !important;
  font-weight: 950 !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .35),
    0 12px 26px rgba(138, 234, 27, .18) !important;
}

#exportCsvBtn::after {
  border-right-color: var(--blue-extra-dark, #000062) !important;
  border-bottom-color: var(--blue-extra-dark, #000062) !important;
}

.export-green-menu,
#exportMenu {
  border: 1px solid rgba(138, 234, 27, .32) !important;
  background:
    linear-gradient(145deg, rgba(138, 234, 27, .14), rgba(255, 255, 255, .06)),
    rgba(0, 0, 60, .92) !important;
  box-shadow: 0 20px 48px rgba(0, 0, 0, .28) !important;
}

#exportMenu button,
.export-green-menu button {
  color: #ffffff !important;
}

#exportMenu button:hover,
.export-green-menu button:hover {
  color: var(--blue-extra-dark, #000062) !important;
  background: var(--green) !important;
}


/* === Archive42 fixes: solid CSV select, no sort UI, premium animations === */

/* Remove any lingering sort UI styling */
.sort-th {
  all: unset;
}

/* CSV export select: solid green, blue text, single aligned arrow */
.export-solid-control,
.export-control {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.export-solid-control::after,
.export-control::after {
  content: "";
  position: absolute;
  right: 1.05rem;
  top: 50%;
  width: .48rem;
  height: .48rem;
  pointer-events: none;
  border-right: 2px solid #06113b;
  border-bottom: 2px solid #06113b;
  transform: translateY(-62%) rotate(45deg);
  filter: none;
  z-index: 2;
}

.export-solid-select,
#exportMode.export-select,
.export-select {
  appearance: none !important;
  -webkit-appearance: none !important;
  min-width: 220px !important;
  height: 46px !important;
  padding: 0 2.8rem 0 1rem !important;
  border-radius: 999px !important;
  border: 1px solid rgba(138, 234, 27, .95) !important;
  color: #06113b !important;
  background: #8aea1b !important;
  background-image: none !important;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .38),
    0 16px 34px rgba(138, 234, 27, .22) !important;
  font-weight: 950 !important;
  letter-spacing: .01em;
  cursor: pointer;
}

.export-solid-select:hover,
#exportMode.export-select:hover,
.export-select:hover {
  transform: translateY(-1px);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .45),
    0 20px 42px rgba(138, 234, 27, .30) !important;
}

.export-solid-select:focus,
#exportMode.export-select:focus,
.export-select:focus {
  outline: none;
  border-color: #d8ff91 !important;
  box-shadow:
    0 0 0 4px rgba(138, 234, 27, .18),
    0 18px 40px rgba(138, 234, 27, .28) !important;
}

.export-solid-select option,
#exportMode.export-select option,
.export-select option {
  color: #06113b;
  background: #ffffff;
  font-weight: 850;
}

/* Premium animations: visible but elegant */
:root {
  --ease-premium: cubic-bezier(.2, .8, .2, 1);
}

@keyframes premiumFadeUp {
  from {
    opacity: 0;
    transform: translateY(12px) scale(.992);
    filter: blur(2px);
  }

  to {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

@keyframes premiumSlideIn {
  from {
    opacity: 0;
    transform: translateX(22px) scale(.992);
    filter: blur(2px);
  }

  to {
    opacity: 1;
    transform: translateX(0) scale(1);
    filter: blur(0);
  }
}

@keyframes premiumGlowPulse {

  0%,
  100% {
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, .11),
      0 26px 80px var(--shadow);
  }

  50% {
    box-shadow:
      inset 0 1px 0 rgba(255, 255, 255, .16),
      0 26px 80px var(--shadow),
      0 0 0 1px rgba(138, 234, 27, .08);
  }
}

.topbar,
.category-card,
.filters-panel,
.table-card,
.pagination {
  animation: premiumFadeUp .42s var(--ease-premium) both;
}

.topbar {
  animation-delay: .02s;
}

.category-card:nth-child(1) {
  animation-delay: .06s;
}

.category-card:nth-child(2) {
  animation-delay: .10s;
}

.category-card:nth-child(3) {
  animation-delay: .14s;
}

.category-card:nth-child(4) {
  animation-delay: .18s;
}

.filters-panel {
  animation-delay: .20s;
}

.table-card {
  animation-delay: .24s;
}

.category-card,
.table-card,
.filters-panel,
.topbar,
.drawer-panel,
button,
select,
.badge,
.payment-badge,
tbody tr {
  transition:
    transform .2s var(--ease-premium),
    box-shadow .2s var(--ease-premium),
    border-color .2s var(--ease-premium),
    background .2s var(--ease-premium),
    opacity .2s var(--ease-premium),
    color .2s var(--ease-premium);
}

.category-card:hover,
.table-card:hover,
.filters-panel:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 255, 255, .18);
}

.category-card:hover {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, .16),
    0 28px 70px rgba(0, 0, 0, .22),
    0 0 0 1px rgba(138, 234, 27, .10);
}

tbody tr {
  transform-origin: center;
}

tbody tr:hover {
  transform: translateY(-1px);
  background: rgba(255, 255, 255, .045) !important;
}

tbody tr:hover .participant-name,
tbody tr:hover .participant-cell strong {
  color: var(--green);
}

.drawer:not(.hidden) .drawer-panel,
.config-drawer:not(.hidden) .drawer-panel {
  animation: premiumSlideIn .26s var(--ease-premium) both;
}

.detail-section,
.premium-detail-section,
.stripe-hybrid-card {
  animation: premiumFadeUp .30s var(--ease-premium) both;
}

.detail-section:nth-of-type(2) {
  animation-delay: .03s;
}

.detail-section:nth-of-type(3) {
  animation-delay: .06s;
}

.detail-section:nth-of-type(4) {
  animation-delay: .09s;
}

.detail-section:nth-of-type(5) {
  animation-delay: .12s;
}

.badge:hover,
.payment-badge:hover {
  transform: translateY(-1px);
}

button:hover {
  transform: translateY(-1px);
}

@media (prefers-reduced-motion: reduce) {

  *,
  *::before,
  *::after {
    animation-duration: .001ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: .001ms !important;
  }
}

.payment-badge.exempt {
  color: #06113b;
  background: #8aea1b;
  border-color: rgba(138, 234, 27, .85);
  box-shadow: 0 0 0 1px rgba(138, 234, 27, .25), 0 0 18px rgba(138, 234, 27, .12)
}



.payment-exempt-section {
  border-color: rgba(159, 238, 255, .28) !important;
  background:
    radial-gradient(circle at top left, rgba(159, 238, 255, .16), transparent 42%),
    linear-gradient(145deg, rgba(138, 234, 27, .09), rgba(255, 255, 255, .05)),
    rgba(255, 255, 255, .055) !important;
}

.payment-exempt-header {
  display: flex;
  align-items: center;
  gap: .85rem;
  margin-bottom: 1rem;
}

.payment-exempt-mark {
  display: inline-grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 16px;
  color: #06113b;
  background: linear-gradient(135deg, #9feeff, #8aea1b);
  font-weight: 950;
  box-shadow: 0 14px 32px rgba(159, 238, 255, .14);
}

.payment-exempt-header h3 {
  margin: 0;
  color: #9feeff;
}

.payment-exempt-header p {
  margin: .18rem 0 0;
  color: rgba(255, 255, 255, .62);
  font-size: .84rem;
  font-weight: 750;
}

.payment-exempt-list {
  margin-top: .65rem;
}


/* === Clean payment filters + payment badges === */

.payment-badge.refunded {
  color: #d9c7ff !important;
  background: transparent !important;
  border: 1px solid rgba(151, 117, 250, .72) !important;
  box-shadow:
    0 0 0 1px rgba(151, 117, 250, .18),
    0 0 18px rgba(151, 117, 250, .12) !important;
}

.payment-badge.exempt {
  color: var(--green) !important;
  background: transparent !important;
  border: 1px solid rgba(138, 234, 27, 0.67) !important;
  box-shadow:
    0 0 0 1px rgba(159, 238, 255, .20),
    0 0 18px rgba(159, 238, 255, .13) !important;
}

.payment-exempt-section {
  border-color: rgba(159, 238, 255, .28) !important;
  background:
    radial-gradient(circle at top left, rgba(159, 238, 255, .13), transparent 42%),
    linear-gradient(145deg, rgba(138, 234, 27, .065), rgba(255, 255, 255, .045)),
    rgba(255, 255, 255, .052) !important;
}

.payment-exempt-header {
  display: flex;
  align-items: center;
  gap: .85rem;
  margin-bottom: 1rem;
}

.payment-exempt-mark {
  display: inline-grid;
  width: 46px;
  height: 46px;
  place-items: center;
  border-radius: 16px;
  color: #06113b;
  background: linear-gradient(135deg, #9feeff, #8aea1b);
  font-weight: 950;
  box-shadow: 0 14px 32px rgba(159, 238, 255, .14);
}

.payment-exempt-header h3 {
  margin: 0;
  color: #9feeff;
}

.payment-exempt-header p {
  margin: .18rem 0 0;
  color: rgba(255, 255, 255, .62);
  font-size: .84rem;
  font-weight: 750;
}

.cancellation-source-row {
  border-left: 2px solid rgba(159,238,255,.58);
  padding-left: .75rem !important;
  background: linear-gradient(90deg, rgba(159,238,255,.07), transparent);
}

.cancellation-source-row strong {
  color: #9feeff;
}


/* === Drawer: detalle de cancelación === */
.drawer-cancellation-detail {
  border-color: rgba(209, 59, 59, .24) !important;
  background:
    linear-gradient(135deg, rgba(209, 59, 59, .08), rgba(255, 255, 255, .035)),
    rgba(255, 255, 255, .045) !important;
}

.drawer-cancellation-head {
  display: flex;
  align-items: flex-start;
  gap: .7rem;
  margin-bottom: .9rem;
}

.drawer-cancellation-dot {
  display: inline-block;
  flex: 0 0 10px;
  width: 10px;
  height: 10px;
  margin-top: .38rem;
  border-radius: 999px;
  background: #ff6d6d;
  box-shadow: 0 0 14px rgba(255, 109, 109, .35);
}

.drawer-cancellation-head h3 {
  margin: 0;
  color: #ff8e8e;
}

.drawer-cancellation-head p {
  margin: .18rem 0 0;
  color: rgba(255, 255, 255, .68);
  font-size: .82rem;
  font-weight: 700;
}

.drawer-cancellation-detail .stripe-info-list strong {
  text-align: right;
}
