body {
/* ===== RESET ===== */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

/* ===== BASE ===== */
body {
  font-family: Inter, system-ui, Arial, sans-serif;
  background: linear-gradient(180deg,#ffffff,#f1f5f9);
  color: #0f172a;
}

/* ===== PAGE ===== */
.page {
  padding: 100px 32px;
}

/* ===== GRID (3 COLUMNS) ===== */
.cards-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}

@media (max-width: 1100px) {
  .cards-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 700px) {
  .cards-grid { grid-template-columns: 1fr; }
}

/* ===== CARD BASE ===== */
.card {
  background: rgba(255,255,255,0.78);
  backdrop-filter: blur(18px);
  border-radius: 22px;
  padding: 22px;
  position: relative;

  box-shadow:
    0 8px 20px rgba(0,0,0,0.08),
    0 1px 0 rgba(255,255,255,0.6) inset;

  transition:
    transform 0.45s cubic-bezier(.22,1,.36,1),
    box-shadow 0.45s cubic-bezier(.22,1,.36,1),
    filter 0.45s ease;

  will-change: transform;
}

/* ===== CARD HOVER (COME FRONT) ===== */
.card:hover {
  transform: translateY(-14px) scale(1.04);
  z-index: 5;

  box-shadow:
    0 28px 60px rgba(0,0,0,0.18),
    0 8px 24px rgba(0,0,0,0.12);

  filter: brightness(1.03);
}

.card strong {
  font-size: 1.05rem;
}

.card hr {
  border: none;
  border-top: 1px solid rgba(0,0,0,0.08);
  margin: 14px 0;
}

/* ===== BUTTON ===== */
.btn {
  display: inline-block;
  margin-top: 10px;
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 600;
  text-decoration: none;
  transition: transform .25s ease, box-shadow .25s ease;
}

/* BLUE UNLOCK (RESTORED) */
.btn.unlock {
  background: linear-gradient(135deg,#38bdf8,#0ea5e9);
  color: #022c22;
  box-shadow: 0 10px 20px rgba(56,189,248,0.35);
}

.btn.unlock:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 30px rgba(34,197,94,.45);
}

/* ===== HIDDEN TEXT ===== */
.hidden {
  color: #64748b;
  font-size: .95rem;
}
/* ===== MAIN LAYOUT ===== */
.layout {
  display: grid;
  grid-template-columns: 280px 1fr;
  gap: 28px;
  align-items: start;
}

/* =========================
   TOP FILTER BAR (HORIZONTAL)
========================= */
.filters-bar {
  max-width: 1200px;
  margin: 0 auto 40px;
  padding: 18px 24px;

  background: rgba(255,255,255,0.75);
  backdrop-filter: blur(18px);

  border-radius: 22px;
  box-shadow: 0 18px 36px rgba(0,0,0,0.08);
}

/* form layout */
.filters-form {
display: flex;
  gap: 16px;
  align-items: center;
  flex-wrap: wrap;
}

/* dropdowns */
.filters-form select {
  min-width: 260px;
  max-width: 100%;
  padding: 12px 16px;

  border-radius: 14px;
  border: 1px solid rgba(0,0,0,0.12);

  background: white;
  font-size: 0.9rem;
}

/* apply button */
.filters-form .btn.apply {
  padding: 12px 28px;
  border-radius: 999px;

  background: linear-gradient(135deg,#22c55e,#16a34a);
  color: white;

  font-weight: 700;
  border: none;

  box-shadow: 0 12px 24px rgba(34,197,94,0.35);
}

/* mobile */
@media (max-width: 768px) {
  .filters-form {
    flex-direction: column;
    align-items: stretch;
  }

  .filters-form select,
  .filters-form .btn.apply {
    width: 100%;
  }
}

/* Layout inside filter bar */
.filters-bar form {
  display: grid;
  grid-template-columns: 1fr 1fr auto;
  gap: 18px;
  align-items: end;
}

/* Label style */
.filters-bar label {
  font-size: 0.8rem;
  font-weight: 600;
  color: #475569;
  margin-bottom: 6px;
  display: block;
}

/* Select style */
.filters-bar select {
  min-width: 180px;
  max-width: 240px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,0.14);
  background: white;
}

/* Apply button – BLUE (restored) */
.filters-bar .btn.apply {
  height: 44px;
  padding: 0 26px;
  border-radius: 999px;
  background: linear-gradient(135deg,#38bdf8,#0ea5e9);
  color: #022c22;
  font-weight: 600;
  box-shadow: 0 10px 20px rgba(56,189,248,0.35);
}

/* Hover */
.filters-bar .btn.apply:hover {
  transform: translateY(-2px);
  box-shadow: 0 16px 28px rgba(14,165,233,0.45);
}

/* Mobile */
@media (max-width: 800px) {
  .filters-bar form {
    grid-template-columns: 1fr;
  }

  .filters-bar .btn.apply {
    width: 150%;
  }
}

.filters h3 {
  margin-bottom: 14px;
}

.filters label {
  display: block;
  margin-top: 12px;
  font-weight: 600;
  font-size: 0.9rem;
}

.filters select {
  width: 100%;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(0,0,0,0.12);
  margin-top: 6px;
}

.filters .btn.apply {
  width: 100%;
  margin-top: 16px;
  background: linear-gradient(135deg,#38bdf8,#0ea5e9);
  color: #022c22;
}

/* ===== MOBILE ===== */
@media (max-width: 900px) {
  .layout {
    grid-template-columns: 1fr;
  }

  .filters {
    position: relative;
    top: 0;
  }
}
/* ===== HOME BUTTON (ALWAYS VISIBLE) ===== */
.home-btn {
  position: fixed;        /* THIS makes it always visible */
  top: 50px;              /* adjust if header exists */
  left: 20px;

  z-index: 9999;          /* above everything */
  padding: 10px 20px;
  font-weight: 600;
  text-decoration: none;
}
/* ===== SEND REQUEST BUTTON (ALWAYS VISIBLE) ===== */
.send-btn {
  position: fixed;
  top: 50px;        /* same height level as Home */
  right: 20px;      /* opposite side */
  z-index: 9999;

  padding: 10px 22px;
  font-weight: 600;
  text-decoration: none;
}
/* ===== BROWSE BUTTON (POST PAGE) ===== */
.browse-btn {
  position: fixed;
  top: 50px;
  right: 20px;
  z-index: 9999;

  padding: 10px 22px;
  font-weight: 600;
  text-decoration: none;
}
/* =========================
   PREMIUM FORM (POST PAGE)
========================= */
.form-wrapper {
  max-width: 760px;
  margin: 120px auto 80px;
  padding: 0 20px;
}

.premium-form {
  background: rgba(255,255,255,0.75);
  backdrop-filter: blur(20px);
  border-radius: 28px;
  padding: 42px 40px;

  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.6),
    0 24px 48px rgba(0,0,0,.08);

  animation: fadeUp .6s ease;
}

/* Headings inside form */
.premium-form h2,
.premium-form h3 {
  margin-top: 0;
  font-size: 1.6rem;
}

/* Labels */
.premium-form label {
  display: block;
  margin: 22px 0 8px;
  font-weight: 600;
  color: #0f172a;
}

/* Inputs & selects */
.premium-form input,
.premium-form select,
.premium-form textarea {
  width: 100%;
  padding: 14px 16px;
  border-radius: 14px;
  border: 1px solid rgba(0,0,0,.12);
  background: rgba(255,255,255,.9);
  font-size: 15px;
  transition: border .2s ease, box-shadow .2s ease;
}

/* Focus state */
.premium-form input:focus,
.premium-form select:focus,
.premium-form textarea:focus {
  outline: none;
  border-color: #38bdf8;
  box-shadow: 0 0 0 4px rgba(56,189,248,.2);
}

/* Textarea */
.premium-form textarea {
  min-height: 120px;
  resize: vertical;
}

/* Form sections spacing */
.premium-form .form-group {
  margin-bottom: 18px;
}

/* Submit button */
.premium-form .btn.submit {
  margin-top: 28px;
  width: 100%;
  height: 52px;
  font-size: 16px;
}

/* Animation */
@keyframes fadeUp {
  from {
    opacity: 0;
    transform: translateY(18px);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

/* Mobile */
@media (max-width: 600px) {
  .premium-form {
    padding: 32px 24px;
  }
}
/* =========================
   COMPACT FIXED HEADER
========================= */
header.nav {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 60px;              /* controls header height */
  display: flex;
  align-items: center;
  justify-content: space-between;

  padding: 0 24px;
  z-index: 1000;

  background: rgba(255,255,255,0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);

  border-bottom: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 6px 18px rgba(0,0,0,0.05);
}

/* Logo size */
header.nav .logo img {
  height: 24px;
  width: auto;
}

/* Navigation links */
.nav-links {
  display: flex;
  align-items: center;
  gap: 18px;
}

.nav-links a {
  font-size: 14px;
  text-decoration: none;
  color: #0f172a;
  font-weight: 500;
}

/* Send Request button in header */
.nav-links .btn-link {
  padding: 6px 14px;
  border-radius: 999px;
  background: linear-gradient(135deg,#38bdf8,#0ea5e9);
  color: #022c22;
  font-weight: 600;
  font-size: 13px;
}
/* =========================
   HOME TOP CARD (LOGO + MENU)
========================= */
.home-top-card {
  position: fixed;
  top: 20px;
  left: 20px;

  display: flex;
  align-items: center;
  gap: 14px;

  padding: 12px 16px;
  border-radius: 18px;

  background: rgba(255,255,255,0.75);
  backdrop-filter: blur(18px);
  -webkit-backdrop-filter: blur(18px);

  box-shadow: 0 12px 28px rgba(0,0,0,0.1);
  z-index: 9999;
}

/* Logo */
.home-logo {
  height: 34px;
}

/* Menu icon */
.menu-toggle {
  background: none;
  border: none;
  font-size: 22px;
  cursor: pointer;
  padding: 4px 8px;
}

/* Dropdown menu */
.menu-dropdown {
  position: absolute;
  top: 60px;
  right: 0;

  display: none;
  flex-direction: column;
  gap: 10px;

  padding: 14px;
  border-radius: 16px;

  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(16px);
  box-shadow: 0 16px 32px rgba(0,0,0,0.12);
}

/* Show menu */
.menu-dropdown.show {
  display: flex;
}
/* ===== BRAND BUTTON (FIXED LEFT) ===== */
.brand-btn {
  position: fixed;
  top: 70px;        /* adjust if needed */
  left: 20px;

  z-index: 9999;
  font-weight: 800;
  letter-spacing: 0.6px;
  text-transform: uppercase;

  padding: 10px 20px;
  text-decoration: none;
}
/* =========================
   GLOBAL PREMIUM BUTTONS
========================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 14px 28px;
  border-radius: 999px;

  background: linear-gradient(135deg,#38bdf8,#0ea5e9);
  color: #022c22;

  font-weight: 700;
  text-decoration: none;

  box-shadow: 0 14px 28px rgba(56,189,248,0.35);
  transition: transform .25s ease, box-shadow .25s ease;
}

.btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 20px 36px rgba(14,165,233,0.45);
}

/* Smaller button (optional) */
.btn.small {
  padding: 10px 20px;
  font-size: 14px;
}
/* =========================
   INFO / WHY HOUSELINKS CARD
========================= */
.info-card {
  max-width: 1100px;
  margin: 60px auto;
  padding: 36px 40px;
}

.info-card h2 {
  margin-top: 0;
  font-size: 1.8rem;
}

.info-card p {
  max-width: 720px;
  margin-bottom: 32px;
}

/* Segments */
.info-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
}

.info-item h4 {
  margin: 0 0 8px;
  font-size: 1rem;
}

.info-item p {
  margin: 0;
  font-size: 0.95rem;
  line-height: 1.6;
}

/* Mobile */
@media (max-width: 800px) {
  .info-grid {
    grid-template-columns: 1fr;
  }
}
/* =========================
   CONSENT BOX
========================= */
.consent-box {
  margin: 20px 0;
  padding: 14px 16px;
  border-radius: 14px;

  background: rgba(255,255,255,0.65);
  backdrop-filter: blur(12px);
  border: 1px solid rgba(0,0,0,0.08);
}

.consent-label {
  display: flex;
  gap: 10px;
  font-size: 0.9rem;
  color: #334155;
  cursor: pointer;
}

.consent-label input {
  margin-top: 4px;
  accent-color: #22c55e; /* green tick */
}
/* =========================
   AUTO APPROVE BADGE
========================= */
.auto-badge {
  padding: 8px 14px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 13px;
  display: flex;
  align-items: center;
  height: 38px;
}

.auto-badge.on {
  background: rgba(34,197,94,0.15);
  color: #15803d;
  border: 1px solid rgba(34,197,94,0.4);
}

.auto-badge.off {
  background: rgba(239,68,68,0.15);
  color: #991b1b;
  border: 1px solid rgba(239,68,68,0.4);
}
/* =========================
   ADMIN / GLOBAL BUTTON CARD
========================= */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  padding: 12px 26px;
  border-radius: 999px;

  font-weight: 700;
  text-decoration: none;
  border: none;
  cursor: pointer;

  background: linear-gradient(135deg,#38bdf8,#0ea5e9);
  color: #022c22;

  box-shadow: 0 14px 28px rgba(56,189,248,0.35);
  transition: transform .25s ease, box-shadow .25s ease;
}

.btn:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 24px 44px rgba(14,165,233,0.45);
}

/* Logout / secondary */
.btn.secondary {
  background: linear-gradient(135deg,#e5e7eb,#cbd5f5);
  color: #1e293b;
}

/* Center admin actions nicely */
.admin-actions {
  display: flex;
  gap: 14px;
  margin-top: 20px;
}
/* ===== FLOATING AUTO APPROVE BUTTON ===== */
.floating-auto {
  position: fixed;
  bottom: 22px;
  right: 22px;
  z-index: 9999;
}

.floating-auto .btn.unlock {
  background: linear-gradient(135deg,#22c55e,#16a34a);
  color: #ffffff;
  font-weight: 700;
  padding: 14px 28px;
  border-radius: 999px;
  box-shadow: 0 14px 28px rgba(34,197,94,0.35);
  transition: transform .25s ease, box-shadow .25s ease;
}

.floating-auto .btn.unlock:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 26px 48px rgba(34,197,94,0.5);
}
/* ===== CONSENT CHECKBOX ===== */
.consent-box {
  margin: 18px 0;
  padding: 14px 18px;
  background: rgba(255,255,255,0.6);
  border-radius: 14px;
  border: 1px solid rgba(0,0,0,0.08);
  font-size: 0.9rem;
  color: #334155;
}

.consent-box input {
  margin-right: 10px;
  transform: scale(1.1);
  cursor: pointer;
}
/* =========================
   UNLOCK DISCLAIMER STYLE
========================= */
.disclaimer-box {
  margin: 16px 0;
  padding: 14px 16px;
  background: rgba(255,255,255,0.65);
  border-radius: 14px;
  border: 1px solid rgba(0,0,0,0.08);
  font-size: 0.9rem;
  color: #334155;
}

.disclaimer-box ul {
  margin: 10px 0;
  padding-left: 18px;
}

.disclaimer-box li {
  margin-bottom: 6px;
}
/* =========================
   RED CARD SUBMIT BUTTON
========================= */
.btn.submit-red {
  display: inline-flex;
  align-items: center;
  justify-content: center;

  width: 100%;
  padding: 16px 28px;

  border-radius: 22px;
  border: none;

  background: linear-gradient(135deg,#ef4444,#dc2626);
  color: #ffffff;

  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.3px;

  box-shadow: 
    0 14px 30px rgba(239,68,68,0.35),
    inset 0 1px 0 rgba(255,255,255,0.35);

  cursor: pointer;
  transition: transform .25s ease, box-shadow .25s ease;
}

.btn.submit-red:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 
    0 26px 48px rgba(220,38,38,0.5),
    inset 0 1px 0 rgba(255,255,255,0.45);
}

.btn.submit-red:active {
  transform: translateY(-1px);
  box-shadow: 
    0 12px 20px rgba(220,38,38,0.4);
}
/* =========================
   FLOATING CSV EXPORT BUTTON
========================= */
.floating-csv-btn {
  position: fixed;
  top: 90px;              /* below header */
  right: 22px;

  z-index: 9999;

  padding: 14px 26px;
  border-radius: 22px;

  font-weight: 700;
  text-decoration: none;

  background: linear-gradient(135deg,#22c55e,#16a34a);
  color: #ffffff;

  box-shadow: 0 14px 30px rgba(34,197,94,0.35);
  transition: transform .25s ease, box-shadow .25s ease;
}

.floating-csv-btn:hover {
  transform: translateY(-4px) scale(1.05);
  box-shadow: 0 28px 48px rgba(22,163,74,0.55);
}
/* =========================
   ADMIN TABLE – PROFESSIONAL
========================= */
.table-card {
  margin-top: 24px;
  padding: 18px;
  background: rgba(255,255,255,0.75);
  backdrop-filter: blur(18px);
  border-radius: 22px;
  border: 1px solid rgba(0,0,0,0.06);
  box-shadow: 0 18px 40px rgba(0,0,0,0.08);
  overflow-x: auto;
}

/* Base table */
.admin-table {
  width: 100%;
  border-collapse: separate;
  border-spacing: 0;
  font-size: 0.9rem;
  color: #0f172a;
}

/* Header */
.admin-table thead th {
  position: sticky;
  top: 0;
  z-index: 2;

  padding: 14px 16px;
  text-align: left;

  background: rgba(248,250,252,0.95);
  backdrop-filter: blur(10px);

  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.04em;

  border-bottom: 1px solid rgba(0,0,0,0.08);
}

/* Body cells */
.admin-table tbody td {
  padding: 14px 16px;
  border-bottom: 1px solid rgba(0,0,0,0.05);
  vertical-align: top;
}

/* Row hover */
.admin-table tbody tr:hover {
  background: rgba(56,189,248,0.08);
}

/* Zebra striping */
.admin-table tbody tr:nth-child(even) {
  background: rgba(0,0,0,0.02);
}

/* Status badges */
.status {
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.75rem;
  font-weight: 700;
  display: inline-block;
}

.status.approved {
  background: rgba(34,197,94,0.15);
  color: #166534;
}

.status.pending {
  background: rgba(245,158,11,0.18);
  color: #92400e;
}

/* Action buttons inside table */
.admin-table .btn {
  padding: 8px 14px;
  font-size: 0.75rem;
  border-radius: 999px;
}
/* =========================
   NEW REQUEST BADGE
========================= */
.badge-new {
  position: absolute;
  top: 16px;
  right: 16px;

  padding: 6px 12px;
  border-radius: 999px;

  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.05em;

  background: linear-gradient(135deg,#ef4444,#dc2626);
  color: white;

  box-shadow: 0 10px 20px rgba(239,68,68,0.45);
}
/* ==============================
   FOOTER AS REAL CARD (MATCHES ALL OTHERS)
================================ */

/* Footer container spacing */
.footer-card {
  max-width: 1100px;
  margin: 80px auto 40px;
  padding: 0 20px;
}

/* Footer card uses SAME card logic */
.footer-card .card {
  padding: 40px;
  text-align: center;
}

/* Title */
.footer-title {
  margin: 0 0 14px;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.6px;
}

/* Description text */
.footer-text {
  max-width: 680px;
  margin: 0 auto 24px;
  color: var(--muted);
  line-height: 1.6;
}

/* Links row */
.footer-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 14px;
  margin-bottom: 26px;
}

/* Footer links styled like buttons */
.footer-links a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.9rem;
  text-decoration: none;
  color: var(--text);
  background: rgba(255,255,255,0.9);
  border: 1px solid rgba(0,0,0,0.08);
  transition: transform .25s ease, box-shadow .25s ease;
}

.footer-links a:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 24px rgba(0,0,0,0.12);
}

/* Copyright */
.footer-copy {
  font-size: 0.85rem;
  color: var(--muted);
}

/* ==============================
   OPTIONAL: Slight lift on hover
================================ */
.footer-card .card:hover {
  transform: translateY(-4px);
}
.phone-link {
  text-decoration: none;
  color: #16a34a; /* same green as unlock */
  font-weight: 700;
}

.phone-link:hover {
  text-decoration: underline;
}
/* ADMIN – TOP RIGHT APPROVE ALL BUTTON */
.admin-top-actions {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 9999;
}
/* ===== ADMIN TABLE (PROFESSIONAL) ===== */
.admin-table {
  width: 100%;
  border-collapse: collapse;
  background: rgba(255,255,255,0.85);
  backdrop-filter: blur(12px);
  border-radius: 16px;
  overflow: hidden;
  box-shadow: 0 10px 28px rgba(0,0,0,0.08);
}

.admin-table th {
  background: rgba(34,197,94,0.15);
  color: #14532d;
  text-align: left;
  padding: 14px;
  font-weight: 700;
  font-size: 14px;
}

.admin-table td {
  padding: 14px;
  border-top: 1px solid rgba(0,0,0,0.06);
  font-size: 14px;
}

.admin-table tr:hover {
  background: rgba(34,197,94,0.08);
}
.id-search-bar {
  position: fixed;
  top: 10px;
  right: 16px;
  z-index: 9999;
}

.id-search-bar form {
  display: flex;
  gap: 8px;
}

.id-search-bar input {
  width: 160px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(0,0,0,.15);
}
.admin-actions {
  position: fixed;
  top: 16px;
  right: 16px;
  z-index: 9999;
}
