body.admin-bar .app-header {
    top: 32px; /* Altura estándar de la barra de administración en pantallas grandes */
}

@media screen and (max-width: 782px) {
    body.admin-bar .app {
        top: 46px; /* Altura de la barra de administración en pantallas pequeñas */
    }
}

.modal-75 {
    width: 75vw;
    height: 75vh;
    max-width: 75vw;
    max-height: 75vh;
}

.modal-75 .modal-content {
    height: 100%;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.modal-75 .modal-body {
    flex: 1 1 auto;
    overflow-y: auto;
}

/* Elimina el color verd i vermell dels inputs validadors de Bootstrap */
#autodiagnostic_form .fv-plugins-icon-container .is-valid,
#autodiagnostic_form .fv-plugins-icon-container .is-invalid,
#autodiagnostic_form .fv-plugins-icon-container input.is-valid,
#autodiagnostic_form .fv-plugins-icon-container input.is-invalid {
  border-color: #ccc !important;
  box-shadow: none !important;
}

/* Amaga missatges d'error de validació visuals si no vols mostrar-los */
#autodiagnostic_form .fv-plugins-message-container {
  display: none !important;
}

/* Millora estètica general dels blocs de preguntes */
#autodiagnostic_form .fv-row {
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: #f9f9f9;
  border-radius: 0.75rem;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.05);
}

/* Estilitza l'etiqueta (label) de la pregunta */
#autodiagnostic_form .fv-row label.form-label {
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 1rem;
  display: inline-block;
  color: #333;
}

/* Estilitza les opcions de resposta (radios) */
#autodiagnostic_form .fv-row .form-check {
  margin-bottom: 0.75rem;
  padding: 0.5rem 1rem;
  background: white;
  border: 1px solid #ddd;
  border-radius: 0.5rem;
  transition: border-color 0.3s, box-shadow 0.3s;
}

/* Resalta les opcions al passar el cursor */
#autodiagnostic_form .fv-row .form-check:hover {
  border-color: #999;
  box-shadow: 0 0 4px rgba(0, 0, 0, 0.05);
}

/* Ajustos del radio i el seu text */
#autodiagnostic_form .fv-row .form-check-input {
  margin-right: 0.5rem;
}

#autodiagnostic_form .fv-row .form-check-label {
  cursor: pointer;
  font-size: 1rem;
  color: #222;
}