/* Tadreep public provider directories - RTL, responsive, brand-aligned. */
.tadreep-directory{font-family:'Cairo','Tahoma',sans-serif;max-width:1200px;margin-inline:auto;padding:2rem 1rem 3rem;color:#071d49}.tadreep-directory-heading{text-align:center;margin-bottom:1.5rem}.tadreep-directory-title{margin:0 0 .35rem;font-size:2rem;font-weight:800;color:#061b48}.tadreep-directory-subtitle{margin:0;color:#64748b;font-size:1rem}.tadreep-provider-search{display:grid;grid-template-columns:minmax(0,1.6fr) minmax(180px,.8fr) auto auto;gap:.75rem;align-items:end;background:#fff;border:1px solid #e2e8f0;border-radius:20px;padding:1rem;box-shadow:0 8px 25px rgba(15,23,42,.07);margin-bottom:1.25rem}.tadreep-provider-search-field label{display:block;font-size:.82rem;font-weight:700;color:#334155;margin-bottom:.35rem}.tadreep-provider-search-field input,.tadreep-provider-search-field select{width:100%;height:48px;border:1px solid #d7e0eb;border-radius:12px;background:#fff;padding:0 .9rem;font:inherit;color:#0f172a;box-sizing:border-box}.tadreep-provider-search-submit,.tadreep-provider-search-reset{height:48px;border-radius:12px;padding:0 1.25rem;display:inline-flex;align-items:center;justify-content:center;text-decoration:none;font:inherit;font-weight:700;cursor:pointer;box-sizing:border-box}.tadreep-provider-search-submit{border:1px solid #08245c;background:#08245c;color:#fff}.tadreep-provider-search-reset{border:1px solid #0aaeb3;color:#078f98;background:#fff}.tadreep-directory-results-head{display:flex;justify-content:flex-start;margin:.5rem 0 1rem;color:#64748b;font-size:.9rem}.tadreep-directory-grid{display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:1.25rem}.tadreep-directory-card{background:#fff;border:1px solid #e4eaf2;border-radius:20px;padding:1.25rem;box-shadow:0 8px 24px rgba(15,23,42,.07);transition:transform .18s ease,box-shadow .18s ease}.tadreep-directory-card:hover{transform:translateY(-3px);box-shadow:0 14px 32px rgba(15,23,42,.1)}.tadreep-directory-card-top{display:flex;align-items:center;gap:1rem;min-height:92px}.tadreep-directory-avatar{width:88px;height:88px;min-width:88px;border-radius:50%;border:1px solid #dce5ef;background:#f8fafc;display:flex;align-items:center;justify-content:center;overflow:hidden;text-decoration:none}.tadreep-directory-avatar-image{width:100%;height:100%;object-fit:cover}.tadreep-directory-avatar-fallback{width:100%;height:100%;display:flex;align-items:center;justify-content:center;color:#0b2a63;font-size:1.7rem;font-weight:800;background:#eef8f9}.tadreep-directory-card-identity{min-width:0}.tadreep-directory-card h3{margin:0 0 .35rem;font-size:1.15rem;line-height:1.45}.tadreep-directory-card h3 a{color:#071d49;text-decoration:none}.tadreep-directory-city{margin:0;color:#0b9fa7;font-size:.9rem}.tadreep-directory-city span{font-size:.65rem}.tadreep-directory-desc{color:#64748b;font-size:.9rem;line-height:1.65;min-height:3.2em;margin:1rem 0}.tadreep-directory-card-actions{display:grid;grid-template-columns:1.15fr .85fr;gap:.65rem;border-top:1px solid #e8edf3;padding-top:1rem}.tadreep-directory-btn{min-height:44px;border-radius:11px;display:flex;align-items:center;justify-content:center;text-decoration:none;font-weight:700;font-size:.9rem}.tadreep-directory-btn-primary{background:#08245c;color:#fff}.tadreep-directory-btn-secondary{background:#fff;border:1px solid #08aeb6;color:#078f98}.tadreep-directory-empty{text-align:center;background:#fff;border:1px solid #e4eaf2;border-radius:18px;padding:3rem 1rem;color:#64748b}
@media(max-width:959px){.tadreep-directory-grid{grid-template-columns:repeat(2,minmax(0,1fr))}.tadreep-provider-search{grid-template-columns:1fr 1fr}.tadreep-provider-search-submit,.tadreep-provider-search-reset{width:100%}}
@media(max-width:639px){.tadreep-directory{padding:1.25rem .85rem 2rem}.tadreep-directory-title{font-size:1.55rem}.tadreep-directory-subtitle{font-size:.9rem}.tadreep-provider-search{grid-template-columns:1fr;border-radius:16px;padding:.85rem}.tadreep-directory-grid{grid-template-columns:1fr;gap:1rem}.tadreep-directory-card{padding:1rem}.tadreep-directory-card-top{gap:.8rem}.tadreep-directory-avatar{width:72px;height:72px;min-width:72px}.tadreep-directory-card h3{font-size:1.05rem}.tadreep-directory-card-actions{grid-template-columns:1fr 1fr}.tadreep-directory-btn{font-size:.82rem}}
.tadreep-directory-rating{margin:.35rem 0 0;color:#0a2540;font-weight:800;font-size:.88rem}.tadreep-directory-rating>span{color:#f6b51b}.tadreep-directory-rating small{color:#6b7b8f;font-weight:600}

/* MVP1-RC22 — scalable training-centre directory + detailed centre cards. */
.tadreep-directory-grid.is-centers{grid-template-columns:repeat(2,minmax(0,1fr));gap:1.15rem}.tadreep-directory-center-card{position:relative;overflow:hidden;padding:1.3rem;display:flex;flex-direction:column;gap:1rem;background:linear-gradient(145deg,#fff 0%,#fbfdff 72%,#f2fbfb 100%)}.tadreep-directory-center-card:before{content:"";position:absolute;inset-block-start:0;inset-inline:0;height:4px;background:linear-gradient(90deg,#09bcc2,#08245c)}.tadreep-directory-center-badges{display:flex;align-items:center;justify-content:space-between;gap:.75rem;flex-wrap:wrap}.tadreep-directory-approved,.tadreep-directory-location{display:inline-flex;align-items:center;gap:.4rem;border-radius:999px;padding:.42rem .75rem;font-size:.78rem;font-weight:800}.tadreep-directory-approved{background:#e6fafa;color:#07275f}.tadreep-directory-approved span{width:22px;height:22px;border-radius:50%;display:grid;place-items:center;background:#0aafb7;color:#fff}.tadreep-directory-location{background:#f3f6fa;color:#62748c}.tadreep-directory-center-main{display:flex;align-items:center;gap:1rem}.tadreep-directory-center-main .tadreep-directory-avatar{width:94px;height:94px;min-width:94px;border:3px solid #fff;box-shadow:0 0 0 1px rgba(10,175,183,.2),0 8px 20px rgba(8,36,92,.08)}.tadreep-directory-center-main .tadreep-directory-card-identity{flex:1;min-width:0}.tadreep-directory-center-main .tadreep-directory-card-identity h3{font-size:1.12rem;margin:0 0 .5rem}.tadreep-directory-center-main .tadreep-directory-desc{margin:0;min-height:0;display:-webkit-box;-webkit-line-clamp:3;-webkit-box-orient:vertical;overflow:hidden}.tadreep-directory-center-stats{display:grid;grid-template-columns:1fr 1fr;border-block:1px solid #e7edf4;padding-block:.85rem}.tadreep-directory-center-stats>div{display:flex;flex-direction:column;align-items:center;justify-content:center;gap:.2rem;min-height:58px}.tadreep-directory-center-stats>div+div{border-inline-start:1px solid #e7edf4}.tadreep-directory-center-stats strong{color:#08245c;font-size:1.05rem}.tadreep-directory-center-stats span{color:#718096;font-size:.78rem}.tadreep-directory-rating strong span{color:#f5ad00}.tadreep-directory-center-card .tadreep-directory-card-actions{grid-template-columns:1fr 1fr;margin-top:auto}.tadreep-directory-pagination{display:flex;justify-content:center;align-items:center;gap:.45rem;flex-wrap:wrap;margin-top:1.6rem}.tadreep-directory-pagination a,.tadreep-directory-pagination span{min-width:40px;height:40px;padding:0 .6rem;border:1px solid #dce5ef;border-radius:10px;display:grid;place-items:center;text-decoration:none;color:#08245c;background:#fff;font-weight:700}.tadreep-directory-pagination .is-current{background:#08245c;color:#fff;border-color:#08245c}.tadreep-directory-pagination a:hover{border-color:#0aaeb3;color:#078f98}
@media(max-width:959px){.tadreep-directory-grid.is-centers{grid-template-columns:1fr}.tadreep-directory-center-main .tadreep-directory-avatar{width:84px;height:84px;min-width:84px}}
@media(max-width:639px){.tadreep-directory-center-card{padding:1rem}.tadreep-directory-center-badges{align-items:flex-start}.tadreep-directory-center-main{align-items:flex-start;gap:.8rem}.tadreep-directory-center-main .tadreep-directory-avatar{width:72px;height:72px;min-width:72px}.tadreep-directory-center-main .tadreep-directory-card-identity h3{font-size:1rem}.tadreep-directory-center-card .tadreep-directory-card-actions{grid-template-columns:1fr 1fr}.tadreep-directory-center-stats strong{font-size:1rem}}
.tadreep-directory-pagination .is-gap{border:0;background:transparent;color:#94a3b8;min-width:28px;padding:0}

/* MVP1-RC23 — centers and trainers share the same rich provider-card system. */
.tadreep-directory-grid.is-providers{grid-template-columns:repeat(2,minmax(0,1fr));gap:1.15rem}
.tadreep-directory-provider-card.is-trainer .tadreep-directory-avatar{box-shadow:0 0 0 1px rgba(10,175,183,.2),0 8px 20px rgba(8,36,92,.08)}
.tadreep-directory-specialization{margin:-.15rem 0 .35rem;color:#0798a1;font-size:.82rem;font-weight:700}
.tadreep-directory-provider-card .tadreep-directory-location>span{font-size:.6rem;color:#0aaeb3}
.tadreep-directory-avatar-fallback svg{display:block;color:#0b2a63}
@media(max-width:959px){.tadreep-directory-grid.is-providers{grid-template-columns:1fr}}

/* RC24 — Shared directory search typography + location icon (centers/companies/trainers). */
.tadreep-provider-search-field label{font-size:.95rem;line-height:1.5}
.tadreep-provider-search-field input,.tadreep-provider-search-field select{font-size:1rem;line-height:1.5}
.tadreep-provider-search-submit,.tadreep-provider-search-reset{font-size:1rem}
.tadreep-directory-location{gap:.38rem}
.tadreep-directory-location-icon{width:16px;height:16px;flex:0 0 16px;color:#0aaeb3;stroke:currentColor}
@media(max-width:639px){.tadreep-provider-search-field label{font-size:.88rem}.tadreep-provider-search-field input,.tadreep-provider-search-field select,.tadreep-provider-search-submit,.tadreep-provider-search-reset{font-size:.94rem}.tadreep-directory-location-icon{width:15px;height:15px;flex-basis:15px}}

/* MVP1-RC25 — keep the primary provider action legible over the dark-blue background. */
.tadreep-directory .tadreep-directory-btn-primary,
.tadreep-directory .tadreep-directory-btn-primary:link,
.tadreep-directory .tadreep-directory-btn-primary:visited{
  color:#fff !important;
  -webkit-text-fill-color:#fff;
}
.tadreep-directory .tadreep-directory-btn-primary:hover,
.tadreep-directory .tadreep-directory-btn-primary:focus,
.tadreep-directory .tadreep-directory-btn-primary:active{
  color:#fff !important;
  -webkit-text-fill-color:#fff;
  background:#0a327d;
}
