body {
    font-family: 'Montserrat', sans-serif;
    margin: 0;
    padding: 0;
    background: linear-gradient(135deg, #e0f7fa, #ffc2ef);
    color: #333;
    line-height: 1.7;
}

header {
    background-color: #38c172;
    color: white;
    text-align: center;
    padding: 60px 0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

header h1 {
    font-size: 2.5em;
    font-weight: 600;
    margin: 0;
}

main {
    max-width: 1000px;
    margin: 60px auto;
    padding: 40px;
    background-color: white;
    border-radius: 15px;
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.apoyos-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

.apoyo-tipo {
    border-radius: 10px;
    padding: 30px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.funcional-apoyos {
    background-color: #e8f5e9; /* Verde claro para funcionales */
}

.auxiliar-apoyos {
    background-color: #e3f2fd; /* Azul claro para auxiliares */
}

.asistencial-apoyos {
    background-color: #fff3e0; /* Amarillo claro para asistenciales */
}

.apoyo-tipo h2 {
    font-size: 2em;
    margin-bottom: 20px;
}

.apoyo-tipo h2 i {
    margin-right: 10px;
}

.apoyo-card {
    background-color: #f0f0f0;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.apoyo-card:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.2);
}

.apoyo-card h3 {
    font-size: 1.5em;
    margin-bottom: 10px;
    color: #333;
}

.apoyo-card p {
    font-size: 1.1em;
    color: #555;
}

.apoyo-card a {
    color: #38c172;
    text-decoration: none;
    font-weight: 600;
}

.volver-inicio {
    text-align: center;
    margin-top: 40px;
}

.volver-inicio a {
    display: inline-flex;
    align-items: center;
    background-color: #38c172;
    color: white;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease;
}

.volver-inicio a:hover {
    background-color: #38c172;
}

.volver-inicio i {
    margin-right: 10px;
}

.tipos-apoyo-container {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
}

.tipo-apoyo-btn {
    background-color: #f0f0f0;
    border: none;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 1.1em;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.tipo-apoyo-btn.active {
    background-color: #38c172;
    color: white;
}

.tipo-apoyo-btn:hover {
    background-color: #e0e0e0;
}

.tipo-apoyo-btn i {
    margin-right: 10px;
}

.filtro-fecha {
    margin: 30px auto;
    padding: 30px;
    background-color: #f0f8ff;
    border-radius: 15px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.1);
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 20px;
}

.filtro-fecha label {
    font-weight: 600;
    color: #333;
    flex: 1 1 100%;
    text-align: center;
}

.filtro-fecha input[type="date"],
.filtro-fecha button {
    padding: 15px 25px;
    border-radius: 10px;
    border: none;
    font-size: 1em;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.filtro-fecha input[type="date"] {
    border: 1px solid #ccc;
    background-color: white;
}

.filtro-fecha button[type="submit"] {
    background: linear-gradient(135deg, #64b5f6, #2196f3);
    color: white;
}

.filtro-fecha button[type="button"] {
    background-color: #f44336;
    color: white;
}

.filtro-fecha button:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 10px rgba(0, 0, 0, 0.2);
}

.filtro-fecha button:active {
    transform: translateY(1px);
    box-shadow: 0 3px 5px rgba(0, 0, 0, 0.1);
}

.mensaje-burbuja {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* Centrar la burbuja */
    background-color: rgba(32, 201, 151, 0.7); /* Fondo semi-transparente */
    color: white;
    padding: 20px 40px;
    border-radius: 30px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.8s ease, transform 0.8s ease;
    animation: movimientoBurbuja 10s linear infinite alternate; /* Animación de movimiento */
}

.mensaje-burbuja.mostrar {
    opacity: 1;
}

@keyframes movimientoBurbuja {
    0% {
        transform: translate(-50%, -50%) translate(0, 0);
    }
    100% {
        transform: translate(-50%, -50%) translate(20px, 20px);
    }
}



.preguntar-servicio {
    background-color: #28a745; /* Verde para indicar acción positiva */
    color: white;
    border: none;
    padding: 8px 15px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 14px;
    cursor: pointer;
    border-radius: 5px;
    margin-top: 10px;
}

.preguntar-servicio:hover {
    background-color: #1e7e34;
}

.ver-detalles {
    background-color: #007bff; /* Azul informativo */
    color: white;
    border: none;
    padding: 8px 15px;
    text-align: center;
    text-decoration: none;
    display: inline-block;
    font-size: 14px;
    cursor: pointer;
    border-radius: 5px;
    margin-top: 10px;
}

.ver-detalles:hover {
    background-color: #0056b3;
}

/* Estilos para el formulario modal */
#formularioServicioModal, #mensajeNoDisponibleModal {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background-color: #f9f9f9;
    padding: 20px;
    border: 1px solid #ccc;
    z-index: 1000;
    box-shadow: 0 0 10px rgba(0, 0, 0, 0.1);
    text-align: left; /* Ajusta la alineación del texto dentro del modal */
}

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

#formularioServicioModal input[type="text"],
#formularioServicioModal input[type="tel"],
#formularioServicioModal select {
    width: 100%;
    padding: 8px;
    margin-bottom: 10px;
    border: 1px solid #ddd;
    box-sizing: border-box;
}

#formularioServicioModal button, #mensajeNoDisponibleModal button {
    padding: 10px 15px;
    margin-right: 10px;
    cursor: pointer;
}

#mensajeNoDisponibleModal {
    text-align: center; /* Centra el texto en el modal de no disponibilidad */
}