/* EasyScout - Static Site Styles */

:root {
  --primary: #006b3f;
  --primary-dark: #005532;
  --primary-light: #00824d;
  --accent: #f5a623;
  --accent-hover: #e09515;
  --nav-active-bg: #e8f5ef;
  --text: #1a1a1a;
  --text-muted: #6b7280;
  --border: #e5e7eb;
  --bg-muted: #f9fafb;
  --white: #ffffff;
  --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
  --shadow-md: 0 12px 30px rgba(0, 0, 0, 0.08); /* Enhanced for interactive depth */
  --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.15);
  --radius: 12px;
  --radius-lg: 16px;
  --font-heading: "Plus Jakarta Sans", sans-serif;
  --font-body: "Inter", sans-serif;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--font-body);
  color: var(--text);
  background: var(--white);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  padding-top: 80px; /* Adjust this value to match your header's actual height */
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.25;
}

a {
  color: var(--primary);
  text-decoration: none;
  transition: color 0.2s;
}

a:hover {
  color: var(--primary-dark);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

.text-accent {
  color: var(--accent) !important;
}

.text-muted-custom {
  color: var(--text-muted);
}

.bg-muted {
  background-color: var(--bg-muted);
}

.section-padding {
  padding: 4rem 0;
}

.section-label {
  display: inline-block;
  font-size: 0.75rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: var(--primary);
  background: var(--nav-active-bg);
  padding: 0.35rem 0.85rem;
  border-radius: 999px;
  margin-bottom: 0.75rem;
}

.section-label.light {
  background: rgba(255, 255, 255, 0.2);
  color: var(--white);
}

.section-subtitle {
  color: var(--text-muted);
  max-width: 560px;
}

/* Bootstrap overrides */
.btn-primary {
  --bs-btn-bg: var(--primary);
  --bs-btn-border-color: var(--primary);
  --bs-btn-hover-bg: var(--primary-dark);
  --bs-btn-hover-border-color: var(--primary-dark);
  --bs-btn-active-bg: var(--primary-dark);
  --bs-btn-active-border-color: var(--primary-dark);
  font-weight: 600;
  border-radius: 8px;
  padding: 0.6rem 1.25rem;
}

.btn-outline-primary {
  --bs-btn-color: var(--primary);
  --bs-btn-border-color: var(--primary);
  --bs-btn-hover-bg: var(--primary);
  --bs-btn-hover-border-color: var(--primary);
  font-weight: 600;
  border-radius: 8px;
}

.btn-link {
  color: var(--primary);
  font-weight: 500;
  text-decoration: none;
}

.btn-link:hover {
  color: var(--primary-dark);
}

.form-control,
.form-select {
  border-radius: 8px;
  border-color: var(--border);
  padding: 0.65rem 0.9rem;
  font-size: 0.9375rem;
}

.form-control:focus,
.form-select:focus {
  border-color: var(--primary);
  box-shadow: 0 0 0 3px rgba(0, 107, 63, 0.15);
}

.badge.bg-primary {
  background-color: var(--primary) !important;
}

/* Header / Navbar */
.site-header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  z-index: 1030;
}

.site-header .navbar {
  padding: 0.75rem 0;
}

.navbar-brand .brand-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  background: var(--primary);
  color: var(--white);
  border-radius: 8px;
  font-size: 1.1rem;
}

.brand-text {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--text);
}

.brand-accent {
  color: var(--accent);
}

.navbar-nav .nav-link {
  font-weight: 500;
  color: var(--text);
  padding: 0.5rem 1rem !important;
  border-radius: 999px;
  margin: 0 0.15rem;
  transition: background 0.2s, color 0.2s;
}

.navbar-nav .nav-link:hover {
  color: var(--primary);
}

.navbar-nav .nav-link.active {
  background: var(--nav-active-bg);
  color: var(--primary);
}

.login-btn {
  color: var(--text) !important;
  font-weight: 500;
  text-decoration: none;
  padding: 0.5rem 0.75rem;
}

.login-btn:hover {
  color: var(--primary) !important;
}

.register-btn {
  white-space: nowrap;
}

.navbar-toggler {
  border: none;
  padding: 0.4rem;
}

.navbar-toggler:focus {
  box-shadow: none;
}

@media (max-width: 991.98px) {
  .nav-actions {
    flex-direction: column;
    width: 100%;
    padding: 1rem 0 0.5rem;
  }

  .nav-actions .btn {
    width: 100%;
    justify-content: center;
  }
}

/* Hero */
.hero-section {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  padding: 6rem 0 4rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background-size: cover;
  background-position: center;
}

.hero-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.75) 0%, rgba(0, 0, 0, 0.55) 100%);
}

.hero-content {
  position: relative;
  z-index: 1;
  color: var(--white);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  background: rgba(255, 255, 255, 0.12);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 0.4rem 1rem;
  border-radius: 999px;
  font-size: 0.8125rem;
  font-weight: 500;
  margin-bottom: 1.5rem;
}

.hero-badge i {
  color: #4ade80;
}

.hero-section h1 {
  font-size: clamp(2rem, 5vw, 3.25rem);
  font-weight: 800;
  margin-bottom: 1.25rem;
  max-width: 700px;
}

.hero-subtitle {
  font-size: 1.0625rem;
  opacity: 0.9;
  max-width: 580px;
  margin-bottom: 2rem;
}

.search-box {
  background: var(--white);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  box-shadow: var(--shadow-lg);
  max-width: 900px;
}

.search-box .form-select {
  background-color: #f3f4f6;
  border: 1px solid var(--border);
}

.search-btn {
  padding: 0.75rem;
  font-size: 1rem;
}

.popular-searches {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid var(--border);
}

.popular-searches > span {
  color: var(--text-muted);
  font-size: 0.875rem;
}

.popular-tag {
  background: none;
  border: none;
  color: var(--primary);
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  transition: background 0.2s;
}

.popular-tag:hover {
  background: var(--nav-active-bg);
}

/* Stats bar */
.stats-bar {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 2rem 0;
}

.stat-item strong {
  display: block;
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 3vw, 2rem);
  font-weight: 800;
  color: var(--primary);
}

.stat-item span {
  font-size: 0.875rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Property Cards - Updated Lively Hover Transitions (Figma Specification)
   ========================================================================== */
.property-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 100%;
  /* Easing curve creates a premium, energetic transition */
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
              box-shadow 0.4s cubic-bezier(0.16, 1, 0.3, 1), 
              border-color 0.4s ease;[cite: 2]
}

/* Elevation, clean scaling effect, and crisp drop shadow on hover */
.property-card:hover {
  transform: translateY(-6px);[cite: 2]
  box-shadow: var(--shadow-md);[cite: 2]
  border-color: rgba(0, 107, 63, 0.15);
}

.property-card-image {
  position: relative;
  aspect-ratio: 4/3;
  overflow: hidden;
  background-color: #f3f4f6;
}

/* Target img explicitly for high performance transform acceleration */
.property-card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  will-change: transform;
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);[cite: 2]
}

/* Zoom effect constraint triggers contextually on parent hover link */
.property-card:hover .property-card-image img {
  transform: scale(1.06);[cite: 2]
}

.property-card-image .badge {
  position: absolute;
  font-size: 0.6875rem;
  font-weight: 600;
  padding: 0.3rem 0.6rem;
  border-radius: 6px;
  z-index: 2;
}

.badge-available {
  top: 12px;
  left: 12px;
  background: #dcfce7;
  color: #166534;
}

.badge-featured {
  top: 12px;
  left: 90px;
  background: var(--accent);
  color: var(--white);
}

.badge-verified {
  bottom: 12px;
  left: 12px;
  background: rgba(0, 107, 63, 0.9);
  color: var(--white);
  z-index: 2;
}

.btn-save {
  position: absolute;
  top: 12px;
  right: 12px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.9);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  z-index: 2;
  transition: transform 0.2s ease, color 0.2s, background 0.2s;[cite: 2]
}

.btn-save:hover {
  color: #ef4444;
  background: var(--white);
  transform: scale(1.08);
}

.property-card-body {
  padding: 1.25rem;
}

.property-price-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
}

