/* ====== FORMULARIO MESA DE PARTES VIRTUAL (RESPONSIVE) ====== */

/* Contenedor de secciones */
fieldset.content-group {
    margin-bottom: 20px;
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 10px;
    background: #fafafa;
}

/* Títulos de sección */
legend.text-bold {
    font-size: 16px;
    font-weight: 600;
    color: #003399;
    padding: 0 8px;
}

/* Etiquetas */
label {
    font-weight: 500;
    margin-bottom: 5px;
    display: block;
}

/* Inputs */
.form-control {
    border-radius: 6px;
    border: 1px solid #ccc;
    padding: 8px 10px;
    font-size: 14px;
    transition: border-color .3s ease-in-out;
}

.form-control:focus {
    border-color: #003399;
    outline: none;
    box-shadow: 0 0 4px rgba(0, 51, 153, 0.3);
}

/* Botón principal */
.btn.bg-indigo {
    background-color: #003399 !important;
    border-color: #002266 !important;
    color: #fff !important;
    font-weight: 600;
    border-radius: 25px;
    padding: 10px 24px;
    transition: background .3s ease-in-out;
}

.btn.bg-indigo:hover {
    background-color: #001a66 !important;
}

/* Iconos dentro del botón */
.btn.bg-indigo i {
    margin-right: 5px;
}

/* Textos */
.text-justify {
    font-size: 13px;
    line-height: 1.4;
    color: #333;
}

/* Checkbox de términos */
#acepto_terminos_condiciones {
    margin-right: 6px;
}

/* Centrado de la sección final */
.col-md-12.text-center {
    margin-top: 20px;
}

/* ====== RESPONSIVE ====== */

/* Ajustes para tablets y móviles */
@media (max-width: 991px) {
    .form-horizontal .control-label {
        text-align: left;
        margin-bottom: 5px;
    }
}

/* Pantallas pequeñas (celulares) */
@media (max-width: 600px) {
    fieldset.content-group {
        padding: 12px;
        border-radius: 8px;
    }

    legend.text-bold {
        font-size: 15px;
    }

    .form-control {
        font-size: 13px;
        padding: 7px 9px;
    }

    .btn.bg-indigo {
        width: 100%;
        padding: 12px;
        font-size: 15px;
    }

    .text-justify {
        font-size: 12px;
    }
}

/* Gradiente elegante para el header */
.bg-gradient-primary {
  background: linear-gradient(135deg, #0062E6 0%, #33AEFF 100%);
}

/* Texto del body más elegante */
.modal-body p {
  font-size: 15px;
  line-height: 1.6;
  color: #444;
}

/* Botón redondeado con transición */
.btn-primary {
  background-color: #0062E6;
  border: none;
  transition: all 0.3s ease;
}

.btn-primary:hover {
  background-color: #004bb5;
  transform: scale(1.05);
}

.form-check-label {
  font-size: 14px;
  margin-left: 5px;
}