@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@100;200;300;400;500;600;700;800;900&display=swap');

body {
    font-family: 'Poppins', sans-serif;
    background-color: #0d5f51;
}

h1 {
    color: #fff;
}

h2 {
    color: #fff;
}

/* Estilos específicos para la página de médicos */
.container {
    max-width: 800px;
    margin: 100px auto 30px;
    padding: 20px;
}

.search-form {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    gap: 10px;
    flex-wrap: wrap;
}

.search-form select, .search-form input {
    flex: 1;
    min-width: 150px;
    padding: 10px;
    border: 1px solid #15907c;
    border-radius: 5px;
    background-color: #f0f1ec;
}

.search-form button {
    background-color: #15907c;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.search-form button:hover {
    background-color: #fff;
    color: #0d5f51;
}

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

.doctor-card {
    background: #fff;
    border: 1px solid #15907c;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.doctor-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(21, 144, 124, 0.2);
}

.doctor-card img {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    object-fit: cover;
    margin-bottom: 15px;
    border: 3px solid #15907c;
}

.doctor-card h3 {
    color: #15907c;
    margin-bottom: 10px;
}

.doctor-card p {
    color: #555;
    margin-bottom: 15px;
}

.doctor-card button {
    background-color: #15907c;
    color: white;
    border: none;
    padding: 8px 16px;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.doctor-card button:hover {
    background-color: #0d5f51;
}

.letter-filter {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 5px;
    margin: 20px 0;
}

.letter-filter a {
    display: inline-block;
    padding: 5px 10px;
    text-decoration: none;
    color: #fff;
    border: 1px solid #fff;
    border-radius: 5px;
    transition: all 0.3s;
}

.letter-filter a:hover, .letter-filter a.active {
    background-color: #15907c;
    color: white;
}

.piePagina {
    background-color: #f0f1ec;
    color: #15907c;
    text-align: center;
    padding: 20px 0;
    margin-top: auto;
}

.footer-content {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.footer-section {
    margin: 10px 20px;
}

.footer-section h3 {
    margin-bottom: 15px;
    font-size: 18px;
}

.footer-section p {
    margin: 8px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.footer-bottom {
    margin-top: 20px;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.2);
}

@media (max-width: 768px) {
    .search-form {
        flex-direction: column;
    }
    
    .search-form select, .search-form input, .search-form button {
        width: 100%;
    }
    
    .doctor-list {
        grid-template-columns: 1fr;
    }
}

.medico-card {
    background: white;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    overflow: hidden;
    transition: transform 0.3s;
}

.medico-card:hover {
    transform: translateY(-5px);
}

.medico-imagen {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    margin: 20px auto 10px auto; /* Centrar y dar espacio */
    border: 3px solid #15907c; /* Borde similar al ejemplo */
}

.medico-imagen img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.medico-info {
    padding: 20px;
    text-align: center; /* Centrar el texto dentro de la tarjeta */
}

.medico-nombre {
    font-size: 1.2em;
    color: #333;
    margin: 0 0 10px 0;
}

.medico-especialidad {
    color: #15907c;
    font-weight: bold;
    margin-bottom: 15px;
}

.medico-sede-spacing {
    margin-bottom: 15px;
}

.ver-horarios-btn {
    background-color: #15907c;
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    width: 100%;
    transition: background-color 0.3s;
}