/* Reseteo básico de márgenes y rellenos */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Estilos generales del body */
body {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    background-color: #f4f4f4;
    color: #333;
    padding: 0;
    margin: 0;
}

/* Diseño de enlaces */
a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
}

/* Barra superior */
header {
    background-color: #233565;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 20px;
    color: white;
}

header .logo {
    width: 200px;
    height: auto;
}

header h1 {
    font-size: 24px;
    color: white;
    margin: 0;
}

header nav a {
    color: white;
    text-decoration: none;
    font-size: 18px;
    display: flex;
    align-items: center;
}

header nav a i {
    margin-left: 10px;
    font-size: 24px;
}

/* Adaptabilidad para móviles */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        text-align: center;
    }

    header .logo {
        width: 170px;
        margin-bottom: 10px;
    }

    header h1 {
        font-size: 20px;
    }

    header nav a i {
        font-size: 20px;
    }
}

/* Sección del formulario */
#appointmentForm {
    background-color: #fff;
    padding: 20px;
    margin: 20px auto;
    max-width: 600px;
    border-radius: 8px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Estilos generales del formulario */
#appointmentForm form {
    display: flex;
    flex-direction: column;
}

#appointmentForm label {
    font-size: 16px;
    margin-bottom: 8px;
    color: #233565;
}

#appointmentForm input, #appointmentForm select, #appointmentForm textarea {
    padding: 10px;
    margin-bottom: 20px;
    border: 1px solid #ccc;
    border-radius: 4px;
    font-size: 16px;
    width: 100%;
    box-sizing: border-box;
}

#appointmentForm input:focus, #appointmentForm select:focus, #appointmentForm textarea:focus {
    outline: none;
    border-color: #233565;
}

/* Botón de enviar */
#appointmentForm button {
    background-color: #233565;
    color: white;
    border: none;
    padding: 12px;
    font-size: 18px;
    border-radius: 4px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

#appointmentForm button:hover {
    background-color: #1a2a4f;
}

/* Adaptabilidad para móviles */
@media (max-width: 768px) {
    #appointmentForm {
        padding: 15px;
        margin: 10px;
    }

    #appointmentForm label {
        font-size: 14px;
    }

    #appointmentForm input, #appointmentForm select, #appointmentForm textarea {
        font-size: 14px;
    }

    #appointmentForm button {
        font-size: 16px;
    }
}

/* Footer */
footer {
    background-color: #233565;
    color: white;
    text-align: center;
    padding: 15px 0;
    margin-top: 20px;
}

footer p {
    font-size: 14px;
    margin: 0;
}

/* Adaptabilidad para móviles */
@media (max-width: 768px) {
    footer p {
        font-size: 12px; /* Reducir el tamaño de la fuente para móviles */
    }
}

