@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@700&display=swap');

/* Estilos base */
body {
    font-family: Arial, sans-serif;
    margin: 0;
    padding: 0;
    background-color: #fff;
    color: #000;
}

header {
    text-align: center;
    padding: 30px 0;
    background-color: #fff;
}

h1 {
    font-family: 'Roboto', sans-serif;
    font-size: 5em;
    margin: 0;
}

main {
    padding: 20px;
    text-align: center;
}

/* Sección imagen */
#imagen {
    margin-top: -70px;
    margin-bottom: 100px;
}

#imagen p {
    font-size: 1em;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-align: justify;
    margin-top: -10px;
}

#imagen img {
    width: 400px;
    height: 400px;
    object-fit: cover;
}

/* Sección política de privacidad */
#politica {
    margin-top: -20px;
    text-align: left;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

#politica h2 {
    font-size: 2em;
    border-bottom: 2px solid #000;
    padding-bottom: 5px;
}

#politica p, #politica ul {
    font-size: 1em;
    line-height: 1.5;
    margin-top: 20px;
}

#politica ul {
    list-style-type: disc;
    padding-left: 20px;
}

/* Enlaces */
a {
    text-decoration: none;
    color: #000;
}

a:hover {
    text-decoration: underline;
}

/* Botones generales */
button {
    margin-top: 20px;
    padding: 10px 20px;
    font-size: 1em;
    cursor: pointer;
    background-color: #007BFF;
    color: white;
    border: none;
    border-radius: 5px;
}

button:hover {
    background-color: #0056b3;
}

/* Sección de enlaces y botones de acción */
.button-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
    margin-bottom: 50px;
}

.action-button {
    padding: 12px 24px;
    font-size: 1.1em;
    cursor: pointer;
    background-color: #007BFF;
    color: white;
    border: none;
    border-radius: 5px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.action-button:hover {
    background-color: #0056b3;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.1);
    text-decoration: none;
}

.action-button.primary {
    background-color: #28a745;
}

.action-button.primary:hover {
    background-color: #218838;
}

#enlaces {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
    margin-bottom: 40px;
}

#enlaces h2 {
    font-size: 2em;
    border-bottom: 2px solid #000;
    padding-bottom: 5px;
    margin-bottom: 20px;
    display: inline-block;
}

/* Estilos para el formulario */
.form-container {
    max-width: 800px;
    margin: 0 auto;
    text-align: left;
    border: 1px solid #ccc;
    padding: 25px;
    box-shadow: 0 0 10px rgba(0,0,0,0.1);
    border-radius: 8px;
    background-color: #fff;
}

.form-title {
    font-size: 2em;
    border-bottom: 2px solid #000;
    padding-bottom: 5px;
    margin-bottom: 20px;
    font-family: 'Roboto', sans-serif;
}

.form-group {
    margin-bottom: 15px;
}

label {
    display: block;
    margin-bottom: 5px;
    font-weight: bold;
}

input[type="text"],
input[type="email"],
input[type="date"],
input[type="tel"] {
    width: 100%;
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-family: Arial, sans-serif;
    box-sizing: border-box;
}

input:focus {
    border-color: #4CAF50;
    outline: none;
    box-shadow: 0 0 5px rgba(76, 175, 80, 0.5);
}

.form-footer {
    margin-top: 30px;
    font-size: 0.9em;
    color: #666;
    line-height: 1.4;
}

.submit-btn {
    margin-top: 20px;
    padding: 12px 24px;
    font-size: 1em;
    cursor: pointer;
    background-color: #007BFF;
    color: white;
    border: none;
    border-radius: 5px;
    transition: background-color 0.3s;
}

.submit-btn:hover {
    background-color: #0056b3;
}

.back-btn {
    margin-top: 20px;
    padding: 12px 24px;
    font-size: 1em;
    cursor: pointer;
    background-color: #6c757d;
    color: white;
    border: none;
    border-radius: 5px;
    transition: background-color 0.3s;
    margin-right: 10px;
}

.back-btn:hover {
    background-color: #5a6268;
}

.cuota-info {
    margin: 30px 0;
    font-weight: bold;
    font-size: 1.1em;
    background-color: #f8f9fa;
    padding: 15px;
    border-radius: 5px;
    border-left: 4px solid #4CAF50;
}

.buttons-container {
    display: flex;
    justify-content: space-between;
}

/* Alertas y mensajes */
.alert {
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid transparent;
    border-radius: 4px;
}

.alert-success {
    color: #155724;
    background-color: #d4edda;
    border-color: #c3e6cb;
}

.alert-danger {
    color: #721c24;
    background-color: #f8d7da;
    border-color: #f5c6cb;
}