/* ==========================================================================
   BANARSI JODA - CORE STYLESHEET (style.css)
   Brand Palette: Green (#064e3b), Banarsi Brown (#78350f), Gold/Amber (#d97706, #b8860b)
   Apple Design System & Minimalist SVG Iconography
   ========================================================================== */

:root {
  /* Brand Identity Colors */
  --primary: #064e3b;
  --primary-dark: #022c22;
  --primary-light: #ecfdf5;
  --brown: #78350f;
  --gold: #b8860b;
  --gold-accent: #d97706;
  --gold-light: #fef9e7;
  --gold-border: #fef08a;

  /* Apple Monochrome & Neutral System */
  --surface: #ffffff;
  --bg: #f8fafc;
  --text: #0f172a;
  --text-muted: #64748b;
  --border: #e2e8f0;
  --border-focus: #cbd5e1;
  --radius: 16px;
  --font: 'Plus Jakarta Sans', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  padding-bottom: 70px;
  -webkit-font-smoothing: antialiased;
}

a {
  text-decoration: none;
  color: inherit;
}

button, input, select {
  font-family: inherit;
}

/* ==========================================
   APP HEADER & NAVIGATION
   ========================================== */
.app-header {
  background: var(--surface);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
}

.header-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 12px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.brand-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
  cursor: pointer;
}

.brand-logo-box {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold-border);
  font-size: 1.15rem;
  font-weight: 900;
  border: 1.5px solid var(--gold);
}

.brand-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--primary-dark);
  letter-spacing: -0.3px;
}

.brand-sub {
  font-size: 0.72rem;
  color: var(--primary);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 5px;
}

.live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #10b981;
}

.desktop-nav {
  display: none;
  align-items: center;
  gap: 6px;
}

@media(min-width: 860px) {
  .desktop-nav {
    display: flex;
  }
}

.nav-btn {
  background: none;
  border: none;
  padding: 8px 14px;
  font-size: 0.88rem;
  font-weight: 600;
  color: var(--text-muted);
  cursor: pointer;
  border-radius: 8px;
  transition: all 0.15s ease;
}

.nav-btn.active, .nav-btn:hover {
  color: var(--primary);
  background: var(--primary-light);
  font-weight: 700;
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 8px;
}

.btn-login {
  background: white;
  border: 1.5px solid var(--border);
  padding: 8px 14px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.84rem;
  cursor: pointer;
  transition: border-color 0.15s;
}

.btn-login:hover {
  border-color: var(--text-muted);
}

.btn-reg {
  background: var(--primary);
  color: white;
  border: 1px solid var(--gold);
  padding: 8px 16px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.84rem;
  cursor: pointer;
  transition: opacity 0.15s;
}

.btn-reg:hover {
  opacity: 0.95;
}

.user-pill {
  display: none;
  align-items: center;
  gap: 8px;
  background: var(--primary-light);
  border: 1px solid #a7f3d0;
  padding: 4px 12px;
  border-radius: 20px;
  cursor: pointer;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--primary-dark);
}

/* ==========================================
   HERO & SEARCH FINDER
   ========================================== */
.hero-sec {
  background: radial-gradient(circle at top right, #0d5e3c, var(--primary-dark) 60%, #031e17);
  color: white;
  padding: 36px 16px 48px;
  text-align: center;
}

.hero-box {
  max-width: 1040px;
  margin: 0 auto;
}

.hero-title {
  font-size: 1.85rem;
  font-weight: 800;
  margin-bottom: 8px;
  letter-spacing: -0.5px;
}

.hero-subtitle {
  font-size: 0.95rem;
  color: #a7f3d0;
  margin-bottom: 24px;
}

.finder-bar {
  background: rgba(255, 255, 255, 0.98);
  border-radius: 14px;
  padding: 14px 16px;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 12px;
  box-shadow: 0 10px 25px rgba(0,0,0,0.15);
}

.finder-col label {
  display: flex;
  align-items: center;
  gap: 5px;
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 4px;
  text-align: left;
}

.finder-col select {
  width: 100%;
  border: 1.5px solid var(--border);
  padding: 8px 10px;
  border-radius: 8px;
  font-weight: 600;
  font-size: 0.85rem;
  background: #fff;
  color: var(--text);
  outline: none;
}

.finder-col select:focus {
  border-color: var(--gold-accent);
}

.btn-find {
  background: linear-gradient(135deg, var(--gold-accent), var(--gold));
  color: #fff;
  border: none;
  padding: 10px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.9rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  margin-top: 18px;
}

/* ==========================================
   MAIN CONTAINER & GUEST PRIVACY GATE
   ========================================== */
.main-container {
  max-width: 1100px;
  margin: 24px auto;
  padding: 0 16px;
}

.guest-gate {
  background: white;
  border: 1.5px solid var(--gold-border);
  border-radius: var(--radius);
  padding: 48px 24px;
  text-align: center;
  box-shadow: 0 8px 20px rgba(0,0,0,0.04);
  margin-bottom: 30px;
}

.gate-badge-circle {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 16px;
}

.guest-gate h3 {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 8px;
}

.guest-gate p {
  font-size: 0.9rem;
  color: var(--text-muted);
  max-width: 520px;
  margin: 0 auto 20px;
  line-height: 1.5;
}

.gate-actions {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ==========================================
   CARDS GRID & 130x165px SHOWCASE
   ========================================== */
.cards-list {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
  gap: 20px;
}

.profile-card {
  background: white;
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 16px;
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  transition: all 0.2s ease;
}

.profile-card:hover {
  border-color: var(--gold);
  box-shadow: 0 6px 18px rgba(0,0,0,0.06);
}

.card-row {
  display: flex;
  gap: 14px;
  margin-bottom: 12px;
}

/* 130x165px Showcase */
.card-photo-box {
  width: 130px;
  height: 165px;
  border-radius: 12px;
  background: #f1f5f9;
  position: relative;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  border: 1px solid var(--border);
}

.card-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-avatar-empty {
  font-size: 2.2rem;
  font-weight: 800;
  color: #94a3b8;
}

.groom-tag {
  position: absolute;
  bottom: 6px;
  left: 6px;
  right: 6px;
  background: rgba(6,78,59,0.9);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 3px 4px;
  border-radius: 4px;
  text-align: center;
}

/* Female Royal Arch Showcase */
.female-tile {
  background: radial-gradient(circle at center, #fef9e7, #fef08a);
  border: 1.5px solid var(--gold);
}

.arch-top {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 32px;
  background: var(--primary);
  clip-path: polygon(0 0, 100% 0, 100% 50%, 50% 100%, 0 50%);
  opacity: 0.15;
}

.urdu-initial {
  font-family: 'Scheherazade New', serif;
  font-size: 4rem;
  color: var(--brown);
  font-weight: 700;
  line-height: 1;
  margin-top: 10px;
}

.pardah-tag {
  position: absolute;
  bottom: 6px;
  left: 6px;
  right: 6px;
  background: var(--primary);
  color: var(--gold-border);
  font-size: 0.65rem;
  font-weight: 800;
  padding: 3px 4px;
  border-radius: 4px;
  text-align: center;
  border: 1px solid var(--gold);
}

/* Card Details */
.card-info {
  flex: 1;
}

.card-name {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 4px;
}

.card-spec {
  font-size: 0.82rem;
  color: var(--text-muted);
  margin-bottom: 3px;
  display: flex;
  align-items: center;
  gap: 5px;
}

.card-work {
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text);
  margin-top: 6px;
}

.card-managed {
  font-size: 0.72rem;
  color: #94a3b8;
  margin-top: 6px;
}

/* Lineage Drawer */
.lineage-drawer {
  display: none;
  background: var(--bg);
  border: 1px dashed var(--border);
  border-radius: 8px;
  padding: 10px;
  margin: 10px 0;
  font-size: 0.8rem;
}

.lineage-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 6px;
}

.btn-lineage-toggle {
  background: none;
  border: none;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--gold-accent);
  cursor: pointer;
  text-align: left;
  padding: 4px 0;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* Card Action Buttons */
.card-actions {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}

.btn-action {
  flex: 1;
  padding: 8px;
  border-radius: 8px;
  font-size: 0.82rem;
  font-weight: 700;
  border: none;
  cursor: pointer;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.btn-interest {
  background: var(--primary-light);
  color: var(--primary);
  border: 1px solid #a7f3d0;
}

.btn-interest.active {
  background: var(--primary);
  color: white;
}

.btn-wa {
  background: #10b981;
  color: white;
}

/* ==========================================
   MODALS & APPLE DESIGN SYSTEM
   ========================================== */
.modal-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.6);
  z-index: 1000;
  align-items: center;
  justify-content: center;
  padding: 16px;
  overflow-y: auto;
}

