/* ========================================
   VIVAH MATRIMONY — Green & Orange Theme
   ======================================== */

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; font-size: 15px; }
body { font-family: 'Inter', sans-serif; background: #F5FBF5; color: #1a1a2e; line-height: 1.6; min-height: 100vh; }

/* ===== TOKENS ===== */
:root {
  /* === BharatMatrimony-inspired: Green + Orange === */
  --orange:       #FF6B00;
  --orange-dark:  #E05C00;
  --orange-light: #FF8C38;
  --orange-pale:  #FFF3E8;
  --orange-50:    #FFF8F2;
  --gold:         #F5A623;
  --gold-light:   #FFD580;
  --red:          #E53E3E;
  --green:        #3E8B3F;
  --green-dark:   #2D6B2E;
  --green-light:  #5CB85C;
  --green-pale:   #EBF7EB;
  --green-50:     #F4FBF4;
  --green-bg:     #EBF7EB;
  --blue:         #2B6CB0;
  --blue-bg:      #EBF8FF;
  --cream:        #F5FBF5;
  --border:       #D4E8D4;
  --border-dark:  #B8D4B8;
  --text:         #1A2E1A;
  --text-muted:   #5A6B5A;
  --text-light:   #8FA08F;
  --white:        #FFFFFF;
  --shadow-sm:    0 1px 4px rgba(62,139,63,0.08);
  --shadow:       0 2px 16px rgba(62,139,63,0.10);
  --shadow-lg:    0 8px 40px rgba(62,139,63,0.16);
  --r:            10px;
  --r-lg:         16px;
  --r-xl:         24px;
}

/* ===== NAV ===== */
nav.main-nav { background: var(--white); border-bottom: 2px solid var(--green); position: sticky; top: 0; z-index: 300; box-shadow: var(--shadow-sm); }
.nav-inner { max-width: 1160px; margin: 0 auto; padding: 0 20px; height: 62px; display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.nav-logo { font-family: 'Playfair Display', serif; font-size: 22px; font-weight: 700; color: var(--orange); text-decoration: none; display: flex; align-items: center; gap: 6px; }
.nav-logo .logo-bn { font-size: 18px; color: var(--orange-dark); }
.nav-logo-badge { background: var(--orange); color: white; font-size: 9px; font-weight: 800; padding: 2px 6px; border-radius: 4px; letter-spacing: 0.5px; margin-left: 4px; vertical-align: middle; }
.nav-links { display: flex; align-items: center; gap: 2px; }
.nav-link { font-size: 14px; font-weight: 500; color: var(--text-muted); text-decoration: none; padding: 6px 11px; border-radius: 7px; transition: all 0.18s; position: relative; }
.nav-link:hover, .nav-link.active { color: var(--green); background: var(--green-pale); }
.nav-badge { background: var(--green); color: #fff; font-size: 9px; font-weight: 700; border-radius: 10px; padding: 1px 5px; margin-left: 2px; vertical-align: top; }
.btn-nav-login  { font-size: 13px; font-weight: 600; color: var(--green); border: 1.5px solid var(--green); padding: 6px 16px; border-radius: 8px; text-decoration: none; transition: all 0.18s; }
.btn-nav-login:hover { background: var(--green-pale); }
.btn-nav-reg   { font-size: 13px; font-weight: 600; background: var(--orange); color: #fff; padding: 7px 18px; border-radius: 8px; text-decoration: none; margin-left: 4px; transition: background 0.18s; box-shadow: 0 2px 8px rgba(242,101,34,0.3); }
.btn-nav-reg:hover { background: var(--orange-dark); }
.lang-switcher { display: flex; background: var(--green-pale); border-radius: 7px; overflow: hidden; border: 1px solid var(--border); margin-left: 8px; }
.lang-btn { font-size: 12px; font-weight: 600; padding: 5px 10px; cursor: pointer; border: none; background: transparent; color: var(--text-muted); transition: all 0.15s; }
.lang-btn.active { background: var(--green); color: white; }

/* Nav Dropdown */
.nav-user { position: relative; }
.nav-user-btn { display: flex; align-items: center; gap: 8px; background: var(--green-pale); border: 1px solid var(--border); border-radius: 9px; padding: 6px 12px; cursor: pointer; transition: all 0.18s; }
.nav-user-btn:hover { background: var(--border); }
.nav-user-avatar { width: 28px; height: 28px; border-radius: 50%; overflow: hidden; background: var(--green); }
.nav-user-avatar img { width: 100%; height: 100%; object-fit: cover; }
.nav-user-name { font-size: 13px; font-weight: 600; color: var(--text); max-width: 90px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.nav-dropdown-menu { display: none; position: absolute; right: 0; top: calc(100% + 8px); background: var(--white); border: 1px solid var(--border); border-radius: var(--r-lg); min-width: 190px; box-shadow: var(--shadow-lg); z-index: 400; overflow: hidden; }
.nav-user:hover .nav-dropdown-menu, .nav-dropdown-menu.open { display: block; margin-top: -7px; }
.nav-dropdown-menu a { display: flex; align-items: center; gap: 8px; padding: 10px 16px; font-size: 13px; color: var(--text); text-decoration: none; border-bottom: 1px solid var(--cream); transition: background 0.15s; }
.nav-dropdown-menu a:last-child { border-bottom: none; }
.nav-dropdown-menu a:hover { background: var(--green-pale); color: var(--green); }
.nav-dropdown-menu .menu-icon { font-size: 15px; width: 20px; text-align: center; }
.nav-dd-divider { height: 1px; background: var(--border); margin: 4px 0; }

/* ===== FLASH ===== */
.flash-wrap { max-width: 1160px; margin: 12px auto 0; padding: 0 20px; }
.flash { padding: 12px 16px; border-radius: var(--r); font-size: 13px; font-weight: 500; display: flex; align-items: center; gap: 8px; }
.flash-error   { background: #FFF5F5; color: var(--red); border: 1px solid #FEB2B2; }
.flash-success { background: var(--green-bg); color: var(--green); border: 1px solid #9AE6B4; }
.flash-info    { background: var(--blue-bg); color: var(--blue); border: 1px solid #90CDF4; }
.flash-warn    { background: #FFFFF0; color: #744210; border: 1px solid #F6E05E; }

/* ===== HERO ===== */
.hero { background: linear-gradient(135deg, #2D6B2E 0%, #3E8B3F 45%, #FF6B00 100%); padding: 70px 20px 90px; text-align: center; position: relative; overflow: hidden; }
.hero::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 20% 50%, rgba(255,255,255,0.08) 0%, transparent 60%), radial-gradient(ellipse at 80% 20%, rgba(255,213,128,0.15) 0%, transparent 50%); }
.hero-label { font-size: 12px; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: rgba(255,255,255,0.7); margin-bottom: 14px; position: relative; }
.hero h1 { font-family: 'Playfair Display', serif; font-size: clamp(30px, 5.5vw, 56px); font-weight: 700; color: var(--white); line-height: 1.15; position: relative; margin-bottom: 10px; }
.hero h1 em { font-style: italic; color: var(--gold-light); }
.hero h1 .bn { display: block; font-size: 0.7em; font-weight: 400; opacity: 0.85; margin-top: 4px; }
.hero-sub { font-size: 16px; color: rgba(255,255,255,0.75); max-width: 500px; margin: 0 auto 28px; position: relative; font-weight: 300; }
.hero-ornament { color: rgba(255,255,255,0.7); letter-spacing: 10px; font-size: 22px; margin: 0 auto 26px; opacity: 0.6; position: relative; }
.hero-cta { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; position: relative; }
.hero-stats { display: flex; gap: 32px; justify-content: center; flex-wrap: wrap; margin-top: 44px; position: relative; }
.hero-stat { text-align: center; color: rgba(255,255,255,0.85); }
.hero-stat-num { font-family: 'Playfair Display', serif; font-size: 28px; font-weight: 700; color: var(--white); display: block; }
.hero-stat-label { font-size: 11px; text-transform: uppercase; letter-spacing: 0.8px; opacity: 0.7; }

/* ===== BUTTONS ===== */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; font-family: 'Inter', sans-serif; font-weight: 600; border: none; border-radius: 9px; cursor: pointer; text-decoration: none; transition: all 0.18s; white-space: nowrap; }
.btn:hover { transform: translateY(-1px); }
.btn:active { transform: none; }
.btn-orange  { background: var(--orange); color: #fff; padding: 11px 24px; font-size: 14px; box-shadow: 0 3px 12px rgba(242,101,34,0.3); }
.btn-orange:hover { background: var(--orange-dark); }
.btn-orange-lg { background: var(--orange); color: #fff; padding: 14px 32px; font-size: 16px; box-shadow: 0 4px 18px rgba(242,101,34,0.35); border-radius: 10px; }
.btn-orange-lg:hover { background: var(--orange-dark); }
.btn-outline-white { background: rgba(255,255,255,0.12); color: #fff; padding: 14px 28px; font-size: 15px; border: 1.5px solid rgba(255,255,255,0.4); border-radius: 10px; }
.btn-outline-white:hover { background: rgba(255,255,255,0.2); border-color: rgba(255,255,255,0.7); }
.btn-outline  { background: transparent; color: var(--orange); border: 1.5px solid var(--orange); padding: 9px 20px; font-size: 13px; }
.btn-outline:hover { background: var(--orange-pale); }
.btn-light    { background: var(--orange-pale); color: var(--text); border: 1px solid var(--border); padding: 9px 18px; font-size: 13px; }
.btn-light:hover { background: var(--border); }
.btn-success  { background: var(--green); color: #fff; padding: 9px 18px; font-size: 13px; }
.btn-danger   { background: var(--red); color: #fff; padding: 9px 18px; font-size: 13px; }
.btn-sm   { padding: 6px 13px; font-size: 12px; }
.btn-block { width: 100%; }

/* ===== LAYOUT ===== */
.container { max-width: 1160px; margin: 0 auto; padding: 0 20px; }
.main-content { max-width: 1160px; margin: 0 auto; padding: 36px 20px; }
.two-col { display: grid; grid-template-columns: 290px 1fr; gap: 24px; align-items: start; }
.page-header { background: var(--white); border-bottom: 1px solid var(--border); padding: 24px 20px; }
.page-header .container h1 { font-family: 'Playfair Display', serif; font-size: 24px; font-weight: 600; color: var(--text); }
.page-header .container p { color: var(--text-muted); font-size: 14px; margin-top: 3px; }

/* ===== CARDS ===== */
.card { background: var(--white); border: 1px solid var(--border); border-radius: var(--r-lg); box-shadow: var(--shadow); overflow: hidden; }
.card-header { padding: 16px 20px; border-bottom: 1px solid var(--border); }
.card-header h3 { font-family: 'Playfair Display', serif; font-size: 17px; font-weight: 600; color: var(--text); }
.card-body { padding: 20px; }
.card-footer { padding: 13px 20px; border-top: 1px solid var(--border); background: var(--cream); }

/* ===== PROFILE CARDS ===== */
.profiles-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.profile-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; transition: box-shadow 0.22s, transform 0.18s; text-decoration: none; color: inherit; display: flex; flex-direction: column; box-shadow: var(--shadow-sm); }
.profile-card:hover { box-shadow: var(--shadow-lg); transform: translateY(-3px); border-color: var(--green-light); }
.profile-card-img { height: 180px; background: linear-gradient(135deg, var(--green-pale), var(--cream)); display: flex; align-items: center; justify-content: center; position: relative; overflow: hidden; }
.profile-card-img img { width: 100%; height: 100%; object-fit: cover; }
.profile-card-img .avatar-placeholder { width: 90px; height: 90px; border-radius: 50%; overflow: hidden; box-shadow: 0 4px 20px rgba(0,0,0,0.1); }
.profile-card-img .avatar-placeholder img { width: 100%; height: 100%; object-fit: cover; }
.card-badges { position: absolute; top: 10px; left: 10px; display: flex; gap: 4px; flex-wrap: wrap; }
.profile-card-body { padding: 14px 16px; flex: 1; display: flex; flex-direction: column; }
.profile-card-name { font-family: 'Playfair Display', serif; font-size: 17px; font-weight: 600; color: var(--text); display: flex; align-items: center; gap: 6px; flex-wrap: wrap; margin-bottom: 2px; }
.profile-card-meta { font-size: 12px; color: var(--text-muted); margin-bottom: 8px; }
.profile-card-profession { font-size: 13px; font-weight: 600; color: var(--green); margin-bottom: 8px; }
.profile-card-pills { display: flex; flex-wrap: wrap; gap: 5px; margin-bottom: 10px; }
.pill { font-size: 11px; background: var(--green-pale); color: var(--green-dark); border: 1px solid var(--border); border-radius: 20px; padding: 3px 9px; font-weight: 500; }
.pill.religion { background: #EEF2FF; color: #3730A3; border-color: #C7D2FE; }
.pill.location { background: #F0FFF4; color: #276749; border-color: #9AE6B4; }
.pill.divorced  { background: #FFF5F5; color: #C53030; border-color: #FEB2B2; }
.pill.widowed   { background: #FAF5FF; color: #6B21A8; border-color: #DDD6FE; }
.profile-card-about { font-size: 12px; color: var(--text-muted); line-height: 1.55; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; flex: 1; margin-bottom: 10px; }
.profile-card-footer { border-top: 1px solid var(--border); padding: 10px 16px; background: var(--cream); display: flex; gap: 8px; }
.btn-view-profile { flex: 1; background: var(--orange); color: white; font-size: 12px; font-weight: 600; padding: 8px; border-radius: 7px; text-align: center; text-decoration: none; display: block; transition: background 0.18s; border: none; cursor: pointer; }
.btn-view-profile:hover { background: var(--orange-dark); }
.btn-sl { background: white; color: var(--gold); font-size: 12px; padding: 8px 12px; border-radius: 7px; border: 1px solid var(--border); cursor: pointer; transition: all 0.18s; }
.btn-sl:hover { border-color: var(--orange); background: var(--orange-50); }
.btn-sl.active { background: var(--gold); color: white; border-color: var(--gold); }

/* ===== BADGES ===== */
.badge { display: inline-block; font-size: 10px; font-weight: 700; padding: 2px 7px; border-radius: 20px; }
.badge-verified  { background: var(--green-bg); color: var(--green); border: 1px solid #9AE6B4; }
.badge-nrb       { background: var(--blue-bg); color: var(--blue); border: 1px solid #90CDF4; }
.badge-featured  { background: #FFFFF0; color: #744210; border: 1px solid var(--gold); }
.badge-divorced  { background: #FFF5F5; color: var(--red); border: 1px solid #FEB2B2; }
.badge-widowed   { background: #FAF5FF; color: #6B21A8; border: 1px solid #DDD6FE; }
.badge-premium   { background: linear-gradient(90deg, #F5A623, #F26522); color: white; border: none; }
.badge-new       { background: var(--orange-pale); color: var(--orange); border: 1px solid var(--border-dark); }

/* Active dot */
.active-dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; margin-right: 4px; vertical-align: middle; }
.active-dot.online  { background: #48BB78; box-shadow: 0 0 0 2px #C6F6D5; }
.active-dot.recent  { background: #F6AD55; }
.active-dot.week    { background: #A0AEC0; }
.active-dot.old     { background: #CBD5E0; }

/* ===== SIDEBAR FILTER ===== */
.filter-panel { background: var(--white); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 20px; position: sticky; top: 74px; box-shadow: var(--shadow-sm); }
.filter-panel-title { font-family: 'Playfair Display', serif; font-size: 17px; font-weight: 600; color: var(--green); margin-bottom: 16px; padding-bottom: 12px; border-bottom: 2px solid var(--green-pale); display: flex; align-items: center; gap: 6px; }
.filter-group { margin-bottom: 14px; }
.filter-label { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 0.6px; color: var(--text-muted); margin-bottom: 5px; display: block; }
.filter-input, .filter-select { width: 100%; background: var(--green-50); border: 1px solid var(--border); border-radius: 8px; padding: 8px 11px; font-size: 13px; color: var(--text); outline: none; transition: border-color 0.18s; font-family: 'Inter', sans-serif; }
.filter-input:focus, .filter-select:focus { border-color: var(--green); background: var(--white); }
.range-row { display: flex; gap: 5px; align-items: center; }
.range-row .filter-input { flex: 1; }
.range-sep { color: var(--text-muted); font-size: 12px; }

/* ===== FORM ===== */
.form-wrap { max-width: 580px; margin: 0 auto; }
.form-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--r-xl); overflow: hidden; box-shadow: var(--shadow-lg); }
.form-card-header { background: linear-gradient(135deg, var(--green-dark), var(--green)); padding: 26px 28px; }
.form-card-header h2 { font-family: 'Playfair Display', serif; font-size: 22px; color: white; }
.form-card-header p  { color: rgba(255,255,255,0.7); font-size: 13px; margin-top: 4px; }
.form-body { padding: 26px 28px; }
.form-group { margin-bottom: 16px; }
.form-label { display: block; font-size: 12px; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 5px; }
.form-label.req::after { content: ' *'; color: var(--red); }
.form-input, .form-select, .form-textarea { width: 100%; background: var(--green-50); border: 1.5px solid var(--border); border-radius: 9px; padding: 10px 13px; font-size: 14px; font-family: 'Inter', sans-serif; color: var(--text); outline: none; transition: border-color 0.18s, background 0.18s, box-shadow 0.18s; }
.form-input:focus, .form-select:focus, .form-textarea:focus { border-color: var(--green); background: var(--white); box-shadow: 0 0 0 3px rgba(62,139,63,0.12); }
.form-textarea { resize: vertical; min-height: 88px; }
.form-hint  { font-size: 11px; color: var(--text-light); margin-top: 3px; }
.form-error { font-size: 11px; color: var(--red); margin-top: 3px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.form-section { margin: 22px 0 14px; padding-bottom: 8px; border-bottom: 2px solid var(--green-pale); }
.form-section-title { font-family: 'Playfair Display', serif; font-size: 16px; font-weight: 600; color: var(--green); }
.form-section-sub { font-size: 12px; color: var(--text-muted); margin-top: 2px; }
.check-group { display: flex; align-items: center; gap: 8px; }
.check-group input[type=checkbox], .check-group input[type=radio] { width: 16px; height: 16px; accent-color: var(--orange); }
.check-group label { font-size: 13px; color: var(--text); cursor: pointer; }

/* ===== PROFILE DETAIL ===== */
.profile-detail-header { background: linear-gradient(135deg, var(--green-dark), var(--green)); padding: 28px; display: flex; gap: 20px; flex-wrap: wrap; }
.profile-detail-avatar { width: 110px; height: 110px; border-radius: 50%; overflow: hidden; border: 4px solid rgba(255,255,255,0.3); flex-shrink: 0; background: rgba(255,255,255,0.2); }
.profile-detail-avatar img { width: 100%; height: 100%; object-fit: cover; }
.profile-detail-info h2 { font-family: 'Playfair Display', serif; font-size: 26px; color: white; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.profile-detail-meta { color: rgba(255,255,255,0.7); font-size: 14px; margin: 6px 0; }
.profile-detail-actions { margin-top: 12px; display: flex; gap: 8px; flex-wrap: wrap; }
.detail-section { margin-bottom: 22px; }
.detail-section-title { font-size: 11px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; color: var(--green); border-bottom: 2px solid var(--green-pale); padding-bottom: 7px; margin-bottom: 12px; display: flex; align-items: center; gap: 6px; }
.detail-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(175px, 1fr)); gap: 12px; }
.detail-field { background: var(--orange-50); border: 1px solid var(--border); border-radius: var(--r); padding: 10px 12px; }
.detail-field-label { font-size: 11px; color: var(--text-muted); margin-bottom: 2px; font-weight: 600; }
.detail-field-value { font-size: 14px; font-weight: 500; color: var(--text); }
.detail-quote { font-size: 14px; color: var(--text-muted); line-height: 1.7; background: var(--green-50); border-radius: var(--r); padding: 14px 16px; border-left: 3px solid var(--green); font-style: italic; }

/* ===== PACKAGE CARDS ===== */
.packages-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 18px; }
.package-card { background: var(--white); border: 2px solid var(--border); border-radius: var(--r-xl); overflow: hidden; transition: all 0.22s; text-align: center; }
.package-card:hover { border-color: var(--orange); transform: translateY(-4px); box-shadow: var(--shadow-lg); }
.package-card.featured { border-color: var(--green); }
.package-top-badge { background: var(--green); color: white; font-size: 11px; font-weight: 700; padding: 5px 0; letter-spacing: 0.5px; }
.package-header { padding: 22px 18px 16px; }
.package-name { font-family: 'Playfair Display', serif; font-size: 22px; font-weight: 700; color: var(--text); }
.package-name-bn { font-size: 14px; color: var(--text-muted); margin-top: 2px; }
.package-price { font-size: 38px; font-weight: 800; color: var(--green); margin: 10px 0 4px; }
.package-price span { font-size: 15px; font-weight: 400; color: var(--text-muted); }
.package-duration { font-size: 13px; color: var(--text-muted); }
.package-views { font-size: 18px; font-weight: 700; color: var(--green-dark); margin: 8px 0 2px; }
.package-views-label { font-size: 11px; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; }
.package-features { padding: 0 18px 20px; border-top: 1px solid var(--border); margin-top: 14px; text-align: left; }
.package-feature { display: flex; align-items: flex-start; gap: 8px; padding: 7px 0; font-size: 13px; color: var(--text-muted); border-bottom: 1px solid var(--orange-50); }
.package-feature:last-child { border-bottom: none; }
.pkg-check { color: var(--orange); font-weight: 700; flex-shrink: 0; }
.pkg-cross { color: var(--text-light); flex-shrink: 0; }
.package-cta { padding: 0 18px 22px; }

/* ===== INTEREST LIST ===== */
.interest-item { background: var(--white); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 15px 16px; display: flex; gap: 12px; align-items: flex-start; box-shadow: var(--shadow-sm); margin-bottom: 10px; transition: box-shadow 0.18s; }
.interest-item:hover { box-shadow: var(--shadow); }
.interest-avatar { width: 52px; height: 52px; border-radius: 50%; overflow: hidden; flex-shrink: 0; background: var(--orange-pale); }
.interest-avatar img { width: 100%; height: 100%; object-fit: cover; }
.interest-info { flex: 1; min-width: 0; }
.interest-name { font-family: 'Playfair Display', serif; font-size: 15px; font-weight: 600; color: var(--text); }
.interest-meta { font-size: 12px; color: var(--text-muted); margin-top: 2px; }
.interest-msg  { font-size: 12px; color: var(--text-muted); font-style: italic; margin-top: 4px; background: var(--orange-50); border-radius: 6px; padding: 5px 8px; }
.interest-actions { display: flex; flex-direction: column; gap: 5px; flex-shrink: 0; }
.status-pill { font-size: 11px; font-weight: 700; padding: 3px 10px; border-radius: 20px; }
.status-pending  { background: #FFFFF0; color: #744210; border: 1px solid #F6E05E; }
.status-accepted { background: var(--green-bg); color: var(--green); border: 1px solid #9AE6B4; }
.status-rejected { background: #FFF5F5; color: var(--red); border: 1px solid #FEB2B2; }

/* ===== CHAT ===== */
.chat-layout { display: grid; grid-template-columns: 280px 1fr; height: calc(100vh - 62px); }
.chat-sidebar { background: var(--white); border-right: 1px solid var(--border); display: flex; flex-direction: column; }
.chat-sidebar-header { padding: 14px 16px; border-bottom: 1px solid var(--border); font-family: 'Playfair Display', serif; font-size: 16px; font-weight: 600; color: var(--text); background: var(--cream); }
.chat-list { flex: 1; overflow-y: auto; }
.chat-item { display: flex; gap: 10px; padding: 12px 14px; border-bottom: 1px solid var(--border); cursor: pointer; text-decoration: none; color: inherit; transition: background 0.15s; align-items: center; }
.chat-item:hover, .chat-item.active { background: var(--orange-pale); }
.chat-item-avatar { width: 40px; height: 40px; border-radius: 50%; overflow: hidden; flex-shrink: 0; }
.chat-item-avatar img { width: 100%; height: 100%; object-fit: cover; }
.chat-item-info { flex: 1; min-width: 0; }
.chat-item-name { font-size: 13px; font-weight: 600; color: var(--text); }
.chat-item-preview { font-size: 12px; color: var(--text-muted); overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.chat-window { display: flex; flex-direction: column; background: var(--cream); }
.chat-window-header { padding: 12px 18px; border-bottom: 1px solid var(--border); display: flex; align-items: center; gap: 12px; background: var(--white); }
.chat-messages { flex: 1; overflow-y: auto; padding: 16px; display: flex; flex-direction: column; gap: 10px; }
.msg { display: flex; flex-direction: column; max-width: 68%; }
.msg.sent { align-self: flex-end; align-items: flex-end; }
.msg.recv { align-self: flex-start; }
.msg-bubble { padding: 9px 13px; border-radius: 14px; font-size: 13px; line-height: 1.5; }
.msg.sent .msg-bubble { background: var(--orange); color: white; border-bottom-right-radius: 3px; }
.msg.recv .msg-bubble { background: white; color: var(--text); border: 1px solid var(--border); border-bottom-left-radius: 3px; }
.msg-time { font-size: 10px; color: var(--text-light); margin-top: 2px; padding: 0 3px; }
.chat-input-row { padding: 12px 14px; border-top: 1px solid var(--border); display: flex; gap: 8px; align-items: flex-end; background: var(--white); }
.chat-input-row textarea { flex: 1; border: 1.5px solid var(--border); border-radius: 10px; padding: 9px 12px; font-size: 13px; font-family: 'Inter', sans-serif; resize: none; outline: none; max-height: 110px; background: var(--orange-50); transition: border-color 0.18s; }
.chat-input-row textarea:focus { border-color: var(--orange); background: white; }

/* ===== PACKAGE LIMIT BANNER ===== */
.limit-banner { background: linear-gradient(90deg, #F0FBF0, #D4EBD4); border: 1px solid var(--border-dark); border-radius: var(--r-lg); padding: 14px 18px; display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.limit-banner-icon { font-size: 24px; flex-shrink: 0; }
.limit-banner-text h4 { font-size: 14px; font-weight: 700; color: var(--green-dark); }
.limit-banner-text p  { font-size: 12px; color: var(--text-muted); margin-top: 2px; }
.limit-banner-cta { margin-left: auto; flex-shrink: 0; }

/* ===== BLUR LOCK (profile locked) ===== */
.locked-overlay { position: relative; }
.locked-overlay .lock-blur { filter: blur(5px); pointer-events: none; user-select: none; }
.locked-overlay .lock-msg { position: absolute; inset: 0; display: flex; flex-direction: column; align-items: center; justify-content: center; background: rgba(255,255,255,0.6); border-radius: var(--r-lg); text-align: center; padding: 20px; }
.locked-overlay .lock-msg .lock-icon { font-size: 32px; margin-bottom: 8px; }
.locked-overlay .lock-msg p { font-size: 14px; font-weight: 600; color: var(--orange-dark); margin-bottom: 12px; }

/* ===== TABLE ===== */
.table-wrap { background: var(--white); border: 1px solid var(--border); border-radius: var(--r-lg); overflow: hidden; box-shadow: var(--shadow-sm); }
.table-wrap-header { padding: 14px 18px; border-bottom: 1px solid var(--border); display: flex; align-items: center; justify-content: space-between; }
.table-wrap-header h3 { font-family: 'Playfair Display', serif; font-size: 16px; font-weight: 600; color: var(--text); }
table { width: 100%; border-collapse: collapse; }
th { background: var(--green-pale); font-size: 11px; font-weight: 700; color: var(--text-muted); text-transform: uppercase; letter-spacing: 0.5px; padding: 10px 14px; text-align: left; border-bottom: 1px solid var(--border); }
td { padding: 11px 14px; font-size: 13px; color: var(--text); border-bottom: 1px solid var(--orange-50); }
tr:last-child td { border-bottom: none; }
tr:hover td { background: var(--green-50); }

/* ===== ADMIN ===== */
.admin-layout { display: grid; grid-template-columns: 220px 1fr; min-height: calc(100vh - 62px); }
.admin-sidebar { background: #162816; padding: 20px 0; }
.admin-sidebar-section { font-size: 10px; font-weight: 700; color: rgba(255,255,255,0.3); text-transform: uppercase; letter-spacing: 1.2px; padding: 14px 18px 6px; }
.admin-nav-link { display: flex; align-items: center; gap: 9px; padding: 9px 18px; font-size: 13px; font-weight: 500; color: rgba(255,255,255,0.55); text-decoration: none; border-left: 3px solid transparent; transition: all 0.18s; }
.admin-nav-link:hover, .admin-nav-link.active { color: white; background: rgba(62,139,63,0.2); border-left-color: var(--orange); }
.admin-main { padding: 28px; background: var(--orange-50); min-height: 100%; }
.admin-page-title { font-family: 'Playfair Display', serif; font-size: 22px; font-weight: 600; color: var(--text); margin-bottom: 20px; }
.admin-stats { display: grid; grid-template-columns: repeat(auto-fill, minmax(170px, 1fr)); gap: 14px; margin-bottom: 26px; }
.admin-stat-card { background: var(--white); border: 1px solid var(--border); border-radius: var(--r-lg); padding: 18px; border-left: 4px solid var(--green); box-shadow: var(--shadow-sm); }
.admin-stat-num   { font-family: 'Playfair Display', serif; font-size: 30px; font-weight: 700; color: var(--green); }
.admin-stat-label { font-size: 12px; color: var(--text-muted); margin-top: 2px; }
.admin-stat-card.green { border-left-color: var(--green); }
.admin-stat-card.green .admin-stat-num { color: var(--green); }
.admin-stat-card.red { border-left-color: var(--red); }
.admin-stat-card.red .admin-stat-num { color: var(--red); }
.admin-stat-card.blue { border-left-color: var(--blue); }
.admin-stat-card.blue .admin-stat-num { color: var(--blue); }

/* ===== FEATURES SECTION ===== */
.features-section { background: var(--white); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); padding: 56px 20px; }
.section-title { font-family: 'Playfair Display', serif; font-size: 28px; font-weight: 600; text-align: center; color: var(--text); margin-bottom: 6px; }
.section-sub   { text-align: center; color: var(--text-muted); font-size: 14px; margin-bottom: 36px; }
.features-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 22px; max-width: 1000px; margin: 0 auto; }
.feature-box { text-align: center; padding: 22px 14px; background: var(--green-50); border-radius: var(--r-lg); border: 1px solid var(--border); transition: all 0.2s; }
.feature-box:hover { border-color: var(--green); background: var(--green-pale); }
.feature-icon { width: 50px; height: 50px; background: linear-gradient(135deg, var(--green), var(--orange)); border-radius: 13px; display: flex; align-items: center; justify-content: center; margin: 0 auto 12px; font-size: 22px; }
.feature-title { font-size: 14px; font-weight: 700; color: var(--text); margin-bottom: 5px; }
.feature-desc  { font-size: 12px; color: var(--text-muted); line-height: 1.55; }

/* ===== FOOTER ===== */
.site-footer { background: #0E1F0E; margin-top: 70px; position: relative; }

/* Wave top */
.footer-wave { line-height: 0; background: var(--orange-50); }
.footer-wave svg { display: block; width: 100%; height: 50px; }

/* Body */
.footer-body { padding: 48px 20px 36px; }
.footer-inner { max-width: 1160px; margin: 0 auto; display: grid; grid-template-columns: 1.4fr 1fr 1fr 1.1fr; gap: 40px; }

/* Brand */
.footer-brand {}
.footer-logo { display: flex; align-items: center; gap: 6px; margin-bottom: 14px; }
.footer-logo-vivah { font-family: 'Playfair Display', serif; font-size: 26px; font-weight: 700; color: var(--orange); }
.footer-logo-bn { font-family: 'Hind Siliguri', sans-serif; font-size: 16px; color: rgba(255,255,255,0.4); margin-left: 2px; }
.footer-logo-dot { color: var(--orange); font-size: 8px; margin-bottom: 4px; }
.footer-tagline { font-size: 13px; color: rgba(255,255,255,0.4); line-height: 1.75; margin-bottom: 18px; }

/* Stats in footer */
.footer-stats { display: flex; align-items: center; gap: 0; background: rgba(255,255,255,0.05); border: 1px solid rgba(255,255,255,0.07); border-radius: 10px; padding: 12px 16px; margin-bottom: 18px; }
.footer-stat { flex: 1; text-align: center; }
.footer-stat-div { width: 1px; height: 28px; background: rgba(255,255,255,0.1); }
.fstat-num { display: block; font-family: 'Playfair Display', serif; font-size: 18px; font-weight: 700; color: var(--orange); }
.fstat-lbl { font-size: 10px; color: rgba(255,255,255,0.35); text-transform: uppercase; letter-spacing: 0.5px; }

/* Payment */
.footer-pay-label { font-size: 10px; color: rgba(255,255,255,0.3); text-transform: uppercase; letter-spacing: 0.8px; margin-bottom: 8px; }
.footer-pay { display: flex; flex-wrap: wrap; gap: 6px; }
.pay-tag { font-size: 11px; font-weight: 700; padding: 5px 11px; border-radius: 6px; letter-spacing: 0.3px; display: inline-flex; align-items: center; }
.pay-bkash  { background: #E2136E; color: white; }
.pay-nagad  { background: #F5821F; color: white; }
.pay-rocket { background: #8B01A1; color: white; }
.pay-card   { background: #1A56DB; color: white; }

/* Columns */
.footer-col {}
.footer-col-title { font-size: 11px; font-weight: 700; color: var(--orange); text-transform: uppercase; letter-spacing: 1.2px; margin-bottom: 16px; display: flex; align-items: center; gap: 8px; }
.footer-col-title-line { display: inline-block; width: 18px; height: 2px; background: var(--orange); border-radius: 2px; flex-shrink: 0; }
.footer-links { list-style: none; padding: 0; margin: 0; }
.footer-links li { margin-bottom: 0; }
.footer-links a { display: flex; align-items: center; gap: 7px; font-size: 13px; color: rgba(255,255,255,0.45); text-decoration: none; padding: 6px 0; border-bottom: 1px solid rgba(255,255,255,0.04); transition: all 0.18s; }
.footer-links a:hover { color: var(--orange); padding-left: 4px; border-bottom-color: rgba(242,101,34,0.2); }
.footer-links li:last-child a { border-bottom: none; }

/* Contact items */
.footer-contact-items { display: flex; flex-direction: column; gap: 14px; }
.footer-contact-item { display: flex; align-items: flex-start; gap: 11px; }
.fci-icon { width: 32px; height: 32px; background: rgba(62,139,63,0.12); border: 1px solid rgba(62,139,63,0.2); border-radius: 8px; display: flex; align-items: center; justify-content: center; font-size: 14px; flex-shrink: 0; }
.fci-label { font-size: 10px; color: rgba(255,255,255,0.3); text-transform: uppercase; letter-spacing: 0.6px; margin-bottom: 2px; }
.fci-val { font-size: 13px; color: rgba(255,255,255,0.6); text-decoration: none; transition: color 0.18s; }
a.fci-val:hover { color: var(--orange); }

/* Bottom bar */
.footer-bottom-bar { background: rgba(0,0,0,0.3); border-top: 1px solid rgba(255,255,255,0.06); padding: 14px 20px; }
.footer-bottom-inner { max-width: 1160px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 8px; }
.footer-copy { font-size: 12px; color: rgba(255,255,255,0.25); }
.footer-copy strong { color: rgba(255,255,255,0.4); }
.footer-bottom-links { display: flex; align-items: center; gap: 10px; }
.footer-bottom-links a { font-size: 12px; color: rgba(255,255,255,0.25); text-decoration: none; transition: color 0.18s; }
.footer-bottom-links a:hover { color: var(--orange); }
.footer-bottom-links span { color: rgba(255,255,255,0.12); }

/* ===== UTILS ===== */
.text-center { text-align: center; } .text-orange { color: var(--green); } .text-muted { color: var(--text-muted); }
.mt-1{margin-top:8px}.mt-2{margin-top:16px}.mt-3{margin-top:24px}.mt-4{margin-top:32px}
.mb-1{margin-bottom:8px}.mb-2{margin-bottom:16px}.mb-3{margin-bottom:24px}
.d-flex{display:flex}.align-center{align-items:center}.justify-between{justify-content:space-between}.gap-2{gap:16px}
.empty-state { text-align: center; padding: 56px 20px; }
.empty-state .empty-icon { font-size: 44px; margin-bottom: 12px; }
.empty-state h3 { font-family: 'Playfair Display', serif; font-size: 20px; color: var(--text); margin-bottom: 7px; }
.empty-state p  { font-size: 13px; color: var(--text-muted); }
.pagination { display: flex; gap: 4px; justify-content: center; margin-top: 28px; flex-wrap: wrap; }
.page-btn { display: inline-flex; align-items: center; justify-content: center; width: 34px; height: 34px; border-radius: 8px; font-size: 13px; font-weight: 500; text-decoration: none; color: var(--text-muted); border: 1px solid var(--border); background: var(--white); transition: all 0.15s; }
.page-btn:hover { background: var(--green-pale); color: var(--green); border-color: var(--green); }
.page-btn.active { background: var(--green); color: white; border-color: var(--green); }
.page-btn.disabled { opacity: 0.4; pointer-events: none; }
.divider { height: 1px; background: var(--border); margin: 18px 0; }
.back-link { display: inline-flex; align-items: center; gap: 5px; font-size: 13px; color: var(--text-muted); text-decoration: none; margin-bottom: 18px; }
.back-link:hover { color: var(--green); }
.progress-bar { height: 6px; background: var(--border); border-radius: 3px; overflow: hidden; }
.progress-fill { height: 100%; background: linear-gradient(90deg, var(--green), var(--orange)); border-radius: 3px; transition: width 0.4s; }

/* ===== TABS ===== */
.tabs { display: flex; gap: 2px; background: var(--white); border: 1px solid var(--border); border-radius: 10px; padding: 4px; width: fit-content; margin-bottom: 20px; }
.tab-btn { font-size: 13px; font-weight: 600; padding: 7px 18px; border-radius: 7px; border: none; background: transparent; color: var(--text-muted); cursor: pointer; text-decoration: none; transition: all 0.18s; }
.tab-btn.active { background: var(--green); color: white; }
.tab-btn:hover:not(.active) { background: var(--green-pale); color: var(--green); }

/* ===== MODAL ===== */
.modal-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,0.5); z-index: 600; align-items: center; justify-content: center; padding: 20px; }
.modal-overlay.open { display: flex; }
.modal-box { background: var(--white); border-radius: var(--r-xl); max-width: 460px; width: 100%; overflow: hidden; box-shadow: 0 20px 60px rgba(0,0,0,0.3); }
.modal-header { background: linear-gradient(135deg, var(--green-dark), var(--green)); padding: 18px 22px; }
.modal-header h3 { font-family: 'Playfair Display', serif; font-size: 18px; color: white; }
.modal-header p  { color: rgba(255,255,255,0.7); font-size: 13px; margin-top: 3px; }
.modal-body { padding: 22px; }
.modal-footer { padding: 0 22px 22px; display: flex; gap: 8px; }

/* ===== RESPONSIVE ===== */
@media(max-width:900px) {
  .two-col { grid-template-columns: 1fr; }
  .filter-panel { position: static; }
  .admin-layout { grid-template-columns: 1fr; }
  .admin-sidebar { display: flex; overflow-x: auto; padding: 10px; gap: 4px; }
  .admin-sidebar-section { display: none; }
  .admin-nav-link { border-left: none; border-radius: 7px; white-space: nowrap; }
  .chat-layout { grid-template-columns: 1fr; height: auto; }
  .footer-inner { grid-template-columns: 1fr 1fr; gap: 28px; }
  .footer-bottom-inner { flex-direction: column; text-align: center; }
}
@media(max-width:600px) {
  .form-row { grid-template-columns: 1fr; }
  .footer-inner { grid-template-columns: 1fr; gap: 24px; }
  .hero h1 { font-size: 28px; }
  .nav-links .nav-link:not([href*="browse"]):not([href*="login"]):not([href*="register"]) { display: none; }
  .profiles-grid { grid-template-columns: 1fr; }

  /* Nav fits within screen — no horizontal overflow */
  .nav-inner { padding: 0 10px; gap: 6px; overflow: hidden; }
  .nav-logo img { height: 40px !important; }
  .nav-logo span { display: none !important; }        /* hide logo text, keep image */
  .nav-links { gap: 4px; flex-shrink: 1; min-width: 0; }
  .nav-link { padding: 6px 6px !important; font-size: 13px; }
  .lang-switcher { margin-left: 4px; flex-shrink: 0; }
  .lang-btn { padding: 5px 7px !important; font-size: 11px; }
  .btn-nav-login, .btn-nav-reg { padding: 6px 10px !important; font-size: 12px; }
}
@media(max-width:400px) {
  .nav-link { font-size: 12px; padding: 5px 4px !important; }
  .lang-btn { padding: 4px 6px !important; font-size: 10px; }
}
