* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: #f5f5f5;
    font-family: 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
    padding: 2rem 1rem;
    color: #1e1e1e;
}

.form-container {
    max-width: 840px;
    margin: 0 auto;
    background: #ffffff;
    border: 1px solid #cccccc;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
}

.header-image {
    width: 100%;
    display: block;
}

.header-image img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

form {
    padding: 2rem 2rem 2rem;
}

.field-group {
    margin-bottom: 1.8rem;
    border-bottom: 1px solid #e0e0e0;
    padding-bottom: 1rem;
}

label {
    font-weight: 600;
    font-size: 1.1rem;
    display: block;
    margin-bottom: 0.75rem;
    color: #000;
    letter-spacing: -0.2px;
}

.radio-group {
    flex-wrap: wrap;
    gap: 0.8rem 1.5rem;
    margin-top: 0.25rem;
}

.radio-option {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.85rem;
    cursor: pointer;
    color: #2c2c2c;
}

input[type="radio"] {
    appearance: none;
    -webkit-appearance: none;
    width: 1rem;
    height: 1rem;
    border: 1.5px solid #6c6c6c;
    border-radius: 50%;
    margin: 0;
    background: white;
    cursor: pointer;
    position: relative;
}

input[type="radio"]:checked {
    border: 1.5px solid #1e1e1e;
    background-color: #1e1e1e;
    box-shadow: inset 0 0 0 2px white;
}

input[type="radio"]:focus {
    outline: 1px solid #888;
}



input[type="text"],
input[type="tel"],
input[type="email"] {
    width: 100%;
    padding: 0.75rem 0.9rem;
    border-radius: 0;
    border: 1px solid #aaa;
    background: #fff;
    font-family: inherit;
    font-size: 0.9rem;
    transition: 0.1s;
}

input[type="text"]:focus,
input[type="tel"]:focus,
input[type="email"]:focus {
    outline: none;
    border-color: #333;
    background: #fefefe;
}


.error-message {
    color: #c0392b;
    font-size: 0.7rem;
    margin-top: 0.45rem;
    font-weight: 500;
}

.input-error {
    border-color: #c0392b !important;
    background-color: #fff6f5 !important;
}

small.hint {
    display: block;
    font-size: 0.7rem;
    color: #6f6f6f;
    margin-top: 0.3rem;
}



.btn-home {
    background: #ea0f44;
    width: 350px;
    border: none;
    padding: 0.9rem;
    font-size: 2.5rem;
    font-weight: 600;
    color: white;
    font-family: inherit;
    cursor: pointer;
    transition: 0.15s;
    margin: auto;
    letter-spacing: 0.3px;
    border-radius: 0;
    display: block;
    text-decoration: none;
}


button {
    background: #ea0f44;
    width: 250px;
    border: none;
    padding: 0.9rem;
    font-size: 2.5rem;
    font-weight: 600;
    color: white;
    font-family: inherit;
    cursor: pointer;
    transition: 0.15s;
    margin: auto;
    letter-spacing: 0.3px;
    border-radius: 0;
    display: block;
}

button:hover {
    background: #111;
}

.hidden {
    display: none;
}

hr {
    margin: 0.5rem 0 1rem;
    border-color: #ddd;
}

@media (max-width: 550px) {
    form {
        padding: 1.5rem;
    }

    .radio-group {
        gap: 0.6rem 1rem;
    }
}

a,
a:link {
    color: #ffffff;
}

a:visited {
    color: #ffffff;
}

a:hover {
    color: #ffffff;
}

a:active {
    color: #ffffff;
}

a:focus {
    color: #ffffff;
}








.success-container {
    text-align: center;
    padding: 40px 20px;
}

 

.success-title {
    font-size: 32px;
    color: #ea0f44;
    margin-bottom: 20px;
    font-weight: bold;
}

.success-message {
    font-size: 18px;
    color: #333;
    margin-bottom: 30px;
    line-height: 1.6;
    text-align: center;
}


/* Estilos para la página de error */
.error-container {
    text-align: center;
    padding: 40px 20px;
}

 

.error-title {
    font-size: 32px;
    color: #ea0f44;
    margin-bottom: 20px;
    font-weight: bold;
}

.error-message-text {
    font-size: 18px;
    color: #333;
    margin-bottom: 30px;
    line-height: 1.6;
    text-align: center;
} 