.modal-backdrop.open {
  display: flex;
}

.modal-dialog {
  background: white;
  border-radius: var(--radius);
  width: 100%;
  max-width: 440px;
  padding: 24px;
  position: relative;
  max-height: 90vh;
  overflow-y: auto;
}

.modal-dialog-large {
  max-width: 600px;
}

.modal-close-apple {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: none;
  background: var(--bg);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s ease;
}

.modal-close-apple:hover {
  background: var(--border);
  color: var(--text);
}

.auth-brand-emblem {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--primary);
  color: var(--gold-border);
  font-weight: 800;
  font-size: 1.15rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
  border: 1.5px solid var(--gold);
}

.auth-h {
  font-size: 1.35rem;
  font-weight: 800;
  color: var(--primary-dark);
  margin-bottom: 6px;
  text-align: center;
}

.auth-sub {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 20px;
}

.input-group-apple {
  display: flex;
  align-items: center;
  border: 1.5px solid var(--border);
  border-radius: 12px;
  padding: 0 14px;
  margin-bottom: 14px;
  background: white;
  transition: border-color 0.2s;
}

.input-group-apple:focus-within {
  border-color: var(--gold-accent);
}

.country-prefix {
  display: inline-flex !important;
  align-items: center !important;
  gap: 6px !important;
  font-size: 0.94rem !important;
  font-weight: 800 !important;
  color: var(--text) !important;
  white-space: nowrap !important;
  flex-shrink: 0 !important;
  user-select: none !important;
  padding-right: 10px !important;
  margin-right: 12px !important;
  border-right: 1.5px solid var(--border) !important;
  line-height: 1 !important;
}

.input-apple {
  width: 100%;
  border: none;
  padding: 12px 0;
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--text);
  outline: none;
  background: transparent;
}

.btn-apple-primary {
  width: 100%;
  padding: 12px;
  border-radius: 12px;
  background: var(--primary);
  color: white;
  border: none;
  font-size: 0.92rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  cursor: pointer;
  transition: opacity 0.15s, transform 0.1s;
}

.btn-apple-primary:hover { opacity: 0.95; }
.btn-apple-primary:active { transform: scale(0.99); }

.auth-divider-apple {
  text-align: center;
  margin: 18px 0;
  position: relative;
}

.auth-divider-apple::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 0;
  right: 0;
  height: 1px;
  background: var(--border);
}

.auth-divider-apple span {
  position: relative;
  background: white;
  padding: 0 12px;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.5px;
}

.btn-apple-secondary {
  width: 100%;
  padding: 11px;
  border-radius: 12px;
  border: 1.5px solid var(--border);
  background: white;
  color: var(--text);
  font-size: 0.88rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  cursor: pointer;
  margin-bottom: 10px;
  transition: background 0.15s, border-color 0.15s;
}

.btn-apple-secondary:hover {
  background: var(--bg);
  border-color: #cbd5e1;
}

/* ==========================================
   4-DIGIT UNDERLINE OTP SCREEN
   ========================================== */
.otp-container-clean {
  text-align: center;
  padding: 8px 4px;
}

.shield-badge-wrap {
  display: flex;
  justify-content: center;
  margin-bottom: 16px;
}

.shield-badge {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: var(--gold-light);
  display: flex;
  align-items: center;
  justify-content: center;
}

.otp-heading {
  font-size: 1.45rem;
  font-weight: 800;
  color: var(--text);
  margin-bottom: 6px;
}

.otp-subtext {
  font-size: 0.88rem;
  color: var(--text-muted);
  max-width: 310px;
  margin: 0 auto 28px;
  line-height: 1.45;
}

.otp-subtext b {
  color: var(--text);
  font-weight: 700;
}

.otp-underline-row {
  display: flex;
  justify-content: center;
  gap: 16px;
  margin-bottom: 24px;
}

.otp-underline-slot {
  width: 44px;
  height: 48px;
  border: none;
  border-bottom: 2.5px solid #cbd5e1;
  background: transparent;
  font-size: 1.6rem;
  font-weight: 800;
  text-align: center;
  color: var(--text);
  outline: none;
  transition: border-color 0.2s, transform 0.1s;
  caret-color: var(--gold-accent);
}

.otp-underline-slot:focus,
.otp-underline-slot.filled {
  border-bottom-color: var(--gold-accent);
}

.otp-timer-row {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-align: center;
  margin: 18px 0 22px 0;
  line-height: 1.5;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.otp-timer-row b {
  color: var(--text);
  font-weight: 700;
}

.btn-resend-link {
  background: none;
  border: none;
  color: var(--primary);
  font-weight: 700;
  font-size: 0.85rem;
  cursor: pointer;
  text-decoration: underline;
  padding: 0;
  transition: color 0.15s;
}

.btn-resend-link:hover {
  color: var(--primary-dark);
}

.btn-link-clean {
  background: none;
  border: none;
  font-size: 0.8rem;
  color: var(--text-muted);
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 4px;
}

.btn-link-clean:hover {
  color: var(--text);
}

/* ==========================================
   MULTI-STEP REGISTRATION MODAL
   ========================================== */
.step-tabs {
  display: flex;
  gap: 4px;
  border-bottom: 1.5px solid var(--border);
  margin-bottom: 16px;
  overflow-x: auto;
}

.step-btn {
  flex: 1;
  padding: 8px 6px;
  border: none;
  background: none;
  font-size: 0.8rem;
  font-weight: 700;
  color: var(--text-muted);
  cursor: pointer;
  border-bottom: 2px solid transparent;
  white-space: nowrap;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4px;
}

.step-btn.active {
  color: var(--primary);
  border-bottom-color: var(--primary);
}

.f-item {
  margin-bottom: 12px;
}

.f-item label {
  display: block;
  font-size: 0.78rem;
  font-weight: 700;
  margin-bottom: 4px;
  color: var(--text);
}

.f-item input, .f-item select {
  width: 100%;
  padding: 8px 10px;
  border: 1px solid var(--border);
  border-radius: 8px;
  font-size: 0.88rem;
}

.f-item input:focus, .f-item select:focus {
  border-color: var(--gold-accent);
  outline: none;
}

.f-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.btn-proceed {
  width: 100%;
  background: var(--primary);
  color: white;
  padding: 10px;
  border-radius: 8px;
  font-weight: 700;
  font-size: 0.9rem;
  border: none;
  cursor: pointer;
  margin-top: 10px;
}


/* ==========================================
   USER PROFILE PILL, ACCOUNT DROPDOWN & MODAL
   ========================================== */
.user-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--surface);
  border: 1.5px solid var(--border);
  padding: 5px 12px 5px 6px;
  border-radius: 24px;
  cursor: pointer;
  font-size: 0.84rem;
  font-weight: 700;
  color: var(--primary-dark);
  transition: all 0.15s ease;
  user-select: none;
}

