/* ==========================================================================
   style_form.css — Estilos do Formulário Multistep
   Beach Club Paradiso | Pesquisa de Avaliação
   ========================================================================== */

/* --------------------------------------------------------------------------
   Container principal
   -------------------------------------------------------------------------- */
.form-container {
  position: relative;
  max-width: 580px;
  margin: 0 auto 42px;
  padding: 24px;
  background: #ffffff;
  border-radius: 8px;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.08);
  font-family: Montserrat, sans-serif;
  color: #333333;
}

/* --------------------------------------------------------------------------
   Canvas de confete (fullscreen, sobre tudo, sem capturar cliques)
   -------------------------------------------------------------------------- */
#confetti-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 99998;
}

/* --------------------------------------------------------------------------
   Etapas do formulário
   -------------------------------------------------------------------------- */
.form-step {
  display: none;
}

.form-step.active {
  display: block;
}

.form-step h3 {
  margin-bottom: 20px;
  font-size: 1.15rem;
  font-weight: 700;
  color: #e4793e;
  border-bottom: 2px solid #fdeee6;
  padding-bottom: 8px;
}

/* --------------------------------------------------------------------------
   Grupos de campo
   -------------------------------------------------------------------------- */
.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  margin-bottom: 6px;
  font-weight: 600;
  font-size: 0.9rem;
}

.form-group input[type="text"],
.form-group input[type="tel"],
.form-group input[type="email"],
.form-group input[type="date"],
.form-group select {
  width: 100%;
  padding: 10px;
  border: 1px solid #cccccc;
  border-radius: 6px;
  box-sizing: border-box;
  font-size: 0.95rem;
  font-family: Montserrat, sans-serif;
}

/* --------------------------------------------------------------------------
   Radios e checkboxes inline
   -------------------------------------------------------------------------- */
.radio-inline,
.checkbox-inline {
  display: inline-block;
  margin-right: 15px;
  margin-bottom: 6px;
  font-weight: normal;
  cursor: pointer;
}

.checkbox-group label {
  font-weight: normal;
  font-size: 0.85rem;
  line-height: 1.4;
}

/* --------------------------------------------------------------------------
   Linhas de botoes
   -------------------------------------------------------------------------- */
.btn-single-row {
  display: flex;
  justify-content: center;
  margin-top: 20px;
}

.btn-row {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 12px;
  margin-top: 20px;
  flex-wrap: wrap;
}

/* --------------------------------------------------------------------------
   Botao primario (laranja)
   -------------------------------------------------------------------------- */
.rd-custom-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  align-self: center;
  background-color: #e4793e;
  border: none;
  border-radius: 8px;
  box-shadow: 0 0 0 0 #cccccc;
  color: #ffffff;
  cursor: pointer;
  font-family: Montserrat, sans-serif;
  font-size: 15px;
  font-weight: bold;
  height: 44px;
  line-height: 1.42857;
  margin-bottom: 10px;
  margin-top: 10px;
  max-width: 299px;
  text-align: center;
  text-decoration: none;
  width: 100%;
  padding-right: 10px;
  padding-left: 10px;
  box-sizing: border-box;
  transition: opacity 0.2s ease;
}

.rd-custom-button:hover {
  opacity: 0.92;
}

/* --------------------------------------------------------------------------
   Botao secundario (cinza - Voltar)
   -------------------------------------------------------------------------- */
.rd-custom-button.btn-secondary {
  background-color: #a0a0a0;
  max-width: 170px;
}

/* --------------------------------------------------------------------------
   Area de feedback pos-envio
   -------------------------------------------------------------------------- */
#form-feedback {
  display: none;
  padding: 36px 24px;
  text-align: center;
  border-radius: 8px;
  margin-top: 15px;
  flex-direction: column;
  align-items: center;
  background: #f0fdf4;
  color: #166534;
  border: 1px solid #bbf7d0;
  position: relative;
  z-index: 10;
}

#form-feedback h3 {
  font-size: 1.35rem;
  margin-bottom: 14px;
  color: #15803d;
}

#form-feedback p {
  font-size: 0.98rem;
  line-height: 1.6;
  color: #166534;
  margin-bottom: 14px;
}

#form-feedback em {
  font-size: 1rem;
  font-weight: 600;
  color: #15803d;
  display: block;
  margin-top: 8px;
  font-style: normal;
}
