/* ============================================================
   Bulle de Soi – Grille Praticiens  |  praticiens.css
============================================================ */

/* Wrapper global */
.bds-praticiens-wrap {
    width: 100%;
}

/* ============================================================
   FORMULAIRE DE FILTRES
============================================================ */
.praticiens-filters {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 32px;
}

.praticiens-filters input,
.praticiens-filters select {
    padding: 10px 14px;
    border-radius: 6px;
    border: 1px solid #ccc;
    font-size: 14px;
    min-width: 200px;
    background: #fff;
    color: #333;
    transition: border-color .2s;
}

.praticiens-filters input:focus,
.praticiens-filters select:focus {
    outline: none;
    border-color: #169BAA;
    box-shadow: 0 0 0 3px rgba(22,155,170,.15);
}

.praticiens-filters select option {
    white-space: normal !important;
}

#filter-btn {
    padding: 10px 22px;
    background: #169BAA;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 14px;
    cursor: pointer;
    transition: opacity .2s;
}
#filter-btn:hover { opacity: .85; }


/* ============================================================
   GRILLE MASONRY
============================================================ */
.praticiens-grid { width: 100%; }

.praticien-card {
    width: calc((100% - 60px) / 3);
    margin-bottom: 30px;
    background: #fff;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    box-shadow: 0 0 30px rgba(0,0,0,.10);
    box-sizing: border-box;
}

@media (max-width: 980px) {
    .praticien-card { width: calc((100% - 30px) / 2); }
}
@media (max-width: 600px) {
    .praticien-card { width: 100%; }
}


/* ============================================================
   TITRE
============================================================ */
.praticien-card h2 {
    margin-top: 15px;
    margin-bottom: 5px;
    font-size: 1.1rem;
}

.praticien-card h2 a {
    color: inherit;
    text-decoration: none;
    transition: opacity .2s;
}
.praticien-card h2 a:hover { opacity: .75; }


/* ============================================================
   IMAGE PORTRAIT
============================================================ */
.praticien-img-wrapper {
    width: 100%;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    border-radius: 10px;
    margin-bottom: 15px;
}

.praticien-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}


/* ============================================================
   BADGES
============================================================ */
.praticien-badges {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
    margin: 15px 0;
}

.badge-group {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px;
}

.badge-label {
    flex: 0 0 100%;
    text-align: center;
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 2px;
}

.badge {
    display: inline-block;
    padding: 5px 12px;
    border-radius: 999px;
    border: 1px solid #169BAA;
    background: rgba(22,155,170,.20);
    color: #000;
    font-size: 11px;
    white-space: nowrap;
    line-height: 1.4;
}


/* ============================================================
   BOUTONS
============================================================ */
.praticien-btn {
    display: inline-block;
    padding: 10px 20px;
    background: #169BAA;
    color: #fff !important;
    text-decoration: none;
    border-radius: 8px;
    font-size: 14px;
    transition: opacity .2s;
}
.praticien-btn:hover { opacity: .85; }

#load-more {
    display: block;
    margin: 40px auto 0;
    padding: 12px 32px;
    background: #169BAA;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 15px;
    cursor: pointer;
    transition: opacity .2s;
}
#load-more:hover { opacity: .85; }


/* ============================================================
   MESSAGES
============================================================ */
.bds-no-result {
    text-align: center;
    color: #666;
    padding: 40px 0;
    font-size: 15px;
    width: 100%;
}


/* ============================================================
   LOADER SPINNER
============================================================ */
.bds-spinner {
    display: inline-block;
    width: 36px;
    height: 36px;
    border: 4px solid rgba(22,155,170,.25);
    border-top-color: #169BAA;
    border-radius: 50%;
    animation: bds-spin .7s linear infinite;
}

@keyframes bds-spin {
    to { transform: rotate(360deg); }
}