.user-pill:hover {
  border-color: var(--gold);
  background: var(--primary-light);
}

.user-avatar-circle {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--primary);
  color: white;
  display: flex;
  align-items: center;
  justify-content: center;
}

.chevron-icon {
  color: var(--text-muted);
  transition: transform 0.2s ease;
}

.user-pill.open .chevron-icon {
  transform: rotate(180deg);
}

/* Account Dropdown */
.account-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 240px;
  background: white;
  border-radius: 14px;
  border: 1px solid var(--border);
  box-shadow: 0 12px 30px rgba(0, 0, 0, 0.12);
  padding: 8px;
  z-index: 200;
  animation: dropdownFade 0.15s ease-out;
}

.account-dropdown.show {
  display: block;
}

@keyframes dropdownFade {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

.account-menu-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 8px;
}

.account-menu-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--gold-border);
  font-weight: 800;
  font-size: 1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  border: 1.5px solid var(--gold);
}

.account-menu-meta {
  flex: 1;
  overflow: hidden;
}

.account-menu-name {
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.account-menu-status {
  display: flex;
  align-items: center;
  gap: 4px;
  font-size: 0.72rem;
  color: #10b981;
  font-weight: 700;
  margin-top: 1px;
}

.account-menu-divider {
  height: 1px;
  background: var(--border);
  margin: 6px 0;
}

.account-menu-item {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 9px 10px;
  border-radius: 8px;
  border: none;
  background: none;
  font-size: 0.84rem;
  font-weight: 600;
  color: var(--text);
  cursor: pointer;
  text-align: left;
  transition: background 0.12s ease;
}

.account-menu-item:hover {
  background: var(--bg);
}

.account-menu-item.item-logout:hover {
  background: #fef2f2;
}

/* My Account Modal */
.account-view-card {
  text-align: center;
  padding: 8px 4px;
}

.account-big-avatar {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark));
  color: var(--gold-border);
  font-weight: 800;
  font-size: 1.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 12px;
  border: 2px solid var(--gold);
  box-shadow: 0 4px 14px rgba(6, 78, 59, 0.2);
}

.account-phone-chip {
  display: inline-block;
  background: var(--bg);
  border: 1px solid var(--border);
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 0.8rem;
  color: var(--text-muted);
  font-weight: 600;
  margin-bottom: 12px;
}

.account-badges-row {
  display: flex;
  justify-content: center;
  gap: 8px;
  margin-bottom: 18px;
}

.acc-badge {
  font-size: 0.74rem;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 6px;
  background: var(--bg);
  color: var(--text-muted);
  border: 1px solid var(--border);
}

.acc-badge-verified {
  background: #ecfdf5;
  color: #064e3b;
  border-color: #a7f3d0;
  display: flex;
  align-items: center;
  gap: 4px;
}

.account-stats-grid {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr;
  gap: 8px;
  background: var(--bg);
  border: 1px solid var(--border);
  border-radius: 12px;
  padding: 12px;
  margin-bottom: 18px;
}

.stat-num {
  font-size: 1.05rem;
  font-weight: 800;
  color: var(--primary-dark);
}

.stat-lbl {
  font-size: 0.7rem;
  color: var(--text-muted);
  font-weight: 600;
  margin-top: 2px;
}

.account-section-title {
  text-align: left;
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 6px;
}

.account-profile-preview {
  background: white;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: 12px;
  text-align: left;
}

/* Exact Register Panel Classes from index copy.html */
.step-nav { display: flex; gap: 4px; margin-bottom: 16px; background: #f1f5f9; padding: 4px; border-radius: 10px; }
.f-box { display: flex; flex-direction: column; gap: 12px; }
.f-grid { display: grid; grid-template-columns: 1fr; gap: 10px; }
@media(min-width: 500px){ .f-grid { grid-template-columns: 1fr 1fr; } }
.field-error { border-color: #ef4444 !important; background: #fef2f2 !important; }


/* Dedicated Form Nav Row with 16px Gap to Prevent Button Collision */
.form-nav-row {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 16px !important;
  margin-top: 16px !important;
}

.btn-nav-prev {
  flex: 1 !important;
  height: 44px !important;
  background: #f1f5f9 !important;
  color: #334155 !important;
  border: 1.5px solid #cbd5e1 !important;
  border-radius: 10px !important;
  font-size: 0.88rem !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  padding: 0 16px !important;
  transition: all 0.15s ease !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}
.btn-nav-prev:hover {
  background: #e2e8f0 !important;
  border-color: #94a3b8 !important;
}

.btn-nav-next {
  flex: 1.2 !important;
  height: 44px !important;
  background: var(--primary) !important;
  color: white !important;
  border: 1px solid var(--gold) !important;
  border-radius: 10px !important;
  font-size: 0.88rem !important;
  font-weight: 800 !important;
  cursor: pointer !important;
  padding: 0 16px !important;
  transition: opacity 0.15s ease !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
}
.btn-nav-next:hover {
  opacity: 0.95 !important;
}

/* Elegant Apple-Style Circular Close Button */
.close-btn, .modal-close-apple {
  position: absolute !important;
  top: 16px !important;
  right: 16px !important;
  width: 32px !important;
  height: 32px !important;
  border-radius: 50% !important;
  background: #f1f5f9 !important;
  border: 1px solid var(--border) !important;
  color: var(--text-muted) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  transition: all 0.15s ease !important;
  padding: 0 !important;
  outline: none !important;
  z-index: 100 !important;
}
.close-btn:hover, .modal-close-apple:hover {
  background: #e2e8f0 !important;
  color: var(--text) !important;
  transform: scale(1.06) !important;
}


/* ==========================================
   APPLE UI ACTION BUTTONS (Interest & Share)
   ========================================== */
.card-actions {
  display: flex !important;
  align-items: center !important;
  gap: 12px !important;
  margin-top: 14px !important;
}

.btn-action {
  flex: 1 !important;
  height: 42px !important;
  padding: 0 16px !important;
  border-radius: 12px !important;
  font-size: 0.86rem !important;
  font-weight: 600 !important;
  border: 1.5px solid var(--border) !important;
  cursor: pointer !important;
  text-align: center !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  transition: all 0.18s ease !important;
  user-select: none !important;
  text-decoration: none !important;
}
.btn-action:active {
  transform: scale(0.97) !important;
}

/* Apple Outlined Interest Button with Empty Heart */
.btn-interest {
  background: #ffffff !important;
  color: var(--text) !important;
  border: 1.5px solid var(--border) !important;
}
.btn-interest:hover {
  background: var(--bg) !important;
  border-color: #cbd5e1 !important;
}
.btn-interest .heart-icon {
  width: 18px !important;
  height: 18px !important;
  stroke: var(--text-muted) !important;
  fill: none !important;
  transition: all 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275) !important;
}

/* Clicked Interest State: Heart Turns Bright Red */
.btn-interest.interested {
  border-color: #fecaca !important;
  background: #fff5f5 !important;
  color: #b91c1c !important;
}
.btn-interest.interested .heart-icon {
  stroke: #ef4444 !important;
  fill: #ef4444 !important;
  transform: scale(1.15) !important;
}

/* Apple Style Share Button in Primary Brand Color */
.btn-share {
  background: var(--primary) !important;
  color: #ffffff !important;
  border: 1.5px solid var(--gold) !important;
  font-weight: 700 !important;
}
.btn-share:hover {
  background: var(--primary-dark) !important;
  border-color: #fef08a !important;
  box-shadow: 0 4px 14px rgba(6, 78, 59, 0.25) !important;
}
.btn-share svg {
  width: 16px !important;
  height: 16px !important;
  stroke: #ffffff !important;
}

/* Apple Share Sheet Modal Styling */
.share-grid {
  display: grid !important;
  grid-template-columns: repeat(4, 1fr) !important;
  gap: 12px !important;
  text-align: center !important;
  padding: 12px 0 6px !important;
}
.share-option {
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
  gap: 8px !important;
  background: none !important;
  border: none !important;
  cursor: pointer !important;
  color: var(--text) !important;
  font-size: 0.78rem !important;
  font-weight: 600 !important;
  text-decoration: none !important;
  transition: transform 0.15s ease !important;
}
.share-option:hover {
  transform: translateY(-2px) !important;
}
.share-icon-box {
  width: 52px !important;
  height: 52px !important;
  border-radius: 14px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: 0 4px 12px rgba(0,0,0,0.06) !important;
  transition: box-shadow 0.15s ease !important;
}
.share-option:hover .share-icon-box {
  box-shadow: 0 6px 16px rgba(0,0,0,0.12) !important;
}



/* ==========================================
   REFINED APPLE B2B CARD (Clean & De-cluttered)
   ========================================== */
.b2b-card {
  background: #ffffff !important;
  border: 1.5px solid var(--border) !important;
  border-radius: 16px !important;
  padding: 22px !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  gap: 16px !important;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.04) !important;
  transition: all 0.2s ease !important;
}

