/* Shared Agam Matrimony quality/responsive fixes — keep page-specific PHP free of new presentation rules. */
:root{--agm-accent:#f74d7e;--agm-text:#2e2226;--agm-muted:#6f6669}
html{-webkit-text-size-adjust:100%}body{overflow-x:hidden}
img{max-width:100%;height:auto}
#preloader{display:none!important;visibility:hidden!important;opacity:0!important;pointer-events:none!important}
.profile-grid-3,.all-list-sh{min-width:0}
.search-profile-card,.all-pro-box{min-width:0;overflow:hidden}
.search-profile-card img,.all-pro-box .pro-img img{width:100%;object-fit:cover}
.search-profile-body h3,.all-pro-box .pro-detail h4{font-size:18px!important;line-height:1.35!important}
.profile-meta-main,.profile-detail-list,.all-pro-box .pro-bio{font-size:15px!important;line-height:1.55!important}
.profile-id-badge{font-size:13px!important;font-weight:700;letter-spacing:.2px}
.agm-photo-fallback{object-fit:cover;background:#f7f4f5}
#agmRequestConfirmModal .agm-confirm-card{border:0;border-radius:18px;box-shadow:0 18px 50px rgba(40,25,32,.18)}
#agmRequestConfirmModal .agm-confirm-icon{width:52px;height:52px;border-radius:50%;display:flex;align-items:center;justify-content:center;margin:auto;background:#fff0f5;color:var(--agm-accent);font-size:22px}
#agmRequestConfirmModal .btn{min-height:42px;border-radius:10px;font-weight:700}
@media(max-width:991.98px){.container{max-width:100%}.search-profile-body h3,.all-pro-box .pro-detail h4{font-size:17px!important}}
@media(max-width:767.98px){
  body{font-size:15px}.container{width:100%;padding-left:14px!important;padding-right:14px!important}
  .profile-grid-3{grid-template-columns:1fr!important;gap:14px!important}
  .search-profile-card,.all-pro-box{width:100%!important;max-width:100%!important}
  .search-profile-body h3,.all-pro-box .pro-detail h4{font-size:18px!important}
  .profile-meta-main,.profile-detail-list,.all-pro-box .pro-bio{font-size:15.5px!important}
  .profile-card-actions{flex-wrap:wrap;gap:8px}
  .view-profile-btn{min-height:42px;display:inline-flex;align-items:center;justify-content:center}
  input,select,textarea,button,.btn{font-size:16px}
}
@media(max-width:380px){.container{padding-left:10px!important;padding-right:10px!important}.profile-card-actions>*{max-width:100%}}
.agm-latest-card{border:1px solid #eee5e8;border-radius:16px;overflow:hidden;background:#fff;box-shadow:0 8px 24px rgba(40,25,32,.06)}
.agm-latest-card>img{width:100%;height:260px;object-fit:cover;background:#f7f4f5}.agm-latest-card h3{font-size:18px;margin:0 0 8px;color:var(--agm-text)}
@media(max-width:575.98px){.agm-latest-card>img{height:320px}}