.property-price {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.125rem;
  color: var(--primary);
}

.property-rating {
  font-size: 0.875rem;
  color: var(--text-muted);
}

.property-rating i {
  color: var(--accent);
}

.property-title {
  font-size: 1rem;
  margin-bottom: 0.35rem;
}

.property-title a {
  color: var(--text);
  transition: color 0.2s ease;
}

.property-title a:hover {
  color: var(--primary);
}

.property-location {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.property-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid var(--border);
}

.property-type {
  margin-left: auto;
  background: var(--bg-muted);
  padding: 0.15rem 0.5rem;
  border-radius: 4px;
}

.property-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.verified-tag {
  font-size: 0.75rem;
  color: var(--primary);
}

/* Feature cards */
.feature-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  height: 100%;
  transition: box-shadow 0.3s;[cite: 2]
}

.feature-card:hover {
  box-shadow: var(--shadow-sm);
}

.feature-icon {
  width: 48px;
  height: 48px;
  background: var(--nav-active-bg);
  color: var(--primary);
  border-radius: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.feature-card h3 {
  font-size: 1.0625rem;
  margin-bottom: 0.5rem;
}

.feature-card p {
  font-size: 0.9375rem;
  color: var(--text-muted);
  margin: 0;
}

/* Steps */
.step-card {
  text-align: center;
  padding: 2rem 1.5rem;
}

.step-number {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 800;
  color: var(--nav-active-bg);
  line-height: 1;
  margin-bottom: 1rem;
}

.step-card h3 {
  font-size: 1.125rem;
  margin-bottom: 0.75rem;
}

.step-card p {
  color: var(--text-muted);
  font-size: 0.9375rem;
}

/* Pricing */
.pricing-toggle {
  display: inline-flex;
  background: var(--bg-muted);
  border-radius: 999px;
  padding: 4px;
}

.pricing-period {
  border: none;
  background: transparent;
  color: var(--text-muted);
  font-weight: 500;
  padding: 0.4rem 1.25rem;
  border-radius: 999px;
}

.pricing-period.active {
  background: var(--white);
  color: var(--primary);
  box-shadow: var(--shadow-sm);
}

.pricing-card {
  background: var(--white);
  border: 2px solid var(--primary);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  text-align: center;
}

.pricing-card h3 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.pricing-amount {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 2.5rem;
  color: var(--primary);
  margin-bottom: 1.5rem;
}

.pricing-amount .currency {
  font-size: 1.25rem;
  vertical-align: super;
}

.pricing-amount .period {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-muted);
}

.pricing-features {
  list-style: none;
  padding: 0;
  margin: 0 0 1.5rem;
  text-align: left;
}

.pricing-features li {
  padding: 0.5rem 0;
  font-size: 0.9375rem;
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
}

.pricing-features i {
  color: var(--primary);
  margin-top: 0.15rem;
  flex-shrink: 0;
}

.pricing-note {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-bottom: 1.25rem;
}

/* Testimonials */
.testimonial-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  height: 100%;
}

.testimonial-card .stars {
  color: #fbbf24;
  margin-bottom: 1rem;
}

.testimonial-card .quote {
  font-style: italic;
  color: var(--text-muted);
  font-size: 0.9375rem;
  margin-bottom: 1.25rem;
}

.testimonial-card .author img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
}

.testimonial-card .author strong {
  display: block;
  font-size: 0.9375rem;
}

.testimonial-card .author span {
  font-size: 0.8125rem;
  color: var(--text-muted);
}

/* Blog cards */
.blog-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  overflow: hidden;
  height: 100%;
  transition: box-shadow 0.3s;[cite: 2]
}

.blog-card:hover {
  box-shadow: var(--shadow-md);
}

.blog-card img {
  aspect-ratio: 16/10;
  object-fit: cover;
  width: 100%;
}

.blog-card-body {
  padding: 1.25rem;
}

.blog-category {
  font-size: 0.75rem;
  font-weight: 600;
  color: var(--primary);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.blog-card h2,
.blog-card h3 {
  font-size: 1.0625rem;
  margin: 0.5rem 0;
}

.blog-card p {
  font-size: 0.875rem;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}

.blog-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin-bottom: 0.5rem;
}

/* CTA */
.cta-section {
  background: var(--primary);
  color: var(--white);
  padding: 5rem 0;
}

.cta-section h2 {
  font-size: clamp(1.75rem, 4vw, 2.5rem);
  margin-bottom: 1rem;
}

.cta-section p {
  opacity: 0.9;
  max-width: 560px;
  margin: 0 auto 2rem;
}

/* Page hero (inner pages) */
.page-hero {
  background: var(--primary);
  color: var(--white);
  padding: 4rem 0;
}

.page-hero-sm {
  padding: 3rem 0;
}

.page-hero h1 {
  font-size: clamp(1.75rem, 4vw, 2.75rem);
  margin-bottom: 0.75rem;
}

.page-hero p {
  opacity: 0.85;
  max-width: 600px;
}

/* Footer */
.site-footer {
  background: #111827;
  color: #d1d5db;
  padding: 4rem 0 0;
}

.footer-brand .brand-icon {
  background: var(--primary);
}

.footer-brand .brand-text {
  color: var(--white);
  font-size: 1.375rem;
}

.footer-tagline {
  font-size: 0.875rem;
  line-height: 1.7;
  max-width: 280px;
}

.social-links a {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.08);
  color: #d1d5db;
  transition: background 0.2s, color 0.2s;[cite: 2]
}

.social-links a:hover {
  background: var(--primary);
  color: var(--white);
}

.site-footer h4 {
  color: var(--white);
  font-size: 0.9375rem;
  margin-bottom: 1rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0.5rem;
}

.footer-links a {
  color: #9ca3af;
  font-size: 0.875rem;
  transition: color 0.2s;[cite: 2]
}

.footer-links a:hover {
  color: var(--white);
}

.footer-main {
  padding-bottom: 2.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom {
  padding: 2rem 0;
}

.popular-tags a {
  display: inline-block;
  font-size: 0.8125rem;
  color: #9ca3af;
  background: rgba(255, 255, 255, 0.06);
  padding: 0.35rem 0.75rem;
  border-radius: 999px;
  transition: background 0.2s, color 0.2s;[cite: 2]
}

.popular-tags a:hover {
  background: rgba(255, 255, 255, 0.12);
  color: var(--white);
}

.footer-copy {
  padding: 1.5rem 0;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-copy p {
  font-size: 0.8125rem;
  color: #6b7280;
  margin: 0;
}

.newsletter-form .form-control {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.15);
  color: var(--white);
}

.newsletter-form .form-control::placeholder {
  color: #6b7280;
}

/* Property detail */
.detail-title {
  font-size: clamp(1.5rem, 3vw, 2rem);
  margin-bottom: 0.5rem;
}

.detail-location {
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.detail-meta span {
  font-size: 0.9375rem;
  color: var(--text-muted);
}

.detail-section {
  margin-bottom: 2rem;
}

.detail-section h2 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.amenities-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.amenity-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: var(--bg-muted);
  padding: 0.4rem 0.85rem;
  border-radius: 999px;
  font-size: 0.8125rem;
}

.price-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  box-shadow: var(--shadow-sm);
}

.price-main {
  font-family: var(--font-heading);
  font-size: 2rem;
  font-weight: 800;
  color: var(--primary);
}

.price-main span {
  font-size: 1rem;
  font-weight: 500;
  color: var(--text-muted);
}

.landlord-avatar {
  font-size: 2.5rem;
  color: var(--text-muted);
}

.locked-notice {
  background: #fef3c7;
  color: #92400e;
  padding: 0.75rem 1rem;
  border-radius: 8px;
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

/* Contact */
.contact-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  height: 100%;
}

.contact-card i {
  font-size: 1.5rem;
  margin-bottom: 0.75rem;
  display: block;
}