.b2b-card:hover {
  border-color: var(--gold) !important;
  box-shadow: 0 8px 24px rgba(6, 78, 59, 0.08) !important;
  transform: translateY(-2px) !important;
}

.b2b-card-header {
  display: flex !important;
  align-items: flex-start !important;
  justify-content: space-between !important;
  gap: 12px !important;
}

.b2b-firm-name {
  font-size: 1.15rem !important;
  font-weight: 800 !important;
  color: #0f172a !important;
  line-height: 1.35 !important;
  margin-bottom: 4px !important;
}

.b2b-meta-line {
  display: flex !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 6px !important;
  font-size: 0.82rem !important;
  color: var(--text-muted) !important;
}

.b2b-cat-badge {
  color: var(--primary) !important;
  font-weight: 700 !important;
}

.b2b-loc {
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
}

.b2b-verified-tag {
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
  background: #ecfdf5 !important;
  color: #065f46 !important;
  border: 1px solid #a7f3d0 !important;
  padding: 4px 9px !important;
  border-radius: 20px !important;
  font-size: 0.72rem !important;
  font-weight: 700 !important;
  white-space: nowrap !important;
  flex-shrink: 0 !important;
}

/* Elegant Full-Width Specs List (No Truncation / Collisions) */
.b2b-info-list {
  background: #f8fafc !important;
  border: 1px solid var(--border) !important;
  border-radius: 12px !important;
  padding: 12px 14px !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 8px !important;
}

.b2b-info-row {
  display: flex !important;
  flex-direction: column !important;
  gap: 2px !important;
}

@media (min-width: 480px) {
  .b2b-info-row {
    flex-direction: row !important;
    align-items: baseline !important;
    justify-content: space-between !important;
  }
}

.b2b-info-lbl {
  font-size: 0.72rem !important;
  font-weight: 700 !important;
  color: var(--text-muted) !important;
  text-transform: uppercase !important;
  letter-spacing: 0.4px !important;
}

.b2b-info-val {
  font-size: 0.85rem !important;
  font-weight: 700 !important;
  color: var(--text) !important;
  word-break: break-word !important;
}

.khandaan-tag {
  color: var(--brown) !important;
  font-weight: 600 !important;
  font-size: 0.82rem !important;
}

/* Specialties Tags */
.b2b-tags-wrap {
  display: flex !important;
  flex-wrap: wrap !important;
  gap: 6px !important;
}

.b2b-tag {
  background: #ffffff !important;
  color: #334155 !important;
  border: 1px solid #e2e8f0 !important;
  font-size: 0.76rem !important;
  font-weight: 600 !important;
  padding: 4px 10px !important;
  border-radius: 6px !important;
  transition: all 0.15s ease !important;
}

.b2b-tag:hover {
  border-color: var(--primary) !important;
  color: var(--primary) !important;
}

/* Balanced Action Buttons */
.b2b-actions-row {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  margin-top: 4px !important;
}

.btn-chat-primary {
  flex: 1.4 !important;
  height: 40px !important;
  background: var(--primary) !important;
  color: #ffffff !important;
  border: 1.5px solid var(--gold) !important;
  border-radius: 10px !important;
  font-size: 0.86rem !important;
  font-weight: 700 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 8px !important;
  cursor: pointer !important;
  transition: all 0.15s ease !important;
}

.btn-chat-primary:hover {
  background: var(--primary-dark) !important;
  border-color: #fef08a !important;
  box-shadow: 0 4px 12px rgba(6, 78, 59, 0.2) !important;
}

.btn-b2b-share {
  flex: 1 !important;
  height: 40px !important;
  background: #ffffff !important;
  color: #0f172a !important;
  border: 1.5px solid #cbd5e1 !important;
  border-radius: 10px !important;
  font-size: 0.86rem !important;
  font-weight: 600 !important;
  display: inline-flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  cursor: pointer !important;
  transition: all 0.15s ease !important;
}

.btn-b2b-share:hover {
  background: #f8fafc !important;
  border-color: #94a3b8 !important;
}

/* ==========================================
   IN-WEBSITE CHAT MESSENGER MODAL (Apple UI)
   ========================================== */
.chat-dialog-clean {
  max-width: 480px !important;
  height: 560px !important;
  max-height: 88vh !important;
  padding: 0 !important;
  overflow: hidden !important;
  border-radius: 20px !important;
  display: flex !important;
  flex-direction: column !important;
}

.chat-header {
  background: #ffffff !important;
  border-bottom: 1px solid var(--border) !important;
  padding: 14px 18px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
}

.chat-avatar-circle {
  width: 42px !important;
  height: 42px !important;
  border-radius: 50% !important;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark)) !important;
  color: var(--gold-border) !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  font-size: 1.2rem !important;
  border: 1.5px solid var(--gold) !important;
}

.chat-header-title {
  font-size: 0.98rem !important;
  font-weight: 800 !important;
  color: var(--text) !important;
  line-height: 1.2 !important;
}

.chat-header-status {
  display: flex !important;
  align-items: center !important;
  gap: 5px !important;
  font-size: 0.74rem !important;
  color: var(--text-muted) !important;
  margin-top: 2px !important;
}

.chat-online-dot {
  width: 7px !important;
  height: 7px !important;
  border-radius: 50% !important;
  background: #10b981 !important;
  display: inline-block !important;
}

/* Quick Inquiry Pills */
.chat-quick-prompts {
  display: flex !important;
  gap: 8px !important;
  padding: 8px 14px !important;
  overflow-x: auto !important;
  background: var(--bg) !important;
  border-bottom: 1px solid var(--border) !important;
  scrollbar-width: none !important;
}
.chat-quick-prompts::-webkit-scrollbar {
  display: none !important;
}

.chat-prompt-pill {
  background: #ffffff !important;
  border: 1px solid var(--border) !important;
  padding: 5px 12px !important;
  border-radius: 16px !important;
  font-size: 0.75rem !important;
  font-weight: 600 !important;
  color: var(--text) !important;
  cursor: pointer !important;
  white-space: nowrap !important;
  transition: all 0.15s ease !important;
}
.chat-prompt-pill:hover {
  background: var(--primary-light) !important;
  border-color: #a7f3d0 !important;
  color: var(--primary) !important;
}

