/* 1) Fonte e container */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600&display=swap');

#tkt-insurance-form,
#tkt-insurance-form * {
  font-family: 'Poppins', sans-serif;
}

#tkt-insurance-form {
  max-width: 600px;
  margin: auto;
  background: linear-gradient(135deg, #ffffff 0%, #f0f4f8 100%);
  box-shadow: 0 10px 25px rgba(0,0,0,0.05);
  border-radius: 1rem;
  padding: 2rem;
}

/* 2) Cabeçalho em preto */
#tkt-insurance-form h1 {
  font-size: 1.875rem; /* 3xl */
  font-weight: 600;
  text-align: center;
  background: none !important;
  -webkit-background-clip: unset;
  -webkit-text-fill-color: #000 !important;
  color: #000;
  margin-bottom: 1.5rem;
}

/* 3) Form‑groups e labels */
.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  font-size: 0.875rem; /* sm */
  font-weight: 500;
  color: #374151; /* gray‑700 */
  margin-bottom: 1rem; /* mais espaço entre label e campo */
}

/* 4) Inputs e selects padrão */
#tkt-insurance-form input[type="date"],
#tkt-insurance-form select {
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #e5e7eb; /* gray‑200 */
  border-radius: 0.75rem;    /* rounded-xl */
  transition: border-color .3s, box-shadow .3s;
}

#tkt-insurance-form input:focus,
#tkt-insurance-form select:focus {
  outline: none;
  border-color: #1d4ed8; /* blue‑700 */
  box-shadow: 0 0 0 3px rgba(29,78,216,0.1);
}

/* 5) Layout lado a lado para datas */
#tkt-insurance-form .form-group:nth-of-type(1),
#tkt-insurance-form .form-group:nth-of-type(2) {
  display: inline-block;
  width: 49%;
  vertical-align: top;
  box-sizing: border-box;
}
#tkt-insurance-form .form-group:nth-of-type(1) {
  margin-right: 2%;
}
#tkt-insurance-form .form-group:nth-of-type(2) {
  margin-right: 0;
}

/* 6) Botão principal */
#tkt-insurance-form button#tkt-get-quote {
  width: 100%;
  padding: 1rem;
  font-size: 1.125rem; /* lg */
  font-weight: 500;
  color: #fff;
  background: linear-gradient(135deg, #e11d48 0%, #1d4ed8 100%);
  border: none;
  border-radius: 1rem;
  transition: transform .3s, box-shadow .3s;
}

#tkt-insurance-form button#tkt-get-quote:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(225,29,72,0.3);
  cursor: pointer;
}

/* 7) Loader e resultado */
#loading {
  text-align: center;
  color: #6b7280; /* gray‑500 */
  margin-top: 1rem;
}

#tkt-quote-result ul {
  list-style: none;
  padding: 0;
}

#tkt-quote-result li {
  background: #fff;
  border: 1px solid #e5e7eb;
  border-left: 4px solid #1d4ed8;
  padding: 0.75rem 1rem;
  margin-bottom: 0.75rem;
  border-radius: 0.75rem;
  position: relative;
}

/* 8) Botão selecionar dentro do resultado */
#tkt-quote-result .select-plan {
  position: absolute;
  right: 1rem;
  top: 50%;
  transform: translateY(-50%);
  background: #e11d48;
  color: #fff;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 0.5rem;
  cursor: pointer;
}

/* 9) Campos dinâmicos de data de nascimento */
#dob-fields label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  margin-bottom: 0.5rem;
}

#dob-fields input {
  margin-top: 0.25rem;
  width: 100%;
  padding: 0.75rem 1rem;
  border: 1px solid #e5e7eb;
  border-radius: 0.75rem;
  transition: border-color .3s, box-shadow .3s;
}

#dob-fields input:focus {
  outline: none;
  border-color: #1d4ed8;
  box-shadow: 0 0 0 3px rgba(29,78,216,0.1);
}
