body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: #f4f6f9;
    margin: 0;
    padding: 0;
    color: #333;
}

.form-container {
    max-width: 650px;
    background: #fff;
    padding: 30px 35px;
    margin: 60px auto;
    border-radius: 12px;
    box-shadow: 0px 6px 16px rgba(0,0,0,0.12);
}

h2 {
    text-align: center;
    color: #1E294C;
    font-size: 24px;
    margin-bottom: 25px;
    border-bottom: 2px solid #eaeaea;
    padding-bottom: 10px;
}

.form-group {
    margin-bottom: 20px;
}

label {
    display: block;
    font-weight: 600;
    margin-bottom: 6px;
    color: #1E294C;
    font-size: 14px;
}

/* Inputs y select */
input[type="text"], input[type="email"], textarea, select {
    width: 100%;
    padding: 12px;
    border: 1px solid #ccd1d9;
    border-radius: 6px;
    font-size: 14px;
    transition: all 0.3s ease;
    background: #fafafa;
}

    input[type="text"]:focus,
    input[type="email"]:focus,
    textarea:focus,
    select:focus {
        border-color: #1E294C;
        background: #fff;
        outline: none;
        box-shadow: 0 0 6px rgba(30, 41, 76, 0.2);
    }

textarea {
    resize: vertical;
    min-height: 90px;
}

/* Dropdown */
select {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    background: url('data:image/svg+xml;utf8,<svg fill="%231E294C" height="20" viewBox="0 0 24 24" width="20" xmlns="http://www.w3.org/2000/svg"><path d="M7 10l5 5 5-5z"/></svg>') no-repeat right 12px center;
    background-color: #fafafa;
    background-size: 16px;
}

/* Checkboxes list */
.form-group .checkbox-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px 12px;
    margin-top: 8px;
}

    .form-group .checkbox-list label {
        font-weight: normal;
        font-size: 14px;
        color: #444;
        display: flex;
        align-items: center;
        gap: 6px;
    }

input[type="checkbox"] {
    accent-color: #1E294C; /* mejora el color en navegadores modernos */
}

/* Mensajes de error */
.error-message {
    font-size: 13px;
    color: #d9534f;
    margin-top: 4px;
    display: block;
}

/* Botón */
.btn-submit {
    background-color: #1E294C;
    color: #fff;
    border: none;
    padding: 12px 18px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

    .btn-submit:hover {
        background-color: #2b3c6a;
        transform: translateY(-2px);
        box-shadow: 0px 4px 8px rgba(0,0,0,0.2);
    }
/* Radio buttons list */
.radio-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 8px;
}

    .radio-list input[type="radio"] {
        display: none; /* ocultamos el radio nativo */
    }

    .radio-list label {
        display: flex;
        align-items: center;
        gap: 8px;
        font-size: 14px;
        color: #444;
        cursor: pointer;
        position: relative;
        padding-left: 28px; /* espacio para el círculo */
    }

        /* círculo personalizado */
        .radio-list label::before {
            content: "";
            position: absolute;
            left: 0;
            width: 18px;
            height: 18px;
            border: 2px solid #1E294C;
            border-radius: 50%;
            background: #fff;
            transition: all 0.3s ease;
        }

    /* punto interno cuando está seleccionado */
    .radio-list input[type="radio"]:checked + label::before {
        background: radial-gradient(circle at center, #1E294C 50%, transparent 51%);
        border-color: #1E294C;
    }
