html, body {
  height: 100%;
}

body {
  background-color: #f5f6fa;
}

.app-wrapper {
  min-height: 100vh;
}

.sidebar {
  width: 240px;
  min-height: 100vh;
  background-color: #1f2937;
  flex-shrink: 0;
}

.sidebar-brand {
  color: #fff;
  text-decoration: none;
}

.sidebar .nav-link {
  padding: .45rem .75rem;
  border-radius: .375rem;
}

.sidebar .nav-link:hover {
  background-color: #374151;
}

.main-content {
  max-width: calc(100% - 240px);
}

.login-page {
  background-color: #1f2937;
}

.card-stat {
  border: 0;
  border-radius: .75rem;
  box-shadow: 0 1px 3px rgba(0,0,0,.08);
}

.table thead th {
  white-space: nowrap;
}

@media (max-width: 768px) {
  .sidebar {
    width: 200px;
  }
  .main-content {
    max-width: calc(100% - 200px);
  }
}

/* ---------- Public landing site ---------- */

.public-body {
  background-color: #fff;
}

.public-navbar .nav-link {
  color: #1f2937;
}

.public-navbar .nav-link:hover {
  color: #0d6efd;
}

.hero-slide-img {
  height: 520px;
  object-fit: cover;
}

.hero-slide-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(15, 23, 42, .75) 0%, rgba(15, 23, 42, .25) 60%, rgba(15, 23, 42, 0) 100%);
}

.hero-caption {
  bottom: 20%;
  left: 8%;
  right: auto;
  max-width: 560px;
  text-align: left;
}

.hero-static,
.page-hero {
  background: linear-gradient(135deg, #0f172a 0%, #1e3a5f 60%, #0d6efd 130%);
}

.hero-static {
  min-height: 480px;
}

.feature-card {
  border: 1px solid #e5e7eb;
  border-radius: .75rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, .05);
  transition: transform .15s ease, box-shadow .15s ease;
}

.feature-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, .08);
}

.tenant-card {
  border: 1px solid #e5e7eb;
  border-radius: .75rem;
  border-top: 4px solid #0d6efd;
}

.cta-strip {
  background: linear-gradient(135deg, #0d6efd 0%, #0f172a 100%);
}

.public-footer {
  background-color: #0f172a;
}

.footer-link {
  color: rgba(255, 255, 255, .55);
  text-decoration: none;
}

.footer-link:hover {
  color: #fff;
}

.slider-thumb {
  width: 90px;
  height: 50px;
  object-fit: cover;
  border-radius: .375rem;
}

.property-card {
  border: 1px solid #e5e7eb;
  border-radius: .75rem;
  overflow: hidden;
  transition: transform .15s ease, box-shadow .15s ease;
}

.property-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 10px 28px rgba(0, 0, 0, .12);
}

.property-card-img {
  height: 220px;
  width: 100%;
  object-fit: cover;
}

.property-card-placeholder {
  height: 220px;
  background: linear-gradient(135deg, #e2e8f0 0%, #cbd5e1 100%);
  color: #64748b;
}

.gallery-img {
  height: 420px;
  object-fit: cover;
}

.property-admin-thumb {
  height: 140px;
  object-fit: cover;
}

@media (max-width: 768px) {
  .gallery-img {
    height: 260px;
  }
}

@media (max-width: 768px) {
  .hero-slide-img {
    height: 340px;
  }
  .hero-caption {
    bottom: 10%;
  }
}
