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

html, body {
  height: 100%;
}

body {
  font-family: 'Roboto', sans-serif;
  font-size: 14px;
  line-height: 24px;
  color: white;
  background-color: #4E375F;
}

.page {
  width: 100%;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  background: linear-gradient(175deg, 
    rgba(2, 0, 36, 0.247) 0%,
    rgba(1, 0, 20, 0.142) 45%, 
    rgba(0, 0, 0, 0.577) 100%
  ), url("https://spectaculture.com/modules/addifyprivateshop/views/img/concert.jpg");
  background-size: cover;
  background-repeat: no-repeat;
  background-position: center top;
}

/* Logo */
.logo-container {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  padding: 2rem;
}

.logo {
  width: 100px;
  height: auto;
}

/* Main */
.main {
  width: 100%;
  padding: 20px;
}

.form-wrapper {
  max-width: 550px;
  margin: auto;
}

/* Form Card */
.form-card {
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  max-width: 550px;
  padding: 3rem;
  margin: auto;
  border-radius: 15px;
  border: 2px solid rgba(255, 255, 255, 0.66);
  background-color: rgba(0, 0, 0, 0.25);
}

.form-card h1 {
  font-family: 'Montserrat', sans-serif;
  font-size: 30px;
  text-align: center;
  color: white;
  letter-spacing: -0.5px;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.form-card h2 {
  font-family: 'Montserrat', sans-serif;
  font-size: 20px;
  text-align: center;
  color: white;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

.intro {
  text-align: center;
  font-size: 14px;
  opacity: 0.85;
  margin-bottom: 1.5rem;
}

/* Stepper */
.stepper {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 2rem;
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.step-icon {
  width: 36px;
  height: 36px;
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-style: normal;
  font-size: 14px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.5);
  transition: all 0.3s ease;
}

.step-label {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.5);
  font-weight: 500;
  margin: 0;
  transition: all 0.3s ease;
}

.step-line {
  width: 50px;
  height: 2px;
  background: rgba(255, 255, 255, 0.2);
  margin: 0 10px 28px 10px;
  transition: all 0.3s ease;
}

.step.active .step-icon {
  background: white;
  border-color: white;
  color: #1a1a2e;
  box-shadow: 0 4px 20px rgba(255, 255, 255, 0.3);
}

.step.active .step-label {
  color: white;
}

.step.completed .step-icon {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.5);
  color: white;
}

.step.completed .step-label {
  color: rgba(255, 255, 255, 0.7);
}

.step-line.completed {
  background: rgba(255, 255, 255, 0.5);
}

/* Form Status */
.form-status {
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 14px;
  margin-bottom: 1rem;
  display: none;
  text-align: center;
}

.form-status.success {
  display: block;
  background: rgba(16, 185, 129, 0.2);
  border: 1px solid rgba(16, 185, 129, 0.5);
  color: #6ee7b7;
}

.form-status.error {
  display: block;
  background: rgba(239, 68, 68, 0.2);
  border: 1px solid rgba(239, 68, 68, 0.5);
  color: #fca5a5;
}

/* Form Step */
.form-step {
  display: none;
}

.form-step.active {
  display: block;
  animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(8px); }
  to { opacity: 1; transform: translateY(0); }
}

.section-label {
  display: block;
  font-family: 'Montserrat', sans-serif;
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 1rem;
  text-align: center;
}

.section-hint {
  font-size: 13px;
  opacity: 0.7;
  margin: -0.5rem 0 1rem;
  text-align: center;
}

/* Date Options */
.date-options {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 1.5rem;
}

.date-option {
  cursor: pointer;
}

.date-option input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.date-btn {
  display: block;
  padding: 0.7rem 1rem;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 25px;
  font-size: 14px;
  text-align: center;
  transition: all 0.2s ease;
  color: white;
}

.date-option:hover .date-btn {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.7);
}

.date-option input:checked + .date-btn {
  background: white;
  color: black;
  border-color: white;
}

/* Ticket List */
.ticket-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 1rem;
}

.ticket-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  transition: all 0.2s ease;
}

.ticket-row:hover {
  background: rgba(255, 255, 255, 0.1);
}

.ticket-row.is-active {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.5);
}

.ticket-row.is-disabled {
  opacity: 0.4;
  pointer-events: none;
}

.ticket-row.is-disabled .qty-btn {
  cursor: not-allowed;
}

.ticket-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.ticket-name {
  font-size: 14px;
  font-weight: 500;
}

.ticket-price {
  font-size: 13px;
  color: #fbbf24;
  font-weight: 500;
}

.ticket-qty {
  display: flex;
  align-items: center;
  gap: 8px;
}

