/* IMTS Counsellor Plugin — Public Styles */
:root {
  --imts-primary: #1565c0;
  --imts-primary-light: #dbeafe;
  --imts-sky: #0284c7;
  --imts-green: #16a34a;
  --imts-gold: #d97706;
  --imts-text: #0d2137;
  --imts-sub: #64748b;
  --imts-border: #e2e8f0;
  --imts-bg: #f8fafc;
  --imts-white: #fff;
  --imts-radius: 14px;
  --imts-shadow: 0 2px 12px rgba(0,0,0,0.07);
  --imts-shadow-hover: 0 10px 35px rgba(21,101,192,0.14);
}
.imts-wrap { font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif; color: var(--imts-text); }
.imts-wrap * { box-sizing: border-box; }
.imts-wrap a { text-decoration: none; }

/* ── COUNSELLORS GRID ─────────────────────────────── */
.imts-search-form { margin-bottom: 24px; }
.imts-search-inner { display: flex; gap: 10px; }
.imts-search-input { flex: 1; border: 2px solid var(--imts-border); border-radius: 12px; padding: 12px 18px; font-size: 15px; outline: none; transition: border-color .3s; }
.imts-search-input:focus { border-color: var(--imts-primary); }
.imts-search-btn { background: var(--imts-primary); color: #fff; border: none; border-radius: 12px; padding: 12px 28px; font-weight: 700; font-size: 15px; cursor: pointer; }

.imts-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(290px, 1fr)); gap: 22px; }
.imts-card { background: var(--imts-white); border: 1px solid var(--imts-border); border-radius: 20px; overflow: hidden; transition: all .3s; box-shadow: var(--imts-shadow); }
.imts-card:hover { transform: translateY(-4px); box-shadow: var(--imts-shadow-hover); border-color: #90caf9; }
.imts-card-link { display: block; color: inherit; }
.imts-card-head { height: 90px; background: linear-gradient(135deg, #1565c0 0%, #1976d2 50%, #42a5f5 100%); position: relative; }
.imts-avatar { width: 72px; height: 72px; border-radius: 50%; border: 4px solid #fff; background: linear-gradient(135deg, #1565c0, #0d47a1); display: flex; align-items: center; justify-content: center; font-size: 24px; font-weight: 800; color: #fff; position: absolute; bottom: -36px; left: 20px; overflow: hidden; box-shadow: 0 4px 14px rgba(0,0,0,0.14); }
.imts-avatar img { width: 100%; height: 100%; object-fit: cover; }
.imts-online-dot { width: 13px; height: 13px; background: #16a34a; border-radius: 50%; border: 2px solid #fff; position: absolute; bottom: 2px; right: 2px; }
.imts-verified-badge { position: absolute; top: 8px; right: 10px; background: rgba(255,255,255,0.2); backdrop-filter: blur(8px); color: #fff; font-size: 10px; font-weight: 700; padding: 3px 9px; border-radius: 20px; }
.imts-card-body { padding: 44px 18px 14px; }
.imts-emp-id { font-size: 10px; color: var(--imts-primary); font-weight: 700; letter-spacing: 1px; }
.imts-name { font-size: 17px; font-weight: 800; color: var(--imts-text); margin: 3px 0 3px; }
.imts-desig { font-size: 12px; color: var(--imts-sub); margin-bottom: 8px; }
.imts-meta { display: flex; flex-wrap: wrap; gap: 8px; font-size: 11px; color: #94a3b8; margin-bottom: 8px; }
.imts-rating-row { display: flex; align-items: center; gap: 5px; margin-bottom: 12px; }
.imts-stars { color: #f59e0b; font-size: 13px; }
.imts-rating-num { font-size: 15px; font-weight: 800; color: var(--imts-text); }
.imts-stats-row { display: flex; gap: 4px; background: var(--imts-bg); border-radius: 10px; padding: 10px; }
.imts-stat { flex: 1; text-align: center; }
.isv { font-size: 14px; font-weight: 800; color: var(--imts-primary); }
.isl { font-size: 10px; color: #94a3b8; margin-top: 2px; }
.imts-card-foot { padding: 10px 18px; display: flex; align-items: center; justify-content: space-between; border-top: 1px solid #f1f5f9; }
.imts-offer { font-size: 11px; font-weight: 700; color: var(--imts-green); }
.imts-view-cta { font-size: 12px; font-weight: 700; color: var(--imts-primary); }
.imts-quick-btns { display: flex; gap: 8px; padding: 0 14px 14px; }
.imts-btn-wa, .imts-btn-book { flex: 1; text-align: center; padding: 9px; border-radius: 9px; font-size: 12px; font-weight: 700; cursor: pointer; transition: all .3s; display: block; }
.imts-btn-wa { background: #dcfce7; color: #16a34a; border: 1px solid #bbf7d0; }
.imts-btn-wa:hover { background: #16a34a; color: #fff; }
.imts-btn-book { background: #dbeafe; color: #1565c0; border: 1px solid #bfdbfe; }
.imts-btn-book:hover { background: #1565c0; color: #fff; }
.imts-empty { text-align: center; padding: 40px; color: var(--imts-sub); }

/* ── PROFILE ─────────────────────────────────────── */
.imts-profile-wrap { max-width: 1140px; margin: 0 auto; font-family: 'Inter', sans-serif; }
.imts-profile-cover { background: linear-gradient(135deg, #1565c0 0%, #1976d2 50%, #42a5f5 100%); border-radius: 20px; padding: 30px; margin-bottom: 0; }
.imts-profile-top { display: flex; align-items: flex-start; gap: 24px; flex-wrap: wrap; }
.imts-profile-avatar-wrap { text-align: center; }
.imts-profile-avatar { width: 100px; height: 100px; border-radius: 50%; border: 4px solid rgba(255,255,255,.4); background: rgba(255,255,255,.2); display: flex; align-items: center; justify-content: center; font-size: 36px; font-weight: 800; color: #fff; overflow: hidden; position: relative; margin: 0 auto 8px; }
.imts-profile-avatar img { width: 100%; height: 100%; object-fit: cover; }
.imts-p-online-dot { width: 16px; height: 16px; background: #4ade80; border-radius: 50%; border: 3px solid #fff; position: absolute; bottom: 4px; right: 4px; }
.imts-verified-tick { background: rgba(255,255,255,.15); color: #fff; font-size: 11px; font-weight: 700; padding: 4px 10px; border-radius: 20px; display: inline-block; }
.imts-profile-headline { flex: 1; }
.imts-p-name { font-size: 28px; font-weight: 800; color: #fff; margin: 0 0 6px; }
.imts-p-desig { color: rgba(255,255,255,.85); font-size: 15px; margin: 0 0 12px; }
.imts-p-meta { display: flex; flex-wrap: wrap; gap: 14px; font-size: 13px; color: rgba(255,255,255,.75); }
.imts-profile-cta-btns { display: flex; flex-direction: column; gap: 10px; }
.imts-cta-wa, .imts-cta-call { padding: 12px 22px; border-radius: 12px; font-weight: 700; font-size: 14px; text-align: center; transition: all .3s; display: block; }
.imts-cta-wa { background: #fff; color: #16a34a; }
.imts-cta-call { background: rgba(255,255,255,.15); color: #fff; border: 2px solid rgba(255,255,255,.3); }

/* Stats bar */
.imts-stats-bar { display: flex; background: var(--imts-white); border: 1px solid var(--imts-border); border-radius: 0 0 14px 14px; overflow: hidden; margin-bottom: 24px; }
.imts-sb-item { flex: 1; text-align: center; padding: 16px 10px; border-right: 1px solid var(--imts-border); }
.imts-sb-item:last-child { border-right: none; }
.imts-sb-val { font-size: 20px; font-weight: 800; color: var(--imts-primary); }
.imts-sb-lbl { font-size: 11px; color: var(--imts-sub); margin-top: 3px; }

/* Profile layout */
.imts-profile-body { display: grid; grid-template-columns: 1fr 340px; gap: 28px; }
.imts-section { background: var(--imts-white); border: 1px solid var(--imts-border); border-radius: var(--imts-radius); padding: 22px; margin-bottom: 18px; }
.imts-section-title { font-size: 17px; font-weight: 800; color: var(--imts-text); margin: 0 0 16px; display: flex; align-items: center; gap: 8px; }
.imts-about-text { font-size: 14px; color: #475569; line-height: 1.8; }

/* Strengths */
.imts-strengths-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.imts-strength-card { background: var(--imts-bg); border: 1px solid var(--imts-border); border-radius: 12px; padding: 16px; }
.imts-str-icon { font-size: 28px; margin-bottom: 8px; }
.imts-str-title { font-size: 14px; font-weight: 700; color: var(--imts-text); margin-bottom: 6px; }
.imts-str-desc { font-size: 12px; color: var(--imts-sub); line-height: 1.6; }

/* Tags */
.imts-tags-wrap { display: flex; flex-wrap: wrap; gap: 8px; }
.imts-tag { background: var(--imts-primary-light); color: var(--imts-primary); font-size: 12px; font-weight: 700; padding: 5px 14px; border-radius: 20px; border: 1px solid #bfdbfe; }

/* Universities */
.imts-univ-grid { display: flex; flex-wrap: wrap; gap: 8px; }
.imts-univ-pill { background: #f1f5f9; border: 1px solid var(--imts-border); border-radius: 8px; font-size: 13px; font-weight: 600; color: #334155; padding: 6px 14px; }

/* Certifications */
.imts-certs-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.imts-cert-item { display: flex; gap: 12px; align-items: flex-start; background: var(--imts-bg); border-radius: 10px; padding: 12px; }
.imts-cert-icon { font-size: 24px; }
.imts-cert-name { font-size: 13px; font-weight: 700; color: var(--imts-text); }
.imts-cert-org { font-size: 11px; color: var(--imts-sub); margin-top: 2px; }

/* Stories */
.imts-stories-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.imts-story-card { background: var(--imts-bg); border: 1px solid var(--imts-border); border-radius: 12px; padding: 16px; }
.imts-story-quote { font-size: 13px; color: #475569; line-height: 1.7; margin-bottom: 10px; font-style: italic; }
.imts-story-student { font-size: 12px; font-weight: 700; color: var(--imts-primary); }

/* FAQs */
.imts-faq-list { display: flex; flex-direction: column; gap: 8px; }
.imts-faq-item { border: 1px solid var(--imts-border); border-radius: 10px; overflow: hidden; }
.imts-faq-q { width: 100%; text-align: left; padding: 14px 16px; background: #fff; border: none; cursor: pointer; font-size: 14px; font-weight: 600; color: var(--imts-text); display: flex; justify-content: space-between; align-items: center; }
.imts-faq-q:hover { background: var(--imts-bg); }
.imts-faq-arrow { transition: transform .3s; font-size: 11px; }
.imts-faq-item.open .imts-faq-arrow { transform: rotate(180deg); }
.imts-faq-a { display: none; padding: 0 16px 14px; font-size: 13px; color: #475569; line-height: 1.7; }
.imts-faq-item.open .imts-faq-a { display: block; }

/* Rating summary */
.imts-rating-summary { display: flex; gap: 20px; align-items: center; background: var(--imts-bg); border-radius: 12px; padding: 16px; margin-bottom: 18px; }
.imts-rating-big { font-size: 56px; font-weight: 800; color: var(--imts-primary); line-height: 1; }
.imts-rating-detail { flex: 1; }
.imts-rating-bar-row { display: flex; align-items: center; gap: 8px; font-size: 12px; color: var(--imts-sub); margin-bottom: 4px; }
.imts-rating-bar-bg { flex: 1; height: 8px; background: #e2e8f0; border-radius: 4px; overflow: hidden; }
.imts-rating-bar-fill { height: 100%; background: linear-gradient(90deg, #f59e0b, #fbbf24); border-radius: 4px; }

/* Reviews list */
.imts-reviews-list { display: grid; gap: 14px; }
.imts-review-card { background: var(--imts-bg); border: 1px solid var(--imts-border); border-radius: 12px; padding: 16px; }
.imts-review-card.pinned { border-color: #fbbf24; background: #fffbeb; }
.imts-rv-header { display: flex; gap: 12px; align-items: flex-start; margin-bottom: 10px; }
.imts-rv-avatar { width: 38px; height: 38px; border-radius: 50%; background: linear-gradient(135deg, #1565c0, #42a5f5); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 13px; color: #fff; flex-shrink: 0; }
.imts-rv-name { font-size: 14px; font-weight: 700; color: var(--imts-text); display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.imts-rv-meta { font-size: 12px; color: var(--imts-sub); margin-top: 3px; display: flex; gap: 6px; }
.imts-rv-stars { color: #f59e0b; }
.imts-rv-text { font-size: 14px; color: #475569; line-height: 1.7; background: #fff; border-radius: 8px; padding: 10px; }
.imts-rv-reply { background: #eff6ff; border-left: 3px solid #1565c0; padding: 8px 12px; border-radius: 0 8px 8px 0; font-size: 13px; color: #1e40af; margin-top: 8px; }
.imts-vbadge { background: #dcfce7; color: #16a34a; font-size: 10px; font-weight: 700; padding: 2px 8px; border-radius: 10px; }

/* Public forms */
.imts-public-form { display: flex; flex-direction: column; gap: 12px; }
.imts-public-form label { font-size: 12px; font-weight: 700; color: #475569; text-transform: uppercase; letter-spacing: .4px; display: block; margin-bottom: 5px; }
.imts-public-form input,
.imts-public-form select,
.imts-public-form textarea { width: 100%; border: 1.5px solid var(--imts-border); border-radius: 8px; padding: 10px 14px; font-size: 14px; font-family: inherit; color: var(--imts-text); outline: none; transition: border-color .3s; background: #fff; }
.imts-public-form input:focus,
.imts-public-form select:focus,
.imts-public-form textarea:focus { border-color: var(--imts-primary); }
.imts-form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.imts-submit-btn { background: linear-gradient(135deg, #1565c0, #1976d2); color: #fff; border: none; border-radius: 10px; padding: 13px 24px; font-weight: 700; font-size: 15px; cursor: pointer; transition: all .3s; }
.imts-submit-btn:hover { background: #1565c0; transform: translateY(-1px); box-shadow: 0 6px 20px rgba(21,101,192,.3); }
.imts-form-msg { padding: 10px 14px; border-radius: 8px; font-size: 13px; font-weight: 600; margin-top: 6px; }
.imts-form-msg.success { background: #dcfce7; color: #15803d; border: 1px solid #86efac; }
.imts-form-msg.error { background: #fee2e2; color: #dc2626; border: 1px solid #fca5a5; }
.imts-write-review { margin-top: 24px; background: var(--imts-bg); border: 1px solid var(--imts-border); border-radius: 14px; padding: 20px; }
.imts-write-review h3 { font-size: 16px; font-weight: 700; margin-bottom: 16px; }
.imts-star-rating-input { display: flex; flex-direction: column; gap: 6px; }
.imts-star-row { display: flex; gap: 4px; }
.imts-star-btn { font-size: 28px; cursor: pointer; transition: color .2s; color: #d1d5db; }
.imts-star-btn.lit { color: #f59e0b; }

/* Sidebar */
.imts-profile-sidebar { display: flex; flex-direction: column; gap: 16px; }
.imts-offer-card { background: linear-gradient(135deg, #1565c0 0%, #1976d2 100%); border-radius: 16px; padding: 22px; text-align: center; }
.imts-offer-badge { background: rgba(255,255,255,.15); color: #fff; font-size: 11px; font-weight: 700; padding: 4px 12px; border-radius: 20px; display: inline-block; margin-bottom: 10px; }
.imts-offer-price { font-size: 48px; font-weight: 800; color: #fff; line-height: 1; }
.imts-offer-sub { color: rgba(255,255,255,.85); font-size: 14px; margin: 4px 0 6px; }
.imts-offer-strike { font-size: 13px; color: rgba(255,255,255,.6); text-decoration: line-through; margin-bottom: 14px; }
.imts-offer-btn { display: block; background: #fff; color: #16a34a; font-weight: 700; font-size: 14px; padding: 13px; border-radius: 10px; margin-bottom: 8px; transition: all .3s; }
.imts-offer-btn:hover { background: #dcfce7; }
.imts-offer-call { display: block; background: rgba(255,255,255,.15); color: #fff; font-weight: 700; font-size: 14px; padding: 11px; border-radius: 10px; border: 1px solid rgba(255,255,255,.25); }
.imts-sidebar-card { background: var(--imts-white); border: 1px solid var(--imts-border); border-radius: 14px; padding: 18px; }
.imts-sidebar-title { font-size: 15px; font-weight: 700; color: var(--imts-text); margin: 0 0 14px; }
.imts-detail-row { font-size: 13px; color: #475569; padding: 7px 0; border-bottom: 1px solid #f1f5f9; display: flex; gap: 8px; }
.imts-detail-row:last-child { border-bottom: none; }
.imts-detail-row span { color: var(--imts-sub); flex-shrink: 0; }
.imts-social-links { display: flex; flex-direction: column; gap: 8px; }
.imts-social-btn { display: block; padding: 9px 14px; border-radius: 8px; font-size: 13px; font-weight: 600; text-align: center; transition: all .3s; }
.imts-social-btn.wa { background: #dcfce7; color: #16a34a; }
.imts-social-btn.li { background: #dbeafe; color: #1565c0; }
.imts-social-btn.yt { background: #fee2e2; color: #dc2626; }
.imts-social-btn.ig { background: #fdf4ff; color: #7e22ce; }

/* Comments */
.imts-comment { display: flex; gap: 12px; margin-bottom: 14px; padding-bottom: 14px; border-bottom: 1px solid var(--imts-border); }
.imts-comment:last-child { border-bottom: none; }
.imts-cm-avatar { width: 36px; height: 36px; border-radius: 50%; background: linear-gradient(135deg, #64748b, #94a3b8); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 12px; color: #fff; flex-shrink: 0; }
.imts-cm-name { font-size: 13px; font-weight: 700; color: var(--imts-text); display: flex; align-items: center; gap: 6px; }
.imts-cm-text { font-size: 13px; color: #475569; line-height: 1.6; margin-top: 4px; }

/* Sticky bar */
.imts-sticky-bar { position: fixed; bottom: 0; left: 0; right: 0; background: #fff; border-top: 2px solid var(--imts-primary); padding: 12px 20px; display: flex; align-items: center; justify-content: space-between; z-index: 1000; box-shadow: 0 -4px 20px rgba(0,0,0,0.1); }
.imts-sticky-info { font-size: 14px; font-weight: 600; color: var(--imts-text); }
.imts-sticky-btns { display: flex; gap: 10px; }
.imts-sticky-wa, .imts-sticky-call { padding: 9px 20px; border-radius: 25px; font-weight: 700; font-size: 13px; transition: all .3s; display: block; }
.imts-sticky-wa { background: #16a34a; color: #fff; }
.imts-sticky-call { background: var(--imts-primary); color: #fff; }

/* Responsive */
@media (max-width: 900px) {
  .imts-profile-body { grid-template-columns: 1fr; }
  .imts-profile-sidebar { order: -1; }
  .imts-stats-bar { flex-wrap: wrap; }
  .imts-sb-item { flex: 0 0 33.33%; }
  .imts-strengths-grid, .imts-stories-grid, .imts-certs-list { grid-template-columns: 1fr; }
  .imts-form-row { grid-template-columns: 1fr; }
  .imts-profile-top { flex-direction: column; align-items: center; text-align: center; }
}
@media (max-width: 600px) {
  .imts-grid { grid-template-columns: 1fr; }
  .imts-sb-item { flex: 0 0 50%; }
  .imts-sticky-bar { padding: 8px 12px; }
  .imts-sticky-info { font-size: 12px; }
}