/* Chat Messages Stream */
.chat-messages-body {
  flex: 1 !important;
  padding: 16px !important;
  overflow-y: auto !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 12px !important;
  background: #fbfcfd !important;
}

.chat-system-badge {
  align-self: center !important;
  background: rgba(0, 0, 0, 0.04) !important;
  color: var(--text-muted) !important;
  font-size: 0.7rem !important;
  font-weight: 700 !important;
  padding: 3px 10px !important;
  border-radius: 12px !important;
  margin-bottom: 6px !important;
}

.chat-msg-bubble {
  max-width: 82% !important;
  padding: 10px 14px !important;
  font-size: 0.88rem !important;
  line-height: 1.45 !important;
  word-break: break-word !important;
}

.chat-msg-incoming {
  align-self: flex-start !important;
  background: #ffffff !important;
  color: var(--text) !important;
  border: 1px solid var(--border) !important;
  border-radius: 16px 16px 16px 4px !important;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.03) !important;
}

.chat-msg-outgoing {
  align-self: flex-end !important;
  background: var(--primary) !important;
  color: #ffffff !important;
  border-radius: 16px 16px 4px 16px !important;
  box-shadow: 0 2px 8px rgba(6, 78, 59, 0.2) !important;
}

.chat-msg-time {
  font-size: 0.65rem !important;
  opacity: 0.7 !important;
  margin-top: 4px !important;
  text-align: right !important;
}

/* Chat Input Bar */
.chat-input-bar {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  padding: 12px 16px !important;
  background: #ffffff !important;
  border-top: 1px solid var(--border) !important;
}

.chat-text-input {
  flex: 1 !important;
  height: 40px !important;
  border: 1.5px solid var(--border) !important;
  border-radius: 20px !important;
  padding: 0 16px !important;
  font-size: 0.88rem !important;
  outline: none !important;
  transition: border-color 0.15s ease !important;
}
.chat-text-input:focus {
  border-color: var(--primary) !important;
}

.btn-chat-send {
  width: 40px !important;
  height: 40px !important;
  border-radius: 50% !important;
  background: var(--primary) !important;
  color: #ffffff !important;
  border: none !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  cursor: pointer !important;
  transition: all 0.15s ease !important;
}
.btn-chat-send:hover {
  background: var(--primary-dark) !important;
  transform: scale(1.05) !important;
}
.btn-chat-send:active {
  transform: scale(0.95) !important;
}


/* ==========================================
   GLOBAL APPLE SELECT DROPDOWN ARROW STYLING
   Decent 14px right-spacing across all dropdowns
   ========================================== */
select {
  appearance: none !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  background-color: #ffffff !important;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='none' stroke='%230f172a' stroke-width='2.2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='6 9 12 15 18 9'%3E%3C/polyline%3E%3C/svg%3E") !important;
  background-repeat: no-repeat !important;
  background-position: right 14px center !important;
  background-size: 13px 13px !important;
  padding-right: 38px !important;
  cursor: pointer !important;
}

.finder-col select,
.f-item select {
  appearance: none !important;
  -webkit-appearance: none !important;
  -moz-appearance: none !important;
  background-position: right 14px center !important;
  background-size: 13px 13px !important;
  padding-right: 38px !important;
  cursor: pointer !important;
}


/* ==========================================
   MODERN SHAADI.COM REGISTRATION PROCESS UI
   Soft Badges, Interactive Selection Chips,
   Floating Labels, Family Details & Income
   ========================================== */

.reg-modal-content {
  text-align: center;
  padding: 4px;
}