.qty-btn {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.5);
  background: transparent;
  color: white;
  font-size: 18px;
  font-weight: 400;
  cursor: pointer;
  transition: all 0.15s ease;
  display: flex;
  align-items: center;
  justify-content: center;
}

.qty-btn:hover {
  background: white;
  color: black;
  border-color: white;
}

.qty-num {
  min-width: 28px;
  text-align: center;
  font-size: 15px;
  font-weight: 600;
}

/* Recap Bar */
.recap-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 14px;
  background: rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  margin-bottom: 1.5rem;
  font-size: 13px;
}

.recap-estimate {
  color: #fbbf24;
}

/* Order Recap (Step 3) */
.order-recap {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 12px;
  padding: 16px 20px;
  margin-bottom: 1.5rem;
}

.recap-title {
  font-family: 'Montserrat', sans-serif;
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: rgba(255, 255, 255, 0.7);
  margin-bottom: 12px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.recap-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 6px 0;
}

.recap-label {
  font-size: 13px;
  color: rgba(255, 255, 255, 0.7);
}

.recap-value {
  font-size: 14px;
  font-weight: 500;
  color: white;
}

.recap-row.recap-total {
  margin-top: 8px;
  padding-top: 10px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
}

.recap-row.recap-total .recap-value {
  color: #fbbf24;
  font-weight: 600;
}

/* Form Group */
.form-group {
  margin-bottom: 1rem;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="tel"] {
  width: 100%;
  padding: 0.7rem 1rem;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.5);
  border-radius: 25px;
  color: white;
  font-size: 14px;
  font-family: 'Roboto', sans-serif;
  transition: all 0.2s ease;
}

.form-group input::placeholder {
  color: rgba(255, 255, 255, 0.76);
}

.form-group input:focus {
  outline: none;
  border-color: rgba(255, 255, 255, 0.9);
  background: rgba(255, 255, 255, 0.05);
}

/* Autofill fix */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
  -webkit-background-clip: text;
  -webkit-text-fill-color: #ffffff;
  transition: background-color 5000s ease-in-out 0s;
  box-shadow: inset 0 0 20px 20px rgba(255, 255, 255, 0);
  font-family: 'Roboto', sans-serif;
  font-size: 14px;
}

/* Consent */
.consent-group {
  margin-bottom: 1.5rem;
}

.checkbox-label {
  display: flex;
  gap: 10px;
  font-size: 12px;
  opacity: 0.85;
  cursor: pointer;
  line-height: 1.5;
}

.checkbox-label input {
  width: 16px;
  height: 16px;
  margin-top: 2px;
  accent-color: white;
  flex-shrink: 0;
}

.hp-field {
  position: absolute;
  left: -9999px;
  opacity: 0;
  height: 0;
  width: 0;
  pointer-events: none;
}

/* Buttons */
.btn {
  transition: all 0.2s ease;
  padding: 0.65rem 1.2rem;
  border-radius: 25px;
  font-size: 13px;
  font-weight: 600;
  font-family: 'Montserrat', sans-serif;
  cursor: pointer;
  border: none;
  width: 100%;
  margin-top: 8px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.btn-primary {
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  color: white;
  box-shadow: 0 4px 15px rgba(102, 126, 234, 0.4);
}

.btn-primary:hover {
  background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(102, 126, 234, 0.5);
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.1);
  color: white;
  border: 2px solid rgba(255, 255, 255, 0.3);
  backdrop-filter: blur(5px);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.5);
  transform: translateY(-2px);
}

.btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
}

.btn-group {
  display: flex;
  gap: 12px;
  margin-top: 1.5rem;
}

.btn-group .btn {
  margin-top: 0;
}

/* Responsive */
@media screen and (max-width: 540px) {
  .form-card {
    padding: 2rem 1.5rem;
  }

  .form-card h1 {
    font-size: 24px;
  }

  .form-card h2 {
    font-size: 16px;
  }

  .ticket-row {
    flex-direction: column;
    align-items: stretch;
    gap: 10px;
  }

  .ticket-info {
    flex-direction: row;
    justify-content: space-between;
    align-items: center;
  }

  .ticket-qty {
    justify-content: center;
    background: rgba(0, 0, 0, 0.15);
    padding: 8px;
    border-radius: 25px;
  }

  .qty-btn {
    width: 36px;
    height: 36px;
  }

  .qty-num {
    min-width: 40px;
  }

  .btn-group {
    flex-direction: column;
  }

  .recap-bar {
    flex-direction: column;
    gap: 6px;
    text-align: center;
  }

  .logo {
    width: 80px;
  }

  .logo-container {
    padding: 1.5rem;
  }
}
