/* Styles for Mutualidad Plugin - Medical Directory */

.cartilla-medica-container {
    max-width: 1200px;
    margin: 40px auto;
    padding: 20px;
    background-color: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.cartilla-medica-container h2 {
    text-align: center;
    color: #0056b3;
    margin-bottom: 30px;
    font-size: 2.5rem;
}

.cartilla-filters {
    display: flex;
    gap: 15px;
    justify-content: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.cartilla-filters select,
.cartilla-filters button {
    padding: 10px 15px;
    border: 1px solid #ccc;
    border-radius: 5px;
    font-size: 1rem;
}

.cartilla-filters button {
    background-color: #007bff;
    color: #fff;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.cartilla-filters button:hover {
    background-color: #0056b3;
}

.medicos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.medico-card {
    background-color: #f8f9fa;
    border: 1px solid #eee;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
    text-align: center;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.medico-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.medico-thumbnail img {
    max-width: 120px;
    height: auto;
    border-radius: 50%;
    margin-bottom: 15px;
    border: 3px solid #007bff;
}

.medico-card h3 {
    color: #333;
    font-size: 1.6rem;
    margin-top: 0;
    margin-bottom: 10px;
}

.medico-card p {
    font-size: 0.95rem;
    color: #555;
    margin-bottom: 5px;
}

.medico-card .solicitar-turno-btn {
    background-color: #28a745;
    color: #fff;
    padding: 10px 20px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    margin-top: 15px;
    font-size: 1rem;
    transition: background-color 0.3s ease;
}

.medico-card .solicitar-turno-btn:hover {
    background-color: #218838;
}

/* Responsive styles for plugin */
@media (max-width: 768px) {
    .cartilla-filters {
        flex-direction: column;
        align-items: stretch;
    }

    .cartilla-filters select,
    .cartilla-filters button {
        width: 100%;
    }

    .medicos-grid {
        grid-template-columns: 1fr;
    }
}
