/* ============================================================================
   wow-css/group_participant_panel.css
   Participant panel for group purchase.
   ========================================================================== */
.wow-group-participant-panel {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: none;
}

.wow-group-participant-panel.is-open {
  display: block;
}

.wow-group-participant-panel--modal.is-open {
  display: grid;
  place-items: center;
}

.wow-group-participant-panel__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(12, 14, 18, 0.6);
}

.wow-group-participant-panel__panel {
  position: absolute;
  top: 0;
  right: 0;
  height: 100%;
  width: min(520px, 92vw);
  background: #111418;
  color: #f5f5f5;
  font-family: var(--wow-font-family, 'Assistant', sans-serif);
  display: flex;
  flex-direction: column;
  box-shadow: -16px 0 40px rgba(0, 0, 0, 0.3);
  transform: translateX(100%);
  transition: transform 0.24s ease;
}

.wow-group-participant-panel.is-open .wow-group-participant-panel__panel {
  transform: translateX(0);
}

.wow-group-participant-panel--modal .wow-group-participant-panel__panel {
  position: relative;
  top: auto;
  right: auto;
  left: auto;
  height: min(90vh, 920px);
  width: min(960px, 92vw);
  border-radius: 12px;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5);
  transform: scale(0.98);
  opacity: 0;
  transition: transform 0.24s ease, opacity 0.24s ease;
}

.wow-group-participant-panel--modal.is-open .wow-group-participant-panel__panel {
  transform: scale(1);
  opacity: 1;
}

.wow-group-participant-panel__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 22px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
}

.wow-group-participant-panel__heading {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.wow-group-participant-panel__title {
  font-size: 20px;
  font-weight: 700;
}

.wow-group-participant-panel__subtitle {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
}

.wow-group-participant-panel__close {
  border: none;
  background: transparent;
  color: #fff;
  font-size: 20px;
  cursor: pointer;
}

.wow-group-participant-panel__body {
  display: flex;
  flex-direction: column;
  gap: 18px;
  padding: 22px;
  overflow-y: auto;
}

.wow-group-participant-panel__section {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  padding: 16px 18px;
  background: rgba(255, 255, 255, 0.02);
}

.wow-group-participant-panel__section-title {
  font-size: 14px;
  font-weight: 700;
  margin-bottom: 10px;
  text-align: right;
}

.wow-group-participant-panel__section-body {
  display: flex;
  flex-direction: column;
  gap: 10px;
  text-align: right;
  font-size: 14px;
  color: rgba(255, 255, 255, 0.82);
}

.wow-group-participant-panel__line {
  margin: 0;
  line-height: 1.6;
}

.wow-group-participant-panel__line--strong {
  font-weight: 700;
}

.wow-group-participant-panel__line--note-title {
  color: #ffbf00;
  font-weight: 700;
}

.wow-group-participant-panel__state {
  font-weight: 700;
}

.wow-group-participant-panel__state--campaign {
  color: #ffbf00;
}

.wow-group-participant-panel__state--fail {
  color: #ff0000;
}

.wow-group-participant-panel__state--ended,
.wow-group-participant-panel__state--success {
  color: #39b56a;
}

.wow-group-participant-panel__divider {
  height: 1px;
  background: rgba(255, 255, 255, 0.18);
  margin: 6px 0;
}

.wow-group-participant-panel__note {
  color: rgba(255, 255, 255, 0.65);
  font-size: 13px;
}

.wow-group-participant-panel__missing {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
}

.wow-group-participant-panel__action-btn {
  align-self: flex-start;
  margin-top: 6px;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 4px;
  padding: 10px 14px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.12s ease;
}

.wow-group-participant-panel__action-btn--success {
  border-color: rgba(57, 181, 106, 0.8);
  color: #d9ffe7;
}

.wow-group-participant-panel__action-btn:hover {
  background: rgba(255, 255, 255, 0.16);
}

.wow-group-participant-panel__action-btn--success:hover {
  background: rgba(57, 181, 106, 0.18);
}

.wow-group-participant-panel__action-btn:active {
  transform: translateY(1px);
}

.wow-group-participant-panel__participation {
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  padding: 12px;
  background: rgba(255, 255, 255, 0.02);
}

.wow-group-participant-panel__participation-title {
  font-weight: 700;
  font-size: 14px;
  margin-bottom: 6px;
}

.wow-group-participant-panel__participation-name {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 10px;
}

.wow-group-participant-panel__cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 10px;
}

.wow-group-participant-panel__card {
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 4px;
  padding: 12px;
  background: rgba(0, 0, 0, 0.35);
  display: flex;
  flex-direction: column;
  gap: 10px;
  align-items: center;
  text-align: center;
}

.wow-group-participant-panel__card-title {
  font-weight: 700;
  font-size: 14px;
}

.wow-group-participant-panel__card-qr {
  width: 120px;
  height: 120px;
  background: #f5f5f5;
  color: #111;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 11px;
  border-radius: 4px;
  padding: 8px;
  word-break: break-word;
}

.wow-group-participant-panel__status {
  margin: 12px 22px 20px;
  font-size: 13px;
  text-align: right;
  color: rgba(255, 255, 255, 0.7);
}

.wow-group-participant-panel__ticket-row {
  margin: 10px 0 16px;
  padding: 10px;
  border-radius: 4px;
  border: 1px solid rgba(57, 181, 106, 0.6);
  background: #0b0b0b;
}

