/* ============================================================
   Dynamic Pages — Auth, Forms, Admin, Directory, Profile
   (imported by styles.css via HTML link)
   ============================================================ */

/* ---- FLASH MESSAGES ---- */
.flash {
  position: fixed; top: 70px; right: 20px; z-index: 9999;
  padding: 14px 20px; border-radius: 10px; font-weight: 600;
  font-size: 0.9rem; max-width: 400px; box-shadow: 0 4px 24px rgba(0,0,0,0.12);
  animation: slideIn 0.3s ease; display: flex; align-items: center; gap: 8px;
}
.flash-success { background: #dcfce7; color: #166534; border: 1px solid #86efac; }
.flash-error   { background: #fee2e2; color: #991b1b; border: 1px solid #fca5a5; }
.flash-info    { background: #dbeafe; color: #1e40af; border: 1px solid #93c5fd; }
@keyframes slideIn { from { opacity:0; transform:translateX(20px); } to { opacity:1; transform:translateX(0); } }

/* ---- ALERTS ---- */
.alert { padding: 14px 18px; border-radius: 9px; margin-bottom: 1.5rem; display: flex; align-items: flex-start; gap: 10px; }
.alert-error   { background: #fee2e2; color: #991b1b; border: 1px solid #fca5a5; }
.alert-success { background: #dcfce7; color: #166534; border: 1px solid #86efac; }
.alert ul { margin: 6px 0 0 20px; }
.alert ul li { font-size: 0.87rem; margin-bottom: 3px; }

/* ===== AUTH PAGES ===== */
.auth-section {
  min-height: calc(100vh - 64px);
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #f0f5ff 0%, #f5f3ff 100%);
  padding: 48px 24px;
}
.auth-card {
  background: #fff; border-radius: 16px;
  box-shadow: 0 4px 24px rgba(0,0,0,0.12); padding: 40px;
  width: 100%; max-width: 480px; border: 1px solid #e5e7eb;
}
.auth-header { text-align: center; margin-bottom: 2rem; }
.auth-icon {
  width: 64px; height: 64px; background: #e8f0fe;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  font-size: 1.5rem; color: #1766DC; margin: 0 auto 1rem;
}
.auth-header h1 { font-size: 1.6rem; font-weight: 800; color: #0d1b3e; margin-bottom: 6px; }
.auth-header p  { color: #6b7280; font-size: 0.9rem; }
.auth-form { display: flex; flex-direction: column; gap: 18px; }
.form-group { display: flex; flex-direction: column; gap: 6px; }
.form-group label { font-size: 0.87rem; font-weight: 600; color: #1a1a2e; display: flex; align-items: center; gap: 6px; }
.form-group input,
.form-group select,
.form-group textarea {
  padding: 11px 14px; border: 1.5px solid #e5e7eb; border-radius: 8px;
  font-size: 0.9rem; color: #1a1a2e; background: #fff;
  outline: none; transition: border-color 0.2s, box-shadow 0.2s;
  font-family: 'Inter', sans-serif; width: 100%;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus { border-color: #1766DC; box-shadow: 0 0 0 3px rgba(23,102,220,0.1); }
.form-group.required label::after { content: ' *'; color: #ef4444; }
.input-with-icon { position: relative; display: flex; }
.input-with-icon input { padding-right: 42px; flex: 1; }
.toggle-pass {
  position: absolute; right: 12px; top: 50%; transform: translateY(-50%);
  background: none; border: none; cursor: pointer; color: #6b7280; font-size: 0.9rem;
}
.form-row { display: flex; align-items: center; justify-content: space-between; }
.checkbox-label { display: flex !important; align-items: center; gap: 8px; font-size: 0.85rem !important; cursor: pointer; }
.checkbox-label input { width: auto !important; }
.forgot-link { font-size: 0.85rem; color: #1766DC; }
.auth-footer { text-align: center; margin-top: 1.5rem; font-size: 0.87rem; color: #6b7280; }
.auth-footer a { color: #1766DC; font-weight: 600; }

/* ===== BUSINESS SUBMISSION FORM ===== */
.form-section { background: #f8fafc; padding-bottom: 80px; }
.form-page-header {
  background: linear-gradient(135deg, #0d1b3e 0%, #1a3a7c 100%);
  padding: 48px 0 32px; color: white; margin-bottom: 0;
}
.form-page-header h1 { font-size: 1.8rem; font-weight: 800; margin-bottom: 8px; }
.form-page-header p  { color: rgba(255,255,255,0.75); font-size: 0.95rem; }
.form-page-header code { background: rgba(255,255,255,0.15); padding: 4px 10px; border-radius: 5px; font-family: monospace; font-size: 0.88rem; }
.url-preview-cat  { color: #60a5fa; }
.url-preview-city { color: #34d399; }
.url-preview-name { color: #fbbf24; }
.progress-steps { display: flex; align-items: center; margin-top: 24px; gap: 0; }
.pstep {
  display: flex; align-items: center; gap: 8px;
  font-size: 0.85rem; font-weight: 600; color: rgba(255,255,255,0.5);
  padding: 8px 16px; border-radius: 100px;
}
.pstep.active { background: rgba(255,255,255,0.15); color: white; }
.pstep span {
  width: 24px; height: 24px; border-radius: 50%;
  background: rgba(255,255,255,0.2); display: flex; align-items: center;
  justify-content: center; font-size: 0.75rem;
}
.pstep.active span { background: #1766DC; }
.pstep-line { flex: 1; height: 1px; background: rgba(255,255,255,0.2); max-width: 40px; }
.form-container { max-width: 860px; margin: 0 auto; padding-top: 40px; }
.form-section-card {
  background: #fff; border-radius: 12px; box-shadow: 0 2px 12px rgba(0,0,0,0.08);
  border: 1px solid #e5e7eb; margin-bottom: 24px; overflow: hidden;
}
.fsc-header {
  padding: 16px 24px; background: #f8fafc; border-bottom: 1px solid #e5e7eb;
  font-weight: 700; font-size: 0.95rem; color: #0d1b3e;
  display: flex; align-items: center; gap: 8px;
}
.fsc-header i { color: #1766DC; }
.fsc-body { padding: 24px; display: flex; flex-direction: column; gap: 20px; }
.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
.form-row-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 16px; }
.badge-info {
  background: #e8f0fe; color: #1766DC;
  font-size: 0.72rem; font-weight: 600; padding: 2px 10px; border-radius: 100px; margin-left: 8px;
}
.char-counter { float: right; font-size: 0.75rem; color: #6b7280; font-weight: 400; }
.file-upload-area {
  border: 2px dashed #e5e7eb; border-radius: 10px; padding: 32px;
  text-align: center; cursor: pointer; transition: all 0.2s;
  display: flex; flex-direction: column; align-items: center; gap: 8px; position: relative;
}
.file-upload-area:hover, .file-upload-area.drag-over { border-color: #1766DC; background: #e8f0fe; }
.file-upload-area i { font-size: 2rem; color: #1766DC; }
.file-upload-area p { font-size: 0.9rem; color: #1a1a2e; font-weight: 500; }
.file-upload-area small { font-size: 0.8rem; color: #6b7280; }
.file-upload-area input[type="file"] { position: absolute; inset: 0; opacity: 0; cursor: pointer; width: 100%; height: 100%; }
.logo-preview-box { border: 1px solid #e5e7eb; border-radius: 10px; padding: 16px; align-items: center; gap: 14px; background: #f8fafc; }
.logo-preview-box img { max-width: 80px; max-height: 80px; border-radius: 8px; object-fit: contain; }
#logoInfo { font-size: 0.85rem; color: #22c55e; flex: 1; }
.btn-remove-logo { background: none; border: 1px solid #fca5a5; color: #ef4444; padding: 5px 12px; border-radius: 6px; cursor: pointer; font-size: 0.8rem; }
.tags-preview { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 8px; }
.stag { background: #e8f0fe; color: #1766DC; font-size: 0.78rem; padding: 3px 10px; border-radius: 100px; font-weight: 500; }
.stags-row { display: flex; flex-wrap: wrap; gap: 6px; }
.url-preview-card { background: #0d1b3e; border-radius: 10px; padding: 20px 24px; margin-bottom: 24px; }
.url-preview-label { font-size: 0.8rem; color: rgba(255,255,255,0.6); margin-bottom: 8px; display: flex; align-items: center; gap: 6px; }
.url-preview-value { font-family: monospace; font-size: 0.95rem; color: white; }
#upCat  { color: #60a5fa; }
#upCity { color: #34d399; }
#upName { color: #fbbf24; }
.form-submit-row {
  display: flex; align-items: center; justify-content: space-between;
  background: #fff; border-radius: 12px; padding: 24px;
  border: 1px solid #e5e7eb; gap: 20px; flex-wrap: wrap;
}
.submit-note { font-size: 0.87rem; color: #6b7280; display: flex; align-items: flex-start; gap: 8px; }
.submit-note i { color: #1766DC; margin-top: 2px; }
.btn-xl { padding: 15px 36px; font-size: 1rem; border-radius: 10px; }

/* ===== DASHBOARD ===== */
.dashboard-section { padding: 60px 0; background: #f8fafc; min-height: 70vh; }
.dash-header { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 2rem; flex-wrap: wrap; gap: 16px; }
.dash-header h1 { font-size: 1.8rem; font-weight: 800; color: #0d1b3e; margin-bottom: 4px; }
.dash-stats-row { display: flex; gap: 16px; margin-bottom: 2rem; flex-wrap: wrap; }
.dstat { background: #fff; border: 1px solid #e5e7eb; border-radius: 10px; padding: 16px 24px; text-align: center; flex: 1; min-width: 100px; font-size: 0.82rem; color: #6b7280; font-weight: 600; }
.dstat span { display: block; font-size: 2rem; font-weight: 900; color: #0d1b3e; }
.dstat.green span  { color: #22c55e; }
.dstat.orange span { color: #f59e0b; }
.dstat.red span    { color: #ef4444; }
.dash-listings { display: flex; flex-direction: column; gap: 16px; }
.dash-card { background: #fff; border: 1px solid #e5e7eb; border-radius: 12px; padding: 20px; display: flex; align-items: flex-start; gap: 16px; box-shadow: 0 2px 12px rgba(0,0,0,0.08); transition: box-shadow 0.2s; }
.dash-card:hover { box-shadow: 0 4px 24px rgba(0,0,0,0.12); }
.dash-logo { width: 60px; height: 60px; border-radius: 10px; object-fit: contain; border: 1px solid #e5e7eb; }
.dash-logo-placeholder { width: 60px; height: 60px; border-radius: 10px; background: #1766DC; color: white; font-weight: 800; font-size: 1.1rem; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.dash-card-body { flex: 1; min-width: 0; }
.dash-card-top { display: flex; align-items: center; gap: 12px; margin-bottom: 8px; flex-wrap: wrap; }
.dash-card-top h3 { font-size: 1.05rem; font-weight: 700; color: #0d1b3e; }
.dash-meta { display: flex; gap: 14px; font-size: 0.82rem; color: #6b7280; flex-wrap: wrap; margin-bottom: 8px; }
.dash-meta span { display: flex; align-items: center; gap: 5px; }
.dash-url { font-size: 0.82rem; color: #1766DC; display: flex; align-items: center; gap: 6px; }
.dash-admin-note { font-size: 0.82rem; color: #92400e; background: #fef3c7; padding: 6px 10px; border-radius: 6px; margin-top: 6px; }
.status-badge { display: inline-flex; align-items: center; gap: 4px; padding: 4px 12px; border-radius: 100px; font-size: 0.78rem; font-weight: 700; }
.status-approved { background: #dcfce7; color: #166534; }
.status-pending  { background: #fef3c7; color: #92400e; }
.status-rejected { background: #fee2e2; color: #991b1b; }
.badge-lg { font-size: 0.9rem; padding: 6px 18px; }
.empty-state { text-align: center; padding: 80px 24px; color: #6b7280; }
.empty-state i { font-size: 3.5rem; color: #e5e7eb; margin-bottom: 16px; display: block; }
.empty-state h3 { font-size: 1.3rem; color: #0d1b3e; margin-bottom: 8px; }
.empty-state p  { margin-bottom: 24px; }

/* ===== ADMIN PANEL ===== */
.admin-section { padding: 48px 0; background: #f8fafc; min-height: 80vh; }
.admin-header { display: flex; align-items: flex-start; justify-content: space-between; margin-bottom: 2rem; flex-wrap: wrap; gap: 16px; }
.admin-header h1 { font-size: 1.8rem; font-weight: 800; color: #0d1b3e; margin-bottom: 4px; }
.admin-stats { display: flex; gap: 16px; margin-bottom: 24px; flex-wrap: wrap; }
.astat { flex: 1; min-width: 120px; background: #fff; border: 1px solid #e5e7eb; border-radius: 10px; padding: 16px 20px; text-align: center; text-decoration: none; transition: all 0.2s; }
.astat:hover, .astat.active { border-color: #1766DC; box-shadow: 0 2px 12px rgba(0,0,0,0.08); }
.astat span { display: block; font-size: 2rem; font-weight: 900; }
.astat label { font-size: 0.78rem; color: #6b7280; font-weight: 600; cursor: pointer; display: block; }
.astat.orange span { color: #f59e0b; }
.astat.green span  { color: #22c55e; }
.astat.red span    { color: #ef4444; }
.astat.blue span   { color: #1766DC; }
.admin-tabs { display: flex; gap: 8px; margin-bottom: 24px; flex-wrap: wrap; }
.atab { padding: 8px 20px; border-radius: 8px; border: 1px solid #e5e7eb; background: #fff; color: #1a1a2e; font-size: 0.87rem; font-weight: 500; text-decoration: none; transition: all 0.2s; }
.atab:hover, .atab.active { background: #1766DC; color: white; border-color: #1766DC; }
.admin-table-wrap { overflow-x: auto; border-radius: 12px; box-shadow: 0 2px 12px rgba(0,0,0,0.08); }
.admin-table { width: 100%; border-collapse: collapse; background: #fff; font-size: 0.85rem; }
.admin-table th { background: #f8fafc; padding: 12px 14px; text-align: left; font-weight: 700; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.5px; color: #6b7280; border-bottom: 1px solid #e5e7eb; }
.admin-table td { padding: 14px; border-bottom: 1px solid #e5e7eb; vertical-align: middle; }
.admin-table tr:last-child td { border-bottom: 0; }
.admin-table tr:hover td { background: #f8fafc; }
.admin-logo { width: 44px; height: 44px; border-radius: 8px; object-fit: contain; border: 1px solid #e5e7eb; }
.admin-logo-placeholder { width: 44px; height: 44px; border-radius: 8px; background: #1766DC; color: white; font-weight: 800; font-size: 0.85rem; display: flex; align-items: center; justify-content: center; }
.ext-link { color: #1766DC; font-size: 0.8rem; }
.actions-cell { display: flex; align-items: center; gap: 6px; flex-wrap: wrap; }
.back-link { font-size: 0.85rem; color: #1766DC; display: flex; align-items: center; gap: 6px; margin-bottom: 8px; text-decoration: none; }
.review-preview-card { background: #fff; border-radius: 12px; border: 1px solid #e5e7eb; box-shadow: 0 2px 12px rgba(0,0,0,0.08); overflow: hidden; margin-bottom: 24px; }
.review-preview-top { padding: 24px; display: flex; align-items: flex-start; gap: 20px; border-bottom: 1px solid #e5e7eb; flex-wrap: wrap; }
.review-logo { width: 80px; height: 80px; border-radius: 12px; object-fit: contain; border: 1px solid #e5e7eb; }
.review-logo-placeholder { width: 80px; height: 80px; border-radius: 12px; background: #1766DC; color: white; font-weight: 800; font-size: 1.3rem; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.review-preview-top h2 { font-size: 1.4rem; font-weight: 800; color: #0d1b3e; margin-bottom: 4px; }
.tagline-text { color: #6b7280; font-size: 0.9rem; margin-bottom: 8px; }
.review-badges { display: flex; gap: 8px; flex-wrap: wrap; }
.rbadge { display: flex; align-items: center; gap: 5px; background: #e8f0fe; color: #1766DC; font-size: 0.78rem; font-weight: 600; padding: 4px 12px; border-radius: 100px; }
.review-detail-grid { padding: 24px; display: flex; flex-direction: column; gap: 20px; }
.rdg-field label { display: block; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; color: #6b7280; margin-bottom: 6px; }
.rdg-field p { font-size: 0.9rem; color: #1a1a2e; line-height: 1.6; }
.rdg-two { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px,1fr)); gap: 16px; }
.live-url-link { color: #1766DC; font-size: 0.88rem; }
.admin-action-panel { background: #fff; border-radius: 12px; border: 1px solid #e5e7eb; box-shadow: 0 2px 12px rgba(0,0,0,0.08); padding: 24px; }
.admin-action-panel h3 { font-size: 1.1rem; font-weight: 700; color: #0d1b3e; margin-bottom: 16px; }
.action-btns { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 16px; }

/* ===== BREADCRUMB ===== */
.breadcrumb-bar { background: #f8fafc; border-bottom: 1px solid #e5e7eb; padding: 12px 0; }
.breadcrumb { display: flex; align-items: center; gap: 8px; font-size: 0.83rem; color: #6b7280; flex-wrap: wrap; }
.breadcrumb a { color: #1766DC; text-decoration: none; }
.breadcrumb a:hover { text-decoration: underline; }
.breadcrumb i { font-size: 0.65rem; color: #e5e7eb; }

/* ===== DIRECTORY LISTING ===== */
.listing-header-section { padding: 28px 0 0; background: #fff; }
.listing-top-bar { display: flex; align-items: stretch; border: 1px solid #e5e7eb; border-radius: 10px; overflow: hidden; margin-bottom: 24px; background: #fff; box-shadow: 0 2px 12px rgba(0,0,0,0.08); }
.avg-rating-tab { display: flex; align-items: center; gap: 8px; padding: 14px 24px; background: #0d1b3e; color: white; font-weight: 700; font-size: 1rem; border-right: 1px solid rgba(255,255,255,0.1); }
.avg-rating-tab .avg-num { font-size: 1.3rem; font-weight: 900; }
.avg-rating-tab i { color: #f59e0b; }
.all-agencies-tab { display: flex; align-items: center; gap: 8px; padding: 14px 24px; font-weight: 600; font-size: 0.95rem; color: #0d1b3e; border-bottom: 3px solid #1766DC; cursor: pointer; }
.filter-btn { margin-left: auto; padding: 14px 20px; cursor: pointer; color: #6b7280; display: flex; align-items: center; font-size: 1.1rem; border-left: 1px solid #e5e7eb; transition: color 0.2s; }
.filter-btn:hover { color: #1766DC; }
.filter-panel { background: #f8fafc; border: 1px solid #e5e7eb; border-radius: 10px; padding: 20px; margin-bottom: 20px; }
.filter-form .filter-row { display: flex; align-items: flex-end; gap: 12px; flex-wrap: wrap; }
.filter-field { display: flex; flex-direction: column; gap: 4px; }
.filter-field label { font-size: 0.78rem; font-weight: 700; color: #6b7280; text-transform: uppercase; }
.filter-field select { padding: 9px 12px; border: 1px solid #e5e7eb; border-radius: 7px; font-size: 0.87rem; }
.listing-title-block { padding-bottom: 24px; }
.listing-title-block h1 { font-size: 1.5rem; font-weight: 800; color: #0d1b3e; margin-bottom: 6px; }
.listing-title-block p  { font-size: 0.87rem; color: #6b7280; }
.listing-results { padding: 24px 0 60px; background: #f3f6fb; }
.result-card { background: #fff; border: 1px solid #e5e7eb; border-radius: 12px; padding: 24px; margin-bottom: 16px; box-shadow: 0 2px 12px rgba(0,0,0,0.08); transition: box-shadow 0.2s, transform 0.2s; }
.result-card:hover { box-shadow: 0 4px 24px rgba(0,0,0,0.12); transform: translateY(-1px); }
.rc-top { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 14px; flex-wrap: wrap; }
.rc-logo-wrap { flex-shrink: 0; }
.rc-logo { width: 72px; height: 72px; border-radius: 10px; object-fit: contain; border: 1px solid #e5e7eb; background: #f8fafc; }
.rc-logo-placeholder { width: 72px; height: 72px; border-radius: 10px; background: #0d1b3e; color: white; font-weight: 800; font-size: 1.2rem; display: flex; align-items: center; justify-content: center; }
.rc-info { flex: 1; min-width: 0; }
.rc-name { font-size: 1.15rem; font-weight: 800; color: #0d1b3e; margin-bottom: 4px; }
.rc-name a { color: #0d1b3e; text-decoration: none; }
.rc-name a:hover { color: #1766DC; }
.rc-tagline { font-size: 0.87rem; color: #6b7280; margin-bottom: 6px; }
.btn-navy { background: #0d1b3e; color: white; border-color: #0d1b3e; flex-shrink: 0; }
.btn-navy:hover { background: #1a3a7c; border-color: #1a3a7c; color: white; }
.rc-website-btn { align-self: flex-start; }
.rc-desc { font-size: 0.87rem; color: #6b7280; line-height: 1.65; margin-bottom: 14px; }
.explore-link { color: #1766DC; font-style: italic; font-size: 0.87rem; text-decoration: none; }
.explore-link strong { color: #1766DC; }
.explore-link:hover { text-decoration: underline; }
.rc-chips { display: flex; gap: 10px; flex-wrap: wrap; }
.rc-chip { display: flex; align-items: center; gap: 6px; border: 1px solid #e5e7eb; border-radius: 7px; padding: 7px 14px; font-size: 0.82rem; color: #1a1a2e; }
.rc-chip i { color: #1766DC; font-size: 0.85rem; }
.pagination { display: flex; gap: 8px; justify-content: center; margin: 32px 0; flex-wrap: wrap; }
.page-btn { width: 38px; height: 38px; border-radius: 8px; border: 1px solid #e5e7eb; background: #fff; color: #1a1a2e; font-size: 0.87rem; font-weight: 600; display: flex; align-items: center; justify-content: center; text-decoration: none; transition: all 0.2s; }
.page-btn:hover, .page-btn.active { background: #1766DC; color: white; border-color: #1766DC; }
.listing-cta-box { background: linear-gradient(135deg, #0d1b3e 0%, #1a3a7c 100%); border-radius: 16px; padding: 32px 40px; margin-top: 40px; display: flex; align-items: center; justify-content: space-between; gap: 24px; flex-wrap: wrap; }
.listing-cta-box h3 { font-size: 1.2rem; font-weight: 800; color: white; margin-bottom: 6px; }
.listing-cta-box p  { color: rgba(255,255,255,0.7); font-size: 0.87rem; max-width: 500px; }

/* ===== BUSINESS PROFILE ===== */
.profile-hero { background: #fff; padding: 32px 0; border-bottom: 1px solid #e5e7eb; }
.profile-hero-inner { display: flex; align-items: flex-start; gap: 24px; flex-wrap: wrap; }
.profile-logo { width: 100px; height: 100px; border-radius: 14px; object-fit: contain; border: 1px solid #e5e7eb; }
.profile-logo-placeholder { width: 100px; height: 100px; border-radius: 14px; background: #1766DC; color: white; font-weight: 800; font-size: 1.6rem; display: flex; align-items: center; justify-content: center; flex-shrink: 0; }
.profile-hero-info { flex: 1; min-width: 0; }
.profile-hero-info h1 { font-size: 1.6rem; font-weight: 900; color: #0d1b3e; margin-bottom: 4px; }
.profile-tagline { color: #6b7280; font-size: 0.95rem; margin-bottom: 10px; }
.profile-meta-row { display: flex; align-items: center; gap: 14px; flex-wrap: wrap; }
.pmeta { display: flex; align-items: center; gap: 5px; font-size: 0.85rem; color: #6b7280; }
.pmeta i { color: #1766DC; }
.profile-hero-cta { display: flex; flex-direction: column; gap: 10px; flex-shrink: 0; }
.profile-body { padding: 40px 0; background: #f3f6fb; }
.profile-grid { display: grid; grid-template-columns: 1fr 300px; gap: 28px; align-items: start; }
.profile-card { background: #fff; border: 1px solid #e5e7eb; border-radius: 12px; padding: 24px; box-shadow: 0 2px 12px rgba(0,0,0,0.08); margin-bottom: 20px; }
.profile-card h2 { font-size: 1.1rem; font-weight: 800; color: #0d1b3e; margin-bottom: 16px; display: flex; align-items: center; gap: 8px; }
.profile-card h2 i { color: #1766DC; }
.profile-description { font-size: 0.9rem; color: #1a1a2e; line-height: 1.7; }
.services-tags { display: flex; flex-wrap: wrap; gap: 8px; }
.service-tag { background: #e8f0fe; color: #1766DC; font-size: 0.83rem; font-weight: 600; padding: 6px 14px; border-radius: 100px; }
.review-count-badge { background: #1766DC; color: white; font-size: 0.72rem; padding: 2px 8px; border-radius: 100px; font-weight: 700; }
.profile-review-item { border-top: 1px solid #e5e7eb; padding-top: 16px; margin-top: 16px; }
.pri-header { display: flex; align-items: center; gap: 10px; margin-bottom: 8px; }
.pri-avatar { width: 36px; height: 36px; border-radius: 50%; background: #e8f0fe; color: #1766DC; display: flex; align-items: center; justify-content: center; font-weight: 700; flex-shrink: 0; }
.pri-date { margin-left: auto; font-size: 0.78rem; color: #6b7280; }
.pri-text { font-size: 0.87rem; color: #6b7280; line-height: 1.6; }
.review-form-block { border-top: 1px solid #e5e7eb; padding-top: 20px; margin-top: 20px; }
.review-form-block h3 { font-size: 1rem; font-weight: 700; color: #0d1b3e; margin-bottom: 16px; }
.rform { display: flex; flex-direction: column; gap: 16px; }
.star-picker { display: flex; flex-direction: row-reverse; gap: 4px; }
.star-picker input { display: none; }
.star-picker label { font-size: 1.6rem; color: #e5e7eb; cursor: pointer; transition: color 0.15s; }
.star-picker input:checked ~ label,
.star-picker label:hover,
.star-picker label:hover ~ label { color: #f59e0b; }
.sidebar-card { background: #fff; border: 1px solid #e5e7eb; border-radius: 12px; padding: 20px; box-shadow: 0 2px 12px rgba(0,0,0,0.08); margin-bottom: 20px; }
.sidebar-card h4 { font-size: 0.9rem; font-weight: 700; color: #0d1b3e; margin-bottom: 14px; text-transform: uppercase; letter-spacing: 0.5px; }
.sidebar-details { display: flex; flex-direction: column; gap: 14px; list-style: none; }
.sidebar-details li { display: flex; align-items: flex-start; gap: 10px; font-size: 0.85rem; }
.sidebar-details li i { color: #1766DC; margin-top: 2px; width: 16px; text-align: center; flex-shrink: 0; }
.sidebar-details li label { font-size: 0.72rem; color: #6b7280; font-weight: 700; text-transform: uppercase; display: block; }
.sidebar-details li span, .sidebar-details li a { color: #1a1a2e; font-size: 0.85rem; }
.sidebar-browse-link { display: flex; align-items: center; gap: 8px; font-size: 0.87rem; color: #1766DC; font-weight: 600; padding: 8px 0; border-bottom: 1px solid #e5e7eb; transition: gap 0.15s; text-decoration: none; }
.sidebar-browse-link:last-child { border-bottom: 0; }
.sidebar-browse-link:hover { gap: 12px; }
.star-rating { color: #f59e0b; display: inline-flex; align-items: center; gap: 3px; }
.star-rating .empty { color: #e5e7eb; }
.rating-num { color: #1a1a2e; font-weight: 700; font-size: 0.85rem; margin-left: 4px; }
.company-logo-img { width: 48px; height: 48px; border-radius: 10px; object-fit: contain; border: 1px solid #e5e7eb; flex-shrink: 0; }

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
  .profile-grid { grid-template-columns: 1fr; }
  .form-row-2 { grid-template-columns: 1fr; }
  .form-row-3 { grid-template-columns: 1fr 1fr; }
  .form-submit-row { flex-direction: column; align-items: stretch; }
}
@media (max-width: 640px) {
  .auth-card { padding: 28px 20px; }
  .listing-cta-box { flex-direction: column; }
  .rc-top { flex-direction: column; }
  .form-row-3 { grid-template-columns: 1fr; }
  .review-preview-top { flex-direction: column; }
  .profile-hero-inner { flex-direction: column; }
  .profile-hero-cta { flex-direction: column; }
}
