body {
    font-family: Arial, sans-serif;
    background-color: #f4f4f4;
    color: #333;
    line-height: 1.6;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.form-container {
    background: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.1);
    width: 100%;
    max-width: 800px;
}

.logo-container {
    text-align: center;
    margin-bottom: 20px;
}

.logo-container h2 {
    color: #0056b3;
    margin-bottom: 5px;
}

.logo-container p {
    font-size: 0.9em;
    color: #666;
}

fieldset {
    border: 1px solid #ddd;
    border-radius: 5px;
    padding: 20px;
    margin-bottom: 20px;
}

legend {
    font-weight: bold;
    color: #0056b3;
    padding: 0 10px;
}

.form-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.full-width {
    grid-column: 1 / -1;
}

label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

input[type="text"],
input[type="email"],
input[type="tel"],
input[type="number"],
select,
textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    box-sizing: border-box; /* Importante para el padding */
}

textarea {
    resize: vertical;
}

.radio-group label {
    font-weight: normal;
    display: inline-block;
    margin-right: 15px;
}

.radio-group input[type="radio"] {
    margin-right: 5px;
}

.declaracion {
    margin-top: 20px;
    display: flex;
    align-items: center;
}

.declaracion input[type="checkbox"] {
    margin-right: 10px;
}

.info-adicional {
    font-size: 0.8em;
    color: #555;
    background-color: #f9f9f9;
    border: 1px solid #eee;
    padding: 15px;
    border-radius: 5px;
    margin-top: 20px;
}

.info-adicional p {
    margin: 5px 0;
}

.submit-btn {
    display: block;
    width: 100%;
    padding: 15px;
    background-color: #0056b3;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 1.2em;
    cursor: pointer;
    margin-top: 20px;
    transition: background-color 0.3s;
}

.submit-btn:hover {
    background-color: #004494;
}