/* Página Processual Moderna - Seguindo Padrão do Sistema */
.processual-container {
  max-width: 1100px;
  margin: 0 auto;
  padding: 2rem 0;
}

.processual-card {
  background: white;
  border-radius: 20px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  border: 1px solid #e9ecef;
}

.processual-header {
  background: linear-gradient(135deg, #004226 0%, #189D5C 100%);
  color: white;
  padding: 3rem 2.5rem;
  text-align: center;
  position: relative;
}

.processual-header h1 {
  font-size: 2.2rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  font-family: 'Sora', Arial, sans-serif;
}

.processual-header p {
  font-size: 1.1rem;
  opacity: 0.9;
  margin-bottom: 0;
}

.processual-body {
  padding: 3rem 2.5rem;
}

/* Seções Organizadas */
.section-title {
  color: #004226;
  font-size: 1.4rem;
  font-weight: 600;
  margin-bottom: 1.5rem;
  text-align: center;
  position: relative;
  padding-bottom: 0.5rem;
  font-family: 'Sora', Arial, sans-serif;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 50px;
  height: 5px;
  background: linear-gradient(90deg, #004226, #189D5C);
  border-radius: 2px;
}

.section-divider {
  background: linear-gradient(90deg, transparent, #004226, transparent);
  height: 2px;
  margin: 2rem 0;
  border-radius: 1px;
}

/* Formulário Moderno */
.form-group {
  margin-bottom: 1.5rem;
  position: relative;
}

.form-label {
  font-weight: 600;
  color: #495057;
  margin-bottom: 0.5rem;
  display: block;
  font-size: 0.95rem;
  font-family: Arial, sans-serif;
}

.form-label .required {
  color: #dc3545;
  font-weight: bold;
}

/* Inputs seguindo padrão do sistema */
.form-control {
  background: #f8f9fa;
  border: 2px solid #e9ecef;
  border-radius: 10px;
  padding: 0.875rem 1.25rem;
  font-size: 1rem;
  transition: all 0.3s ease;
  width: 100%;
  color: #495057;
  font-family: Arial, sans-serif;
  min-height: 48px;
}

.form-control:focus {
  background: white;
  border-color: #004226;
  box-shadow: 0 0 0 0.2rem rgba(0, 66, 38, 0.1);
  outline: none;
  color: #004226;
}

.form-control::placeholder {
  color: #6c757d;
  opacity: 0.7;
}

.form-control.is-invalid {
  border-color: #dc3545;
  background: #fff5f5;
}

select.form-control {
  background: #f8f9fa;
  cursor: pointer;
  padding: 0.875rem 2.5rem 0.875rem 1.25rem;
  font-size: 1.1rem;
  min-height: 52px;
}

textarea.form-control {
  min-height: 140px;
  resize: vertical;
  line-height: 1.6;
  padding: 1rem 1.25rem;
}

/* Radio buttons modernizados */
.radio-group {
  display: flex;
  gap: 1rem;
  margin-top: 0.5rem;
  flex-wrap: wrap;
}

.radio-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 1rem 1.5rem;
  border: 2px solid #e9ecef;
  border-radius: 10px;
  cursor: pointer;
  transition: all 0.3s ease;
  background: white;
  min-width: 160px;
  justify-content: center;
  min-height: 52px;
}

.radio-item:hover {
  border-color: #004226;
  background: #f8f9fa;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 66, 38, 0.1);
}

.radio-item input[type="radio"] {
  margin: 0;
  accent-color: #004226;
  transform: scale(1.1);
  cursor: pointer;
}

.radio-item label {
  cursor: pointer;
  margin: 0;
  font-weight: 500;
  font-family: Arial, sans-serif;
}

/* Checkbox de termos */
.terms-container {
  background: #f8f9fa;
  border-radius: 10px;
  padding: 2rem;
  border: 2px solid #e9ecef;
  transition: all 0.3s ease;
  margin-top: 1rem;
  min-height: 80px;
}

.terms-container:hover {
  border-color: #004226;
  background: white;
}

.terms-container .form-check-input {
  margin-right: 0.75rem;
  transform: scale(1.1);
  accent-color: #004226;
  cursor: pointer;
}

.terms-container .form-check-label {
  cursor: pointer;
  font-weight: 500;
  line-height: 1.5;
  font-family: Arial, sans-serif;
}

.terms-link {
  color: #004226;
  text-decoration: none;
  font-weight: 600;
  border-bottom: 2px solid transparent;
  transition: all 0.3s ease;
}

.terms-link:hover {
  border-bottom-color: #004226;
  color: #189D5C;
}

/* Botões modernos */
.btn-modern {
  padding: 1rem 2rem;
  border-radius: 10px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  transition: all 0.3s ease;
  border: none;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  font-family: Arial, sans-serif;
  cursor: pointer;
  margin: 0 0.5rem;
  min-height: 52px;
}

.btn-primary-modern {
  background: linear-gradient(135deg, #004226 0%, #189D5C 100%);
  color: white;
}

.btn-primary-modern:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 20px rgba(0, 66, 38, 0.3);
  color: white;
}

.btn-secondary-modern {
  background: #6C757D;
  color: white;
}

.btn-secondary-modern:hover {
  background: #5a6268;
  transform: translateY(-2px);
  color: white;
}

.btn-danger-modern {
  background: #dc3545;
  color: white;
}

.btn-danger-modern:hover {
  background: #c82333;
  transform: translateY(-2px);
  color: white;
}

/* Feedback de erro */
.invalid-feedback {
  color: #dc3545;
  font-size: 0.875rem;
  margin-top: 0.25rem;
  display: flex;
  align-items: center;
  gap: 0.25rem;
  font-weight: 500;
  font-family: Arial, sans-serif;
}

/* Modal modernizado */
.modal-modern .modal-content {
  border-radius: 20px;
  border: none;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
}

.modal-modern .modal-header {
  background: linear-gradient(135deg, #004226 0%, #189D5C 100%);
  color: white;
  border-radius: 20px 20px 0 0;
  border-bottom: none;
  padding: 1.5rem 2rem;
}

.modal-modern .modal-body {
  padding: 2rem;
  line-height: 1.6;
}

.modal-modern .modal-title {
  font-family: 'Sora', Arial, sans-serif;
  font-weight: 700;
}

/* Cards informativos no modal */
.info-card {
  background: #f8f9fa;
  border-radius: 10px;
  padding: 1rem;
  margin-bottom: 1rem;
  border-left: 4px solid #004226;
}

.info-card h6 {
  color: #004226;
  font-weight: 600;
  margin-bottom: 0.5rem;
  font-family: Arial, sans-serif;
}

.info-card p {
  font-size: 0.9rem;
  margin-bottom: 0;
  color: #495057;
}

/* Alertas */
.alert-modern {
  border-radius: 10px;
  border: none;
  padding: 1rem 1.5rem;
}

.alert-info {
  background: linear-gradient(135deg, #d1ecf1 0%, #bee5eb 100%);
  color: #0c5460;
}

/* Responsividade */
@media (max-width: 768px) {
  .processual-body {
      padding: 1.5rem;
  }

  .processual-header {
      padding: 2.5rem 2rem;
  }

  .processual-header h1 {
      font-size: 1.8rem;
  }

  .radio-group {
      flex-direction: column;
      gap: 0.5rem;
  }

  .radio-item {
      min-width: auto;
      width: 100%;
      justify-content: flex-start;
  }

  .btn-modern {
      width: 100%;
      justify-content: center;
      margin: 0.25rem 0;
      padding: 0.875rem 1.5rem;
      font-size: 0.9rem;
      min-height: 48px;
  }

  .form-control {
      font-size: 16px;
      padding: 0.75rem 1rem;
      min-height: 44px;
  }

  select.form-control {
      font-size: 16px;
      padding: 0.75rem 2rem 0.75rem 1rem;
      min-height: 44px;
  }

  .radio-item {
      padding: 0.875rem 1.25rem;
      min-height: 48px;
  }

  .modal-modern .modal-body {
      padding: 1.5rem;
  }
}

@media (max-width: 576px) {
  .processual-header {
      padding: 2rem 1.5rem;
  }

  .processual-body {
      padding: 1rem;
  }

  .btn-modern {
      font-size: 0.85rem;
      padding: 0.75rem 1rem;
      min-height: 44px;
  }

  .form-control {
      font-size: 16px;
      padding: 0.625rem 0.875rem;
      min-height: 40px;
  }

  select.form-control {
      font-size: 16px;
      padding: 0.625rem 1.75rem 0.625rem 0.875rem;
      min-height: 40px;
  }

  .radio-item {
      padding: 0.75rem 1rem;
      min-height: 44px;
  }

  .terms-container {
      padding: 1.5rem;
      min-height: 70px;
  }
}