.wow-group-participant-panel__voucher-row {
  margin: 10px 0 16px;
  padding: 10px;
  border-radius: 4px;
  border: 1px solid rgba(57, 181, 106, 0.6);
  background: #0b0b0b;
  display: grid;
  gap: 12px;
}

.wow-group-participant-panel__order-card {
  margin: 10px 0 16px;
}

.wow-group-participant-panel__order-card-inner {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.04);
  display: grid;
  gap: 8px;
  position: relative;
}

.wow-group-participant-panel__order-close {
  position: absolute;
  top: 6px;
  left: 8px;
  border: none;
  background: transparent;
  color: rgba(255, 255, 255, 0.7);
  font-size: 16px;
  cursor: pointer;
}

.wow-group-participant-panel__order-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
}

.wow-group-participant-panel__order-label {
  color: rgba(255, 255, 255, 0.65);
}

.wow-group-participant-panel__order-value {
  font-weight: 600;
  text-align: right;
}

.wow-group-participant-panel__participation-info {
  margin: 10px 0 16px;
}

.wow-group-participant-panel__participation-info-card {
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 6px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.04);
  display: grid;
  gap: 8px;
}

.wow-group-participant-panel__participation-info-row {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  font-size: 13px;
}

.wow-group-participant-panel__participation-info-label {
  color: rgba(255, 255, 255, 0.65);
}

.wow-group-participant-panel__participation-info-value {
  font-weight: 600;
  text-align: right;
}

.wow-group-participant-panel__mock-card {
  display: grid;
  gap: 8px;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.18);
}

.wow-group-participant-panel__mock-ticket,
.wow-group-participant-panel__mock-voucher {
  display: grid;
  gap: 6px;
}

.wow-group-participant-panel__mock-title {
  font-weight: 700;
}

.wow-group-participant-panel__mock-subtitle,
.wow-group-participant-panel__mock-meta {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.7);
}

.wow-group-participant-panel__mock-qr {
  width: 92px;
  height: 92px;
  border-radius: 6px;
  background: #ffffff;
  display: grid;
  place-items: center;
}

.wow-group-participant-panel__mock-qr img {
  width: 84px;
  height: 84px;
  display: block;
}

.wow-group-participant-panel__modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.65);
  display: grid;
  place-items: center;
  z-index: 10020;
}

.wow-group-participant-panel__modal {
  width: min(520px, 90vw);
  background: #121212;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 12px;
  padding: 20px 22px 18px;
  color: #fff;
  display: grid;
  gap: 12px;
  position: relative;
}

.wow-group-participant-panel__modal-close {
  position: absolute;
  top: 10px;
  left: 10px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  font-size: 18px;
  cursor: pointer;
}

.wow-group-participant-panel__modal-title {
  font-size: 18px;
  font-weight: 700;
}

.wow-group-participant-panel__modal-hint {
  color: rgba(255, 255, 255, 0.7);
  font-size: 13px;
}

.wow-group-participant-panel__modal-input {
  width: 100%;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: #0f0f0f;
  color: #fff;
  padding: 10px 12px;
}

.wow-group-participant-panel__modal-note {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.65);
  line-height: 1.4;
}

.wow-group-participant-panel__modal-error {
  font-size: 12px;
  color: #ffb8b8;
  min-height: 16px;
}

.wow-group-participant-panel__modal-action {
  border-radius: 8px;
  border: 1px solid #ff7a00;
  background: linear-gradient(135deg, #ff7a00, #ff3d00);
  color: #fff;
  padding: 10px 14px;
  font-weight: 700;
  cursor: pointer;
}

.wow-group-participant-panel__modal-action:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.wow-group-participant-panel .wow-status-strip {
  background: #0b0b0b;
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.wow-group-participant-panel .wow-status-strip__label,
.wow-group-participant-panel .wow-status-strip__progress-label {
  color: rgba(255, 255, 255, 0.7);
}

.wow-group-participant-panel .wow-status-strip__value,
.wow-group-participant-panel .wow-status-strip__percent-value {
  color: #ffffff;
}

.wow-group-participant-panel .wow-status-strip__divider {
  background: rgba(255, 255, 255, 0.2);
}

.wow-group-participant-panel .wow-status-strip__progress-base {
  background: rgba(255, 255, 255, 0.16);
}

.wow-group-participant-panel .wow-status-strip__progress-fill {
  background: linear-gradient(90deg, #ffeb9b, #ffbf00);
}

.wow-group-participant-panel .wow-status-strip--success .wow-status-strip__progress-fill {
  background: linear-gradient(90deg, #1a801a, #7ed957);
}

.wow-group-participant-panel .wow-status-strip--fail {
  border-color: #868585;
}

.wow-group-participant-panel .wow-status-strip--fail .wow-status-strip__divider {
  background: #868585;
}

.wow-group-participant-panel .wow-status-strip--fail .wow-status-strip__progress-fill {
  background: linear-gradient(90deg, #4d4d4d, #868585);
}

.wow-group-participant-panel .wow-strip-table--fail {
  --wow-strip-header-border: #868585;
  --wow-strip-cell-divider: rgba(134, 133, 133, 0.6);
  --wow-strip-tone-fresh-start: #868585;
  --wow-strip-tone-fresh-end: #868585;
}

.wow-group-participant-panel .wow-strip-table--fail .wow-strip-row__label {
  color: rgba(255, 255, 255, 0.85);
}

@media (max-width: 720px) {
  .wow-group-participant-panel__panel {
    width: 100%;
  }
  .wow-group-participant-panel__card-qr {
    width: 100px;
    height: 100px;
  }
}
