* { box-sizing: border-box; }
body {
  margin: 0;
  font-family: 'Segoe UI', sans-serif;
  color: #222;

  background-image: url('https://t3.ftcdn.net/jpg/07/91/43/76/360_F_791437600_pQPH5gYXrthmVB2PEfsgsonPO5Rlt9GN.jpg');
  background-repeat: no-repeat;
  background-position: center center;
  background-size: cover;
  background-attachment: fixed;
  min-height: 100vh;
}

.container {
  background: #fff1e6;
  max-width: 520px;
  margin: 40px auto;
  border-radius: 18px;
  box-shadow: 0 6px 24px #0002;
  padding: 32px 24px;
}
.event-logo {
  display: block;
  margin: 0 auto 8px auto;
  max-width: 120px;
  width: 38vw; /* responsive size */
  opacity: 0.96;
}
h1 {
  text-align: center;
  font-size: 2rem;
  color: #8c0032;
  margin-bottom: 20px;
}
.user-type {
  display: flex;
  justify-content: center;
  gap: 24px;
  margin-bottom: 18px;
}
.form-fields input[type="text"], .form-fields input[type="email"], .form-fields input[type="tel"], .form-fields input[type="date"] {
  width: 100%;
  padding: 10px;
  margin: 6px 0 10px 0;
  border: 1px solid #e0e0e0;
  border-radius: 6px;
  font-size: 1rem;
}
.passes-section {
  margin: 18px 0 10px 0;
}
/* .passes-row {
  display: flex;
  gap: 8px;
  margin-bottom: 8px;
  align-items: center;
  flex-wrap: wrap;
}
.passes-row select {
  padding: 6px;
  font-size: 0.98rem;
  border-radius: 5px;
  border: 1px solid #d0d0d0;
  min-width: 140px;
  max-width: 64%;
  flex: 2 1 148px;
}
.passes-row input[type="number"] {
  padding: 6px;
  font-size: 1rem;
  border-radius: 5px;
  border: 1px solid #d0d0d0;
  width: 60px;
  min-width: 54px;
  flex: 0 0 54px;
}
.passes-row button {
  background: #ff5656;
  border: none;
  color: #fff;
  border-radius: 5px;
  cursor: pointer;
  padding: 5px 10px;
  transition: background 0.2s;
  flex: 0 0 auto;
} */
 .passes-row {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 12px;
  flex-wrap: wrap;
}

.passes-row label {
  flex: 2 1 60%;
  font-size: 0.95rem;
  cursor: pointer;
}

.passes-row input[type="checkbox"] {
  flex: 0 0 auto;
  width: 18px;
  height: 18px;
  cursor: pointer;
}

.passes-row input[type="number"] {
  flex: 0 0 64px;
  min-width: 54px;
  border: 1px solid #d0d0d0;
  border-radius: 5px;
  padding: 6px;
  font-size: 1rem;
}

@media (max-width: 600px) {
  .passes-row select {
    min-width: 100px;
    max-width: 100%;
    flex: 2 1 100px;
    font-size: 0.95rem;
  }
  .passes-row {
    flex-direction: column;
    gap: 5px;
    align-items: stretch;
  }
}

#addPassBtn {
  margin-top: 10px;
  background: #0d94ff;
  border: none;
  color: #fff;
  border-radius: 8px;
  font-size: 1rem;
  padding: 8px 20px;
  cursor: pointer;
  box-shadow: 0 2px 4px #0002;
  transition: background 0.2s;
}
#addPassBtn:hover {
  background: #006fd6;
}
.total-container {
  margin: 18px 0 10px 0;
  font-size: 1.15rem;
  color: #830366;
  text-align: right;
}
button[type="submit"] {
  width: 100%;
  background: #8c0032;
  color: #fff;
  font-size: 1.1rem;
  border: none;
  border-radius: 8px;
  padding: 12px 0;
  margin-top: 10px;
  cursor: pointer;
  transition: background 0.2s;
}
button[type="submit"]:hover {
  background: #b90045;
}
@media (max-width: 530px) {
  .container {
    padding: 12px 4px;
    max-width: 95vw;
  }
  .event-logo {
    max-width: 80px;
    width: 28vw;
    margin-bottom: 6px;
  }
  h1 {
    font-size: 1.2rem;
  }
}
input[type="file"] {
  padding: 6px 0;
}
