.eventbrite-link {
  font-size: 12px;
  color: #fff;
}

.eventbrite-link a {
  color: #9f00eb;
}

/* Static ticket type field styling */
.nv-event-form .ticket-static {
  background: #000 !important;
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #fff;
  pointer-events: none;
  /* disables click */
  cursor: default;
}

.nv-event-form .ticket-static:focus {
  outline: none;
  box-shadow: none;
}

.nv-event-form .invalid-feedback {
  color: #e53935;
  font-size: 0.75rem;
  margin-top: 4px;
  display: none;
}

.nv-event-form .is-invalid {
  border-color: #e53935 !important;
  box-shadow: 0 0 0 0.2rem rgba(229, 57, 53, 0.25);
}

.nv-event-form label {
  color: #fff;
  font-weight: 600;
  font-size: 0.9rem;
}

/* Base fields */
.nv-event-form input,
.nv-event-form select,
.nv-event-form textarea {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: #fff;
  border-radius: 8px;
  transition: all 0.25s ease;
}

/* Placeholder */
.nv-event-form input::placeholder,
.nv-event-form textarea::placeholder {
  color: rgba(255, 255, 255, 0.4);
}

/* Focus/Active state */
.nv-event-form input:focus,
.nv-event-form select:focus,
.nv-event-form textarea:focus {
  background: #000;
  border-color: #9f00eb;
  box-shadow: 0 0 0 0.25rem rgba(159, 0, 235, 0.25);
  outline: none;
  color: #fff;
}

/* Dropdown menu (for selects on focus/open) */
.nv-event-form select option {
  background: #000;
  color: #fff;
}

/* Invalid fields */
.nv-event-form .is-invalid {
  background: #000 !important;
  border-color: #e53935 !important;
  box-shadow: 0 0 0 0.2rem rgba(229, 57, 53, 0.25);
}

/* Stripe Card Element wrapper styling */
#card-element {
  border: 2px solid rgba(159, 0, 235, 0.3);
  border-radius: 8px;
  padding: 14px;
  background: rgba(0, 0, 0, 0.6);
  transition: all 0.3s ease;
  min-height: 44px;
  position: relative;
}

#card-element::before {
  content: "Card Number";
  position: absolute;
  top: -10px;
  left: 12px;
  background: #1a1a1a;
  padding: 0 8px;
  font-size: 12px;
  color: rgba(159, 0, 235, 0.8);
  font-weight: 500;
  letter-spacing: 0.5px;
}

#card-element.StripeElement--focus {
  border-color: #9f00eb;
  box-shadow: 0 0 0 0.25rem rgba(159, 0, 235, 0.25);
  background: #000;
}

#card-element.StripeElement--focus::before {
  color: #9f00eb;
}

#card-element.StripeElement--invalid {
  border-color: #e53935;
  box-shadow: 0 0 0 0.2rem rgba(229, 57, 53, 0.25);
}

#card-element.StripeElement--complete {
  border-color: rgba(76, 175, 80, 0.6);
}

.nv-event-form .btn-primary {
  background-color: #9f00eb !important;
  background-image: none !important;
  border: none !important;
  border-color: #9f00eb !important;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1.05rem;
  padding: 0.75rem 1.5rem;
  transition: background 0.3s ease;
  color: #fff !important;
  box-shadow: none !important;
}

