﻿.header {
    background-color: #00559D;
    text-align: center;
    color: #fff;
    border: 2px solid #00559D;
    border-radius: 50px 1px;
    width: 80%;
    margin: 20px auto;
    padding: 10px 0;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    font-size: 24px;
    font-weight: bold;
}

.seccion-formulario {
    background-color: #f5f5f5;
    border: 2px solid #f5f5f5;
    padding: 25px;
    margin: 20px auto;
    width: 80%;
    border-radius: 50px 1px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.boton-enviar {
    text-align: right;
    width: 80%;
    margin: 0 auto 30px auto;
}

.btn-success {
    background-color: #28a745;
    border-color: #28a745;
    color: white;
    font-weight: bold;
    padding: 10px 25px;
    border-radius: 5px;
    transition: background-color 0.3s ease;
}

.btn-success:hover {
    background-color: #218838;
}

.form-group {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
}

.form-group label {
    width: 200px;
    font-weight: bold;
    margin-right: 15px;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.form-group label.required::after {
    content: " *";
    color: red;
    font-weight: bold;
}

.form-group .form-control {
    flex: 1;
    width: 100%;
    box-sizing: border-box;
}

/* Asegura que los select no se desborden ni tengan tamaño distinto */
.form-group select.form-control {
    height: 38px; /* Igual que input por defecto en Bootstrap */
    padding: 6px 12px;
    font-size: 1rem;
    line-height: 1.5;
}

.text-danger {
    margin-left: 215px;
    display: block;
    font-size: 0.9em;
}

form label {
    font-weight: bold;
}

form h4 {
    font-weight: bold;
}

.checkbox-container {
    display: flex;
    flex-direction: column;
    margin-bottom: 20px;
    width: 100%;
}

.checkbox-title {
    font-weight: bold;
    text-align: right;
    width: 200px;
    margin-bottom: 8px;
}

.checkbox-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-left: 90px;
}

.checkbox-group label {
    font-weight: normal;
    display: flex;
    align-items: center;
    gap: 6px;
}
