/* =========================================================
   NouLwe Theme (Real Estate / Marketplace)
   - Light UI, clean cards, soft shadows
   - Accent: Emerald/Green
   ========================================================= */

:root{
  --nl-bg: #f6f8fb;
  --nl-surface: #ffffff;
  --nl-text: #0f172a;         /* slate-900 */
  --nl-muted: #64748b;        /* slate-500 */
  --nl-border: #e5e7eb;       /* gray-200 */
  --nl-accent: #16a34a;       /* green-600 */
  --nl-accent-2: #0ea5e9;     /* sky-500 */
  --nl-danger: #dc2626;       /* red-600 */
  --nl-radius: 18px;
  --nl-shadow: 0 14px 40px rgba(2, 6, 23, 0.10);
  --nl-shadow-sm: 0 10px 22px rgba(2, 6, 23, 0.08);
}

html, body{
  background: var(--nl-bg);
  color: var(--nl-text);
}

/* Typography */
h1,h2,h3,h4,h5,h6{ letter-spacing: -0.02em; }
.text-secondary{ color: var(--nl-muted) !important; }

/* Global surfaces */
.nl-surface{
  background: var(--nl-surface) !important;
  border: 1px solid var(--nl-border) !important;
  border-radius: var(--nl-radius) !important;
  box-shadow: var(--nl-shadow-sm);
}

/* Buttons */
.btn{
  border-radius: 14px;
  font-weight: 600;
}

.btn-nl{
  background: var(--nl-accent);
  border-color: var(--nl-accent);
  color: #fff;
}
.btn-nl:hover{
  background: #12843d;
  border-color: #12843d;
  color: #fff;
}

.btn-outline-nl{
  border: 1px solid rgba(22,163,74,0.30);
  color: var(--nl-accent);
  background: rgba(22,163,74,0.06);
}
.btn-outline-nl:hover{
  border-color: var(--nl-accent);
  background: rgba(22,163,74,0.10);
  color: var(--nl-accent);
}

/* Navbar */
.nl-navbar{
  background: rgba(255,255,255,0.86);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--nl-border);
}
.nl-navbar .navbar-brand{
  font-weight: 800;
  letter-spacing: -0.03em;
}
.nl-brand-mark{
  width: 34px;
  height: 34px;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(22,163,74,1), rgba(14,165,233,1));
  box-shadow: 0 10px 22px rgba(2, 6, 23, 0.12);
  display: inline-block;
  margin-right: 10px;
}
.nl-badge{
  border-radius: 999px;
  font-weight: 700;
  padding: .35rem .6rem;
}
/*NL LOgo*/
.nl-logo {
  height: 48px;
  width: auto;
  display: block;
}
/* Hero */
.nl-hero{
  background:
    radial-gradient(900px 450px at 20% 15%, rgba(22,163,74,0.12), transparent 55%),
    radial-gradient(900px 450px at 80% 10%, rgba(14,165,233,0.12), transparent 55%),
    linear-gradient(180deg, #ffffff, #f6f8fb);
  border-bottom: 1px solid var(--nl-border);
}
.nl-hero-card{
  background: rgba(255,255,255,0.92);
  border: 1px solid var(--nl-border);
  border-radius: var(--nl-radius);
  box-shadow: var(--nl-shadow);
}

/* Cards & images */
.card.nl-card{
  border: 1px solid var(--nl-border);
  border-radius: var(--nl-radius);
  overflow: hidden;
  box-shadow: var(--nl-shadow-sm);
}
.card.nl-card .card-body{
  padding: 1rem 1rem;
}

.nl-img-cover{
  width: 100%;
  height: 220px;
  object-fit: cover;
}

.nl-chip{
  display: inline-flex;
  align-items: center;
  gap: .35rem;
  padding: .35rem .6rem;
  border-radius: 999px;
  background: #f1f5f9;
  border: 1px solid var(--nl-border);
  color: #0f172a;
  font-weight: 700;
  font-size: .82rem;
}

/* Forms */
.form-control, .form-select, .input-group-text{
  border-radius: 14px;
  border-color: var(--nl-border);
}
.form-control:focus, .form-select:focus{
  border-color: rgba(22,163,74,0.45);
  box-shadow: 0 0 0 .2rem rgba(22,163,74,0.12);
}

.input-group-text{
  background: #fff;
  color: var(--nl-muted);
}

/* Table */
.table{
  border-color: var(--nl-border);
}
.table thead th{
  color: var(--nl-muted);
  font-weight: 800;
}

/* Footer */
.nl-footer{
  border-top: 1px solid var(--nl-border);
  background: #fff;
}

/* Admin accent */
.nl-admin-pill{
  background: rgba(220,38,38,0.10);
  border: 1px solid rgba(220,38,38,0.25);
  color: var(--nl-danger);
  border-radius: 999px;
  font-weight: 800;
  padding: .35rem .6rem;
}