/* Override Bootstrap default active states globally for btn-primary inside form */
.btn-primary:not(:disabled):not(.disabled).active,
.btn-primary:not(:disabled):not(.disabled):active,
.show > .btn-primary.dropdown-toggle,
.nv-event-form .btn-primary:hover,
.nv-event-form .btn-primary:focus,
.nv-event-form .btn-primary:active,
.nv-event-form .btn-primary:visited,
.nv-event-form .btn-primary.active,
.nv-event-form .btn-primary:not(:disabled):not(.disabled):active,
.nv-event-form .btn-primary:not(:disabled):not(.disabled).active,
.nv-event-form .show > .btn-primary.dropdown-toggle {
  background: linear-gradient(90deg, #9f00eb 0%, #6200ea 100%) !important;
  background-color: #6200ea !important;
  background-image: linear-gradient(90deg, #9f00eb 0%, #6200ea 100%) !important;
  color: #fff !important;
  border: none !important;
  border-color: #6200ea !important;
  outline: none !important;
  box-shadow: none !important;
}

.nv-event-form .btn-primary:focus,
.nv-event-form .btn-primary.focus {
  box-shadow: 0 0 0 0.2rem rgba(159, 0, 235, 0.5) !important;
}

.nv-event-form .btn-outline-light {
  border-radius: 50px;
  font-weight: 600;
  border-color: rgba(255, 255, 255, 0.3) !important;
  color: #fff !important;
  padding: 0.75rem 1.5rem;
  transition: all 0.3s ease;
  background: transparent !important;
}

.nv-event-form .btn-outline-light:hover,
.nv-event-form .btn-outline-light:focus,
.nv-event-form .btn-outline-light:active,
.nv-event-form .btn-outline-light:visited {
  border-color: rgba(255, 255, 255, 0.5) !important;
  color: #fff !important;
  background: rgba(255, 255, 255, 0.05) !important;
  outline: none;
}

.nv-event-form .btn-outline-light:hover {
  background-color: #9b00e4;
  transition: all 0.3s ease;
  color: #fff;
}

/* 🔥 Fix Chrome/Edge autofill yellow */
.nv-event-form input:-webkit-autofill,
.nv-event-form input:-webkit-autofill:hover,
.nv-event-form input:-webkit-autofill:focus,
.nv-event-form textarea:-webkit-autofill,
.nv-event-form select:-webkit-autofill {
  -webkit-text-fill-color: #fff !important;
  -webkit-box-shadow: 0 0 0px 1000px #000 inset !important;
  transition: background-color 5000s ease-in-out 0s;
}

/* Firefox fix */
.nv-event-form input:autofill,
.nv-event-form select:autofill,
.nv-event-form textarea:autofill {
  background-color: #000 !important;
  color: #fff !important;
}

/* Maintain purple glow on focus even with autofill */
.nv-event-form input:-webkit-autofill:focus {
  border-color: #9f00eb !important;
  box-shadow: 0 0 0 0.25rem rgba(159, 0, 235, 0.25) !important;
}

/* Make radio buttons purple (modern browsers) */
.nv-event-form input[type="radio"] {
  accent-color: #9f00eb;
}

/* Fallback & fine-tuning for older browsers / Safari */
.nv-event-form input[type="radio"] {
  width: 18px;
  height: 18px;
  cursor: pointer;
  transition: all 0.2s ease;
  border: 2px solid rgba(159, 0, 235, 0.6);
  background-color: transparent;
  appearance: none;
  border-radius: 50%;
  position: relative;
}

.nv-event-form input[type="radio"]:checked {
  background-color: #9f00eb;
  box-shadow: 0 0 6px rgba(159, 0, 235, 0.5);
  border-color: #9f00eb;
}

.nv-event-form input[type="radio"]:focus {
  outline: none;
  box-shadow: 0 0 0 3px rgba(159, 0, 235, 0.25);
}

.nv-event-form .form-check {
  display: flex;
  align-items: center;
  gap: 6px;
}

.nv-event-form .form-check-label {
  margin-bottom: -5px;
  color: #fff;
  font-weight: 500;
}

/* ========================================
   Registration Confirmation Page Styles
   ======================================== */

.nv-confirmation-wrapper {
  max-width: 800px;
  margin: 40px auto;
  padding: 0 20px;
}

.nv-confirmation-container {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
  overflow: hidden;
}

.nv-confirmation-header {
  background: linear-gradient(135deg, #9f00eb 0%, #7300b0 100%);
  color: #fff;
  padding: 40px 20px;
  text-align: center;
}

.nv-confirmation-checkmark {
  width: 80px;
  height: 80px;
  margin: 0 auto 20px;
}

.nv-checkmark-circle {
  stroke: #fff;
  stroke-width: 2;
  stroke-dasharray: 166;
  stroke-dashoffset: 166;
  animation: stroke 0.6s cubic-bezier(0.65, 0, 0.45, 1) forwards;
}

.nv-checkmark-check {
  stroke: #fff;
  stroke-width: 3;
  stroke-linecap: round;
  stroke-dasharray: 48;
  stroke-dashoffset: 48;
  animation: stroke 0.3s cubic-bezier(0.65, 0, 0.45, 1) 0.6s forwards;
}

@keyframes stroke {
  100% {
    stroke-dashoffset: 0;
  }
}

.nv-confirmation-header h1 {
  margin: 0 0 10px;
  font-size: 32px;
  font-weight: 700;
}

.nv-confirmation-subtitle {
  margin: 0;
  font-size: 18px;
  opacity: 0.95;
}

.nv-confirmation-details {
  padding: 40px;
}

.nv-confirmation-section {
  margin-bottom: 30px;
  padding-bottom: 30px;
  border-bottom: 1px solid #e0e0e0;
}

.nv-confirmation-section:last-child {
  margin-bottom: 0;
  padding-bottom: 0;
  border-bottom: none;
}

.nv-confirmation-section h3 {
  margin: 0 0 20px;
  font-size: 20px;
  font-weight: 600;
  color: #333;
}

.nv-detail-row {
  display: flex;
  justify-content: space-between;
  padding: 10px 0;
  font-size: 16px;
}

.nv-detail-label {
  font-weight: 500;
  color: #666;
}

.nv-detail-value {
  font-weight: 400;
  color: #333;
  text-align: right;
}

.nv-detail-value a {
  color: #9f00eb;
  text-decoration: none;
}

.nv-detail-value a:hover {
  text-decoration: underline;
}

.nv-ticket-section {
  background: #f8f4fc;
  padding: 20px;
  border-radius: 8px;
  border: 2px dashed #9f00eb;
}

.nv-ticket-code {
  text-align: center;
}

.nv-ticket-code-label {
  font-size: 14px;
  color: #666;
  margin-bottom: 10px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.nv-ticket-code-value {
  font-size: 28px;
  font-weight: 700;
  color: #9f00eb;
  font-family: "Courier New", monospace;
  margin-bottom: 10px;
  letter-spacing: 2px;
}

.nv-ticket-code-note {
  font-size: 14px;
  color: #666;
  margin: 10px 0 0;
}

.nv-next-steps ul {
  margin: 0;
  padding-left: 20px;
}

.nv-next-steps li {
  margin: 10px 0;
  font-size: 16px;
  color: #555;
  line-height: 1.6;
}

.nv-confirmation-actions {
  display: flex;
  gap: 15px;
  justify-content: center;
  padding: 30px 40px 40px;
  background: #f9f9f9;
}

.nv-btn {
  display: inline-block;
  padding: 12px 30px;
  border-radius: 6px;
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.nv-btn-primary {
  background: #9f00eb;
  color: #fff;
}

.nv-btn-primary:hover {
  background: #7300b0;
}

.nv-btn-secondary {
  background: #fff;
  color: #9f00eb;
  border: 2px solid #9f00eb;
}

.nv-btn-secondary:hover {
  background: #9f00eb;
  color: #fff;
}

.nv-confirmation-error {
  max-width: 600px;
  margin: 60px auto;
  padding: 40px;
  text-align: center;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.nv-confirmation-error p {
  font-size: 18px;
  color: #666;
  margin: 0;
}

@media (max-width: 768px) {
  .nv-confirmation-header h1 {
    font-size: 24px;
  }

  .nv-confirmation-details {
    padding: 30px 20px;
  }

  .nv-detail-row {
    flex-direction: column;
    gap: 5px;
  }

  .nv-detail-value {
    text-align: left;
  }

  .nv-confirmation-actions {
    flex-direction: column;
    padding: 20px;
  }

  .nv-btn {
    width: 100%;
    text-align: center;
  }
}
