/* dirmed-style.css v5.1 */

/* --- GENERALES --- */
.dirmed-ficha { background-color: #f9f9f9; border: 1px solid #ddd; border-radius: 8px; padding: 25px; margin-top: 30px; font-family: sans-serif; }
.dirmed-titulo-profesional { color: #555; margin-top: 0; margin-bottom: 15px; font-size: 1.4em; font-weight: 500; }
.dirmed-foto-container { margin-bottom: 20px; }
.dirmed-foto-container img { border-radius: 8px; max-width: 100%; height: auto; }
.dirmed-header { margin-top: 0; color: #0073aa; border-bottom: 2px solid #0073aa; padding-bottom: 10px; margin-bottom: 20px; }
.dirmed-dato { margin-bottom: 8px; font-size: 1.05em; }
.dirmed-tag-especialidad { background-color: #e7f3ff; color: #0073aa; padding: 3px 8px; border-radius: 4px; font-size: 0.9em; font-weight: 600; }
.dirmed-whatsapp-btn { display: inline-block; background-color: #25D366; color: white; padding: 10px 20px; border-radius: 5px; text-decoration: none; font-weight: bold; margin-top: 15px; }
.dirmed-whatsapp-btn:hover { background-color: #1da851; color: white; }

/* --- HOME: BUSCADOR --- */
.dirmed-hero-search {
    background: #0073aa;
    padding: 40px 20px;
    text-align: center;
    border-radius: 8px;
    margin-bottom: 40px;
    color: white;
}
.dirmed-hero-search h2 { color: white; margin-bottom: 20px; }
.dirmed-search-form { display: flex; max-width: 600px; margin: 0 auto; gap: 10px; }
.dirmed-search-input { flex-grow: 1; padding: 12px; border-radius: 4px; border: none; font-size: 16px; }
.dirmed-search-btn { background: #222; color: white; border: none; padding: 12px 25px; border-radius: 4px; cursor: pointer; font-weight: bold; }
.dirmed-search-btn:hover { background: #444; }

/* --- HOME: GRID DE DOCTORES --- */
.dirmed-home-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(250px, 1fr)); gap: 20px; }
.dirmed-card-doc { background: white; border: 1px solid #eee; border-radius: 8px; overflow: hidden; transition: transform 0.2s; box-shadow: 0 2px 5px rgba(0,0,0,0.05); }
.dirmed-card-doc:hover { transform: translateY(-5px); box-shadow: 0 5px 15px rgba(0,0,0,0.1); }
.dirmed-card-img { height: 200px; overflow: hidden; background: #eee; }
.dirmed-card-img img { width: 100%; height: 100%; object-fit: cover; }
.dirmed-card-body { padding: 15px; text-align: center; }
.dirmed-card-title { margin: 0 0 5px 0; font-size: 1.1em; }
.dirmed-card-title a { text-decoration: none; color: #333; }
.dirmed-card-meta { color: #666; font-size: 0.9em; margin-bottom: 10px; }
.dirmed-card-btn { display: inline-block; background: #0073aa; color: white; padding: 5px 15px; text-decoration: none; border-radius: 4px; font-size: 0.9em; }

/* --- Listas internas --- */
.dirmed-clinicas-header { margin-top: 30px; margin-bottom: 15px; font-size: 1.2em; font-weight: bold; }
.dirmed-lista-clinicas { list-style: none; padding: 0; margin: 0; }
.dirmed-clinica-item { background: white; padding: 15px; margin-bottom: 10px; border: 1px solid #eee; border-left: 4px solid #0073aa; border-radius: 4px; }
.dirmed-clinica-nombre a { text-decoration: none; color: #333; font-size: 1.1em; font-weight: bold; }
.dirmed-horario-linea { color: #555; margin-top: 4px; font-size: 0.95em; }
.dirmed-grid-doctores { display: grid; gap: 20px; }
.dirmed-doc-card { display: flex; gap: 15px; border-bottom: 1px solid #eee; padding-bottom: 15px; }
.dirmed-doc-avatar { width: 70px; height: 70px; border-radius: 50%; object-fit: cover; }