.contact-green i { color: #16a34a; }
.contact-blue i { color: #2563eb; }
.contact-emerald i { color: #059669; }
.contact-orange i { color: var(--accent); }

.contact-value {
  font-weight: 600;
  margin-bottom: 0.25rem;
}

.contact-sub {
  font-size: 0.8125rem;
  color: var(--text-muted);
  margin: 0;
}

.hours-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.hours-list li {
  display: flex;
  justify-content: space-between;
  padding: 0.75rem 0;
  border-bottom: 1px solid var(--border);
}

/* Value cards */
.value-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.75rem;
  height: 100%;
}

.value-card h3 {
  font-size: 1.0625rem;
  margin-bottom: 0.5rem;
}

.value-card p {
  color: var(--text-muted);
  font-size: 0.9375rem;
  margin: 0;
}

/* Auth pages */
.page-auth .site-header,
.page-auth .site-footer,
.page-dashboard .site-header,
.page-dashboard .site-footer {
  display: none;
}

.auth-page {
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
  background: var(--bg-muted);
}

.auth-card {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.5rem;
  width: 100%;
  max-width: 440px;
  box-shadow: var(--shadow-sm);
}

.auth-card-wide {
  max-width: 560px;
}

.auth-card h1 {
  font-size: 1.5rem;
  margin-bottom: 0.25rem;
}

.demo-box {
  background: rgba(0, 107, 63, 0.06);
  border: 1px solid rgba(0, 107, 63, 0.2);
  border-radius: var(--radius);
  padding: 1rem;
}

.grid-3 {
  grid-template-columns: repeat(3, 1fr);
}

.role-select {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0.75rem;
}

.role-btn {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.5rem;
  padding: 1.25rem;
  border: 2px solid var(--border);
  border-radius: var(--radius);
  background: var(--white);
  cursor: pointer;
  transition: border-color 0.2s, background 0.2s;[cite: 2]
}

.role-btn i {
  font-size: 1.5rem;
  color: var(--text-muted);
}

.role-btn.active,
.role-btn:hover {
  border-color: var(--primary);
  background: var(--nav-active-bg);
}

.role-btn.active i {
  color: var(--primary);
}

/* Dashboard */
.dashboard-layout {
  display: flex;
  min-height: 100vh;
}

.dashboard-sidebar {
  width: 260px;
  background: #111827;
  color: var(--white);
  padding: 1.5rem;
  flex-shrink: 0;
  display: flex;
  flex-direction: column;
}

.dash-brand a {
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.25rem;
  color: var(--white);
}

.dash-brand span {
  color: var(--accent);
}

.dash-nav {
  flex: 1;
  margin: 2rem 0;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.dash-nav-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  padding: 0.65rem 0.85rem;
  border-radius: 8px;
  color: #9ca3af;
  font-size: 0.9375rem;
  transition: background 0.2s, color 0.2s;[cite: 2]
}

.dash-nav-item:hover,
.dash-nav-item.active {
  background: rgba(255, 255, 255, 0.08);
  color: var(--white);
}

.dash-nav-item.active {
  background: var(--primary);
}

.dash-logout {
  color: #9ca3af;
  font-size: 0.875rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.dash-logout:hover {
  color: var(--white);
}

.dashboard-main {
  flex: 1;
  background: var(--bg-muted);
  overflow: auto;
}

.dashboard-header {
  background: var(--white);
  border-bottom: 1px solid var(--border);
  padding: 1.25rem 2rem;
}

.dashboard-header h1 {
  font-size: 1.375rem;
  margin: 0;
}

.dashboard-content {
  padding: 2rem;
}

.dash-placeholder {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 4rem 2rem;
  text-align: center;
}

.dash-placeholder i {
  font-size: 3rem;
  color: var(--text-muted);
  margin-bottom: 1rem;
}

.dash-placeholder h2 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
}

.dash-placeholder p {
  color: var(--text-muted);
  max-width: 400px;
  margin: 0 auto;
}

/* Content / Legal */
.content-page {
  max-width: 800px;
}

.legal-content h2 {
  font-size: 1.25rem;
  margin: 2rem 0 1rem;
}

.legal-content p,
.legal-content li {
  color: var(--text-muted);
}

.faq-category {
  margin-bottom: 2.5rem;
}

.faq-category h2 {
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.accordion-button:not(.collapsed) {
  background: var(--nav-active-bg);
  color: var(--primary);
  box-shadow: none;
}

.accordion-button:focus {
  box-shadow: none;
  border-color: var(--border);
}

.results-count {
  color: var(--text-muted);
  font-size: 0.9375rem;
}

.filters-bar {
  background: var(--white);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
}

/* Responsive */
@media (max-width: 767.98px) {
  .section-padding {
    padding: 3rem 0;
  }

  .hero-section {
    min-height: auto;
    padding: 5rem 0 3rem;
  }

  .search-box {
    padding: 1rem;
  }

  .badge-featured {
    left: 12px;
    top: 44px;
  }

  .dashboard-layout {
    flex-direction: column;
  }

  .dashboard-sidebar {
    width: 100%;
  }

  .dash-nav {
    flex-direction: row;
    flex-wrap: wrap;
    margin: 1rem 0;
  }
}

@media (max-width: 575.98px) {
  .property-meta .property-type {
    margin-left: 0;
  }

  .role-select {
    grid-template-columns: 1fr;
  }
}

/* Tenant dashboard - Figma static implementation */
.tenant-dashboard-page {
  --td-primary: #006b3f;
  --td-secondary: #f5a623;
  --td-accent: #e8f5ee;
  --td-muted: #f5faf7;
  --td-text: #0f1a12;
  --td-subtle: #6b7c74;
  --td-border: rgba(0, 107, 63, 0.12);
  background: #f7fbf8;
  color: var(--td-text);
}

.td-shell {
  display: flex;
  height: 100vh;
  overflow: hidden;
  background: rgba(245, 250, 247, 0.78);
}

.td-sidebar {
  width: 256px;
  background: var(--td-muted);
  border-right: 1px solid var(--td-border);
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  z-index: 1040;
}

.td-sidebar-head {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--td-border);
}

.td-brand {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  font-family: var(--font-heading);
  font-weight: 800;
  color: var(--td-primary);
  font-size: 1.05rem;
}

.td-brand:hover {
  color: var(--td-primary);
}

.td-brand b {
  color: var(--td-secondary);
}

.td-brand-mark {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  background: var(--td-primary);
  color: #fff;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.td-user-card {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--td-border);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.td-user-card img,
.td-profile-btn img {
  width: 36px;
  height: 36px;
  border-radius: 999px;
  object-fit: cover;
}

.td-user-card strong {
  display: block;
  font-size: 0.875rem;
  line-height: 1.15;
}

.td-user-card span {
  display: inline-flex;
  margin-top: 0.125rem;
  padding: 0.05rem 0.45rem;
  border-radius: 999px;
  background: var(--td-accent);
  color: var(--td-primary);
  font-size: 0.625rem;
  text-transform: capitalize;
}

.td-nav {
  flex: 1;
  padding: 0.5rem 0.75rem;
  overflow-y: auto;
}

.td-nav-link {
  min-height: 40px;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  color: rgba(15, 26, 18, 0.7);
  padding: 0.625rem 0.75rem;
  border-radius: 8px;
  font-size: 0.875rem;
  margin-bottom: 0.125rem;
  transition: background 0.2s ease, color 0.2s ease, box-shadow 0.2s ease;
}

.td-nav-link i {
  color: rgba(15, 26, 18, 0.5);
  width: 1rem;
  font-size: 1rem;
}

.td-nav-link span {
  flex: 1;
  min-width: 0;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.td-nav-link em {
  min-width: 20px;
  padding: 0.05rem 0.4rem;
  border-radius: 999px;
  background: rgba(0, 107, 63, 0.1);
  color: var(--td-primary);
  font-style: normal;
  font-size: 0.625rem;
  line-height: 1.4;
  text-align: center;
}

.td-nav-link:hover {
  background: var(--td-accent);
  color: var(--td-primary);
}

.td-nav-link:hover i {
  color: var(--td-primary);
}

.td-nav-link.active {
  background: var(--td-primary);
  color: #fff;
  font-weight: 600;
  box-shadow: var(--shadow-sm);
}

.td-nav-link.active i {
  color: #fff;
}

.td-signout {
  margin: 0;
  padding: 0.85rem 1rem;
  border-top: 1px solid var(--td-border);
  color: var(--td-subtle);
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
}

.td-signout:hover {
  color: #d4183d;
  background: rgba(212, 24, 61, 0.08);
}

.td-main {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
}

.td-topbar {
  height: 56px;
  flex-shrink: 0;
  background: #fff;
  border-bottom: 1px solid var(--td-border);
  padding: 0 1.5rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
  position: relative;
  z-index: 20;
}

.td-title-wrap,
.td-topbar-actions {
  display: flex;
  align-items: center;
  gap: 0.625rem;
}

.td-topbar h1 {
  margin: 0;
  font-size: 1rem;
  font-weight: 600;
}

.td-icon-btn,
.td-profile-btn,
.td-notification button,
.td-panel-head button {
  border: 0;
  background: transparent;
  cursor: pointer;
}

.td-icon-btn {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  color: var(--td-text);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.td-icon-btn:hover,
.td-profile-btn:hover {
  background: rgba(0, 107, 63, 0.08);
}

.td-menu-btn {
  display: none;
}

.td-bell span {
  position: absolute;
  top: -2px;
  right: -2px;
  min-width: 16px;
  height: 16px;
  padding: 0 4px;
  border-radius: 999px;
  background: #d4183d;
  border: 2px solid #fff;
  color: #fff;
  font-size: 0.5625rem;
  font-weight: 800;
  line-height: 1;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  pointer-events: none;
}

.td-profile-btn {
  min-height: 36px;
  border-radius: 8px;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.25rem 0.35rem;
  color: var(--td-text);
  text-decoration: none;
  white-space: nowrap;
}

.td-profile-btn img {
  width: 28px;
  height: 28px;
  border-radius: 999px;
  object-fit: cover;
  flex-shrink: 0;
}

.td-profile-btn span {
  font-size: 0.875rem;
  font-weight: 600;
}

.td-profile-btn i {
  color: var(--td-subtle);
  font-size: 0.75rem;
}

.td-popover-wrap {
  position: relative;
  display: inline-flex;
}

.td-popover {
  display: none;
  position: absolute;
  right: 0;
  top: calc(100% + 0.5rem);
  background: #fff;
  border: 1px solid var(--td-border);
  border-radius: 12px;
  box-shadow: 0 18px 48px rgba(15, 26, 18, 0.14);
  z-index: 1200;
  overflow: hidden;
}

.td-popover.open {
  display: block;
}

.td-floating-notification {
  position: fixed;
  right: auto;
  z-index: 1100;
  display: block;
}

.td-notification-panel {
  width: min(384px, calc(100vw - 2rem));
}

.td-panel-head {
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--td-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.td-panel-head strong {
  display: block;
  font-size: 0.875rem;
}

.td-panel-head span {
  color: var(--td-primary);
  font-size: 0.625rem;
  font-weight: 700;
}

.td-panel-head button,
.td-panel-foot {
  color: var(--td-primary);
  font-size: 0.75rem;
  font-weight: 600;
}

.td-notification-list {
  max-height: 400px;
  overflow-y: auto;
}

.td-notification {
  position: relative;
  display: flex;
  gap: 0.75rem;
  padding: 0.75rem 2.5rem 0.75rem 1rem;
  border-bottom: 1px solid var(--td-border);
}

.td-notification.unread {
  background: rgba(232, 245, 238, 0.72);
}

.td-notification > i {
  width: 32px;
  height: 32px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  margin-top: 0.1rem;
}

.td-notification > i.green { background: #dcfce7; color: #16a34a; }
.td-notification > i.orange { background: #ffedd5; color: #f97316; }
.td-notification > i.blue { background: #dbeafe; color: #2563eb; }
.td-notification > i.purple { background: #f3e8ff; color: #9333ea; }

.td-notification strong {
  display: block;
  font-size: 0.75rem;
  line-height: 1.35;
}

.td-notification p {
  margin: 0.125rem 0 0;
  color: var(--td-subtle);
  font-size: 0.75rem;
  line-height: 1.45;
}

.td-notification span {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  color: var(--td-subtle);
  font-size: 0.625rem;
  margin-top: 0.375rem;
}

.td-notification button {
  position: absolute;
  top: 0.75rem;
  right: 0.75rem;
  color: rgba(107, 124, 116, 0.58);
  padding: 0;
}

.td-notification button:hover {
  color: var(--td-subtle);
}

.td-panel-foot {
  display: block;
  padding: 0.625rem 1rem;
  border-top: 1px solid var(--td-border);
  text-align: center;
}

.td-profile-panel {
  width: 176px;
  min-width: 176px;
  padding: 0.45rem;
  transform-origin: top right;
}

.td-profile-panel a {
  display: flex;
  align-items: center;
  gap: 0.625rem;
  min-height: 38px;
  padding: 0.55rem 0.7rem;
  border-radius: 8px;
  color: var(--td-text);
  font-size: 0.8125rem;
  font-weight: 600;
  line-height: 1.2;
  text-decoration: none;
}

.td-profile-panel a:hover {
  background: rgba(0, 107, 63, 0.08);
  color: var(--td-primary);
}

.td-profile-panel a.danger {
  color: #d4183d;
}

.td-profile-panel a i {
  width: 16px;
  flex-shrink: 0;
  color: var(--td-subtle);
  font-size: 0.95rem;
}

.td-profile-panel a.danger i {
  color: inherit;
}

.td-profile-panel hr {
  border-color: var(--td-border);
  margin: 0.35rem -0.45rem;
}

.td-content {
  flex: 1;
  overflow-y: auto;
  width: 100%;
  max-width: 1280px;
  margin: 0 auto;
  padding: 1.25rem 1.5rem 2rem;
}

.td-welcome {
  background: linear-gradient(90deg, var(--td-primary), rgba(0, 107, 63, 0.82));
  color: #fff;
  border-radius: 16px;
  padding: 1.25rem;
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 0.75rem 1rem;
  margin-bottom: 1.25rem;
}

.td-welcome h2 {
  font-size: 1.125rem;
  font-weight: 800;
  margin: 0 0 0.15rem;
}

.td-welcome p {
  color: rgba(255, 255, 255, 0.82);
  font-size: 0.875rem;
  margin: 0;
}

.td-welcome p strong {
  color: var(--td-secondary);
}

.td-secondary-btn {
  align-self: start;
  height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.375rem;
  padding: 0 0.8rem;
  border-radius: 8px;
  background: var(--td-secondary);
  color: #1a1a1a;
  font-size: 0.75rem;
  font-weight: 700;
}

.td-secondary-btn:hover {
  color: #1a1a1a;
  background: #e09515;
}

.td-progress-row {
  grid-column: 1 / -1;
  display: flex;
  justify-content: space-between;
  color: rgba(255, 255, 255, 0.75);
  font-size: 0.75rem;
}

.td-progress {
  grid-column: 1 / -1;
  height: 6px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.2);
  overflow: hidden;
}

.td-progress span {
  display: block;
  height: 100%;
  border-radius: inherit;
  background: #fff;
}

.td-stats {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 0.75rem;
  margin-bottom: 1.25rem;
}

.td-stat {
  background: #fff;
  border: 1px solid var(--td-border);
  border-radius: 12px;
  padding: 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.td-stat > i {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  background: var(--td-accent);
  color: var(--td-primary);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.td-stat > i.red { background: #fef2f2; color: #ef4444; }
.td-stat > i.blue { background: #eff6ff; color: #2563eb; }
.td-stat > i.purple { background: #faf5ff; color: #9333ea; }
.td-stat > i.orange { background: #fff7ed; color: #f97316; }

.td-stat span,
.td-stat small {
  display: block;
  color: var(--td-subtle);
}

.td-stat span {
  font-size: 0.6875rem;
  line-height: 1;
  margin-bottom: 0.2rem;
}

.td-stat strong {
  display: block;
  font-size: 0.875rem;
  line-height: 1;
  font-weight: 800;
}

.td-stat small {
  font-size: 0.625rem;
  margin-top: 0.2rem;
}

.td-card {
  background: #fff;
  border: 1px solid var(--td-border);
  border-radius: 12px;
  padding: 1rem;
  margin-bottom: 1.25rem;
}

.td-card h2 {
  font-size: 0.875rem;
  font-weight: 700;
  margin: 0;
}

.td-searches h2 {
  margin-bottom: 0.75rem;
}

.td-search-list article {
  display: grid;
  grid-template-columns: 28px 1fr auto;
  gap: 0.625rem;
  align-items: center;
  padding: 0.65rem 0;
  border-bottom: 1px solid var(--td-border);
}

.td-search-list article:last-child {
  border-bottom: 0;
  padding-bottom: 0;
}

.td-search-list article:first-child {
  padding-top: 0;
}

.td-list-icon {
  width: 28px;
  height: 28px;
  border-radius: 8px;
  background: var(--td-accent);
  color: var(--td-primary);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.875rem;
}

.td-search-list strong,
.td-mini-property strong {
  display: block;
  color: var(--td-text);
  font-size: 0.75rem;
  line-height: 1.35;
}

.td-search-list span,
.td-mini-property span {
  display: flex;
  align-items: center;
  gap: 0.2rem;
  color: var(--td-subtle);
  font-size: 0.6875rem;
}

.td-search-list a,
.td-section-head a {
  color: var(--td-primary);
  font-size: 0.75rem;
  font-weight: 700;
  white-space: nowrap;
}

.td-section-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 0.75rem;
}

.td-property-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.5rem;
}

.td-mini-property {
  display: flex;
  gap: 0.625rem;
  padding: 0.625rem;
  border-radius: 8px;
  color: var(--td-text);
  transition: background 0.2s ease;
}

.td-mini-property:hover {
  background: rgba(0, 107, 63, 0.05);
  color: var(--td-text);
}

.td-mini-property img {
  width: 56px;
  height: 56px;
  border-radius: 8px;
  object-fit: cover;
  flex-shrink: 0;
}

.td-mini-property div {
  min-width: 0;
}

.td-mini-property strong {
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.td-mini-property b {
  color: var(--td-primary);
  font-size: 0.75rem;
  margin-top: 0.2rem;
  display: block;
}

.td-sidebar-scrim {
  display: none;
}

@media (max-width: 991.98px) {
  .td-sidebar {
    position: fixed;
    inset: 0 auto 0 0;
    transform: translateX(-100%);
    transition: transform 0.24s ease;
  }

  .tenant-sidebar-open .td-sidebar {
    transform: translateX(0);
  }

  .td-sidebar-scrim {
    position: fixed;
    inset: 0;
    background: rgba(15, 26, 18, 0.35);
    z-index: 1035;
  }

  .tenant-sidebar-open .td-sidebar-scrim {
    display: block;
  }

  .td-menu-btn {
    display: inline-flex;
  }

  .td-topbar {
    padding: 0 1rem;
  }

  .td-stats {
    grid-template-columns: repeat(3, minmax(0, 1fr));
  }
}

@media (max-width: 767.98px) {
  .td-content {
    padding: 1rem;
  }

  .td-stats,
  .td-property-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .td-profile-btn span,
  .td-profile-btn .bi-chevron-down {
    display: none;
  }
}

@media (max-width: 575.98px) {
  .td-welcome {
    grid-template-columns: 1fr;
  }

  .td-secondary-btn {
    width: max-content;
  }

  .td-stats,
  .td-property-grid {
    grid-template-columns: 1fr;
  }

  .td-search-list article {
    grid-template-columns: 28px 1fr;
  }

  .td-search-list a {
    grid-column: 2;
  }
}

.td-page-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1rem;
}

.td-page-head h2 {
  font-size: 1.125rem;
  margin: 0;
}

.td-primary-btn,
.td-outline-btn,
.td-danger-btn,
.td-ghost-btn {
  border-radius: 8px;
  min-height: 32px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.4rem 0.75rem;
  font-size: 0.75rem;
  font-weight: 700;
  border: 1px solid transparent;
}

.td-primary-btn {
  background: var(--td-primary);
  color: #fff;
}

.td-primary-btn:hover {
  background: #005532;
  color: #fff;
}

.td-outline-btn {
  border-color: var(--td-border);
  background: #fff;
  color: var(--td-primary);
}

.td-outline-btn:hover {
  background: var(--td-accent);
  color: var(--td-primary);
}

.td-danger-btn {
  border-color: rgba(212, 24, 61, 0.24);
  background: #fff;
  color: #d4183d;
}

.td-danger-btn:hover {
  background: rgba(212, 24, 61, 0.07);
  color: #d4183d;
}

.td-ghost-btn {
  background: transparent;
  color: var(--td-primary);
}

.td-pill,
.td-status {
  border-radius: 999px;
  padding: 0.12rem 0.5rem;
  font-size: 0.625rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.td-pill {
  background: var(--td-accent);
  color: var(--td-primary);
}

.td-status.success { background: #dcfce7; color: #166534; }
.td-status.warning { background: #ffedd5; color: #9a3412; }
.td-status.muted { background: #f3f4f6; color: #4b5563; }
.td-status.danger { background: #fee2e2; color: #b91c1c; }

.td-stack {
  display: grid;
  gap: 0.75rem;
}

.td-two-col {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 0.42fr);
  gap: 1rem;
  align-items: start;
}

.td-property-row,
.td-inspection-row,
.td-alert-row,
.td-setting-row,
.td-history-row {
  background: #fff;
  border: 1px solid var(--td-border);
  border-radius: 12px;
  overflow: hidden;
}

.td-property-row {
  display: grid;
  grid-template-columns: 176px 1fr;
}

.td-property-row > img {
  width: 100%;
  height: 100%;
  min-height: 176px;
  object-fit: cover;
}

.td-property-body {
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.td-row-top {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 0.75rem;
}

.td-row-top h3 {
  font-size: 0.875rem;
  margin: 0.25rem 0 0.15rem;
}

.td-row-top p,
.td-muted-line {
  margin: 0;
  color: var(--td-subtle);
  font-size: 0.75rem;
}

.td-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 0.8rem;
  color: var(--td-subtle);
  font-size: 0.75rem;
}

.td-meta span {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.td-row-bottom {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.td-price {
  color: var(--td-primary);
  font-weight: 800;
}

.td-price small {
  color: var(--td-subtle);
  font-weight: 500;
}

.td-action-group {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.td-card-soft {
  background: #fff;
  border: 1px solid var(--td-border);
  border-radius: 16px;
  padding: 1.25rem;
}

.td-card-soft h3 {
  font-size: 0.9rem;
  margin: 0 0 0.75rem;
}

.td-plan-current {
  background: linear-gradient(135deg, var(--td-primary), #00824d);
  color: #fff;
  border-radius: 16px;
  padding: 1.25rem;
}

.td-plan-current h3 {
  color: #fff;
  margin-bottom: 0.25rem;
}

.td-plan-current p {
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 0.9rem;
  font-size: 0.8125rem;
}

.td-plan-price {
  font-size: 1.65rem;
  font-weight: 800;
  line-height: 1;
}

.td-plan-price small {
  font-size: 0.75rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.72);
}

.td-check-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 0.5rem;
}

.td-check-list li {
  display: flex;
  align-items: flex-start;
  gap: 0.45rem;
  color: var(--td-subtle);
  font-size: 0.8125rem;
}

.td-check-list i {
  color: var(--td-primary);
}

.td-billing-toggle {
  display: inline-grid;
  grid-template-columns: 1fr 1fr;
  border-radius: 999px;
  background: var(--td-muted);
  padding: 4px;
}

.td-billing-toggle button {
  border: 0;
  background: transparent;
  border-radius: 999px;
  padding: 0.35rem 0.85rem;
  font-size: 0.75rem;
  font-weight: 700;
  color: var(--td-subtle);
}

.td-billing-toggle button.active {
  background: #fff;
  color: var(--td-primary);
  box-shadow: var(--shadow-sm);
}

.td-payment-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.75rem;
}

.td-payment-card {
  border: 1px solid var(--td-border);
  border-radius: 12px;
  padding: 0.9rem;
  background: #fff;
  text-align: left;
  color: var(--td-text);
}

.td-payment-card:hover,
.td-payment-card.active {
  border-color: var(--td-primary);
  background: var(--td-accent);
}

.td-payment-card i {
  color: var(--td-primary);
  font-size: 1.25rem;
}

.td-payment-card strong {
  display: block;
  font-size: 0.8125rem;
  margin-top: 0.35rem;
}

.td-payment-card span {
  color: var(--td-subtle);
  font-size: 0.7rem;
}

.td-history-row,
.td-alert-row,
.td-inspection-row,
.td-setting-row {
  padding: 0.9rem 1rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.td-alert-row {
  align-items: flex-start;
}

.td-alert-icon,
.td-setting-icon {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  background: var(--td-accent);
  color: var(--td-primary);
}

.td-row-info {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  min-width: 0;
}

.td-row-info strong {
  display: block;
  font-size: 0.875rem;
}

.td-row-info p {
  color: var(--td-subtle);
  font-size: 0.75rem;
  margin: 0.15rem 0 0;
}

.td-switch {
  position: relative;
  display: inline-flex;
  width: 42px;
  height: 24px;
  flex-shrink: 0;
}

.td-switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.td-switch span {
  position: absolute;
  inset: 0;
  border-radius: 999px;
  background: #c7d7cd;
  cursor: pointer;
  transition: background 0.2s ease;
}

.td-switch span::before {
  content: "";
  position: absolute;
  width: 18px;
  height: 18px;
  left: 3px;
  top: 3px;
  border-radius: 999px;
  background: #fff;
  box-shadow: var(--shadow-sm);
  transition: transform 0.2s ease;
}

.td-switch input:checked + span {
  background: var(--td-primary);
}

.td-switch input:checked + span::before {
  transform: translateX(18px);
}

.td-inspection-row img {
  width: 64px;
  height: 64px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
}

.td-chat-shell {
  display: grid;
  grid-template-columns: 320px minmax(0, 1fr);
  min-height: 620px;
  overflow: hidden;
}

.td-conversation-list {
  border-right: 1px solid var(--td-border);
}

.td-conversation {
  width: 100%;
  border: 0;
  border-bottom: 1px solid var(--td-border);
  background: #fff;
  padding: 0.9rem;
  display: flex;
  gap: 0.75rem;
  text-align: left;
}

.td-conversation.active,
.td-conversation:hover {
  background: var(--td-accent);
}

.td-avatar-wrap {
  position: relative;
  flex-shrink: 0;
}

.td-avatar-wrap img {
  width: 42px;
  height: 42px;
  border-radius: 999px;
}

.td-avatar-wrap span {
  position: absolute;
  width: 10px;
  height: 10px;
  right: 0;
  bottom: 2px;
  border: 2px solid #fff;
  border-radius: 999px;
  background: #22c55e;
}

.td-conversation strong,
.td-chat-head strong {
  display: block;
  font-size: 0.8125rem;
}

.td-conversation p {
  margin: 0.15rem 0 0;
  color: var(--td-subtle);
  font-size: 0.72rem;
  line-height: 1.35;
}

.td-chat-main {
  display: flex;
  flex-direction: column;
  min-width: 0;
}

.td-chat-head {
  min-height: 66px;
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--td-border);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.td-chat-back-btn {
  display: none;
  width: 34px;
  height: 34px;
  border: 0;
  border-radius: 8px;
  background: rgba(0, 107, 63, 0.08);
  color: var(--td-primary);
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.td-chat-head img {
  width: 40px;
  height: 40px;
  border-radius: 999px;
}

.td-chat-body {
  flex: 1;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  background: #fbfdfc;
}

.td-message {
  max-width: 70%;
  padding: 0.65rem 0.75rem;
  border-radius: 14px;
  font-size: 0.8125rem;
}

.td-message span {
  display: block;
  font-size: 0.625rem;
  opacity: 0.68;
  margin-top: 0.3rem;
}

.td-message.me {
  align-self: flex-end;
  background: var(--td-primary);
  color: #fff;
  border-bottom-right-radius: 4px;
}

.td-message.them {
  align-self: flex-start;
  background: #fff;
  border: 1px solid var(--td-border);
  border-bottom-left-radius: 4px;
}

.td-chat-form {
  border-top: 1px solid var(--td-border);
  padding: 0.75rem;
  display: flex;
  gap: 0.5rem;
}

.td-chat-form input,
.td-form input,
.td-form select,
.td-form textarea,
.td-manual-box textarea {
  width: 100%;
  border: 1px solid var(--td-border);
  background: #f8fbf9;
  border-radius: 8px;
  padding: 0.65rem 0.75rem;
  font-size: 0.875rem;
}

.td-chat-form input:focus,
.td-form input:focus,
.td-form select:focus,
.td-form textarea:focus,
.td-manual-box textarea:focus {
  outline: none;
  border-color: var(--td-primary);
  box-shadow: 0 0 0 3px rgba(0, 107, 63, 0.12);
}

.td-profile-hero {
  display: flex;
  align-items: center;
  gap: 1rem;
}

.td-profile-hero img {
  width: 84px;
  height: 84px;
  border-radius: 999px;
  object-fit: cover;
}

.td-profile-hero h2 {
  margin: 0;
  font-size: 1.1rem;
}

.td-profile-hero p {
  color: var(--td-subtle);
  margin: 0.2rem 0 0.45rem;
  font-size: 0.8125rem;
}

.td-form {
  display: grid;
  gap: 1rem;
}

.td-form-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
}

.td-form label {
  display: grid;
  gap: 0.35rem;
  color: var(--td-text);
  font-size: 0.75rem;
  font-weight: 700;
}

.td-form textarea {
  min-height: 96px;
  resize: vertical;
}

.td-manual-box {
  display: none;
  margin-top: 0.75rem;
  border: 1px solid var(--td-border);
  border-radius: 12px;
  padding: 1rem;
  background: #fff;
}

.td-manual-box.open {
  display: grid;
  gap: 0.75rem;
}

@media (max-width: 991.98px) {
  .td-two-col,
  .td-chat-shell {
    grid-template-columns: 1fr;
  }

  .td-conversation-list {
    border-right: 0;
    border-bottom: 1px solid var(--td-border);
  }

  .td-payment-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 767.98px) {
  .td-page-head,
  .td-row-bottom,
  .td-history-row,
  .td-alert-row,
  .td-inspection-row,
  .td-setting-row {
    align-items: flex-start;
    flex-direction: column;
  }

  .td-property-row {
    grid-template-columns: 1fr;
  }

  .td-property-row > img {
    height: 200px;
  }

  .td-form-grid {
    grid-template-columns: 1fr;
  }

  .td-chat-shell {
    min-height: calc(100vh - 112px);
    display: flex;
    flex-direction: column;
  }

  .td-chat-shell .td-conversation-list {
    border-bottom: 0;
  }

  .td-chat-shell .td-chat-main {
    display: none;
    min-height: calc(100vh - 112px);
  }

  .td-chat-shell.td-chat-open .td-conversation-list {
    display: none;
  }

  .td-chat-shell.td-chat-open .td-chat-main {
    display: flex;
  }

  .td-chat-back-btn {
    display: inline-flex;
  }

  .td-chat-head {
    position: sticky;
    top: 0;
    z-index: 2;
    background: #fff;
  }

  .td-chat-body {
    min-height: 0;
    overflow-y: auto;
    max-height: calc(100vh - 244px);
  }

  .td-chat-form {
    position: sticky;
    bottom: 0;
    background: #fff;
  }

  .td-message {
    max-width: 88%;
  }
}


/* ==========================================================================
   Admin Layout Shell & Viewport Overflow Safeguards
   ========================================================================== */
html, body {
  max-width: 100% !important;
  overflow-x: hidden !important;
}

.td-shell {
  display: flex;
  width: 100vw;
  height: 100vh;
  overflow: hidden !important;
}

.td-main {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  height: 100vh;
  overflow: hidden !important;
}

.td-content {
  flex: 1;
  overflow-y: auto !important;
  overflow-x: hidden !important;
  width: 100%;
  padding: 1.5rem;
}

/* Split-Pane Layout Architecture */
.td-split-pane-layout {
  display: grid;
  grid-template-columns: minmax(320px, 400px) 1fr;
  gap: 1.5rem;
  align-items: start;
}

@media (max-width: 991.98px) {
  .td-split-pane-layout {
    grid-template-columns: 1fr !important;
  }
}

/* Form controls matching Figma gray fills */
.edit-input-field, .view-mode-fill {
  font-family: var(--font-body);
  font-weight: 500;
  font-size: 0.925rem;
  padding: 0.65rem 1rem;
  border: 1px solid transparent;
  border-radius: 8px;
  width: 100%;
  background-color: var(--bg-muted);
  color: var(--text);
}

/* Badge System Utility Parity */
.badge-count-pill {
  font-style: normal;
  font-size: 0.725rem;
  padding: 0.15rem 0.45rem;
  border-radius: 999px;
  font-weight: 600;
}


/* ==========================================================================
   EasyScout Pixel-Perfect Auth Redesign Core Framework (Reference: image_c2ad1f.png)
   ========================================================================== */

body.page-auth {
  display: block !important;
  background-color: #ffffff !important;
  min-height: 100vh;
  margin: 0;
  padding: 0;
}

.auth-split-wrapper {
  display: flex;
  min-height: 100vh;
  width: 100vw;
  overflow: hidden;
}

/* Left Hero Branding Block Styling Rules */
.auth-left-panel {
  flex: 1;
  background-color: #006b3f; /* Exact deep brand emerald hex */
  position: relative;
  display: flex;
  flex-direction: column;
  padding: 4.5rem 5rem;
  overflow: hidden;
}

/* Perfectly positioned double circular design shadows matching image_c2ad1f.png */
.panel-decor-circle-top {
  position: absolute;
  top: -120px;
  right: -100px;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.035);
  pointer-events: none;
}

.panel-decor-circle-bottom {
  position: absolute;
  bottom: -150px;
  left: -50px;
  width: 420px;
  height: 420px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.02);
  pointer-events: none;
}

.panel-content-box {
  position: relative;
  z-index: 10;
  display: flex;
  flex-direction: column;
  height: 100%;
}

.auth-panel-brand {
  text-decoration: none;
}

.brand-icon-light {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  border-radius: 8px;
  font-size: 1.15rem;
}

.brand-text-light {
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.35rem;
  color: #ffffff;
  letter-spacing: -0.01em;
}

.panel-hero-messaging h1 {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  line-height: 1.25;
  letter-spacing: -0.02em;
}

.panel-subtitle {
  font-size: 1.1rem;
  max-width: 520px;
  line-height: 1.5;
}

.panel-feature-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.panel-feature-list li {
  color: #ffffff;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 500;
}

.panel-feature-list li i {
  color: #ffffff;
  font-size: 1.1rem;
}

/* Right Content Input Form Block styling */
.auth-right-panel {
  flex: 1;
  background-color: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 4rem;
}

.auth-form-container {
  width: 100%;
  max-width: 440px;
}

.auth-main-title {
  font-size: 1.75rem;
  letter-spacing: -0.02em;
  color: #111827;
  margin-bottom: 0.5rem;
}

/* Premium Screenshot-Accurate Demo Mode Panel styling rules */
.demo-mode-container {
  background-color: #fffbeb; /* Soft light golden box fill */
  border: 1px solid #fef3c7;
  border-radius: 12px;
  padding: 1.25rem;
}

.demo-box-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: #92400e;
}

.demo-pill-group {
  display: flex;
  background-color: #ffffff;
  padding: 4px;
  border-radius: 8px;
  border: 1px solid #f3f4f6;
}

.demo-pill-item {
  flex: 1;
  border: 0;
  background: transparent;
  padding: 0.5rem 1rem;
  font-size: 0.85rem;
  font-weight: 600;
  border-radius: 6px;
  color: #4b5563;
  transition: all 0.2s ease;
}

.demo-pill-item.active {
  background-color: #006b3f; /* Dark solid context toggle */
  color: #ffffff;
}

/* Screenshot Form Overrides and Visibility Components */
.auth-input-override {
  background-color: #fafafa !important;
  border: 1px solid #e5e7eb !important;
  padding: 0.75rem 1rem !important;
  font-size: 0.95rem !important;
  border-radius: 8px !important;
  color: #1f2937 !important;
}

.auth-input-override::placeholder {
  color: #9ca3af;
}

.auth-input-override:focus {
  border-color: #006b3f !important;
  box-shadow: 0 0 0 4px rgba(0, 107, 63, 0.1) !important;
}

.forgot-password-link {
  font-size: 0.85rem;
  font-weight: 500;
  color: #006b3f;
}
.forgot-password-link:hover {
  text-decoration: underline !important;
}

.password-input-wrapper .password-toggle-btn {
  position: absolute;
  top: 50%;
  right: 1rem;
  transform: translateY(-50%);
  background: transparent;
  border: 0;
  color: #6b7280;
  font-size: 1.1rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  padding: 0;
}

.auth-submit-btn {
  background-color: #006b3f !important;
  border-color: #006b3f !important;
  font-weight: 600 !important;
  padding: 0.85rem 1.5rem !important;
  border-radius: 8px !important;
  font-size: 0.95rem !important;
  transition: background-color 0.2s ease !important;
}

.auth-submit-btn:hover {
  background-color: #005532 !important;
  border-color: #005532 !important;
}

/* Password reset success / error state icons */
.auth-success-icon,
.auth-error-icon {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
}

.auth-success-icon {
  background-color: #d1fae5;
  color: #006b3f;
}

.auth-error-icon {
  background-color: #fee2e2;
  color: #b91c1c;
}

.auth-terms-legal-text {
  font-size: 0.8rem;
  line-height: 1.5;
  color: #6b7280;
}

/* ==========================================================================
   Responsive Viewport Scale Modifiers 
   ========================================================================== */

@media (max-width: 1024px) {
  .auth-left-panel {
    padding: 3.5rem 3rem;
  }
  .auth-right-panel {
    padding: 3rem;
  }
}

@media (max-width: 991.98px) {
  .auth-split-wrapper {
    flex-direction: column;
    overflow-y: auto;
  }
  
  .auth-left-panel {
    flex: none;
    width: 100%;
    padding: 3.5rem 2rem;
    align-items: center;
    text-align: center;
  }
  
  .auth-left-panel .panel-content-box {
    align-items: center;
  }
  
  .panel-subtitle {
    margin-left: auto;
    margin-right: auto;
  }
  
  .panel-feature-list {
    align-items: start;
    margin: 0 auto;
    width: max-content;
  }
  
  .panel-footer-note {
    display: none;
  }
  
  .auth-right-panel {
    flex: 1;
    width: 100%;
    padding: 4rem 1.5rem;
  }
}

@media (max-width: 575.98px) {
  .auth-left-panel {
    display: none; /* Auto-fall back structural layout toggle on mobile */
  }
  
  .mobile-brand-header {
    display: block !important;
  }
  
  .auth-right-panel {
    padding: 3rem 1.25rem;
  }
}




/* ==========================================================================
   EasyScout Pixel-Perfect Details Page Framework (Reference: image_26e3b0.png)
   ========================================================================== */

.custom-breadcrumb-style .breadcrumb-item + .breadcrumb-item::before {
  content: "/" !important;
  color: #94a3b8;
}

.main-hero-image-display {
  height: clamp(280px, 48vh, 440px);
  width: 100%;
  background-color: #f8fafc;
}

.verified-listing-tag-watermark {
  background: rgba(15, 23, 42, 0.75);
  color: #ffffff;
  font-size: 0.725rem;
  backdrop-filter: blur(4px);
  border-radius: 6px;
}

.gallery-thumbnails-strip .thumb-box {
  width: 76px;
  height: 52px;
  border-radius: 6px;
  overflow: hidden;
  border: 2px solid transparent;
  cursor: pointer;
}
.gallery-thumbnails-strip .thumb-box img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.gallery-thumbnails-strip .thumb-box.active {
  border-color: #006b3f;
}
.gallery-thumbnails-strip .fallback-empty {
  width: 52px;
  background-color: #f8fafc;
  border: 1px dashed #e2e8f0;
}

.btn-action-circle {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #ffffff;
  border: 1px solid #e2e8f0;
  color: #64748b;
  display: flex;
  align-items: center;
  justify-content: center;
}
.btn-action-circle.saved {
  background-color: #fee2e2;
  color: #ef4444;
  border-color: #fee2e2;
}

.horizontal-spec-grid-row .spec-cell {
  flex: 1;
  min-width: 110px;
  font-size: 0.85rem;
  color: #475569;
  display: flex;
  align-items: center;
  gap: 0.35rem;
}

/* Tab Capsule Menu Formatting Overrides */
.sub-nav-tabs-bar-row {
  background-color: #f1f5f9 !important;
  border: 0 !important;
  gap: 0px !important;
}
.sub-nav-tabs-bar-row .tab-trigger-link {
  border: 0;
  background: transparent;
  padding: 0.55rem 1rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: #475569;
  border-radius: 6px;
  transition: all 0.2s ease-in-out;
}
.sub-nav-tabs-bar-row .tab-trigger-link.active {
  background-color: #ffffff !important;
  color: #006b3f !important;
  box-shadow: 0 2px 6px rgba(0,0,0,0.06) !important;
}

.wizard-tab-pane {
  display: none;
}
.wizard-tab-pane.active {
  display: block;
}

.description-text-box {
  padding-top: 0.25rem;
}

/* Features Checklist Matrix Configuration */
.features-checklist-matrix {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}
.features-checklist-matrix li {
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.features-checklist-matrix li.included { color: #1e293b; }
.features-checklist-matrix li.included i { color: #10b981; }
.features-checklist-matrix li.not-included { color: #94a3b8; }
.features-checklist-matrix li.not-included i { color: #cbd5e1; }

/* Dynamic Flex Centering & Fixes for Location Card Alignment */
.location-lock-canvas-box {
  min-height: 280px !important;
  height: auto !important;
  background-color: #f8fafc;
  background-image: radial-gradient(#e2e8f0 1.5px, transparent 1.5px);
  background-size: 16px 16px;
  position: relative;
}

.location-lock-content-wrapper {
  width: 100%;
  max-width: 440px;
  z-index: 10;
}

.max-w-360 {
  max-width: 360px;
}

.lock-icon-circle-avatar {
  width: 40px;
  height: 40px;
  background-color: #e8f5ef;
  color: #006b3f;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.review-avatar-avatar {
  width: 34px;
  height: 34px;
  background-color: #f1f5f9;
  color: #475569;
  font-weight: 700;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 0.8rem;
}

.badge-count-pill {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 0.1rem 0.4rem;
  background-color: #e2e8f0;
  color: #475569;
  border-radius: 999px;
}

.bg-amber-50 { background-color: #fffbeb !important; }
.text-amber-900 { color: #78350f !important; }

/* Sidebar Matrix Adjustments */
.sticky-sidebar-action-container {
  position: sticky;
  top: 6.5rem;
}

.total-cost-green-block {
  background-color: #006b3f !important;
}

.owner-trust-checklist li {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

/* ==========================================================================
   Mobile Features Responsive 2-Column Rules
   ========================================================================== */

@media (max-width: 991.98px) {
  .sticky-sidebar-action-container {
    position: static;
  }
}

@media (max-width: 767.98px) {
  /* Splits long vertically-stacked interior lists into neat side-by-side matrices */
  .features-checklist-matrix.row-mobile-split {
    display: grid !important;
    grid-template-columns: repeat(2, 1fr) !important;
    gap: 0.75rem 1rem !important;
  }
  
  .mt-mobile-grid-fix {
    margin-top: 1.5rem !important;
    border-top: 1px dashed #e2e8f0;
    padding-top: 1.5rem;
  }
}

@media (max-width: 575.98px) {
  .features-checklist-matrix {
    display: grid !important;
    grid-template-columns: 1fr !important;
  }
  
  #features-pane .row > [class*="col-6"] {
    width: 50% !important; /* Locks explicit side-by-side columns on phone sizes */
  }
}




/* Landlord dashboard shell polish */
.landlord-dashboard-page .td-sidebar {
  width: 256px;
  background: #f6fbf8;
}

.landlord-dashboard-page .td-sidebar-head {
  min-height: 62px;
  display: flex;
  align-items: center;
  padding: 0 1rem;
}

.landlord-dashboard-page .td-user-card {
  min-height: 78px;
}

.landlord-dashboard-page .td-user-card img {
  width: 38px;
  height: 38px;
}

.landlord-dashboard-page .td-user-card span {
  background: #f6a800;
  color: #0f1a12;
  font-weight: 600;
}

.landlord-dashboard-page .td-nav {
  padding: 0.75rem 0.75rem 1rem;
}

.landlord-dashboard-page .td-nav-link {
  min-height: 40px;
  border-radius: 10px;
  margin-bottom: 0.25rem;
  color: #33433a;
}

.landlord-dashboard-page .td-nav-link.active {
  background: #007a45;
  color: #fff;
  box-shadow: none;
}

.landlord-dashboard-page .td-nav-link em {
  min-width: 18px;
  background: #d7f2e3;
  color: #007a45;
  font-weight: 700;
}

.landlord-dashboard-page .td-topbar {
  height: 55px;
  padding-left: 1.5rem;
  padding-right: 1rem;
  overflow: visible;
}

.landlord-dashboard-page .td-main {
  overflow: visible !important;
}

.landlord-dashboard-page .td-content {
  max-width: none;
  padding: 1.25rem 2rem 2rem;
}

.landlord-topbar-actions {
  gap: 0.75rem;
}

.landlord-bell {
  width: 32px;
  height: 32px;
  border-radius: 999px;
}

.landlord-bell span {
  top: -2px;
  right: -1px;
  width: 17px;
  height: 17px;
  line-height: 17px;
  font-size: 0.6rem;
  border: 2px solid #fff;
}

.landlord-profile-trigger {
  min-height: 36px;
  padding: 0.2rem 0.35rem;
}

.landlord-profile-trigger img {
  width: 30px;
  height: 30px;
}

.landlord-notification-panel {
  width: min(386px, calc(100vw - 1.5rem));
  right: -0.85rem;
  top: calc(100% + 0.65rem);
  border-radius: 10px;
  box-shadow: 0 12px 28px rgba(15, 26, 18, 0.16);
  z-index: 1200;
}

.landlord-notification-panel .td-panel-head {
  padding: 0.75rem 1rem;
}

.landlord-panel-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.landlord-panel-title span {
  display: inline-flex;
  align-items: center;
  border-radius: 999px;
  background: #007a45;
  color: #fff;
  padding: 0.12rem 0.45rem;
  line-height: 1.2;
}

.landlord-notification-panel .td-notification {
  padding: 0.9rem 2.5rem 0.9rem 1rem;
  background: #fff;
}

.landlord-notification-panel .td-notification.unread {
  background: #fff;
}

.landlord-notification-panel .td-notification > i.red {
  background: #ffe4e6;
  color: #ff4d6d;
}

.landlord-notification-panel .td-notification em {
  position: absolute;
  top: 1rem;
  right: 2.45rem;
  width: 6px;
  height: 6px;
  border-radius: 999px;
  background: #007a45;
}

.landlord-profile-panel {
  width: 192px;
  right: -0.35rem;
  top: calc(100% + 0.55rem);
  border-radius: 8px;
  padding: 0.3rem 0;
  box-shadow: 0 8px 18px rgba(15, 26, 18, 0.16);
  z-index: 1200;
}

.landlord-profile-panel a {
  border-radius: 0;
  padding: 0.6rem 0.85rem;
}

.landlord-profile-panel a.danger {
  display: flex;
  align-items: center;
  gap: 0.6rem;
}

@media (max-width: 991.98px) {
  .landlord-dashboard-page .td-content {
    padding: 1rem;
  }

  .landlord-notification-panel {
    right: -4rem;
  }
}

/* Landlord sidebar full-height component wrapper */
#easyScoutLandlordSidebar {
  min-height: 100%;
  height: 100%;
  display: flex;
  flex-direction: column;
}

#easyScoutLandlordSidebar .td-nav {
  flex: 1 1 auto;
}

#easyScoutLandlordSidebar .td-signout {
  margin-top: auto;
  min-height: 56px;
}
