/*
 * Composants « prestataire » (T2) : bloc standard, logo, cartes du catalogue, boîte de réception,
 * vue anonymisée d'un besoin. Fichier séparé de app.css pour limiter les conflits entre tâches.
 */

/* --- Logo ou initiales ---------------------------------------------------------------------- */
.provider-logo {
  position: relative;
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 3rem;
  height: 3rem;
  border-radius: var(--bs-border-radius);
  background: var(--kk-yellow-soft);
  color: var(--kk-ink);
  font-weight: 700;
  overflow: hidden;
  border: 1px solid var(--bs-primary-border-subtle);
}
.provider-logo-sm { width: 2.25rem; height: 2.25rem; font-size: 0.8rem; }
.provider-logo-lg { width: 5rem; height: 5rem; font-size: 1.6rem; }
.provider-logo img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: contain;
  background: #fff;
}

/* --- Bloc standard (F-CAT-03) ---------------------------------------------------------------- */
.provider-block-full .provider-facts dt {
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: var(--bs-secondary-color);
  margin-bottom: 0.15rem;
}
.provider-block-full .provider-facts dd {
  margin-bottom: 0;
  font-weight: 600;
}
.provider-block-full .provider-tagline,
.provider-card-tagline,
.provider-free-text {
  overflow-wrap: anywhere;
}
.provider-facts-inline .list-inline-item:not(:last-child)::after {
  content: "·";
  margin-left: 0.5rem;
}
.provider-name-link:hover { color: var(--kk-yellow-dark) !important; }
.rating-lg { font-size: 1.1rem; }
.min-w-0 { min-width: 0; }

/* --- Catalogue (F-CAT-01, F-CAT-02) ---------------------------------------------------------- */
.provider-card { transition: box-shadow 0.15s ease, transform 0.15s ease; }
.provider-card:hover { box-shadow: var(--bs-box-shadow); transform: translateY(-1px); }
/* Carte sponsorisée : une barre jaune en haut (aplat, T12) ; le badge « Sponsorisé » porte le sens. */
.provider-card-featured::before {
  content: "";
  position: absolute;
  top: -1px;
  left: -1px;
  right: -1px;
  height: 0.3rem;
  background: var(--kk-yellow);
  border-radius: var(--bs-card-border-radius) var(--bs-card-border-radius) 0 0;
}
.provider-card-tagline {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.provider-visual { aspect-ratio: 4 / 3; object-fit: cover; width: 100%; }

/* --- Espace prestataire ---------------------------------------------------------------------- */
.quota-meter { height: 0.5rem; }
.invitation-row-new { background: rgba(var(--kk-yellow-rgb), 0.1); }
.invitation-row-new .invitation-title { font-weight: 600; }
.locked-file { background: var(--bs-tertiary-bg); }
.why-you li::marker { color: var(--kk-ink); }
.stat-tile .stat-value { font-size: 1.75rem; font-weight: 700; line-height: 1.1; }

/* Alpine.js : masque un élément tant quAlpine
