@import url("https://fonts.googleapis.com/css?family=Montserrat:400,500,600,700");

.ticket-page,
.ticket-page * {
  box-sizing: border-box;
}

.ticket-page {
  min-height: 100vh;
  width: 100%;
  display: flex;
  justify-content: center;
  align-items: flex-start;
  padding: 24px 16px 48px;
  background: linear-gradient(180deg, #ffd122 0%, #e5960a 100%);
}

.ticket-card {
  width: 100%;
  max-width: 700px;
  background: #ffffff;
  border-radius: 28px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.25);
  padding: 32px 20px 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.ticket-logo {
  width: 200px;
  max-width: 60%;
  height: auto;
  object-fit: contain;
  margin-bottom: 16px;
}

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

.ticket-step-icon {
  width: 56px;
  height: 56px;
  background: #ffd122;
  border-radius: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.ticket-step-icon img {
  width: 32px;
  height: 32px;
}

.ticket-step-label {
  font-family: "Montserrat", Helvetica;
  font-weight: 700;
  font-size: 22px;
  color: #585858;
  text-align: center;
}

.ticket-card form {
  width: 100%;
}

.ticket-field {
  width: 100%;
  margin-bottom: 20px;
}

.ticket-field:empty {
  display: none;
}

.ticket-field-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
}

.ticket-field-row .ticket-field {
  flex: 1 1 260px;
  margin-bottom: 0;
}

.ticket-label {
  display: block;
  font-family: "Montserrat", Helvetica;
  font-weight: 600;
  font-size: 16px;
  color: #727272;
  margin-bottom: 10px;
  text-align: center;
}

.ticket-hint {
  font-family: "Montserrat", Helvetica;
  font-size: 13px;
  color: #8b8b8b;
  text-align: center;
  margin: 0 0 10px;
}

.ticket-field select,
.ticket-field input {
  width: 100%;
  height: 48px;
  padding: 0.5rem 1.25rem;
  font-size: 1rem;
  font-family: "Montserrat", Helvetica;
  font-weight: 600;
  color: #343a40;
  background-color: #f9f9f9;
  border: 1px solid #e8e8e8;
  border-radius: 40px;
}

.iti {
  width: 100%;
}

.iti__selected-flag {
  border-radius: 40px 0 0 40px;
}

.iti__selected-dial-code {
  margin-left: 6px;
  font-family: "Montserrat", Helvetica;
  font-size: 14px;
  font-weight: 400;
}

.ticket-waiting {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 20px;
  background-color: #fff8df;
  border: 1px solid #ffe997;
  border-radius: 20px;
  padding: 20px;
  margin: 8px 0 28px;
}

.ticket-waiting-icon {
  width: 64px;
  height: 64px;
  flex-shrink: 0;
}

.ticket-waiting-text {
  font-family: "Montserrat", Helvetica;
  font-size: 16px;
  color: #585858;
  text-align: center;
  line-height: 1.6;
  margin: 0;
  max-width: 380px;
}

.ticket-waiting-text span {
  font-weight: 700;
}

.ticket-submit {
  width: 100%;
  max-width: 338px;
  height: 60px;
  border: none;
  border-radius: 40px;
  background: linear-gradient(210deg, #ffd122 0%, #ffb122 100%);
  box-shadow: 0 4px 20px #ffeba0;
  color: #ffffff;
  font-family: "Montserrat", Helvetica;
  font-weight: 700;
  font-size: 20px;
  cursor: pointer;
}

.ticket-submit:hover {
  filter: brightness(0.97);
}

button.swal2-confirm.swal2-styled {
  border: 0 !important;
  border-radius: 40px !important;
  color: #ffffff !important;
  font-family: "Montserrat", Helvetica;
  font-size: 1.0625em !important;
  background: linear-gradient(210deg, #ffd122 0%, #ffb122 100%) !important;
}

button.swal2-cancel.swal2-styled {
  border: 0 !important;
  border-radius: 40px !important;
  color: #ffffff !important;
  font-family: "Montserrat", Helvetica;
  box-shadow: 0 4px 20px #c9c9c9 !important;
  background: linear-gradient(180deg, #9a9a9a 0%, #585858 100%) !important;
}

.ticket-offline {
  min-height: 100vh;
  width: 100%;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  padding: 24px;
  text-align: center;
}

.ticket-offline-badge {
  padding: 14px 32px;
  border-radius: 40px;
  background: linear-gradient(210deg, #9a9a9a 0%, #585858 100%);
  color: #ffffff;
  font-family: "Montserrat", Helvetica;
  font-weight: 700;
  font-size: 20px;
}

.ticket-offline-message {
  max-width: 500px;
  font-family: "Montserrat", Helvetica;
  color: #585858;
  font-size: 16px;
}

@media (min-width: 600px) {
  .ticket-card {
    padding: 48px 56px 56px;
  }

  .ticket-step-label {
    font-size: 25px;
  }
}
