/* PWA-specific additions — complements the original metro_landing theme */
/* The original theme's Bootstrap + style.css handles the main layout */

/* ===== Typography — Inter (thinner, more formal modern look) ===== */
/* Replaces the thick Quicksand look across the whole site.
   Loaded after the theme stylesheet, so it wins the cascade without
   affecting icon fonts (Boxicons / Font Awesome use class selectors). */
* { font-family: 'Inter', 'Hind Siliguri', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; }
body { font-family: 'Inter', 'Hind Siliguri', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif; }
h1, h2, h3, h4, h5, h6 { font-family: 'Inter', 'Hind Siliguri', sans-serif; font-weight: 600; }

/* Splash Screen */
.splash-screen {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #ffffff;
  transition: opacity 0.45s ease, visibility 0.45s ease;
}
.splash-screen.hidden {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.splash-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
  color: #020750;
  text-align: center;
}
.splash-logo {
  width: 76px;
  height: 76px;
  border-radius: 22px;
  background: rgba(2,7,80,0.06);
  padding: 10px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
}
.splash-brand {
  font-size: 1.5rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  color: #020750;
}
.splash-loader {
  width: 150px;
  height: 4px;
  border-radius: 999px;
  background: rgba(2,7,80,0.08);
  overflow: hidden;
  position: relative;
}
.splash-loader::before {
  content: "";
  position: absolute;
  inset: 0;
  width: 40%;
  border-radius: inherit;
  background: linear-gradient(90deg, #e26c05, #f5b26f, #e26c05);
  animation: splashProgress 1.6s ease-in-out infinite;
}
@keyframes splashProgress {
  0% { transform: translateX(-120%); }
  100% { transform: translateX(260%); }
}

/* Slim top progress bar for inner pages */
.page-loader {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 9998;
  height: 3px;
  background: transparent;
  pointer-events: none;
}
.page-loader-bar {
  width: 100%;
  height: 100%;
  background: #e26c05;
  transform-origin: left;
  animation: pageLoad 0.9s ease-in-out forwards;
  border-radius: 0 999px 999px 0;
}
@keyframes pageLoad {
  0%   { transform: scaleX(0); }
  70%  { transform: scaleX(0.85); }
  100% { transform: scaleX(1); opacity: 0; }
}

/* ===== Top bar ===== */
.app-topbar {
  position: sticky;
  top: 0;
  z-index: 900;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(21, 32, 51, 0.08);
}
.app-topbar-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 10px 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}
.app-topbar-left { display: flex; align-items: center; gap: 10px; }
.app-brand img { display: block; height: 44px; width: auto; }
.drawer-toggle {
  border: 1px solid rgba(21, 32, 51, 0.1);
  background: #fff;
  border-radius: 12px;
  width: 42px; height: 42px;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.6rem;
  color: #020750;
  cursor: pointer;
}
.app-topbar-right { display: flex; align-items: center; gap: 10px; }

