/* ============================================================
   AECS ASSET WING — asset.css   PRODUCTION v3
   Matches exact class names used by base.css / dashboard.css:
     .hidden, .spinner, .gold-btn, .btn-secondary,
     .bottom-nav, .bnav-item, .back-btn,
     .page-loader, .loader-bar, .loader-bar-fill
     .notif-overlay, .notif-drawer, .notif-bell-btn, .notif-badge
   All asset-specific classes defined below.
   ============================================================ */

*, *::before, *::after { box-sizing: border-box; }

body {
  background: #0a1628 !important;
  color: #fff;
  margin: 0; padding: 0;
  font-family: 'Outfit', sans-serif;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

body.modal-open { overflow: hidden; touch-action: none; }

/* ── Loader ───────────────────────────────────────────────── */
.page-loader {
  position: fixed; inset: 0; background: #0a1628;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  z-index: 9999; gap: 24px;
  transition: opacity .4s, visibility .4s;
}
.page-loader.out { opacity: 0; visibility: hidden; pointer-events: none; }
.loader-logo { width: 70px; height: 70px; object-fit: contain; animation: aw-pulse 1.4s ease-in-out infinite; }
@keyframes aw-pulse { 0%,100%{opacity:1;transform:scale(1)} 50%{opacity:.7;transform:scale(.95)} }
.loader-bar { width: 140px; height: 3px; background: rgba(201,168,76,.2); border-radius: 2px; overflow: hidden; }
.loader-bar-fill { height: 100%; width: 40%; background: #c9a84c; border-radius: 2px; animation: aw-slide 1.2s ease-in-out infinite; }
@keyframes aw-slide { 0%{transform:translateX(-100%)} 100%{transform:translateX(400%)} }

/* ── Spinner ──────────────────────────────────────────────── */
.spinner { display: inline-block; width: 22px; height: 22px; border: 2px solid rgba(201,168,76,.25); border-top-color: #c9a84c; border-radius: 50%; animation: aw-spin .7s linear infinite; }
.spinner.lg { width: 32px; height: 32px; border-width: 3px; }
@keyframes aw-spin { to { transform: rotate(360deg); } }

/* ── Shared Buttons ───────────────────────────────────────── */
.gold-btn {
  width: 100%; padding: 13px; margin-top: 12px;
  background: linear-gradient(135deg, #c9a84c, #e8c96d);
  color: #0a1628; font-weight: 700; border: none; border-radius: 12px;
  font-size: .88rem; cursor: pointer; font-family: 'Outfit', sans-serif;
  display: flex; align-items: center; justify-content: center; gap: 7px;
  transition: opacity .2s; outline: none;
}
.gold-btn:active { opacity: .85; }
.gold-btn:disabled { opacity: .35; pointer-events: none; }

.btn-secondary {
  width: 100%; padding: 11px;
  background: rgba(255,255,255,.06); color: rgba(255,255,255,.6);
  border: 1px solid rgba(255,255,255,.12); border-radius: 12px;
  font-size: .84rem; cursor: pointer; font-family: 'Outfit', sans-serif;
  display: flex; align-items: center; justify-content: center; gap: 6px;
  transition: background .2s; outline: none;
}
.btn-secondary:active { background: rgba(255,255,255,.1); }

.hidden { display: none !important; }

/* ── Header ───────────────────────────────────────────────── */
.asset-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 13px 18px;
  background: rgba(0,0,0,.35);
  border-bottom: 1px solid rgba(201,168,76,.2);
  position: sticky; top: 0; z-index: 100;
  backdrop-filter: blur(14px); -webkit-backdrop-filter: blur(14px);
}
.back-btn {
  background: rgba(255,255,255,.07); border: 1px solid rgba(201,168,76,.2);
  color: #c9a84c; width: 36px; height: 36px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; flex-shrink: 0; transition: background .2s;
}
.back-btn:active { background: rgba(201,168,76,.18); }
.header-center { text-align: center; flex: 1; }
.header-title { font-family: 'Cinzel', serif; color: #c9a84c; font-size: .95rem; letter-spacing: .4px; }
.header-sub { font-size: .6rem; color: rgba(255,255,255,.35); margin-top: 1px; }
.header-right { text-align: right; min-width: 72px; }
.wallet-label { font-size: .58rem; color: rgba(255,255,255,.35); text-transform: uppercase; letter-spacing: .5px; }
.wallet-val { font-size: .92rem; font-weight: 700; color: #c9a84c; }

/* ── Pillar Banner ────────────────────────────────────────── */
.pillar-banner {
  background: linear-gradient(135deg, rgba(13,33,68,.95), rgba(20,50,90,.95));
  border-bottom: 1px solid rgba(201,168,76,.15);
  padding: 12px 18px; display: flex; align-items: center; gap: 12px;
}
.pillar-icon-wrap {
  width: 42px; height: 42px; border-radius: 12px;
  background: rgba(201,168,76,.12); border: 1px solid rgba(201,168,76,.25);
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.pillar-icon-wrap i { color: #c9a84c; font-size: 1.1rem; }
.pillar-info { flex: 1; }
.pillar-name { font-family: 'Cinzel', serif; color: #c9a84c; font-size: .76rem; letter-spacing: .7px; }
.pillar-desc { font-size: .65rem; color: rgba(255,255,255,.4); margin-top: 1px; }
.trust-badge-wrap { text-align: right; flex-shrink: 0; }
.trust-badge {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 4px 10px; border-radius: 20px; font-size: .68rem; font-weight: 700;
}
.trust-badge.gold   { background: rgba(201,168,76,.15); border: 1px solid rgba(201,168,76,.35); color: #c9a84c; }
.trust-badge.silver { background: rgba(189,195,199,.1);  border: 1px solid rgba(189,195,199,.3);  color: #bdc3c7; }
.trust-badge.bronze { background: rgba(231,76,60,.1);    border: 1px solid rgba(231,76,60,.25);   color: #e88080; }
.trust-label { font-size: .58rem; color: rgba(255,255,255,.35); margin-top: 2px; text-align: right; }

/* ── Tabs ─────────────────────────────────────────────────── */
.asset-tabs {
  display: flex; border-bottom: 1px solid rgba(201,168,76,.15);
  background: rgba(0,0,0,.2); overflow-x: auto;
  scrollbar-width: none; -webkit-overflow-scrolling: touch;
}
.asset-tabs::-webkit-scrollbar { display: none; }
.asset-tab {
  flex-shrink: 0; padding: 11px 13px;
  font-size: .67rem; color: rgba(255,255,255,.4);
  cursor: pointer; font-family: 'Outfit', sans-serif;
  border-bottom: 2px solid transparent; transition: all .2s;
  display: flex; align-items: center; gap: 5px; white-space: nowrap;
  user-select: none;
}
.asset-tab.active { color: #c9a84c; border-bottom-color: #c9a84c; }
.asset-tab i { font-size: .8rem; }
.tab-badge {
  background: #c9a84c; color: #0a1628;
  font-size: .53rem; font-weight: 700;
  padding: 1px 5px; border-radius: 6px; margin-left: 2px;
}

/* ── Content Area ─────────────────────────────────────────── */
.asset-content { padding-bottom: 90px; min-height: 60vh; }
.section-pad { padding: 14px; }

/* ── Bottom Nav ───────────────────────────────────────────── */
.bottom-nav {
  position: fixed; bottom: 0; left: 0; right: 0;
  background: rgba(8,18,36,.97);
  border-top: 1px solid rgba(201,168,76,.15);
  display: flex; align-items: center; justify-content: space-around;
  padding: 8px 0 calc(8px + env(safe-area-inset-bottom));
  z-index: 200; backdrop-filter: blur(10px);
}
.bnav-item {
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  color: rgba(255,255,255,.38); font-size: .55rem; cursor: pointer;
  padding: 4px 10px; transition: color .2s; user-select: none;
}
.bnav-item i { font-size: 1.15rem; }
.bnav-item.active { color: #c9a84c; }
.bnav-item:active { color: #c9a84c; }

/* ── Notification Bell ────────────────────────────────────── */
.notif-overlay { position: fixed; inset: 0; background: rgba(0,0,0,.5); z-index: 300; }
.notif-drawer {
  position: fixed; top: 0; right: 0; bottom: 0; width: 88%; max-width: 360px;
  background: #0d1f3c; border-left: 1px solid rgba(201,168,76,.2);
  z-index: 400; display: flex; flex-direction: column;
  transform: translateX(100%); transition: transform .3s ease;
}
.notif-drawer.open { transform: none; }
.notif-drawer-header {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px; border-bottom: 1px solid rgba(255,255,255,.07);
}
.notif-drawer-title { font-family: 'Cinzel', serif; color: #c9a84c; font-size: .85rem; }
.notif-close-btn {
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1);
  color: rgba(255,255,255,.5); width: 30px; height: 30px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; cursor: pointer;
}
.notif-list { flex: 1; overflow-y: auto; padding: 12px; }
.notif-empty { text-align: center; color: rgba(255,255,255,.3); font-size: .78rem; padding: 40px 0; }
.notif-bell-btn {
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1);
  color: rgba(255,255,255,.5); width: 34px; height: 34px; border-radius: 50%;
  display: flex; align-items: center; justify-content: center; cursor: pointer;
  position: relative;
}
.notif-badge {
  position: absolute; top: -4px; right: -4px;
  background: #e74c3c; color: white;
  font-size: .55rem; font-weight: 700;
  min-width: 16px; height: 16px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  padding: 0 3px;
}

/* ── Modals (bottom sheet style) ─────────────────────────── */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,.75);
  z-index: 500; display: flex; align-items: flex-end;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
}
.modal {
  background: #0d1f3c;
  border: 1px solid rgba(201,168,76,.22);
  border-top: 2px solid rgba(201,168,76,.4);
  border-radius: 20px 20px 0 0;
  width: 100%; max-height: 93vh;
  overflow-y: auto; overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  position: relative;
}
.modal-sheet-handle {
  width: 36px; height: 3px;
  background: rgba(255,255,255,.15); border-radius: 2px;
  margin: 14px auto 0;
}
.modal-close {
  position: absolute; top: 10px; right: 12px;
  background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.1);
  color: rgba(255,255,255,.5); width: 30px; height: 30px;
  border-radius: 50%; display: flex; align-items: center; justify-content: center;
  cursor: pointer; transition: background .2s;
}
.modal-close:active { background: rgba(255,255,255,.15); }
.modal-body { padding: 12px 18px 32px; }
.modal-title { font-family: 'Cinzel', serif; color: #c9a84c; font-size: .9rem; margin-bottom: 3px; padding-right: 34px; }
.modal-sub { font-size: .68rem; color: rgba(255,255,255,.35); margin-bottom: 14px; line-height: 1.45; }
.modal-header { padding: 16px 18px 0; }

/* ── Toast ────────────────────────────────────────────────── */
#toast-container {
  position: fixed; bottom: 88px; left: 12px; right: 12px;
  z-index: 9999; display: flex; flex-direction: column; gap: 8px;
}
.toast {
  display: flex; align-items: center; gap: 10px;
  padding: 12px 14px; border-radius: 12px;
  background: rgba(13,33,68,.97); border: 1px solid rgba(255,255,255,.1);
  font-size: .8rem; color: white; backdrop-filter: blur(10px);
  animation: aw-toast-in .25s ease; box-shadow: 0 4px 24px rgba(0,0,0,.4);
}
.toast-success { border-color: rgba(46,213,115,.35); }
.toast-danger  { border-color: rgba(231,76,60,.35); }
.toast-info    { border-color: rgba(52,152,219,.35); }
.toast-out     { animation: aw-toast-out .25s ease forwards; }
.toast-icon    { font-size: 1rem; flex-shrink: 0; }
.toast-msg     { flex: 1; line-height: 1.4; }
.toast-close   { background: none; border: none; color: rgba(255,255,255,.4); cursor: pointer; font-size: 1rem; padding: 0; }
@keyframes aw-toast-in  { from{opacity:0;transform:translateY(10px)} to{opacity:1;transform:none} }
@keyframes aw-toast-out { to{opacity:0;transform:translateY(8px)} }

/* ── Info Box ─────────────────────────────────────────────── */
.info-box {
  background: rgba(52,152,219,.07); border: 1px solid rgba(52,152,219,.18);
  border-radius: 10px; padding: 11px 14px; margin-bottom: 12px;
  font-size: .76rem; color: rgba(255,255,255,.55); line-height: 1.6;
  display: flex; align-items: flex-start; gap: 8px;
}
.info-box i { color: #74b9ff; flex-shrink: 0; margin-top: 1px; }
.warning-box {
  background: rgba(201,168,76,.07); border: 1px solid rgba(201,168,76,.2);
  border-radius: 10px; padding: 11px 14px; margin-bottom: 12px;
  font-size: .76rem; color: rgba(255,255,255,.55); line-height: 1.6;
  display: flex; align-items: flex-start; gap: 8px;
}
.warning-box i { color: #c9a84c; flex-shrink: 0; margin-top: 1px; }
.danger-box {
  background: rgba(231,76,60,.07); border: 1px solid rgba(231,76,60,.2);
  border-radius: 10px; padding: 11px 14px; margin-bottom: 12px;
  font-size: .76rem; color: rgba(255,255,255,.55); line-height: 1.6;
  display: flex; align-items: flex-start; gap: 8px;
}
.danger-box i { color: #e74c3c; flex-shrink: 0; }

/* ── Empty State ──────────────────────────────────────────── */
.empty-state { text-align: center; padding: 48px 20px; }
.empty-state i { font-size: 2.4rem; color: rgba(201,168,76,.2); display: block; margin-bottom: 14px; }
.empty-state p { font-size: .82rem; color: rgba(255,255,255,.3); line-height: 1.65; margin: 0; }

/* ── Section Header ───────────────────────────────────────── */
.section-hdr { display: flex; align-items: center; justify-content: space-between; margin-bottom: 10px; }
.section-title-gold { font-family: 'Cinzel', serif; color: #c9a84c; font-size: .73rem; letter-spacing: .8px; text-transform: uppercase; }

/* ── Sub-tabs ─────────────────────────────────────────────── */
.sub-tabs { display: flex; gap: 6px; margin-bottom: 14px; flex-wrap: wrap; }
.sub-tab {
  padding: 7px 13px; border-radius: 20px;
  border: 1px solid rgba(201,168,76,.25);
  background: rgba(201,168,76,.06);
  color: rgba(255,255,255,.45); font-size: .72rem;
  cursor: pointer; font-family: 'Outfit', sans-serif;
  transition: all .2s; user-select: none;
}
.sub-tab.active { background: rgba(201,168,76,.18); border-color: #c9a84c; color: #c9a84c; font-weight: 600; }

/* ── Stats Grid ───────────────────────────────────────────── */
.stats-grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 14px; }
.stats-grid-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 7px; margin-bottom: 14px; }
.stat-box {
  background: rgba(255,255,255,.04); border: 1px solid rgba(201,168,76,.1);
  border-radius: 10px; padding: 11px 12px;
}
.stat-box.blue { border-color: rgba(52,152,219,.18); background: rgba(52,152,219,.06); }
.stat-val { font-size: 1rem; font-weight: 700; color: #c9a84c; }
.stat-val.blue { color: #74b9ff; }
.stat-lbl { font-size: .6rem; color: rgba(255,255,255,.35); margin-top: 2px; }

/* ── Form Fields ──────────────────────────────────────────── */
.form-field { margin-bottom: 12px; }
.form-field label { display: block; font-size: .7rem; color: rgba(255,255,255,.45); margin-bottom: 5px; font-family: 'Outfit', sans-serif; }
.form-input {
  width: 100%; padding: 11px 13px;
  background: rgba(255,255,255,.06); border: 1px solid rgba(255,255,255,.1);
  border-radius: 10px; color: white; font-size: .83rem;
  font-family: 'Outfit', sans-serif; outline: none;
  transition: border-color .2s;
}
.form-input:focus { border-color: rgba(201,168,76,.45); }
select.form-input option { background: #0d1f3c; }
textarea.form-input { resize: vertical; min-height: 72px; }

/* ── Market Toggle ────────────────────────────────────────── */
.market-toggle {
  display: flex; background: rgba(255,255,255,.05);
  border-radius: 10px; padding: 4px; margin-bottom: 14px; gap: 4px;
}
.mkt-btn {
  flex: 1; padding: 10px; border-radius: 8px; border: none;
  cursor: pointer; font-family: 'Outfit', sans-serif;
  font-size: .78rem; font-weight: 700; transition: all .2s; outline: none;
}
.mkt-btn.active   { background: #c9a84c; color: #0a1628; }
.mkt-btn.inactive { background: transparent; color: rgba(255,255,255,.45); }

/* ── Near Me ──────────────────────────────────────────────── */
.near-me-btn {
  width: 100%; padding: 10px;
  background: rgba(52,152,219,.1); border: 1px solid rgba(52,152,219,.25);
  color: #74b9ff; border-radius: 10px;
  font-family: 'Outfit', sans-serif; font-size: .77rem; font-weight: 600;
  cursor: pointer; display: flex; align-items: center; justify-content: center;
  gap: 7px; margin-bottom: 12px; transition: all .2s;
}
.near-me-btn.located { background: rgba(46,213,115,.08); border-color: rgba(46,213,115,.28); color: #2ed573; }
.near-me-btn:active  { background: rgba(52,152,219,.2); }

/* ── ROI Calculator ───────────────────────────────────────── */
.roi-card {
  background: rgba(255,255,255,.04); border: 1px solid rgba(201,168,76,.14);
  border-radius: 12px; padding: 14px; margin-bottom: 14px;
}
.roi-title {
  font-family: 'Cinzel', serif; color: #c9a84c; font-size: .75rem;
  letter-spacing: .5px; margin-bottom: 12px;
  display: flex; align-items: center; gap: 6px;
}
.roi-row { margin-bottom: 12px; }
.roi-row-top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 5px; }
.roi-lbl { font-size: .67rem; color: rgba(255,255,255,.4); }
.roi-val { font-size: .82rem; font-weight: 700; color: #c9a84c; }
input[type="range"].roi-range {
  width: 100%; height: 4px; border-radius: 2px;
  background: rgba(255,255,255,.1); -webkit-appearance: none;
  cursor: pointer; accent-color: #c9a84c; outline: none;
}
.roi-results { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 6px; margin-top: 12px; }
.roi-result-box { background: rgba(201,168,76,.06); border-radius: 8px; padding: 8px; text-align: center; }
.roi-result-num { font-size: .85rem; font-weight: 700; color: #c9a84c; }
.roi-result-lbl { font-size: .6rem; color: rgba(255,255,255,.3); margin-top: 2px; }

/* ── Category Filter ──────────────────────────────────────── */
.cat-filter {
  display: flex; gap: 6px; overflow-x: auto;
  scrollbar-width: none; margin-bottom: 13px;
  -webkit-overflow-scrolling: touch;
}
.cat-filter::-webkit-scrollbar { display: none; }
.cat-chip {
  flex-shrink: 0; padding: 6px 13px; border-radius: 20px;
  border: 1px solid rgba(255,255,255,.1); background: rgba(255,255,255,.04);
  color: rgba(255,255,255,.45); font-size: .7rem;
  cursor: pointer; transition: all .2s; user-select: none;
}
.cat-chip.active { background: rgba(201,168,76,.15); border-color: rgba(201,168,76,.4); color: #c9a84c; font-weight: 600; }

/* ── Property Cards ───────────────────────────────────────── */
.property-card {
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08);
  border-radius: 14px; overflow: hidden; margin-bottom: 14px;
  transition: border-color .2s, transform .15s;
}
.property-card:active { border-color: rgba(201,168,76,.4); transform: scale(.997); }

.property-img-wrap { position: relative; height: 180px; background: rgba(13,33,68,.9); overflow: hidden; }
.property-img { width: 100%; height: 100%; object-fit: cover; display: block; transition: transform .3s; }
.property-card:hover .property-img { transform: scale(1.02); }
.property-img-ph {
  width: 100%; height: 100%; display: flex; flex-direction: column;
  align-items: center; justify-content: center; gap: 8px;
}
.property-img-ph i    { font-size: 2.4rem; color: rgba(201,168,76,.22); }
.property-img-ph span { font-size: .63rem; color: rgba(255,255,255,.18); }

.status-tag {
  position: absolute; top: 9px; right: 9px;
  padding: 3px 9px; border-radius: 16px; font-size: .6rem; font-weight: 700;
  backdrop-filter: blur(4px);
}
.status-tag.available  { background: rgba(46,213,115,.22); border: 1px solid rgba(46,213,115,.35); color: #2ed573; }
.status-tag.processing { background: rgba(201,168,76,.22); border: 1px solid rgba(201,168,76,.35); color: #c9a84c; }
.status-tag.sold-out   { background: rgba(231,76,60,.18);  border: 1px solid rgba(231,76,60,.28);  color: #e74c3c; }
.status-tag.rented     { background: rgba(231,76,60,.18);  border: 1px solid rgba(231,76,60,.28);  color: #e74c3c; }

.type-tag {
  position: absolute; top: 9px; left: 9px;
  background: rgba(0,0,0,.62); color: rgba(255,255,255,.75);
  padding: 3px 8px; border-radius: 6px;
  font-size: .58rem; font-weight: 600; backdrop-filter: blur(4px);
}
.intent-tag {
  position: absolute; bottom: 32px; left: 9px;
  padding: 3px 9px; border-radius: 10px; font-size: .6rem; font-weight: 700;
}
.intent-tag.for-sale { background: rgba(201,168,76,.22); border: 1px solid rgba(201,168,76,.35); color: #c9a84c; }
.intent-tag.for-rent { background: rgba(52,152,219,.25);  border: 1px solid rgba(52,152,219,.38);  color: #74b9ff; }

.dist-tag {
  position: absolute; bottom: 32px; right: 9px;
  background: rgba(0,0,0,.68); color: #2ed573;
  padding: 3px 8px; border-radius: 8px; font-size: .62rem; font-weight: 600;
  display: flex; align-items: center; gap: 3px; backdrop-filter: blur(4px);
}
.units-bar-wrap {
  position: absolute; bottom: 0; left: 0; right: 0;
  padding: 5px 10px 6px;
  background: linear-gradient(transparent, rgba(0,0,0,.7));
}
.units-bar-track { height: 3px; background: rgba(255,255,255,.15); border-radius: 2px; overflow: hidden; }
.units-bar-fill  { height: 100%; background: linear-gradient(90deg,#c9a84c,#e8c96d); border-radius: 2px; transition: width .6s; }
.units-bar-lbl   { font-size: .57rem; color: rgba(255,255,255,.45); margin-top: 2px; }

.property-body { padding: 13px 14px; }
.property-name { font-family: 'Cinzel', serif; font-size: .87rem; color: white; margin-bottom: 4px; line-height: 1.3; }
.property-loc  { font-size: .68rem; color: rgba(255,255,255,.4); display: flex; align-items: center; gap: 4px; margin-bottom: 8px; }
.property-loc i { color: #c9a84c; font-size: .63rem; flex-shrink: 0; }
.roi-chip {
  display: inline-flex; align-items: center; gap: 4px;
  background: rgba(46,213,115,.07); border: 1px solid rgba(46,213,115,.18);
  border-radius: 5px; padding: 3px 7px;
  font-size: .62rem; color: #2ed573; margin-bottom: 9px;
}
.price-row { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 9px; }
.price-main { font-size: 1.12rem; font-weight: 700; color: #c9a84c; }
.price-per  { font-size: .62rem; color: rgba(255,255,255,.3); margin-left: 2px; }
.dep-hint   { font-size: .64rem; color: rgba(46,213,115,.7); display: flex; align-items: center; gap: 3px; white-space: nowrap; }
.prop-details-row { display: flex; flex-wrap: wrap; gap: 7px; margin-bottom: 10px; }
.prop-detail { display: flex; align-items: center; gap: 3px; font-size: .62rem; color: rgba(255,255,255,.38); }
.prop-detail i { color: rgba(201,168,76,.45); font-size: .7rem; }
.agent-line { display: flex; align-items: center; gap: 5px; margin-bottom: 10px; font-size: .64rem; color: rgba(255,255,255,.3); }
.agent-line i { color: #74b9ff; }
.property-actions { display: flex; gap: 8px; }

.btn-view {
  flex: 1; padding: 10px;
  background: rgba(201,168,76,.08); color: #c9a84c;
  border: 1px solid rgba(201,168,76,.22); border-radius: 10px;
  font-size: .76rem; font-weight: 600; cursor: pointer;
  font-family: 'Outfit', sans-serif;
  display: flex; align-items: center; justify-content: center; gap: 5px;
  transition: background .2s;
}
.btn-view:active { background: rgba(201,168,76,.16); }

.btn-invest {
  flex: 2; padding: 10px;
  background: linear-gradient(135deg, #c9a84c, #e8c96d);
  color: #0a1628; font-weight: 700; border: none;
  border-radius: 10px; font-size: .76rem; cursor: pointer;
  font-family: 'Outfit', sans-serif;
  display: flex; align-items: center; justify-content: center; gap: 5px;
  transition: opacity .2s;
}
.btn-invest:active   { opacity: .85; }
.btn-invest.disabled,
.btn-invest:disabled { opacity: .35; pointer-events: none; cursor: not-allowed; }

.btn-enquire {
  flex: 2; padding: 10px;
  background: linear-gradient(135deg, #25d366, #128c7e);
  color: white; font-weight: 700; border: none;
  border-radius: 10px; font-size: .76rem; cursor: pointer;
  font-family: 'Outfit', sans-serif;
  display: flex; align-items: center; justify-content: center; gap: 5px;
}
.btn-enquire:active { opacity: .85; }

/* ── Transaction Cards ────────────────────────────────────── */
.txn-card {
  background: rgba(255,255,255,.04); border: 1px solid rgba(201,168,76,.1);
  border-radius: 12px; padding: 13px; margin-bottom: 10px;
}
.txn-card-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; margin-bottom: 10px; }
.txn-prop-name { font-size: .85rem; font-weight: 600; color: white; line-height: 1.3; }
.txn-prop-sub  { font-size: .62rem; color: rgba(255,255,255,.3); margin-top: 2px; }
.txn-badge { padding: 3px 9px; border-radius: 12px; font-size: .62rem; font-weight: 700; white-space: nowrap; flex-shrink: 0; }
.txn-badge.completed { background: rgba(46,213,115,.1); color: #2ed573; border: 1px solid rgba(46,213,115,.25); }
.txn-badge.active    { background: rgba(52,152,219,.12); color: #74b9ff; border: 1px solid rgba(52,152,219,.25); }
.txn-badge.pending   { background: rgba(201,168,76,.1);  color: #c9a84c; border: 1px solid rgba(201,168,76,.25); }
.progress-wrap { margin-bottom: 10px; }
.progress-top  { display: flex; justify-content: space-between; margin-bottom: 4px; font-size: .63rem; }
.progress-lbl  { color: rgba(255,255,255,.35); }
.progress-pct  { color: #c9a84c; font-weight: 700; }
.progress-track { height: 5px; background: rgba(255,255,255,.08); border-radius: 3px; overflow: hidden; }
.progress-fill  { height: 100%; background: linear-gradient(90deg,#c9a84c,#e8c96d); border-radius: 3px; transition: width .6s; }
.txn-amounts { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-bottom: 9px; }
.txn-amt { background: rgba(255,255,255,.04); border-radius: 8px; padding: 8px 10px; }
.txn-amt-lbl { font-size: .58rem; color: rgba(255,255,255,.3); margin-bottom: 2px; }
.txn-amt-val { font-size: .88rem; font-weight: 700; color: #c9a84c; }
.due-row {
  display: flex; align-items: center; gap: 6px;
  background: rgba(52,152,219,.07); border: 1px solid rgba(52,152,219,.15);
  border-radius: 8px; padding: 8px 10px; font-size: .67rem; color: #74b9ff;
  margin-bottom: 9px;
}
.pay-instalment-btn {
  width: 100%; padding: 10px;
  background: linear-gradient(135deg,#c9a84c,#e8c96d);
  color: #0a1628; font-weight: 700; border: none; border-radius: 10px;
  font-size: .76rem; cursor: pointer; font-family: 'Outfit', sans-serif;
  display: flex; align-items: center; justify-content: center; gap: 5px;
  transition: opacity .2s;
}
.pay-instalment-btn:active { opacity: .85; }
.pay-instalment-btn:disabled { opacity: .4; pointer-events: none; }

/* ── Rental Cards ─────────────────────────────────────────── */
.rental-card {
  background: rgba(255,255,255,.04); border: 1px solid rgba(52,152,219,.12);
  border-radius: 12px; padding: 13px; margin-bottom: 10px;
}
.rental-card-top { display: flex; justify-content: space-between; align-items: flex-start; gap: 8px; margin-bottom: 10px; }
.rental-badge.active  { background: rgba(46,213,115,.1); color: #2ed573; border: 1px solid rgba(46,213,115,.25); border-radius: 12px; padding: 3px 9px; font-size: .62rem; font-weight: 700; flex-shrink: 0; }
.rental-badge.expired { background: rgba(231,76,60,.1);  color: #e74c3c; border: 1px solid rgba(231,76,60,.2);  border-radius: 12px; padding: 3px 9px; font-size: .62rem; font-weight: 700; flex-shrink: 0; }
.rental-badge.pending { background: rgba(201,168,76,.1); color: #c9a84c; border: 1px solid rgba(201,168,76,.2); border-radius: 12px; padding: 3px 9px; font-size: .62rem; font-weight: 700; flex-shrink: 0; }
.lease-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 6px; margin-bottom: 9px; }
.lease-box  { background: rgba(255,255,255,.04); border-radius: 8px; padding: 8px 10px; }
.lease-box-lbl { font-size: .58rem; color: rgba(255,255,255,.3); margin-bottom: 2px; }
.lease-box-val { font-size: .82rem; font-weight: 700; color: #c9a84c; }
.lease-bar { height: 4px; background: rgba(255,255,255,.07); border-radius: 2px; overflow: hidden; margin-bottom: 4px; }
.lease-bar-fill { height: 100%; background: linear-gradient(90deg,#74b9ff,#3498db); border-radius: 2px; transition: width .6s; }
.lease-dates { font-size: .6rem; color: rgba(255,255,255,.3); display: flex; justify-content: space-between; margin-bottom: 9px; }
.renew-btn {
  width: 100%; padding: 9px;
  background: rgba(52,152,219,.12); border: 1px solid rgba(52,152,219,.3);
  color: #74b9ff; border-radius: 10px; font-size: .76rem; cursor: pointer;
  font-family: 'Outfit', sans-serif;
  display: flex; align-items: center; justify-content: center; gap: 5px;
}

/* ── Vault Cards ──────────────────────────────────────────── */
.vault-card {
  background: rgba(255,255,255,.04); border: 1px solid rgba(201,168,76,.1);
  border-radius: 12px; padding: 13px; margin-bottom: 10px;
  display: flex; align-items: center; gap: 11px;
}
.vault-icon {
  width: 44px; height: 44px; border-radius: 12px;
  background: rgba(201,168,76,.08); border: 1px solid rgba(201,168,76,.2);
  display: flex; align-items: center; justify-content: center;
  flex-shrink: 0; color: #c9a84c; font-size: 1.15rem;
}
.vault-info { flex: 1; min-width: 0; }
.vault-doc-type { font-size: .8rem; font-weight: 600; color: white; }
.vault-prop-name { font-size: .63rem; color: rgba(255,255,255,.38); margin-top: 1px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.vault-date      { font-size: .6rem; color: rgba(255,255,255,.25); margin-top: 2px; }
.vault-verified  { display: inline-flex; align-items: center; gap: 3px; font-size: .58rem; color: #2ed573; margin-top: 2px; }
.vault-action {
  background: rgba(201,168,76,.1); border: 1px solid rgba(201,168,76,.22);
  color: #c9a84c; padding: 7px 12px; border-radius: 8px;
  font-size: .67rem; cursor: pointer; flex-shrink: 0;
  display: flex; align-items: center; gap: 3px;
  font-family: 'Outfit', sans-serif; transition: background .2s;
  text-decoration: none;
}
.vault-action:active { background: rgba(201,168,76,.2); }

/* ── Privilege Tiers ──────────────────────────────────────── */
.priv-card {
  background: rgba(255,255,255,.04); border: 1px solid rgba(201,168,76,.08);
  border-radius: 12px; overflow: hidden; margin-bottom: 10px;
}
.priv-tier { display: flex; align-items: center; gap: 12px; padding: 13px 14px; border-bottom: 1px solid rgba(255,255,255,.05); }
.priv-tier:last-child { border-bottom: none; }
.priv-tier.locked { opacity: .35; }
.priv-icon-wrap { width: 38px; height: 38px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: .95rem; flex-shrink: 0; }
.priv-icon-gold   { background: rgba(201,168,76,.15); border: 1px solid rgba(201,168,76,.25); }
.priv-icon-silver { background: rgba(189,195,199,.1);  border: 1px solid rgba(189,195,199,.2); }
.priv-icon-bronze { background: rgba(231,76,60,.1);    border: 1px solid rgba(231,76,60,.2); }
.priv-body { flex: 1; }
.priv-name { font-size: .8rem; font-weight: 600; color: white; }
.priv-req  { font-size: .62rem; color: rgba(255,255,255,.35); margin-top: 2px; }
.priv-plan { font-size: .66rem; color: #c9a84c; margin-top: 3px; font-weight: 600; }
.priv-plan.locked-plan { color: rgba(255,255,255,.28); }
.priv-check { font-size: 1.1rem; flex-shrink: 0; }

/* ── Agent Panel ──────────────────────────────────────────── */
.agent-badge { display: inline-flex; align-items: center; gap: 5px; border-radius: 20px; padding: 5px 12px; font-size: .65rem; font-weight: 600; margin-bottom: 12px; }
.agent-badge.verified { background: rgba(46,213,115,.1); border: 1px solid rgba(46,213,115,.25); color: #2ed573; }
.agent-badge.pending  { background: rgba(201,168,76,.1); border: 1px solid rgba(201,168,76,.25); color: #c9a84c; }
.my-listing-card {
  display: flex; align-items: center; gap: 11px;
  background: rgba(255,255,255,.04); border: 1px solid rgba(255,255,255,.08);
  border-radius: 12px; padding: 10px 12px; margin-bottom: 10px;
}
.my-listing-img { width: 52px; height: 52px; object-fit: cover; border-radius: 8px; flex-shrink: 0; }
.my-listing-info { flex: 1; min-width: 0; }
.my-listing-title { font-size: .8rem; font-weight: 600; color: white; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.my-listing-price { font-size: .73rem; color: #c9a84c; margin-top: 2px; }
.my-listing-status { display: inline-block; padding: 2px 8px; border-radius: 10px; font-size: .58rem; font-weight: 700; margin-top: 3px; }
.status-active         { background: rgba(46,213,115,.12); color: #2ed573; border: 1px solid rgba(46,213,115,.25); }
.status-pending-review { background: rgba(201,168,76,.1);  color: #c9a84c; border: 1px solid rgba(201,168,76,.25); }
.my-listing-delete {
  background: rgba(231,76,60,.1); border: 1px solid rgba(231,76,60,.2);
  color: #e74c3c; width: 30px; height: 30px; border-radius: 8px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer; flex-shrink: 0; font-size: .8rem; transition: background .2s;
}
.my-listing-delete:active { background: rgba(231,76,60,.2); }

/* ── Purchase Form ────────────────────────────────────────── */
.plan-option {
  display: flex; align-items: center; gap: 10px;
  padding: 11px 13px; border-radius: 10px;
  border: 1px solid rgba(255,255,255,.07); margin-bottom: 7px;
  cursor: pointer; transition: all .2s; user-select: none;
}
.plan-option.selected { border-color: #c9a84c; background: rgba(201,168,76,.07); }
.plan-option.locked   { opacity: .3; cursor: not-allowed; pointer-events: none; }
.plan-radio { width: 16px; height: 16px; border-radius: 50%; border: 2px solid rgba(255,255,255,.2); display: flex; align-items: center; justify-content: center; flex-shrink: 0; transition: border-color .2s; }
.plan-option.selected .plan-radio { border-color: #c9a84c; }
.plan-option.selected .plan-radio::after { content: ''; width: 7px; height: 7px; border-radius: 50%; background: #c9a84c; display: block; }
.plan-name { font-size: .8rem; font-weight: 600; color: white; }
.plan-desc { font-size: .63rem; color: rgba(255,255,255,.38); margin-top: 2px; }
.plan-lock { font-size: .6rem; color: rgba(231,76,60,.6); margin-top: 2px; display: flex; align-items: center; gap: 3px; }
.plan-price-col { text-align: right; flex-shrink: 0; }
.plan-amount    { font-size: .86rem; font-weight: 700; color: #c9a84c; }
.plan-period    { font-size: .58rem; color: rgba(255,255,255,.3); }
.units-adj-row  { display: flex; align-items: center; gap: 14px; margin-bottom: 14px; }
.units-adj-btn  { width: 38px; height: 38px; border-radius: 50%; background: rgba(255,255,255,.07); border: 1px solid rgba(255,255,255,.12); color: white; font-size: 1.3rem; cursor: pointer; display: flex; align-items: center; justify-content: center; transition: background .15s; user-select: none; }
.units-adj-btn:active { background: rgba(201,168,76,.18); }
.units-adj-val  { flex: 1; text-align: center; font-size: 1.3rem; font-weight: 700; color: #c9a84c; font-family: 'Cinzel', serif; }
.wallet-use-row {
  display: flex; align-items: center; justify-content: space-between;
  background: rgba(46,213,115,.06); border: 1px solid rgba(46,213,115,.15);
  border-radius: 10px; padding: 10px 13px; margin-bottom: 10px; gap: 10px;
}
.wallet-use-lbl { font-size: .72rem; color: rgba(255,255,255,.5); }
.wallet-use-bal { font-size: .88rem; font-weight: 700; color: #2ed573; }
.toggle-switch {
  width: 38px; height: 22px; border-radius: 11px;
  background: rgba(255,255,255,.1); border: 1px solid rgba(255,255,255,.15);
  cursor: pointer; position: relative; transition: background .25s; flex-shrink: 0;
}
.toggle-switch.on { background: #2ed573; border-color: #2ed573; }
.toggle-switch::after { content: ''; position: absolute; width: 16px; height: 16px; border-radius: 50%; background: white; top: 2px; left: 2px; transition: left .25s; box-shadow: 0 1px 3px rgba(0,0,0,.3); }
.toggle-switch.on::after { left: 18px; }
.summary-box { background: rgba(201,168,76,.06); border: 1px solid rgba(201,168,76,.14); border-radius: 10px; padding: 12px 14px; }
.summary-row { display: flex; justify-content: space-between; align-items: center; padding: 4px 0; font-size: .74rem; }
.summary-lbl  { color: rgba(255,255,255,.4); }
.summary-val  { color: white; font-weight: 600; }
.summary-row.total .summary-lbl { color: rgba(255,255,255,.55); font-weight: 600; }
.summary-row.total .summary-val { color: #c9a84c; font-size: .9rem; font-weight: 700; }
.summary-divider { height: 1px; background: rgba(255,255,255,.07); margin: 6px 0; }
.section-label { font-size: .63rem; color: rgba(255,255,255,.3); text-transform: uppercase; letter-spacing: .6px; margin-bottom: 7px; margin-top: 14px; }

/* ── Detail Rows ──────────────────────────────────────────── */
.detail-row { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; border-bottom: 1px solid rgba(255,255,255,.05); font-size: .74rem; gap: 8px; }
.detail-row:last-child { border-bottom: none; }
.detail-row-lbl { color: rgba(255,255,255,.35); flex-shrink: 0; }
.detail-row-val { color: white; font-weight: 500; text-align: right; }

/* ── Success Screen ───────────────────────────────────────── */
.success-screen { text-align: center; padding: 28px 10px; }
.success-icon { width: 66px; height: 66px; border-radius: 50%; background: rgba(46,213,115,.14); border: 2px solid rgba(46,213,115,.32); display: flex; align-items: center; justify-content: center; margin: 0 auto 14px; font-size: 1.8rem; }
.success-title { font-family: 'Cinzel', serif; color: #c9a84c; font-size: 1.05rem; margin-bottom: 8px; }
.success-desc  { font-size: .76rem; color: rgba(255,255,255,.48); line-height: 1.65; margin-bottom: 16px; }
.success-ref-box { background: rgba(201,168,76,.06); border: 1px solid rgba(201,168,76,.14); border-radius: 10px; padding: 13px; text-align: left; margin-bottom: 14px; }
.success-ref-lbl { font-size: .58rem; color: rgba(255,255,255,.3); text-transform: uppercase; letter-spacing: .5px; margin-bottom: 3px; }
.success-ref-val { font-size: .84rem; color: white; font-weight: 600; }