/* Step Circle Badges */
.reg-step-badge {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 14px;
  font-size: 1.5rem;
  box-shadow: 0 4px 14px rgba(0, 0, 0, 0.05);
}
.badge-peach { background: #fff1eb; color: #ea580c; border: 1.5px solid #ffedd5; }
.badge-purple { background: #f3e8ff; color: #9333ea; border: 1.5px solid #e9d5ff; }
.badge-green { background: #ecfdf5; color: #059669; border: 1.5px solid #a7f3d0; }
.badge-blue { background: #eff6ff; color: #2563eb; border: 1.5px solid #bfdbfe; }
.badge-pink { background: #fdf2f8; color: #db2777; border: 1.5px solid #fbcfe8; }

.reg-step-title {
  font-size: 1.45rem;
  font-weight: 800;
  color: #0f172a;
  margin-bottom: 4px;
  letter-spacing: -0.3px;
}

.reg-step-sub {
  font-size: 0.85rem;
  color: #64748b;
  margin-bottom: 22px;
}

/* Modern Outlined Form Groups */
.form-field-group {
  text-align: left;
  margin-bottom: 18px;
  position: relative;
}

.form-field-group label {
  display: block;
  font-size: 0.76rem;
  font-weight: 700;
  color: #475569;
  margin-bottom: 6px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.form-field-group input,
.form-field-group select {
  width: 100%;
  height: 46px;
  border: 1.5px solid var(--border);
  border-radius: 10px;
  padding: 0 14px;
  font-size: 0.92rem;
  font-weight: 600;
  color: var(--text);
  background: #ffffff;
  outline: none;
  transition: all 0.18s ease;
}

.form-field-group input:focus,
.form-field-group select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(6, 78, 59, 0.08);
}

/* Interactive Selection Chips / Pills */
.chip-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 4px;
}

.reg-chip {
  background: #ffffff;
  border: 1.5px solid #cbd5e1;
  border-radius: 24px;
  padding: 8px 16px;
  font-size: 0.84rem;
  font-weight: 600;
  color: #334155;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.15s ease;
  user-select: none;
}

.reg-chip:hover {
  border-color: #94a3b8;
  background: #f8fafc;
}

.reg-chip.active {
  background: #ecfdf5;
  border-color: var(--primary);
  color: var(--primary-dark);
  font-weight: 700;
  box-shadow: 0 2px 8px rgba(6, 78, 59, 0.12);
}

.reg-chip .chip-check {
  display: none;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  background: var(--primary);
  color: white;
  align-items: center;
  justify-content: center;
  font-size: 0.65rem;
  font-weight: 800;
}

.reg-chip.active .chip-check {
  display: inline-flex;
}

.reg-chip .chip-dot {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #e2e8f0;
  display: inline-block;
}

.reg-chip.active .chip-dot {
  display: none;
}

/* Notice Card */
.reg-notice-card {
  background: #fffbeb;
  border: 1px solid #fef3c7;
  border-radius: 12px;
  padding: 12px 14px;
  margin: 18px 0;
  display: flex;
  align-items: flex-start;
  gap: 10px;
  text-align: left;
  font-size: 0.8rem;
  color: #92400e;
  line-height: 1.45;
}

/* Income Toggle Switch */
.income-toggle-wrap {
  display: inline-flex;
  background: #f1f5f9;
  padding: 3px;
  border-radius: 20px;
  margin-bottom: 8px;
}

.income-toggle-btn {
  border: none;
  background: none;
  padding: 4px 12px;
  border-radius: 16px;
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--text-muted);
  cursor: pointer;
  transition: all 0.15s ease;
}

.income-toggle-btn.active {
  background: #ffffff;
  color: var(--primary);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

/* Photo Upload Box & Guidelines */
.photo-guidelines-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
  margin-top: 14px;
  text-align: center;
}
.guide-item {
  font-size: 0.7rem;
  font-weight: 700;
}
.guide-item.valid { color: #059669; }
.guide-item.invalid { color: #dc2626; }

.guide-box {
  width: 100%;
  aspect-ratio: 1;
  border-radius: 8px;
  background: #f1f5f9;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.4rem;
  margin-top: 4px;
  border: 1px solid var(--border);
}

/* Step Progress Indicator */
.reg-progress-bar {
  display: flex;
  align-items: center;
  gap: 6px;
  margin-bottom: 20px;
}

.reg-progress-step {
  flex: 1;
  height: 4px;
  border-radius: 2px;
  background: #e2e8f0;
  transition: background 0.3s ease;
}

.reg-progress-step.active {
  background: var(--primary);
}

/* Navigation Buttons Row */
.reg-nav-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-top: 24px;
}

.btn-reg-continue {
  flex: 1;
  height: 46px;
  background: var(--primary);
  color: #ffffff;
  border: none;
  border-radius: 24px;
  font-size: 0.94rem;
  font-weight: 800;
  cursor: pointer;
  box-shadow: 0 4px 14px rgba(6, 78, 59, 0.25);
  transition: all 0.18s ease;
}

.btn-reg-continue:hover {
  background: var(--primary-dark);
  transform: translateY(-1px);
}

.btn-reg-back {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: #f1f5f9;
  border: 1px solid var(--border);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.15s ease;
  flex-shrink: 0;
}

.btn-reg-back:hover {
  background: #e2e8f0;
  color: var(--text);
}


/* Real Photo Guidelines Styling */
.photo-guidelines-grid {
  display: grid !important;
  grid-template-columns: repeat(6, 1fr) !important;
  gap: 8px !important;
  margin-top: 14px !important;
  text-align: center !important;
}

.guide-item {
  font-size: 0.72rem !important;
  font-weight: 700 !important;
  display: flex !important;
  flex-direction: column !important;
  align-items: center !important;
}
.guide-item.valid { color: #059669 !important; }
.guide-item.invalid { color: #dc2626 !important; }

.guide-img-box {
  width: 100% !important;
  max-width: 68px !important;
  aspect-ratio: 1 !important;
  border-radius: 8px !important;
  overflow: hidden !important;
  margin-top: 6px !important;
  border: 1.5px solid var(--border) !important;
  background: #f1f5f9 !important;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05) !important;
}

.guide-img-box img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block !important;
}

.hobbies-category-title {
  font-size: 0.76rem !important;
  font-weight: 800 !important;
  color: var(--text-muted) !important;
  text-transform: uppercase !important;
  letter-spacing: 0.5px !important;
  margin: 12px 0 6px !important;
  text-align: left !important;
}


/* ==========================================
   FOCUSED FIRQA & BANARAS PLACE BADGES
   ========================================== */
.card-meta-focus-row {
  display: flex !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 7px !important;
  margin: 5px 0 6px !important;
}

/* Highlighted Maslak / Firqa Badge */
.firqa-highlight-badge {
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;
  background: #f0fdf4 !important;
  color: #065f46 !important;
  border: 1.5px solid #a7f3d0 !important;
  padding: 3px 9px !important;
  border-radius: 12px !important;
  font-size: 0.76rem !important;
  font-weight: 800 !important;
  letter-spacing: 0.2px !important;
  box-shadow: 0 1px 3px rgba(6, 78, 59, 0.05) !important;
}
.firqa-highlight-badge svg {
  stroke: #059669 !important;
}

/* Distinct Focused Banaras Root Place Badge */
.banaras-origin-badge {
  display: inline-flex !important;
  align-items: center !important;
  gap: 4px !important;
  background: #fef9e7 !important;
  color: #78350f !important;
  border: 1.5px solid #fef08a !important;
  padding: 3px 9px !important;
  border-radius: 12px !important;
  font-size: 0.76rem !important;
  font-weight: 700 !important;
  box-shadow: 0 1px 3px rgba(120, 53, 15, 0.04) !important;
}
.banaras-origin-badge b {
  color: #451a03 !important;
  font-weight: 800 !important;
}
.banaras-origin-badge svg {
  stroke: #d97706 !important;
}

/* Step Box Animation & Solid Modal Dialog Protection */
.reg-step-box {
  width: 100% !important;
  animation: fadeInStep 0.18s ease-out !important;
}

@keyframes fadeInStep {
  from { opacity: 0; transform: translateY(5px); }
  to { opacity: 1; transform: translateY(0); }
}

.modal-dialog-large {
  max-width: 580px !important;
  background: #ffffff !important;
  border: 1px solid var(--border) !important;
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.2) !important;
  border-radius: 20px !important;
  position: relative !important;
}


/* Guaranteed Horizontal Alignment for Form Field Pairs */
.f-row {
  display: grid !important;
  grid-template-columns: 1fr 1fr !important;
  gap: 12px !important;
  align-items: end !important;
}

.f-row .form-field-group {
  display: flex !important;
  flex-direction: column !important;
  justify-content: flex-end !important;
  margin-bottom: 18px !important;
}

.f-row .form-field-group label {
  min-height: 34px !important;
  display: flex !important;
  align-items: flex-end !important;
  margin-bottom: 6px !important;
  line-height: 1.25 !important;
}


/* ==========================================
   CIRCULAR PROGRESSION RING & VERIFICATION REMINDER
   ========================================== */
.user-avatar-progress-wrap {
  position: relative !important;
  width: 34px !important;
  height: 34px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
}

.progress-ring {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  transform: rotate(-90deg) !important;
  pointer-events: none !important;
}

.progress-ring-circle {
  transition: stroke-dashoffset 0.4s ease, stroke 0.3s ease !important;
}

.user-avatar-circle {
  width: 25px !important;
  height: 25px !important;
  border-radius: 50% !important;
  background: var(--primary) !important;
  color: white !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  position: relative !important;
  z-index: 2 !important;
}

.pill-completion {
  font-size: 0.72rem !important;
  font-weight: 800 !important;
  color: var(--gold-accent) !important;
  background: #fef9e7 !important;
  border: 1px solid var(--gold-border) !important;
  padding: 1px 6px !important;
  border-radius: 10px !important;
  margin-left: 2px !important;
  white-space: nowrap !important;
  transition: all 0.2s ease !important;
}

.pill-completion.complete {
  color: #065f46 !important;
  background: #ecfdf5 !important;
  border-color: #a7f3d0 !important;
}

/* Verification Reminder Card in Account Dropdown */
.verify-reminder-card {
  background: #fefcf3 !important;
  border: 1.5px solid var(--gold-border) !important;
  border-radius: 12px !important;
  padding: 12px !important;
  margin: 6px 0 10px !important;
  text-align: left !important;
}

.verify-reminder-top {
  display: flex !important;
  align-items: flex-start !important;
  gap: 10px !important;
  margin-bottom: 8px !important;
}

.verify-shield-box {
  font-size: 1.3rem !important;
  line-height: 1 !important;
}

.verify-reminder-h {
  font-size: 0.84rem !important;
  font-weight: 800 !important;
  color: #78350f !important;
}

.verify-reminder-p {
  font-size: 0.74rem !important;
  color: #92400e !important;
  line-height: 1.35 !important;
  margin-top: 2px !important;
}

.verify-progress-bar-bg {
  width: 100% !important;
  height: 5px !important;
  background: #fef08a !important;
  border-radius: 4px !important;
  overflow: hidden !important;
  margin-bottom: 10px !important;
}

.verify-progress-bar-fill {
  height: 100% !important;
  background: linear-gradient(90deg, var(--gold-accent), #10b981) !important;
  border-radius: 4px !important;
  transition: width 0.4s ease !important;
}

.btn-verify-now {
  width: 100% !important;
  background: var(--primary) !important;
  color: #ffffff !important;
  border: 1px solid var(--gold) !important;
  border-radius: 8px !important;
  padding: 7px 10px !important;
  font-size: 0.78rem !important;
  font-weight: 700 !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  gap: 6px !important;
  cursor: pointer !important;
  transition: opacity 0.15s !important;
}

.btn-verify-now:hover {
  background: var(--primary-dark) !important;
}

/* Top Floating Verification Callout Banner */
.verify-floating-banner {
  background: linear-gradient(90deg, #fef9e7, #f0fdf4) !important;
  border-bottom: 1px solid var(--gold-border) !important;
  padding: 8px 16px !important;
  animation: slideDown 0.25s ease-out !important;
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: translateY(0); }
}

.verify-banner-inner {
  max-width: 1200px !important;
  margin: 0 auto !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  flex-wrap: wrap !important;
  gap: 10px !important;
  font-size: 0.84rem !important;
}

.verify-banner-text {
  color: #334155 !important;
  flex: 1 !important;
}

.btn-banner-verify {
  background: var(--primary) !important;
  color: white !important;
  border: 1px solid var(--gold) !important;
  padding: 5px 14px !important;
  border-radius: 16px !important;
  font-size: 0.78rem !important;
  font-weight: 700 !important;
  cursor: pointer !important;
  white-space: nowrap !important;
}

.btn-banner-close {
  background: none !important;
  border: none !important;
  font-size: 1.1rem !important;
  color: #64748b !important;
  cursor: pointer !important;
  padding: 0 4px !important;
}


/* ==========================================
   VERIFIED PROFILE SUCCESS ANIMATION MODAL
   Protection Green Tick & Consistent Design
   ========================================== */
.success-shield-wrap {
  position: relative !important;
  width: 76px !important;
  height: 76px !important;
  margin: 6px auto 18px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.success-pulse-ring {
  position: absolute !important;
  inset: -6px !important;
  border-radius: 50% !important;
  background: #ecfdf5 !important;
  border: 1.5px solid #a7f3d0 !important;
  animation: pulseGlow 2s ease-out infinite !important;
}

@keyframes pulseGlow {
  0% { transform: scale(0.92); opacity: 0.85; }
  50% { transform: scale(1.08); opacity: 0.35; }
  100% { transform: scale(0.92); opacity: 0.85; }
}

.success-shield-circle {
  position: relative !important;
  width: 68px !important;
  height: 68px !important;
  border-radius: 50% !important;
  background: #ffffff !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  box-shadow: 0 4px 16px rgba(16, 185, 129, 0.22) !important;
  z-index: 2 !important;
}

.success-tick-svg {
  width: 50px !important;
  height: 50px !important;
  border-radius: 50% !important;
  display: block !important;
  stroke-width: 3.5 !important;
  stroke: #10b981 !important;
  stroke-miterlimit: 10 !important;
}

.success-tick-circle {
  stroke-dasharray: 166 !important;
  stroke-dashoffset: 166 !important;
  stroke-width: 3.5 !important;
  stroke: #10b981 !important;
  fill: #ecfdf5 !important;
  animation: strokeCircle 0.5s cubic-bezier(0.65, 0, 0.45, 1) forwards !important;
}

.success-tick-check {
  transform-origin: 50% 50% !important;
  stroke-dasharray: 48 !important;
  stroke-dashoffset: 48 !important;
  stroke-width: 3.8 !important;
  stroke: #065f46 !important;
  animation: strokeCheck 0.35s cubic-bezier(0.65, 0, 0.45, 1) 0.35s forwards !important;
}

@keyframes strokeCircle {
  100% { stroke-dashoffset: 0; }
}

@keyframes strokeCheck {
  100% { stroke-dashoffset: 0; }
}

.success-summary-box {
  background: var(--bg) !important;
  border: 1.5px solid var(--border) !important;
  border-radius: 12px !important;
  padding: 14px 16px !important;
  margin-bottom: 22px !important;
  text-align: left !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 10px !important;
}

.success-summary-row {
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  font-size: 0.84rem !important;
}

.summary-lbl {
  font-size: 0.72rem !important;
  font-weight: 800 !important;
  color: var(--text-muted) !important;
  letter-spacing: 0.4px !important;
  text-transform: uppercase !important;
}

.summary-val {
  font-weight: 700 !important;
  color: var(--text) !important;
}


/* ==========================================
   ADAPTIVE MOBILE & DESKTOP DESIGN SYSTEM
   Compact Profile Progress Avatar & Clean Cards
   ========================================== */

/* Prominent Header Layout */
.app-header {
  background: var(--surface) !important;
  border-bottom: 1px solid var(--border) !important;
  position: sticky !important;
  top: 0 !important;
  z-index: 100 !important;
}

.header-container {
  max-width: 1200px !important;
  margin: 0 auto !important;
  padding: 10px 16px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: space-between !important;
  gap: 12px !important;
}

.brand-wrap {
  display: flex !important;
  align-items: center !important;
  gap: 10px !important;
  cursor: pointer !important;
  flex-shrink: 0 !important;
}

.brand-logo-box {
  width: 40px !important;
  height: 40px !important;
  border-radius: 10px !important;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark)) !important;
  color: #fef08a !important;
  font-weight: 900 !important;
  font-size: 1.15rem !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  border: 1.5px solid var(--gold) !important;
  flex-shrink: 0 !important;
}

.brand-title {
  font-size: 1.2rem !important;
  font-weight: 800 !important;
  color: var(--primary-dark) !important;
  white-space: nowrap !important;
  line-height: 1.2 !important;
  letter-spacing: -0.3px !important;
}

.brand-sub {
  font-size: 0.72rem !important;
  color: var(--primary) !important;
  font-weight: 600 !important;
  white-space: nowrap !important;
  display: flex !important;
  align-items: center !important;
  gap: 4px !important;
}

/* Compact Profile Button: Letter Avatar + Stroke Progress Ring Only (No Number!) */
.user-pill-wrap {
  position: relative !important;
  flex-shrink: 0 !important;
}

.user-pill {
  display: inline-flex !important;
  align-items: center !important;
  gap: 5px !important;
  background: #ffffff !important;
  border: 1.5px solid var(--border) !important;
  padding: 3px 6px 3px 3px !important;
  border-radius: 24px !important;
  cursor: pointer !important;
  transition: all 0.15s ease !important;
  user-select: none !important;
}

.user-pill:hover {
  border-color: var(--gold) !important;
  background: #f8fafc !important;
}

.user-avatar-progress-wrap {
  position: relative !important;
  width: 34px !important;
  height: 34px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
}

.progress-ring {
  position: absolute !important;
  top: 0 !important;
  left: 0 !important;
  transform: rotate(-90deg) !important;
  pointer-events: none !important;
}

.user-avatar-circle {
  width: 24px !important;
  height: 24px !important;
  border-radius: 50% !important;
  background: linear-gradient(135deg, var(--primary), var(--primary-dark)) !important;
  color: #fef08a !important;
  font-weight: 800 !important;
  font-size: 0.84rem !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  position: relative !important;
  z-index: 2 !important;
}

/* Hide raw text and percentage numbers from the compact header pill */
.user-pill #userName,
.user-pill .pill-completion {
  display: none !important;
}

.user-pill .chevron-icon {
  color: var(--text-muted) !important;
  width: 12px !important;
  height: 12px !important;
  margin-right: 2px !important;
}

/* Adaptive Profile Cards (Responsive for Mobile & Desktop) */
.cards-list {
  display: grid !important;
  grid-template-columns: 1fr !important;
  gap: 16px !important;
  width: 100% !important;
}

@media (min-width: 680px) {
  .cards-list {
    grid-template-columns: repeat(auto-fill, minmax(360px, 1fr)) !important;
    gap: 20px !important;
  }
}

.profile-card {
  background: #ffffff !important;
  border: 1.5px solid var(--border) !important;
  border-radius: 16px !important;
  padding: 16px !important;
  display: flex !important;
  flex-direction: column !important;
  justify-content: space-between !important;
  gap: 12px !important;
  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.03) !important;
  overflow: hidden !important;
  width: 100% !important;
  box-sizing: border-box !important;
}

.card-row {
  display: flex !important;
  gap: 12px !important;
  align-items: flex-start !important;
  width: 100% !important;
}

/* Compact, proportional avatar box */
.card-photo-box {
  width: 95px !important;
  height: 130px !important;
  border-radius: 12px !important;
  background: #f1f5f9 !important;
  position: relative !important;
  overflow: hidden !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  flex-shrink: 0 !important;
  border: 1px solid var(--border) !important;
}

@media (min-width: 680px) {
  .card-photo-box {
    width: 110px !important;
    height: 148px !important;
  }
}

.female-tile .urdu-initial {
  font-family: 'Scheherazade New', serif !important;
  font-size: 2.9rem !important;
  color: var(--brown) !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  margin-top: 4px !important;
}

/* Card Info Column: Never overflows or clips words */
.card-info {
  flex: 1 !important;
  min-width: 0 !important;
  overflow: hidden !important;
  display: flex !important;
  flex-direction: column !important;
  gap: 3px !important;
}

.card-name {
  font-size: 1.1rem !important;
  font-weight: 800 !important;
  color: var(--primary-dark) !important;
  line-height: 1.25 !important;
  margin-bottom: 2px !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

.card-spec {
  font-size: 0.8rem !important;
  color: var(--text-muted) !important;
  line-height: 1.3 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

.card-meta-focus-row {
  display: flex !important;
  align-items: center !important;
  flex-wrap: wrap !important;
  gap: 6px !important;
  margin: 3px 0 !important;
}

.firqa-highlight-badge, .banaras-origin-badge {
  font-size: 0.72rem !important;
  padding: 2px 7px !important;
  border-radius: 10px !important;
  white-space: nowrap !important;
}

.card-khandaan-line {
  font-size: 0.8rem !important;
  color: #334155 !important;
  line-height: 1.3 !important;
  margin-top: 2px !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

.card-khandaan-line b {
  color: var(--brown) !important;
}

.card-city-line {
  font-size: 0.78rem !important;
  color: var(--text-muted) !important;
  line-height: 1.3 !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

.card-work {
  font-size: 0.82rem !important;
  font-weight: 600 !important;
  color: var(--text) !important;
  line-height: 1.3 !important;
  margin-top: 2px !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}

.card-managed {
  font-size: 0.72rem !important;
  color: #94a3b8 !important;
  margin-top: 2px !important;
  white-space: nowrap !important;
  overflow: hidden !important;
  text-overflow: ellipsis !important;
}


/* 6-Digit Real SMS OTP Underline Slots */
.otp-underline-row {
  display: flex !important;
  justify-content: center !important;
  gap: 8px !important;
  margin-bottom: 24px !important;
}

.otp-underline-slot {
  width: 36px !important;
  height: 46px !important;
  border: none !important;
  border-bottom: 2.5px solid #cbd5e1 !important;
  background: transparent !important;
  font-size: 1.45rem !important;
  font-weight: 800 !important;
  text-align: center !important;
  color: var(--text) !important;
  outline: none !important;
  transition: border-color 0.2s, transform 0.1s !important;
  caret-color: var(--gold-accent) !important;
}
.otp-underline-slot:focus,
.otp-underline-slot.filled {
  border-bottom-color: var(--gold-accent) !important;
}


/* 4-Digit Real OTP Underline Slots */
.otp-underline-row {
  display: flex !important;
  justify-content: center !important;
  gap: 16px !important;
  margin-bottom: 24px !important;
}

.otp-underline-slot {
  width: 44px !important;
  height: 48px !important;
  border: none !important;
  border-bottom: 2.5px solid #cbd5e1 !important;
  background: transparent !important;
  font-size: 1.6rem !important;
  font-weight: 800 !important;
  text-align: center !important;
  color: var(--text) !important;
  outline: none !important;
  transition: border-color 0.2s, transform 0.1s !important;
  caret-color: var(--gold-accent) !important;
}
.otp-underline-slot:focus,
.otp-underline-slot.filled {
  border-bottom-color: var(--gold-accent) !important;
}


/* 6-Digit Real Fast2SMS OTP Underline Slots */
.otp-underline-row {
  display: flex !important;
  justify-content: center !important;
  gap: 8px !important;
  margin-bottom: 24px !important;
}

.otp-underline-slot {
  width: 36px !important;
  height: 46px !important;
  border: none !important;
  border-bottom: 2.5px solid #cbd5e1 !important;
  background: transparent !important;
  font-size: 1.45rem !important;
  font-weight: 800 !important;
  text-align: center !important;
  color: var(--text) !important;
  outline: none !important;
  transition: border-color 0.2s, transform 0.1s !important;
  caret-color: var(--gold-accent) !important;
}
.otp-underline-slot:focus,
.otp-underline-slot.filled {
  border-bottom-color: var(--gold-accent) !important;
}


/* Fast2SMS Status Badge */
#otpStatusBadge {
  transition: all 0.25s ease;
  font-family: inherit;
}
#otpStatusBadge.success {
  background: #f0fdf4 !important;
  color: #166534 !important;
  border: 1px solid #bbf7d0 !important;
}
#otpStatusBadge.info {
  background: #fefce8 !important;
  color: #854d0e !important;
  border: 1px solid #fef08a !important;
}
#otpStatusBadge.error {
  background: #fef2f2 !important;
  color: #991b1b !important;
  border: 1px solid #fecaca !important;
}

/* ==========================================
   OTP CHANNEL TABS & HELPERS (WhatsApp & Telegram)
   ========================================== */
.otp-channel-tabs {
  display: flex;
  gap: 6px;
  background: #f1f5f9;
  padding: 4px;
  border-radius: 12px;
  border: 1px solid #e2e8f0;
  margin: 16px 0 6px 0;
}

.otp-channel-tab {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  padding: 10px 12px;
  border-radius: 9px;
  border: 1px solid transparent;
  background: transparent;
  color: var(--text-muted);
  font-size: 0.84rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s cubic-bezier(0.16, 1, 0.3, 1);
}

.otp-channel-tab:hover {
  color: var(--text);
}

.otp-channel-tab.active#tabWhatsapp {
  background: #ffffff;
  color: #15803d;
  box-shadow: 0 2px 8px rgba(22, 101, 52, 0.12);
  border-color: #bbf7d0;
}

.otp-channel-tab.active#tabTelegram {
  background: #ffffff;
  color: #0284c7;
  box-shadow: 0 2px 8px rgba(2, 132, 199, 0.12);
  border-color: #bae6fd;
}

/* Helper Action Button inside OTP view */
.btn-channel-helper {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 11px 16px;
  border-radius: 10px;
  font-size: 0.86rem;
  font-weight: 700;
  cursor: pointer;
  transition: all 0.2s ease;
  border: 1.5px solid #22c55e;
  background: #f0fdf4;
  color: #15803d;
}

.btn-channel-helper:hover {
  background: #dcfce7;
  transform: translateY(-1px);
}

.btn-channel-helper.telegram-mode {
  border-color: #38bdf8;
  background: #f0f9ff;
  color: #0369a1;
}

.btn-channel-helper.telegram-mode:hover {
  background: #e0f2fe;
}