/* Public top navigation — small font, available to everyone (desktop/tablet) */
.app-top-nav {
  display: none;
  align-items: center;
  justify-content: center;
  gap: 4px;
  flex: 1;
  margin: 0 10px;
}
@media (min-width: 768px) {
  .app-top-nav { display: flex; }
}
.top-nav-link {
  font-size: 0.82rem;
  font-weight: 500;
  color: #5d697b;
  text-decoration: none;
  padding: 6px 10px;
  border-radius: 8px;
  white-space: nowrap;
  transition: color 0.2s ease, background 0.2s ease;
}
.top-nav-link:hover { color: #e26c05; background: rgba(226, 108, 5, 0.08); }
.top-nav-link.active { color: #e26c05; font-weight: 600; }
.top-login {
  font-weight: 700; color: #020750; text-decoration: none;
  padding: 8px 6px; font-size: 0.92rem;
}
.top-login:hover { color: #e26c05; }
.signup-btn {
  background: #e26c05; color: #fff; text-decoration: none;
  border-radius: 10px; padding: 9px 16px;
  font-weight: 700; font-size: 0.9rem; white-space: nowrap;
}
.signup-btn:hover { background: #c95e04; color: #fff; }

/* User dropdown (right of topbar) */
.user-btn {
  display: flex; align-items: center; gap: 9px;
  border: 1px solid rgba(21, 32, 51, 0.1);
  background: #fff; border-radius: 999px;
  padding: 4px 12px 4px 4px; cursor: pointer;
}
.user-avatar {
  width: 34px; height: 34px; border-radius: 50%;
  background: linear-gradient(135deg, #020750, #e26c05);
  color: #fff; display: flex; align-items: center; justify-content: center;
  font-weight: 800; font-size: 0.9rem;
}
.user-avatar-img { object-fit: cover; }
.user-name { font-weight: 700; color: #152033; }
.user-dd { min-width: 230px; }
.user-dd .dropdown-header { font-weight: 700; color: #020750; }

/* ===== Side drawer ===== */
.drawer-overlay {
  position: fixed; inset: 0; z-index: 950;
  background: rgba(2, 7, 80, 0.45);
  opacity: 0; visibility: hidden;
  transition: opacity 0.25s ease, visibility 0.25s ease;
}
.drawer-overlay.show { opacity: 1; visibility: visible; }

.side-drawer {
  position: fixed; top: 0; left: 0; bottom: 0; z-index: 960;
  width: 280px; max-width: 85vw;
  background: #fff;
  box-shadow: 8px 0 30px rgba(2, 7, 80, 0.15);
  transform: translateX(-100%);
  transition: transform 0.28s ease;
  display: flex; flex-direction: column;
  overflow-y: auto;
}
.side-drawer.open { transform: translateX(0); }

.drawer-head {
  display: flex; align-items: center; justify-content: space-between;
  padding: 16px 16px; border-bottom: 1px solid rgba(21,32,51,0.08);
}
.drawer-head img { display: block; }
.drawer-close {
  border: none; background: #f4f6fa; border-radius: 10px;
  width: 36px; height: 36px; font-size: 1.4rem;
  color: #020750; cursor: pointer;
}
/* Expand button — shown at the top of the drawer when collapsed (desktop rail) */
.drawer-expand {
  display: none;
  border: none; background: #f4f6fa; border-radius: 10px;
  width: 36px; height: 36px; font-size: 1.4rem;
  color: #020750; cursor: pointer;
  align-items: center; justify-content: center;
}
.side-drawer.collapsed .drawer-expand { display: flex; }

.drawer-menu { padding: 8px 12px 24px; }
.menu-group { margin-bottom: 10px; }
.menu-label {
  font-size: 0.68rem; font-weight: 800; text-transform: uppercase;
  letter-spacing: 0.12em; color: #9aa3b2;
  padding: 12px 12px 6px; margin: 0;
}
.drawer-link {
  display: flex; align-items: center; gap: 12px;
  width: 100%; text-align: left;
  padding: 11px 12px; border-radius: 10px;
  color: #152033; text-decoration: none;
  font-size: 0.92rem; font-weight: 600;
  background: none; border: none; cursor: pointer;
  transition: background 0.2s ease, color 0.2s ease;
}
.drawer-link:hover { background: #f4f6fa; color: #020750; }
.drawer-link i { font-size: 1.25rem; color: #e26c05; width: 22px; text-align: center; flex-shrink: 0; }
.drawer-link.text-danger { color: #c0392b; }
.drawer-link .sub-caret { margin-left: auto; transition: transform 0.2s ease; }
.submenu-toggle.open .sub-caret { transform: rotate(90deg); }

.drawer-submenu {
  max-height: 0; overflow: hidden;
  transition: max-height 0.3s ease;
  padding-left: 46px;
}
.drawer-submenu.open { max-height: 240px; }
.drawer-submenu a {
  display: block; padding: 8px 12px; border-radius: 8px;
  color: #5d697b; text-decoration: none; font-size: 0.86rem;
}
.drawer-submenu a:hover { color: #020750; background: #f4f6fa; }

/* Desktop: drawer becomes a collapsible sidebar */
@media (min-width: 992px) {
  .side-drawer {
    width: 250px;
    transform: translateX(0);
    border-right: 1px solid rgba(21,32,51,0.08);
    box-shadow: none;
    z-index: 899;
  }
  .side-drawer.collapsed { width: 64px; }
  .side-drawer.collapsed .drawer-link span,
  .side-drawer.collapsed .menu-label,
  .side-drawer.collapsed .drawer-head img,
  .side-drawer.collapsed .drawer-submenu,
  .side-drawer.collapsed .drawer-close,
  .side-drawer.collapsed .sub-caret { display: none; }
  .side-drawer.collapsed .drawer-link { justify-content: flex-start; padding: 12px 20px; }
  .side-drawer.collapsed .drawer-head { justify-content: center; }
  body.drawer-pinned { margin-left: 250px; }
  body.drawer-pinned.sidebar-collapsed { margin-left: 64px; }
  .app-topbar, .page-shell { transition: margin-left 0.25s ease; }
}

/* Guest mode — side drawer completely hidden when not authenticated */
body.guest-mode { margin-left: 0 !important; }
body.guest-mode .side-drawer,
body.guest-mode .drawer-overlay,
body.guest-mode .drawer-toggle { display: none !important; }

/* Mobile bottom navigation — kept for PWA app-shell feel */
.mobile-bottom-nav {
  position: fixed;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 1020;
  display: flex;
  justify-content: space-around;
  align-items: center;
  padding: 8px 8px calc(8px + env(safe-area-inset-bottom));
  background: rgba(255,255,255,0.97);
  backdrop-filter: blur(12px);
  border-top: 1px solid rgba(0,0,0,0.08);
  box-shadow: 0 -4px 16px rgba(0,0,0,0.06);
}
.mobile-bottom-nav .nav-item {
  flex: 1;
  text-align: center;
  color: #5d697b;
  font-size: 11px;
  padding: 6px 4px;
  border-radius: 10px;
  font-weight: 600;
  text-decoration: none;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
}
.mobile-bottom-nav .nav-item i { font-size: 22px; line-height: 1; }
.mobile-bottom-nav .nav-item.active {
  color: #020750;
  background: rgba(226,108,5,0.1);
}

/* Override original theme's negative offset on featured sections */
.featured-properties {
  top: 0 !important;
}

/* Listing grid: 2 on mobile, 4 on medium and large screens */
.property-grid {
  display: grid;
  gap: 16px;
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
@media (min-width: 768px) {
  .property-grid { grid-template-columns: repeat(4, minmax(0, 1fr)); }
}

/* Blog grid: wider cards, 4 per row on desktop */
.blog-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr)) !important;
}
@media (min-width: 768px) {
  .blog-grid { grid-template-columns: repeat(4, minmax(0, 1fr)) !important; }
}

.property-card {
  background: #fff;
  border: 1px solid rgba(21, 32, 51, 0.12);
  border-radius: 14px;
  overflow: hidden;
  box-shadow: 0 8px 18px rgba(15, 23, 42, 0.05);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.property-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 14px 28px rgba(15, 23, 42, 0.12);
}
.property-card-link { color: inherit; text-decoration: none; }
.property-card img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  background: #eef3ff;
}
.property-card-body { padding: 12px; }
.property-card-body h3 {
  margin: 4px 0 6px;
  font-size: 0.95rem;
  line-height: 1.35;
}
.property-card-body p {
  color: #5d697b;
  margin: 0 0 8px;
  font-size: 0.82rem;
  line-height: 1.5;
}
.property-card-body strong { color: #e26c05; font-size: 0.95rem; }
.tag {
  display: inline-block;
  background: rgba(226,108,5,0.12);
  color: #020750;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.4px;
}
.meta-row {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  font-size: 11px;
  color: #5d697b;
  margin-bottom: 8px;
}
.meta-row span { display: inline-flex; align-items: center; gap: 4px; }
.meta-row i { font-size: 13px; color: #8a93a3; font-weight: 400; }

/* Thin, light feature icons on property cards (bed / bath / sqft) */
.prop-features {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  font-size: 0.78rem;
  color: #5d697b;
  margin-bottom: 8px;
}
.prop-features span { display: inline-flex; align-items: center; gap: 5px; font-weight: 500; }
.prop-features i {
  font-size: 1.05rem;
  color: #8a93a3;
  font-weight: 400;
  line-height: 1;
}

/* ---- Single property detail page ---- */
.property-detail {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  margin-bottom: 22px;
}
@media (min-width: 768px) {
  .property-detail { grid-template-columns: 1.15fr 1fr; align-items: start; }
}
.property-hero-image {
  border-radius: 18px;
  overflow: hidden;
  background: #eef3ff;
  box-shadow: 0 10px 24px rgba(15,23,42,0.08);
}
.property-hero-image img {
  width: 100%;
  height: 260px;
  object-fit: cover;
  display: block;
}
@media (min-width: 768px) {
  .property-hero-image img { height: 360px; }
}
.property-info h1 {
  font-size: 1.35rem;
  font-weight: 800;
  color: #152033;
  line-height: 1.3;
  margin: 10px 0 6px;
}
.property-info .price {
  font-size: 1.15rem;
  font-weight: 700;
  color: #e26c05;
  margin: 0 0 12px;
}
.property-info > p {
  color: #5d697b;
  font-size: 0.92rem;
  line-height: 1.65;
  margin: 0 0 16px;
}
.detail-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  margin-bottom: 18px;
}
@media (min-width: 768px) {
  .detail-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.dg-item {
  display: flex;
  flex-direction: column;
  gap: 4px;
  background: #fff;
  border: 1px solid rgba(21,32,51,0.08);
  border-radius: 12px;
  padding: 12px;
}
.dg-item i {
  font-size: 1.15rem;
  color: #e26c05;
  font-weight: 400;
  line-height: 1;
}
.dg-label {
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.06em;
  color: #8a93a3;
  margin-top: 6px;
}
.dg-item strong {
  font-size: 0.86rem;
  font-weight: 700;
  color: #152033;
  word-break: break-word;
}
.property-actions { display: flex; flex-wrap: wrap; gap: 10px; }
.property-actions .btn {
  border-radius: 999px;
  padding: 10px 20px;
  font-size: 0.86rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.property-actions .btn.primary {
  background: #e26c05;
  border: 1px solid #e26c05;
  color: #fff;
}
.property-actions .btn.secondary {
  background: #fff;
  border: 1px solid rgba(21,32,51,0.16);
  color: #020750;
}
.gallery-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
@media (min-width: 768px) {
  .gallery-grid { grid-template-columns: repeat(3, minmax(0, 1fr)); }
}
.gallery-grid img {
  width: 100%;
  height: 150px;
  object-fit: cover;
  border-radius: 12px;
  background: #eef3ff;
}

/* Keep the dashboard featured icons thin and light too */
.dash-prop-meta i { color: #8a93a3; font-weight: 400; }

/* Homepage "Latest Properties" feature icons — thin outline, light */
.home-prop-feats { display: flex; flex-wrap: wrap; gap: 12px; }
.home-prop-feats span { display: inline-flex; align-items: center; gap: 4px; }
.home-prop-feats i { color: #8a93a3; font-weight: 400; font-size: 0.95rem; }
.empty-state {
  grid-column: 1 / -1;
  background: #fff;
  border: 1px solid rgba(21, 32, 51, 0.12);
  border-radius: 14px;
  padding: 28px;
  text-align: center;
  color: #5d697b;
}

/* Quick tiles: compact icon format on mobile, cards on desktop */
.quick-tile .card { border-radius: 14px; }
.quick-tile .card-body { padding: 18px 8px; }
.quick-tile-icon {
  font-size: 2.2rem;
  color: #e26c05;
  margin-bottom: 6px;
}
.quick-tile .card-title {
  font-size: 0.95rem;
  font-weight: 700;
  color: #020750;
  margin-bottom: 0;
}
.quick-tile .card-text {
  color: #212529 !important;
}
@media (min-width: 768px) {
  .quick-tile .card-body { padding: 24px 16px; }
  .quick-tile-icon { font-size: 3rem; margin-bottom: 14px; }
}

/* Footer icon fixes */
.footer-caret {
  color: #e26c05;
  font-weight: 700;
  display: inline-block;
  margin-right: 4px;
}
.footer-icon { color: #e26c05; display: inline-flex; justify-content: center; }
.social-links svg { vertical-align: middle; }

/* Centered auth card (mobile-app feel) */
.auth-page {
  min-height: calc(100vh - 160px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 32px 16px;
  background: linear-gradient(180deg, #f5f7fb 0%, #eef1f8 100%);
}
.auth-card-modern {
  width: min(100%, 420px);
  background: #fff;
  border: 1px solid rgba(21, 32, 51, 0.08);
  border-radius: 24px;
  box-shadow: 0 24px 60px rgba(2, 7, 80, 0.12);
  padding: 36px 30px 28px;
  text-align: center;
}
.auth-logo {
  width: 68px;
  height: 68px;
  border-radius: 18px;
  object-fit: contain;
  box-shadow: 0 8px 22px rgba(2, 7, 80, 0.14);
  margin-bottom: 16px;
}
.auth-title {
  font-size: 1.6rem;
  font-weight: 800;
  color: #020750;
  margin: 0 0 4px;
}
.auth-subtitle {
  color: #5d697b;
  margin: 0 0 24px;
  font-size: 0.95rem;
}
.auth-form { text-align: left; }
.auth-field { margin-bottom: 16px; }
.auth-field label {
  display: block;
  font-size: 0.82rem;
  font-weight: 700;
  color: #152033;
  margin-bottom: 6px;
}
.auth-field input {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(21, 32, 51, 0.16);
  border-radius: 12px;
  padding: 0 14px;
  font-size: 0.95rem;
  background: #fbfcff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.auth-field input:focus {
  outline: none;
  border-color: #e26c05;
  box-shadow: 0 0 0 3px rgba(226, 108, 5, 0.15);
  background: #fff;
}
.password-wrap { position: relative; }
.password-wrap input { padding-right: 48px; }
.password-toggle {
  position: absolute;
  right: 6px;
  top: 50%;
  transform: translateY(-50%);
  border: none;
  background: transparent;
  color: #5d697b;
  cursor: pointer;
  padding: 8px;
  border-radius: 8px;
}
.password-toggle:hover { color: #020750; }
.checkbox-row {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 4px 0 18px;
  color: #5d697b;
  font-size: 0.88rem;
  cursor: pointer;
}
.checkbox-row input { accent-color: #e26c05; }
.signin-btn {
  width: 100%;
  min-height: 48px;
  background: #e26c05;
  color: #fff;
  border: none;
  border-radius: 12px;
  font-size: 1rem;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.2s ease;
}
.signin-btn:hover { background: #c95e04; }
.auth-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 20px 0;
  color: #9aa3b2;
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.auth-divider::before,
.auth-divider::after {
  content: "";
  flex: 1;
  height: 1px;
  background: rgba(21, 32, 51, 0.1);
}
.google-btn {
  width: 100%;
  min-height: 48px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: #fff;
  color: #152033;
  border: 1px solid rgba(21, 32, 51, 0.16);
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 600;
  cursor: pointer;
  transition: background 0.2s ease, box-shadow 0.2s ease;
}
.google-btn:hover { background: #f7f9fc; box-shadow: 0 4px 14px rgba(2, 7, 80, 0.08); }
.auth-switch {
  margin: 22px 0 0;
  color: #5d697b;
  font-size: 0.9rem;
}
.auth-switch a { color: #e26c05; font-weight: 700; text-decoration: none; }
.auth-switch a:hover { text-decoration: underline; }

/* Page shell: centered container with breathing room for inner pages */
.page-shell {
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 12px 80px;
}
@media (max-width: 767px) {
  .page-shell {
    padding: 16px 14px 88px;
  }
}

/* Section headings on inner pages */
.section-title-block {
  margin: 8px 0 20px;
}
.section-title-block h1 {
  font-size: 1.7rem;
  font-weight: 800;
  color: #020750;
  margin: 0;
}
.eyebrow {
  margin: 0 0 6px;
  text-transform: uppercase;
  letter-spacing: 0.14em;
  color: #e26c05;
  font-size: 12px;
  font-weight: 700;
}

/* Filter bar on the properties page */
.filter-bar {
  background: #fff;
  border: 1px solid rgba(21, 32, 51, 0.08);
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(2, 7, 80, 0.06);
  padding: 20px;
  margin-bottom: 24px;
}
.filter-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr auto;
  gap: 16px;
  align-items: end;
}
.filter-group label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  color: #5d697b;
  text-transform: uppercase;
  letter-spacing: 0.07em;
  margin-bottom: 7px;
}
.filter-group label i {
  color: #e26c05;
  font-size: 1.05rem;
}
.filter-group select {
  width: 100%;
  min-height: 46px;
  border: 1px solid rgba(21, 32, 51, 0.14);
  border-radius: 12px;
  padding: 0 12px;
  background: #fbfcff;
  color: #152033;
  font-size: 0.92rem;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.filter-group select:focus {
  outline: none;
  border-color: #e26c05;
  box-shadow: 0 0 0 3px rgba(226, 108, 5, 0.15);
  background: #fff;
}
.filter-submit {
  min-height: 46px;
  padding: 0 24px;
  background: #e26c05;
  color: #fff;
  border: none;
  border-radius: 12px;
  font-size: 0.95rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  white-space: nowrap;
  transition: background 0.2s ease, transform 0.15s ease;
}
.filter-submit:hover { background: #c95e04; }
.filter-submit:active { transform: scale(0.98); }
.filter-clear {
  min-height: 46px;
  padding: 0 16px;
  background: #fff;
  color: #5d697b;
  border: 1px solid rgba(21, 32, 51, 0.16);
  border-radius: 12px;
  font-size: 0.9rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  text-decoration: none;
  white-space: nowrap;
  transition: background 0.2s ease, border-color 0.2s ease;
}
.filter-clear:hover { background: #f4f6fb; border-color: rgba(21, 32, 51, 0.28); color: #152033; }
@media (max-width: 767px) {
  .filter-row { grid-template-columns: 1fr 1fr; }
  .filter-submit, .filter-clear { grid-column: 1 / -1; justify-content: center; }
}

/* ===== Modern mobile-app dashboard ===== */
.dash-page {
  max-width: 640px;
  margin: 0 auto;
  padding: 20px 16px 90px;
}
.dash-greeting {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 20px;
}
.dash-user { display: flex; align-items: center; gap: 14px; }
.dash-avatar {
  width: 54px; height: 54px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #e26c05;
  box-shadow: 0 6px 16px rgba(226,108,5,0.25);
}
.dash-avatar-initial {
  display: flex; align-items: center; justify-content: center;
  background: linear-gradient(135deg, #020750, #2430a0);
  color: #fff;
  font-size: 1.5rem;
  font-weight: 800;
}
.dash-date {
  margin: 0; font-size: 0.78rem; color: #8a93a3;
  text-transform: uppercase; letter-spacing: 0.05em;
}
.dash-greeting h1 {
  margin: 2px 0 0; font-size: 1.3rem; font-weight: 800; color: #152033;
}
.dash-notif {
  position: relative;
  width: 46px; height: 46px;
  border-radius: 50%;
  background: #fff;
  border: 1px solid rgba(21,32,51,0.08);
  display: flex; align-items: center; justify-content: center;
  color: #020750; font-size: 1.4rem;
  box-shadow: 0 6px 16px rgba(2,7,80,0.08);
}
.dash-notif-dot {
  position: absolute; top: 9px; right: 10px;
  width: 9px; height: 9px; border-radius: 50%;
  background: #e26c05; border: 2px solid #fff;
}

.dash-balance {
  background: linear-gradient(135deg, #020750 0%, #2430a0 60%, #e26c05 130%);
  border-radius: 22px;
  padding: 22px;
  color: #fff;
  box-shadow: 0 16px 34px rgba(2,7,80,0.28);
  margin-bottom: 18px;
}
.balance-top {
  display: flex; align-items: center; justify-content: space-between;
  font-size: 0.85rem; opacity: 0.85;
}
.balance-top i { font-size: 1.4rem; }
.balance-amount {
  font-size: 2rem; font-weight: 800;
  margin: 8px 0 14px;
  letter-spacing: 0.3px;
}
.balance-meta {
  display: flex; gap: 22px;
  font-size: 0.8rem; opacity: 0.9;
}
.balance-meta strong { color: #f5b26f; }

.dash-actions {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  margin-bottom: 22px;
}
.action-chip {
  background: #fff;
  border: 1px solid rgba(21,32,51,0.08);
  border-radius: 16px;
  padding: 14px 6px;
  display: flex; flex-direction: column; align-items: center; gap: 6px;
  font-size: 0.75rem; font-weight: 700; color: #152033;
  text-decoration: none;
  box-shadow: 0 6px 14px rgba(2,7,80,0.05);
  cursor: pointer;
}
.action-chip i { font-size: 1.5rem; color: #e26c05; }

/* Admin overview stats (on the dashboard) */
.admin-stats-badge {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 0.7rem; font-weight: 700; color: #e26c05;
  background: rgba(226,108,5,0.12);
  border-radius: 999px; padding: 4px 10px;
  text-transform: uppercase; letter-spacing: 0.05em;
}
.dash-stats {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}
@media (min-width: 520px) {
  .dash-stats { grid-template-columns: repeat(4, 1fr); }
}
.dash-stat {
  display: flex; align-items: center; gap: 10px;
  background: #fff;
  border: 1px solid rgba(21,32,51,0.08);
  border-radius: 16px;
  padding: 12px;
  text-decoration: none; color: inherit;
  box-shadow: 0 6px 14px rgba(2,7,80,0.05);
  transition: transform 0.15s ease, box-shadow 0.2s ease;
}
.dash-stat:hover { transform: translateY(-2px); box-shadow: 0 10px 22px rgba(2,7,80,0.1); }
.dash-stat-icon {
  width: 40px; height: 40px; border-radius: 12px;
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 1.25rem; flex-shrink: 0;
}
.dash-stat-icon.blue { background: linear-gradient(135deg, #020750, #2430a0); }
.dash-stat-icon.orange { background: linear-gradient(135deg, #e26c05, #ff9a3c); }
.dash-stat-icon.green { background: linear-gradient(135deg, #218c5d, #3fb57e); }
.dash-stat-icon.purple { background: linear-gradient(135deg, #6c2bd9, #a06bff); }
.dash-stat-num { font-size: 1.15rem; font-weight: 700; color: #152033; line-height: 1.1; }
.dash-stat-label { font-size: 0.7rem; color: #5d697b; }

/* ===== Single blog post ===== */
.blog-single { max-width: 800px; margin: 0 auto; }
.blog-single h1 { font-size: 1.9rem; font-weight: 700; color: #020750; margin: 6px 0 12px; line-height: 1.3; }
.blog-meta { display: flex; flex-wrap: wrap; gap: 16px; color: #5d697b; font-size: 0.82rem; margin-bottom: 16px; }
.blog-meta span { display: inline-flex; align-items: center; gap: 5px; }
.blog-meta i { color: #e26c05; }
.blog-cover { width: 100%; height: 340px; object-fit: cover; border-radius: 16px; margin-bottom: 20px; box-shadow: 0 10px 26px rgba(2,7,80,0.12); }
.blog-body { color: #33405a; font-size: 1rem; line-height: 1.75; }
.blog-body h2, .blog-body h3, .blog-body h4 { color: #020750; margin: 22px 0 10px; }
.blog-body img { max-width: 100%; height: auto; border-radius: 12px; }
.blog-body a { color: #e26c05; }
.blog-body blockquote { border-left: 4px solid #e26c05; background: #f8f9fc; padding: 12px 16px; border-radius: 0 10px 10px 0; margin: 16px 0; }
@media (max-width: 767px) {
  .blog-cover { height: 220px; }
  .blog-single h1 { font-size: 1.5rem; }
}

.dash-section { margin-bottom: 26px; }
.dash-section-head {
  display: flex; align-items: center; justify-content: space-between;
  margin-bottom: 12px;
}
.dash-section-head h2 { font-size: 1.05rem; font-weight: 800; color: #152033; margin: 0; }
.dash-section-head a { font-size: 0.82rem; color: #e26c05; font-weight: 700; text-decoration: none; }

.dash-prop-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}
@media (min-width: 520px) {
  .dash-prop-list { grid-template-columns: 1fr 1fr; }
}
.dash-prop {
  display: flex; flex-direction: column; gap: 10px;
  background: #fff;
  border: 1px solid rgba(21,32,51,0.08);
  border-radius: 16px;
  padding: 10px;
  text-decoration: none; color: inherit;
  box-shadow: 0 6px 14px rgba(2,7,80,0.04);
}
.dash-prop > img {
  width: 100%; height: 130px;
  border-radius: 12px; object-fit: cover;
}
.dash-prop-body { min-width: 0; flex: 1; }
.dash-prop-body h3 {
  font-size: 0.9rem; font-weight: 700; color: #152033;
  margin: 4px 0 6px;
}
.dash-tag {
  display: inline-block;
  font-size: 0.65rem; font-weight: 800; text-transform: uppercase;
  padding: 3px 8px; border-radius: 999px; letter-spacing: 0.04em;
}
.dash-tag.sale { background: rgba(226,108,5,0.14); color: #c95e04; }
.dash-tag.rent { background: rgba(33,140,93,0.14); color: #218c5d; }
.dash-prop-meta { display: flex; gap: 12px; font-size: 0.78rem; color: #5d697b; }
.dash-prop-meta span { display: inline-flex; align-items: center; gap: 4px; }
.dash-prop-loc { font-size: 0.75rem; color: #8a93a3; margin-top: 3px; }
.dash-prop-price { display: block; color: #020750; font-size: 0.85rem; margin-top: 4px; }

.dash-invest-list {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}
@media (min-width: 520px) {
  .dash-invest-list { grid-template-columns: 1fr 1fr; }
}
.dash-invest {
  display: flex; flex-direction: column; gap: 10px;
  background: #fff;
  border: 1px solid rgba(21,32,51,0.08);
  border-radius: 16px;
  padding: 10px;
  box-shadow: 0 6px 14px rgba(2,7,80,0.04);
}
.dash-invest > img { width: 100%; height: 130px; border-radius: 12px; object-fit: cover; }
.dash-invest-body { flex: 1; min-width: 0; }
.dash-invest-body h3 { font-size: 0.9rem; font-weight: 700; margin: 2px 0 4px; color: #152033; }
.dash-invest-loc { font-size: 0.75rem; color: #8a93a3; margin-bottom: 6px; }
.dash-invest-stats { display: flex; gap: 14px; }
.dash-invest-stats span { display: flex; flex-direction: column; }
.dash-invest-stats small { font-size: 0.62rem; color: #8a93a3; text-transform: uppercase; }
.dash-invest-stats b { font-size: 0.85rem; color: #020750; }

.dash-myinvest { background: #fff; border: 1px solid rgba(21,32,51,0.08); border-radius: 16px; overflow: hidden; }
.dash-myinvest-row {
  display: flex; align-items: center; justify-content: space-between;
  padding: 12px 14px; border-bottom: 1px solid rgba(21,32,51,0.06);
}
.dash-myinvest-row:last-child { border-bottom: none; }
.dash-myinvest-info strong { display: block; font-size: 0.88rem; color: #152033; }
.dash-myinvest-info small { font-size: 0.75rem; color: #8a93a3; }
.dash-myinvest-rate { font-size: 0.95rem; font-weight: 800; color: #218c5d; }

.dash-activity { background: #fff; border: 1px solid rgba(21,32,51,0.08); border-radius: 16px; padding: 8px 14px; }
.dash-activity-row {
  display: flex; gap: 12px; align-items: flex-start;
  padding: 10px 0; border-bottom: 1px solid rgba(21,32,51,0.05);
}
.dash-activity-row:last-child { border-bottom: none; }
.dash-activity-dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: #e26c05; margin-top: 6px; flex-shrink: 0;
}
.dash-activity-row strong { font-size: 0.85rem; color: #152033; }
.dash-activity-row p { margin: 2px 0; font-size: 0.78rem; color: #5d697b; }
.dash-activity-row small { font-size: 0.7rem; color: #8a93a3; }

.support-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.support-card {
  background: #fff; border: 1px solid rgba(21,32,51,0.08);
  border-radius: 16px; padding: 20px; text-align: center;
  box-shadow: 0 6px 14px rgba(2,7,80,0.05);
}
.support-card i { font-size: 2rem; color: #e26c05; }
.support-card h3 { font-size: 0.95rem; font-weight: 700; color: #152033; margin: 8px 0 4px; }
.support-card p { font-size: 0.82rem; color: #5d697b; margin: 0; word-break: break-word; }

@media (min-width: 768px) {
  .dash-page { max-width: 720px; }
}

/* ===== Profile photo + Croppie ===== */
.profile-photo-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}
.profile-photo {
  width: 108px;
  height: 108px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid #e26c05;
  box-shadow: 0 8px 20px rgba(226, 108, 5, 0.25);
}
.profile-photo-initial {
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #020750, #2430a0);
  color: #fff;
  font-size: 2.4rem;
  font-weight: 800;
}
.profile-photo-btn {
  border: none;
  background: rgba(226, 108, 5, 0.1);
  color: #c95e04;
  font-weight: 700;
  font-size: 0.85rem;
  border-radius: 999px;
  padding: 8px 16px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}
.profile-photo-btn:hover { background: rgba(226, 108, 5, 0.18); }

.crop-modal {
  position: fixed;
  inset: 0;
  z-index: 1200;
  background: rgba(2, 7, 80, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 16px;
}
.crop-modal-box {
  background: #fff;
  border-radius: 18px;
  padding: 22px;
  width: min(100%, 360px);
  text-align: center;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.3);
}
.crop-modal-box h4 { margin: 0 0 14px; font-weight: 800; color: #152033; }
.crop-actions {
  display: flex;
  gap: 10px;
  margin-top: 16px;
}
.crop-actions .btn { flex: 1; }
.crop-cancel {
  background: #f4f6fa;
  color: #152033;
  border: 1px solid rgba(21, 32, 51, 0.1);
}

/* Crop-upload control (properties / investments / blog images) */
.crop-upload {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.crop-upload-preview {
  width: 100%;
  height: 180px;
  border: 2px dashed rgba(21,32,51,0.2);
  border-radius: 14px;
  background: #fbfcff;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 8px;
  color: #9aa3b2;
  overflow: hidden;
}
.crop-upload-preview i { font-size: 2.4rem; color: #c9d0dc; }
.crop-upload-preview span { font-size: 0.85rem; }
.crop-upload-preview img {
  width: 100%; height: 100%;
  object-fit: cover; border-radius: 14px;
}
.crop-upload-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
}
.crop-upload-btn {
  border: none;
  background: #020750;
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
  border-radius: 10px;
  padding: 10px 16px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition: background 0.2s ease;
}
.crop-upload-btn:hover { background: #1a2480; }
.crop-upload-hint { font-size: 0.75rem; color: #8a93a3; }

/* Sign Up button — high specificity to beat theme's .nav-link.active orange */
.navbar-nav .nav-link.signup-btn,
.navbar-nav .nav-link.signup-btn:link,
.navbar-nav .nav-link.signup-btn:visited,
.navbar-nav .nav-link.signup-btn:hover,
.navbar-nav .nav-link.signup-btn:active,
.navbar-nav .nav-link.signup-btn:focus,
.navbar-nav .nav-link.signup-btn.active {
  background-color: #e26c05 !important;
  border-color: #e26c05 !important;
  color: #ffffff !important;
}
.navbar-nav .nav-link.signup-btn:hover {
  background-color: #c95e04 !important;
  color: #ffffff !important;
}

/* PWA install button spacing */
#install-app { margin-left: 12px; }

/* ===== Install App coach banner ===== */
.install-coach {
  position: fixed;
  bottom: 76px;
  left: 12px;
  right: 12px;
  z-index: 1050;
  background: #fff;
  border: 1px solid rgba(2, 7, 80, 0.12);
  border-radius: 16px;
  box-shadow: 0 16px 40px rgba(2, 7, 80, 0.18);
  padding: 12px 40px 12px 12px;
}
.install-coach-inner {
  display: flex;
  align-items: center;
  gap: 12px;
}
.install-coach-icon {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: rgba(226, 108, 5, 0.12);
  color: #e26c05;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
}
.install-coach-text {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.install-coach-text strong { font-size: 0.92rem; color: #152033; }
.install-coach-text span { font-size: 0.76rem; color: #8a93a3; line-height: 1.4; }
.install-coach-btn {
  background: #e26c05;
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 8px 18px;
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  white-space: nowrap;
  flex-shrink: 0;
}
.install-coach-btn:hover { background: #c95e04; }
.install-coach-close {
  position: absolute;
  top: 8px;
  right: 8px;
  width: 28px;
  height: 28px;
  border: none;
  background: transparent;
  color: #8a93a3;
  font-size: 1.3rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
}
.install-coach-close:hover { background: #f2f3f8; color: #152033; }
.install-coach--fallback .install-coach-icon {
  background: rgba(33, 140, 93, 0.12);
  color: #218c5d;
}
.install-coach--fallback .install-coach-btn {
  background: #218c5d;
}
.install-coach--fallback .install-coach-btn:hover { background: #1a734c; }
@media (min-width: 640px) {
  .install-coach { left: auto; right: 20px; width: 400px; bottom: 20px; }
}

/* ===== Floating install button (bottom-left, always visible until installed) ===== */
.install-fab {
  position: fixed;
  left: 16px;
  bottom: 84px;           /* sits above the mobile bottom nav */
  z-index: 1040;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #e26c05;
  color: #fff;
  border: none;
  border-radius: 999px;
  padding: 12px 18px;
  font-size: 0.9rem;
  font-weight: 700;
  cursor: pointer;
  box-shadow: 0 8px 24px rgba(226, 108, 5, 0.4);
  transition: transform 0.15s ease, background 0.2s ease, box-shadow 0.2s ease;
}
.install-fab i { font-size: 1.2rem; }
.install-fab:hover {
  background: #c95e04;
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(226, 108, 5, 0.45);
}
.install-fab:active { transform: scale(0.97); }
@media (min-width: 640px) {
  .install-fab { bottom: 24px; left: 24px; }
}
/* Hide the label on very small screens, keep just the icon */
@media (max-width: 380px) {
  .install-fab span { display: none; }
  .install-fab { padding: 14px; }
}

/* ===== Push notifications card (profile) ===== */
.push-status-box {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
.push-status-row {
  display: flex;
  align-items: center;
  gap: 14px;
}
.push-status-icon {
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(21, 32, 51, 0.08);
  color: #5d697b;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  flex-shrink: 0;
  transition: background 0.2s ease, color 0.2s ease;
}
.push-status-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.push-status-text strong { font-size: 0.95rem; color: #152033; }
.push-status-text span { font-size: 0.82rem; color: #8a93a3; line-height: 1.45; }
.push-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.push-note {
  font-size: 0.78rem;
  color: #8a93a3;
  margin: 0;
}

/* ===== Account security / cancellation ===== */
.danger-zone {
  margin-top: 26px;
  padding-top: 18px;
  border-top: 1px solid rgba(21, 32, 51, 0.08);
}
.cancel-account-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #9aa3b2;
  font-size: 0.85rem;
  font-weight: 600;
  text-decoration: none;
  cursor: pointer;
  opacity: 0.65;
  transition: opacity 0.2s ease, color 0.2s ease;
}
.cancel-account-link:hover {
  opacity: 1;
  color: #c0392b;
}
.cancel-icon-wrap {
  width: 72px;
  height: 72px;
  margin: 0 auto 16px;
  border-radius: 50%;
  background: #f2f3f8;
  display: flex;
  align-items: center;
  justify-content: center;
}
.cancel-icon-wrap i { font-size: 38px; color: #9aa3b2; }
.cancel-notice {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  background: #f7f8fb;
  border: 1px solid rgba(21, 32, 51, 0.08);
  border-radius: 12px;
  padding: 12px 14px;
  text-align: left;
  color: #5d697b;
  font-size: 0.85rem;
  line-height: 1.5;
}
.cancel-notice i { color: #e26c05; font-size: 1.2rem; margin-top: 1px; }
.cancel-notice a { color: #e26c05; font-weight: 700; text-decoration: none; }
.cancel-btn {
  background: #b9becb;
  color: #fff;
}
.cancel-btn:hover { background: #c0392b; }

/* Admin search bar */
.admin-search { padding: 12px 16px; margin-bottom: 16px; }
.search-row { display: flex; align-items: center; gap: 10px; }
.search-row i { font-size: 1.3rem; color: #e26c05; flex-shrink: 0; }
.search-row input {
  flex: 1; min-width: 0; min-height: 44px;
  border: 1px solid rgba(21,32,51,0.14); border-radius: 10px;
  padding: 0 14px; font-size: 0.92rem; background: #fbfcff;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}
.search-row input:focus { outline: none; border-color: #e26c05; box-shadow: 0 0 0 3px rgba(226,108,5,0.15); background: #fff; }
.search-row .admin-btn { padding: 11px 18px; }
@media (max-width: 480px) {
  .search-row { flex-wrap: wrap; }
  .search-row input { flex-basis: 100%; }
}

/* Admin pagination (custom-styled data-table footer) */
.admin-pagination {
  display: flex; align-items: center; justify-content: center;
  gap: 6px; flex-wrap: wrap; padding: 14px;
  border-top: 1px solid rgba(21,32,51,0.06);
}
.page-btn {
  min-width: 36px; height: 36px; padding: 0 10px;
  display: inline-flex; align-items: center; justify-content: center;
  border: 1px solid rgba(21,32,51,0.12); border-radius: 10px;
  background: #fff; color: #152033; font-size: 0.85rem; font-weight: 600;
  text-decoration: none; transition: background 0.2s ease, color 0.2s ease;
}
.page-btn:hover { background: rgba(226,108,5,0.1); color: #c95e04; }
.page-btn.active { background: #e26c05; color: #fff; border-color: #e26c05; }

.admin-list {
  background: #fff;
  border: 1px solid rgba(21,32,51,0.08);
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(2,7,80,0.06);
  overflow: hidden;
  margin-bottom: 20px;
}
.admin-table { width: 100%; border-collapse: collapse; }
.admin-table th, .admin-table td {
  text-align: left; padding: 12px 14px;
  border-bottom: 1px solid rgba(21,32,51,0.06);
  font-size: 0.85rem; vertical-align: middle;
}
.admin-table th {
  background: #f8f9fc; color: #5d697b; font-weight: 700;
  text-transform: uppercase; font-size: 0.7rem; letter-spacing: 0.06em;
}
.admin-table tr:last-child td { border-bottom: none; }
.admin-table tr:hover td { background: #fafbfe; }
.admin-thumb {
  width: 52px; height: 40px; object-fit: cover; border-radius: 8px;
  background: #eef1f8; display: inline-block;
}
.admin-table .title-cell { font-weight: 600; color: #152033; max-width: 240px; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.admin-actions { display: flex; gap: 6px; flex-wrap: wrap; }
.admin-btn {
  border: none; border-radius: 8px; padding: 6px 10px;
  font-size: 0.72rem; font-weight: 700; cursor: pointer;
  text-decoration: none; display: inline-flex; align-items: center; gap: 4px;
  transition: opacity 0.2s ease, background 0.2s ease;
}
.admin-btn:hover { opacity: 0.85; }
.admin-btn.ok { background: rgba(33,140,93,0.12); color: #218c5d; }
.admin-btn.warn { background: rgba(226,108,5,0.12); color: #c95e04; }
.admin-btn.danger { background: rgba(192,57,43,0.12); color: #c0392b; }
.admin-btn.blue { background: rgba(2,7,80,0.1); color: #020750; }
.status-pill {
  display: inline-block; padding: 3px 10px; border-radius: 999px;
  font-size: 0.68rem; font-weight: 700; text-transform: uppercase;
}
.status-pill.green { background: rgba(33,140,93,0.14); color: #218c5d; }
.status-pill.orange { background: rgba(226,108,5,0.14); color: #c95e04; }
.status-pill.red { background: rgba(192,57,43,0.14); color: #c0392b; }
.status-pill.gray { background: rgba(21,32,51,0.1); color: #5d697b; }
@media (max-width: 767px) {
  .admin-table thead { display: none; }
  .admin-table, .admin-table tbody, .admin-table tr, .admin-table td { display: block; width: 100%; }
  .admin-table tr { border-bottom: 1px solid rgba(21,32,51,0.08); padding: 10px 0; }
  .admin-table td { border-bottom: none; padding: 6px 14px; display: flex; justify-content: space-between; align-items: center; gap: 12px; }
  .admin-table td::before { content: attr(data-label); font-weight: 700; color: #5d697b; font-size: 0.7rem; text-transform: uppercase; }
}

/* Responsive */
@media (max-width: 767px) {
  .mobile-bottom-nav { display: flex; }
  body { padding-bottom: 70px; }
}
@media (min-width: 768px) {
  .mobile-bottom-nav { display: none; }
  body { padding-bottom: 0; }
}

/* ===== Thinner, more formal type scaling (Inter) ===== */
/* Steps down the heaviest display weights so the whole UI reads lighter. */
.splash-brand,
.auth-title,
.section-title-block h1,
.dash-greeting h1,
.balance-amount,
.dash-section-head h2,
.dash-avatar-initial,
.dash-prop-body h3,
.dash-invest-body h3,
.dash-myinvest-rate,
.profile-photo-initial,
.crop-modal-box h4,
.menu-label,
.user-avatar,
.dash-tag,
.dash-prop-price {
  font-weight: 700 !important;
}

.signin-btn,
.google-btn,
.signup-btn,
.top-login,
.filter-submit,
.action-chip,
.auth-switch a,
.dash-section-head a,
.cancel-account-link,
.auth-field label,
.filter-group label {
  font-weight: 600 !important;
}


