body {
    font-family: 'Montserrat', sans-serif;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    background-color: #f4f4f4;
    color: #333;
}

/* Container for Centering Content */
.container {
    max-width: 1000px; /* Ancho máximo del contenedor */
    margin: 0 auto; /* Centra el contenedor */
    padding: 20px;
    box-sizing: border-box; /* Incluye padding en el ancho total */
}

/* Header Styles */
header {
    background-color: #2c3e50; /* Azul oscuro para el header */
    color: #fff;
    padding: 15px 0;
    text-align: center;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
}

header h1 {
    margin: 0;
    font-size: 2.2em;
}

header h1 a {
    color: #fff;
    text-decoration: none;
    font-weight: 700;
}

header nav ul {
    list-style: none;
    padding: 0;
    margin: 10px 0 0;
}

header nav ul li {
    display: inline;
    margin: 0 15px;
}

header nav ul li a {
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

header nav ul li a:hover {
    color: #f39c12; /* Naranja para hover */
}

/* Main Content Area */
main {
    padding: 30px 0;
}

.reclamation-book {
    background-color: #fff;
    padding: 30px 40px;
    border-radius: 8px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.reclamation-book h2 {
    text-align: center;
    color: #2c3e50;
    margin-bottom: 10px;
    font-size: 2em;
}

.reclamation-book .subtitle {
    text-align: center;
    color: #555;
    font-size: 0.95em;
    margin-bottom: 20px;
}

.disclaimer {
    background-color: #e0f2f7; /* Azul claro para el disclaimer */
    border-left: 5px solid #3498db; /* Borde azul para destacar */
    padding: 15px 20px;
    margin-bottom: 30px;
    border-radius: 5px;
    color: #2980b9;
    font-size: 0.9em;
}

.disclaimer p {
    margin: 5px 0;
}

/* Form Styles */
form fieldset {
    border: 1px solid #ddd;
    padding: 25px;
    margin-bottom: 30px;
    border-radius: 8px;
    background-color: #fdfdfd;
}

form fieldset legend {
    font-size: 1.3em;
    font-weight: 600;
    color: #34495e; /* Gris oscuro para las leyendas */
    padding: 0 10px;
    background-color: #fff; /* Fondo blanco para la leyenda */
    border-radius: 5px;
}

form .form-group {
    margin-bottom: 18px;
}

form .form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #444;
}

form .form-group input[type="text"],
form .form-group input[type="tel"],
form .form-group input[type="email"],
form .form-group input[type="number"],
form .form-group select,
form .form-group textarea {
    width: calc(100% - 20px); /* Ancho completo menos padding */
    padding: 12px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1em;
    box-sizing: border-box; /* Importante para que el padding no desborde */
    transition: border-color 0.3s ease;
}

form .form-group input[type="text"]:focus,
form .form-group input[type="tel"]:focus,
form .form-group input[type="email"]:focus,
form .form-group input[type="number"]:focus,
form .form-group select:focus,
form .form-group textarea:focus {
    border-color: #3498db; /* Borde azul al enfocar */
    outline: none;
}

/* Specific styles for address group */
.address-group input {
    margin-bottom: 10px; /* Espacio entre los campos de dirección */
}

.address-group input:last-child {
    margin-bottom: 0;
}

/* Radio and Checkbox Groups */
.radio-group p, .checkbox-group label {
    font-weight: 600;
    margin-bottom: 10px;
    color: #444;
}

.radio-group label, .checkbox-group label {
    display: inline-block;
    margin-right: 20px;
    font-weight: normal; /* Sobreescribe el font-weight de label */
    cursor: pointer;
}

.radio-group input[type="radio"], .checkbox-group input[type="checkbox"] {
    margin-right: 8px;
    transform: scale(1.1); /* Ligeramente más grande */
}

/* Hidden fields for minor info */
.hidden {
    display: none;
}

.sub-legend {
    font-weight: 600;
    margin-top: 20px;
    margin-bottom: 15px;
    color: #555;
    font-size: 1.1em;
    border-bottom: 1px dashed #eee;
    padding-bottom: 10px;
}

/* Observations Fieldset (read-only) */
.observations-fieldset {
    background-color: #f9f9f9;
    border: 1px dashed #ddd;
}

.observations-fieldset textarea {
    background-color: #eee;
    cursor: not-allowed;
}

/* Consent Checkbox */
.form-consent {
    margin-top: 25px;
    font-size: 0.95em;
    color: #555;
    display: flex;
    align-items: flex-start;
}

.form-consent input[type="checkbox"] {
    margin-right: 10px;
    margin-top: 4px; /* Alineación vertical */
    transform: scale(1.2);
}

.form-consent a {
    color: #3498db;
    text-decoration: none;
    font-weight: 600;
}

.form-consent a:hover {
    text-decoration: underline;
}

/* Submit Button */
.submit-button {
    display: block;
    width: 100%;
    padding: 15px 20px;
    background-color: #28a745; /* Verde para el botón */
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 1.1em;
    font-weight: 700;
    cursor: pointer;
    margin-top: 30px;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.submit-button:hover {
    background-color: #218838; /* Verde más oscuro al hover */
    transform: translateY(-2px); /* Pequeño efecto al pasar el mouse */
}

/* Footer Styles */
footer {
    background-color: #34495e; /* Gris oscuro para el footer */
    color: #ecf0f1; /* Gris claro para el texto */
    text-align: center;
    padding: 20px 0;
    margin-top: 40px;
    font-size: 0.9em;
}

footer p {
    margin: 5px 0;
}

footer a {
    color: #f39c12; /* Naranja para los enlaces del footer */
    text-decoration: none;
    transition: color 0.3s ease;
}

footer a:hover {
    color: #ecf0f1;
    text-decoration: underline;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 15px;
    }

    .reclamation-book {
        padding: 20px;
    }

    form fieldset {
        padding: 15px;
    }

    form fieldset legend {
        font-size: 1.1em;
    }

    .radio-group label, .checkbox-group label {
        display: block;
        margin-bottom: 10px;
    }

    .form-group input[type="text"],
    .form-group input[type="tel"],
    .form-group input[type="email"],
    .form-group input[type="number"],
    .form-group select,
    .form-group textarea {
        width: 100%; /* Full width on smaller screens */
    }
}
