/* Estilos para estrutura do formulário */
.section {
  display: none;
  animation: fadeIn 0.5s ease-in-out;
}

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

.section.active {
  display: block;
}

.btn-container {
  display: flex;
  justify-content: space-between;
  margin-top: 20px;
}

.btn-voltar {
  background-color: #FFCC00;
  color: #06218c;
  border: none;
  padding: 10px 20px;
  border-radius: 4px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-voltar:hover {
  background-color: #E6B800;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.btn-avancar {
  background-color: #06218c;
  color: white;
  border: none;
  padding: 10px 20px;
  border-radius: 4px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-avancar:hover {
  background-color: #051a73;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Estilos para cabeçalhos e títulos */
.title {
  text-align: center;
  color: #06218c;
  margin-bottom: 20px;
  font-weight: bold;
  font-size: 2.2rem;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.1);
}

.card-header {
  font-weight: bold;
  font-size: 1.2rem;
  border-bottom: none;
}

/* Estilos para barra de progresso */
.progress {
  height: 25px;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.progress-bar {
  background-color: #06218c;
  transition: width 0.5s ease;
}

#progressText {
  font-size: 14px;
  font-weight: bold;
}

/* Estilos para formulário */
.form-label {
  font-weight: 600;
  color: #333;
}

.form-label.required::after {
  content: " *";
  color: #dc3545;
}

.form-check-label {
  margin-left: 5px;
  font-weight: normal;
}

.card {
  margin-bottom: 20px;
  border-radius: 8px;
  border: none;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
  transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.card:hover {
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.12);
}

.card-body {
  padding: 25px;
}

.mb-3 {
  margin-bottom: 1.5rem !important;
}

/* Estilos para inputs e selects */
.form-control, .form-select {
  border-radius: 4px;
  border: 1px solid #ced4da;
  padding: 10px 15px;
  transition: all 0.3s ease;
}

.form-control:focus, .form-select:focus {
  border-color: #06218c;
  box-shadow: 0 0 0 0.2rem rgba(6, 33, 140, 0.25);
}

.form-check-input:checked {
  background-color: #06218c;
  border-color: #06218c;
}

/* Estilos para botões de envio */
.btn-success {
  background-color: #28a745;
  color: white;
  padding: 10px 25px;
  border: none;
  border-radius: 4px;
  font-weight: 600;
  transition: all 0.3s ease;
}

.btn-success:hover {
  background-color: #218838;
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Estilos para notificações */
.alert {
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  animation: slideDown 0.5s ease-out;
}

@keyframes slideDown {
  from { transform: translateY(-50px); opacity: 0; }
  to { transform: translateY(0); opacity: 1; }
}

.alert-success {
  background-color: #d4edda;
  border-color: #c3e6cb;
  color: #155724;
}

.alert-danger {
  background-color: #f8d7da;
  border-color: #f5c6cb;
  color: #721c24;
}

/* Estilos para footer */
footer {
  margin-top: 50px;
}

/* Responsividade */
@media (max-width: 768px) {
  .btn-container {
    flex-direction: column;
    gap: 10px;
  }
  
  .btn-voltar, .btn-avancar, .btn-success {
    width: 100%;
  }
  
  .progress {
    height: 20px;
  }
  
  #progressText {
    font-size: 12px;
  }
  
  .title {
    font-size: 1.8rem;
  }
  
  .card-header {
    font-size: 1rem;
  }
}