/* assets/css/style.css - Volodar Poster Modernist / Reality-First High-Contrast System */

@import url('https://fonts.googleapis.com/css2?family=Cabinet+Grotesk:wght@500;700;800;900&family=Satoshi:wght@500;700;900&family=Inter:wght@400;600;700;800;900&display=swap');

:root {
  /* High-Contrast Modernist Palette (Zero Yellow) */
  --bg-page: #E3E2DE;            /* Soft Cream Background */
  --bg-surface: #FFFFFF;         /* Crisp White Cards */
  --bg-muted: #EFEFEA;           /* Neutral Slate Fill */
  --bg-dark: #141414;            /* Jet Black Sidebar / Dark Panels */
  
  --text-hi: #141414;            /* Jet Black Primary Text */
  --text-med: #334155;           /* Slate Secondary Text */
  --text-low: #475569;           /* Dark Slate Subtitles & Metadata */
  --text-light: #FFFFFF;         /* Crisp White Text on Dark Fill */
  
  --primary-blue: #1351AA;       /* High-Performance Cobalt Blue Accent */
  --primary: #141414;
  --nb-black: #141414;
  --nb-sage: #E2E8F0;
  
  --accent-danger: #C5221F;
  --accent-warning: #1351AA;
  --accent-success: #0D7A5F;
  
  --border-width: 1px;
  --border-color: #C7C7C7;
  --border-solid: 1px solid #C7C7C7;
  --border-dark: 2px solid #141414;
  
  --shadow-sm: none;
  --shadow-md: none;
  --shadow-lg: none;
  --shadow-xl: none;
  
  /* Strict Zero-Radius Geometry Throughout */
  --radius-sm: 0px;
  --radius-md: 0px;
  --radius-lg: 0px;
  
  --font-heading: 'Cabinet Grotesk', 'Inter', sans-serif;
  --font-body: 'Satoshi', 'Inter', sans-serif;
}

[data-theme="dark"] {
  --bg-page: #141414;
  --bg-surface: #1E1E1E;
  --bg-muted: #2A2A2A;
  --text-hi: #FFFFFF;
  --text-med: #C7C7C7;
  --text-low: #94A3B8;
  --border-color: #333333;
  --border-solid: 1px solid #333333;
  --border-dark: 2px solid #FFFFFF;
}

/* Universal Reset & Geometry Rules */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border-radius: 0px !important;
}

html {
  overflow-x: hidden;
  width: 100%;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-page);
  color: var(--text-hi);
  line-height: 1.6;
  font-size: 1.125rem; /* 18px Base Font Size for Universal Accessibility */
  min-height: 100vh;
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
  display: flex;
  flex-direction: column;
  -webkit-text-size-adjust: 100%;
}

h1, h2, h3, h4, h5, h6 {
  font-family: var(--font-heading);
  font-weight: 900;
  letter-spacing: -0.03em;
  color: var(--text-hi);
  word-wrap: break-word;
  line-height: 1.1;
}

a {
  color: var(--text-hi);
  text-decoration: none;
  font-weight: 700;
  transition: color 0.2s ease;
}

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

/* App Layout Grid */
.app-layout {
  display: flex;
  min-height: 100vh;
  width: 100%;
  max-width: 100vw;
  overflow-x: hidden;
}

/* Sidebar Navigation Drawer */
.sidebar {
  width: 270px;
  background-color: #141414;
  border-right: 2px solid #141414;
  display: flex;
  flex-direction: column;
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  z-index: 1000;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

#sidebarClose {
  display: none !important;
  width: 36px;
  height: 36px;
  font-size: 1.2rem;
  background: #1351AA;
  color: #FFFFFF;
  border: 1px solid #C7C7C7;
}

.sidebar-backdrop {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(20, 20, 20, 0.7);
  backdrop-filter: blur(4px);
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.sidebar-backdrop.show {
  opacity: 1;
  pointer-events: auto;
}

.main-content {
  flex: 1;
  margin-left: 270px;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  width: calc(100% - 270px);
  max-width: 100%;
  overflow-x: hidden;
}

@media (max-width: 992px) {
  #sidebarClose {
    display: flex !important;
  }
  .sidebar {
    width: 285px;
    max-width: 85vw;
    transform: translateX(-100%);
    box-shadow: 8px 0px 24px rgba(0, 0, 0, 0.6);
  }
  .sidebar.show {
    transform: translateX(0);
  }
  .main-content {
    margin-left: 0;
    width: 100%;
    max-width: 100vw;
  }
}

/* Header Navbar */
.navbar {
  height: 76px;
  background-color: rgba(227, 226, 222, 0.95);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid #C7C7C7;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 1.5rem;
  position: sticky;
  top: 0;
  z-index: 30;
  width: 100%;
  max-width: 100vw;
  box-sizing: border-box;
}

.brand-logo {
  display: flex;
  align-items: center;
  gap: 0.35rem;
  font-family: var(--font-heading);
  font-weight: 900;
  font-size: 1.5rem;
  color: #141414;
  text-transform: uppercase;
  letter-spacing: -0.04em;
}

.brand-logo-img {
  height: 40px;
  width: auto;
  mix-blend-mode: multiply;
  object-fit: contain;
}

/* General Centered Container (for Landing & Public Pages) */
.container {
  max-width: 1280px;
  margin: 0 auto;
  padding: 2rem 1.5rem;
  width: 100%;
  box-sizing: border-box;
}

/* App Main Content Area Container (Left-Aligned next to Sidebar) */
.main-content .container {
  max-width: 1440px;
  margin: 0;
  padding: 1.75rem 1.75rem 2rem 1.5rem;
  width: 100%;
  box-sizing: border-box;
}

/* Centered Auth Layout (Login & Register) */
.auth-wrapper {
  min-height: calc(100vh - 120px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2.5rem 1rem;
  width: 100%;
  box-sizing: border-box;
}

.auth-card {
  width: 100%;
  max-width: 440px;
  margin: 0 auto;
  background-color: #FFFFFF;
  border: 2px solid #141414;
  padding: 2.25rem;
}

.grid-sidebar-label {
  font-size: 0.75rem;
  font-weight: 800;
  color: #475569;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  padding-bottom: 0.5rem;
  border-bottom: 1px solid #C7C7C7;
  margin-bottom: 1rem;
}

/* Cards & Surfaces */
.card {
  background-color: #FFFFFF;
  border: 1px solid #C7C7C7;
  padding: 1.75rem;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  word-wrap: break-word;
  margin: 0 auto 1.5rem;
  transition: border-color 0.2s ease;
}

.card:hover {
  border-color: #141414;
}

.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.25rem;
  padding-bottom: 0.85rem;
  border-bottom: 1px solid #C7C7C7;
}

.card-title {
  font-size: 1.35rem;
  font-weight: 900;
  color: #141414;
  letter-spacing: -0.02em;
}

.card-dark {
  background-color: #141414;
  color: #FFFFFF;
  border: 1px solid #141414;
}
.card-dark .card-title, .card-dark h1, .card-dark h2, .card-dark h3 {
  color: #FFFFFF;
}

/* Modern Unified KPI Cards Grid */
.kpi-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1.15rem;
  margin-bottom: 2rem;
  align-items: stretch;
}

@media (max-width: 992px) {
  .kpi-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.85rem;
  }
}

.kpi-card {
  background-color: #FFFFFF;
  border: 1px solid #C7C7C7;
  border-left: 4px solid #141414;
  padding: 1.15rem 1.25rem;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 135px;
  height: 100%;
  box-sizing: border-box;
  position: relative;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.kpi-card:hover {
  border-color: #141414;
  transform: translateY(-2px);
}

.kpi-card.kpi-dark {
  border-left: 4px solid #141414;
}

.kpi-card.kpi-active {
  border-left: 4px solid #0D7A5F;
}

.kpi-card.kpi-danger {
  border-left: 4px solid #C5221F;
}

.kpi-card.kpi-success {
  border-left: 4px solid #1351AA;
}

.kpi-label {
  font-size: 0.725rem;
  font-weight: 800;
  color: #475569;
  text-transform: uppercase;
  letter-spacing: 0.12em;
  min-height: 2.2rem;
  display: flex;
  align-items: flex-start;
  line-height: 1.25;
}

.kpi-value {
  font-size: 1.7rem;
  font-weight: 900;
  color: #141414;
  margin-top: 0.25rem;
  margin-bottom: 0.25rem;
  letter-spacing: -0.03em;
  line-height: 1.1;
  white-space: nowrap;
}

/* High-Contrast Badges (Zero Yellow) */
.badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.35rem;
  padding: 0.4rem 0.85rem;
  font-size: 0.75rem;
  font-weight: 900;
  border: 1px solid #141414;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  white-space: nowrap !important;
  flex-shrink: 0;
}

.badge-success {
  background-color: #0D7A5F !important;
  color: #FFFFFF !important;
  border-color: #0D7A5F !important;
}

.badge-warning {
  background-color: #1351AA !important;
  color: #FFFFFF !important;
  border-color: #1351AA !important;
}

.badge-danger {
  background-color: #C5221F !important;
  color: #FFFFFF !important;
  border-color: #C5221F !important;
}

.badge-secondary {
  background-color: #334155 !important;
  color: #FFFFFF !important;
  border-color: #334155 !important;
}

/* High-Contrast Poster Buttons (48px Touch Target Height) */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  padding: 0.85rem 1.75rem;
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border: 1px solid #141414;
  cursor: pointer;
  transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease;
  text-decoration: none;
  white-space: nowrap !important;
  flex-shrink: 0;
  min-height: 48px;
  box-sizing: border-box;
}

.btn-primary {
  background-color: #1351AA;
  color: #FFFFFF;
  border-color: #1351AA;
}

.btn-primary:hover {
  background-color: #141414;
  color: #FFFFFF;
  border-color: #141414;
}

.btn-secondary {
  background-color: #FFFFFF;
  color: #141414;
  border-color: #141414;
}

.btn-secondary:hover {
  background-color: #1351AA;
  color: #FFFFFF;
  border-color: #1351AA;
}

.btn-danger {
  background-color: #C5221F;
  color: #FFFFFF;
  border-color: #C5221F;
}

.btn-sm {
  padding: 0.5rem 1.15rem;
  font-size: 0.825rem;
  min-height: 40px;
}

/* High Contrast Tables */
.table-responsive {
  width: 100%;
  max-width: 100%;
  overflow-x: auto;
  -webkit-overflow-scrolling: touch;
  display: block;
  box-sizing: border-box;
}

.table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
}

.table th, .table td {
  padding: 0.65rem 0.6rem;
  border-bottom: 1px solid #C7C7C7;
  font-size: 0.875rem;
  vertical-align: middle;
}

.table th {
  background-color: #141414;
  color: #FFFFFF;
  font-family: var(--font-heading);
  font-weight: 900;
  text-transform: uppercase;
  font-size: 0.75rem;
  letter-spacing: 0.15em;
  border-bottom: 2px solid #141414;
}

.table tbody tr:hover {
  background-color: #F7F7F5;
}

/* Navigation Links (20% Reduced Font Size for Compact Sidebar Menu) */
.nav-list {
  list-style: none;
  padding: 0.75rem 0.85rem;
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
}

.nav-link {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.7rem 0.85rem;
  color: #C7C7C7;
  font-weight: 800;
  font-size: 0.76rem; /* 20% Reduced Font Size */
  text-transform: uppercase;
  letter-spacing: 0.04em;
  border: 1px solid transparent;
  transition: all 0.2s ease;
  white-space: nowrap;
}

.nav-link:hover, .nav-link.active {
  background-color: #1351AA;
  color: #FFFFFF;
  border-color: #1351AA;
}

.nav-link svg, .nav-link i {
  width: 18px;
  height: 18px;
  font-size: 1.05rem;
  flex-shrink: 0;
}

/* Modals */
.modal-backdrop {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: rgba(20, 20, 20, 0.85);
  backdrop-filter: blur(4px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 1100;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
  padding: 1rem;
}

.modal-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-box {
  background-color: #FFFFFF;
  border: 2px solid #141414;
  width: 100%;
  max-width: 560px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 2rem;
  box-sizing: border-box;
}

.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  padding-bottom: 0.85rem;
  border-bottom: 2px solid #141414;
}

.modal-close {
  background: #141414;
  border: 1px solid #141414;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  font-weight: 900;
  color: #FFFFFF;
  cursor: pointer;
  flex-shrink: 0;
}

.modal-close:hover {
  background: #1351AA;
  border-color: #1351AA;
}

/* Form Inputs */
.form-group {
  margin-bottom: 1.35rem;
}

.form-label {
  display: block;
  font-size: 0.75rem;
  font-weight: 800;
  color: #141414;
  margin-bottom: 0.4rem;
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.form-control {
  width: 100%;
  padding: 0.85rem 1rem;
  font-size: 1rem;
  font-family: var(--font-body);
  background-color: #FFFFFF;
  border: 1px solid #C7C7C7;
  color: #141414;
  transition: border-color 0.2s ease;
  box-sizing: border-box;
  min-height: 48px;
}

.form-control:focus {
  outline: none;
  border-color: #1351AA;
  background-color: #FAFAFA;
}

/* Ticker Marquee Bar */
.marquee-bar {
  background-color: #141414;
  color: #FFFFFF;
  border-top: 1px solid #C7C7C7;
  border-bottom: 1px solid #C7C7C7;
  overflow: hidden;
  white-space: nowrap;
  padding: 0.85rem 0;
  display: flex;
  user-select: none;
  width: 100%;
}

.marquee-content {
  display: flex;
  align-items: center;
  gap: 3rem;
  animation: marqueeScroll 25s linear infinite;
  min-width: 100%;
  flex-shrink: 0;
}

.marquee-item {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 800;
  color: #FFFFFF;
  text-transform: uppercase;
  letter-spacing: 0.15em;
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

@keyframes marqueeScroll {
  0% { transform: translateX(0%); }
  100% { transform: translateX(-50%); }
}

/* Browser Mockup Window */
.browser-mockup {
  background: #FFFFFF;
  border: 2px solid #141414;
  overflow: hidden;
}

.browser-header {
  background: #141414;
  padding: 0.75rem 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.browser-dot {
  width: 10px;
  height: 10px;
  border-radius: 50% !important;
}

.browser-dot-red { background: #C5221F; }
.browser-dot-yellow { background: #60A5FA; }
.browser-dot-green { background: #1351AA; }

/* Header Mobile Avatar vs Desktop Profile Actions */
.header-mobile-avatar {
  display: none !important;
}

@media (max-width: 992px) {
  .header-desktop-actions {
    display: none !important;
  }
  .header-mobile-avatar {
    display: flex !important;
    align-items: center;
    justify-content: center;
  }
}

/* Mobile Optimization (< 768px) */
@media (max-width: 768px) {
  html {
    font-size: 15px;
  }
  
  .navbar {
    height: 66px;
    padding: 0 1rem !important;
  }
  
  .container {
    padding: 1.25rem 1rem !important;
  }

  .main-content .container {
    padding: 1.25rem 1rem !important;
  }

  .table th, .table td {
    padding: 0.5rem 0.45rem !important;
    font-size: 0.8rem !important;
  }

  .table .badge {
    padding: 0.2rem 0.45rem !important;
    font-size: 0.68rem !important;
  }

  .kpi-grid {
    grid-template-columns: 1fr 1fr;
    gap: 0.85rem;
  }

  .card {
    padding: 1.15rem !important;
    margin-bottom: 1.25rem !important;
  }

  h1 {
    font-size: 2rem !important;
  }

  div[style*="grid-template-columns: 2fr 1fr"],
  div[style*="grid-template-columns: 3fr 2fr"],
  div[style*="grid-template-columns: 1fr 1fr"] {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 480px) {
  html, body {
    max-width: 100vw !important;
    overflow-x: hidden !important;
  }

  .container, .main-content .container {
    padding-left: 0.75rem !important;
    padding-right: 0.75rem !important;
    max-width: 100vw !important;
    box-sizing: border-box !important;
  }

  .btn {
    max-width: 100% !important;
    box-sizing: border-box !important;
    white-space: normal !important;
    word-break: break-word !important;
  }

  .card {
    padding: 0.85rem !important;
  }
}

@keyframes fadeIn {
  from { opacity: 0; transform: translateY(4px); }
  to { opacity: 1; transform: translateY(0); }
}

.animate-fade-in {
  animation: fadeIn 0.25s ease forwards;
}

/* Page Header Bar Responsive Stacking (< 768px) */
.page-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  margin-bottom: 1.75rem;
  flex-wrap: wrap;
}

.page-header-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  flex-wrap: wrap;
}

@media (max-width: 768px) {
  .page-header-bar {
    flex-direction: column;
    align-items: stretch;
    gap: 0.85rem;
  }
  .page-header-actions {
    width: 100%;
    display: flex;
    gap: 0.5rem;
  }
  .page-header-actions .btn {
    flex: 1;
    justify-content: center;
    min-height: 44px;
    padding: 0.5rem 0.75rem;
    font-size: 0.825rem;
  }
}

/* Guided Tour Carousel Modal */
.tour-modal-box {
  max-width: 680px;
  padding: 1.75rem;
  border: 2px solid #141414;
}

.tour-slide {
  display: none !important;
}

.tour-slide.active {
  display: block !important;
  animation: fadeIn 0.25s ease forwards;
}

.tour-header {
  text-align: left;
  margin-bottom: 1.25rem;
}

.tour-step-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  padding: 0.35rem 0.75rem;
  background: #1351AA;
  color: #FFFFFF;
  border: 1px solid #1351AA;
  font-size: 0.75rem;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.75rem;
}

.tour-title {
  font-size: 1.5rem;
  font-weight: 900;
  color: #141414;
  margin-bottom: 0.5rem;
  letter-spacing: -0.03em;
}

.tour-desc {
  font-size: 0.95rem;
  color: #334155;
  line-height: 1.5;
  font-weight: 600;
}

.tour-illustration {
  background: #FAFAFA;
  border: 1px solid #C7C7C7;
  padding: 1.25rem;
  margin: 1.25rem 0;
}

.tour-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-top: 1.5rem;
  padding-top: 1rem;
  border-top: 1px solid #C7C7C7;
  flex-wrap: wrap;
  gap: 1rem;
}

.tour-dots {
  display: flex;
  gap: 0.4rem;
  align-items: center;
}

.tour-dot {
  width: 10px;
  height: 10px;
  background: #C7C7C7;
  border: 1px solid #141414;
  cursor: pointer;
  transition: all 0.2s ease;
}

.tour-dot.active {
  background: #1351AA;
  width: 22px;
  border-color: #1351AA;
}

/* Mobile Responsive Card Grid for Tables (< 768px) */
@media (max-width: 768px) {
  .mobile-card-grid table {
    display: block !important;
    border: none !important;
  }
  
  .mobile-card-grid thead {
    display: none !important;
  }
  
  .mobile-card-grid tbody {
    display: flex !important;
    flex-direction: column !important;
    gap: 1rem !important;
  }
  
  .mobile-card-grid tr {
    display: flex !important;
    flex-direction: column !important;
    background: #FFFFFF !important;
    border: 1px solid #C7C7C7 !important;
    padding: 1.15rem !important;
    margin-bottom: 0 !important;
    box-shadow: none !important;
    transition: border-color 0.2s ease !important;
  }

  .mobile-card-grid tr:hover {
    border-color: #141414 !important;
  }

  .mobile-card-grid td {
    display: flex !important;
    align-items: flex-start !important;
    justify-content: space-between !important;
    gap: 0.75rem !important;
    padding: 0.5rem 0 !important;
    border-bottom: 1px solid #EFEFEA !important;
    width: 100% !important;
    box-sizing: border-box !important;
    font-size: 0.9rem !important;
  }

  .mobile-card-grid td > * {
    text-align: right !important;
    max-width: 75% !important;
    flex-shrink: 1 !important;
    word-break: break-word !important;
  }

  .mobile-card-grid td:last-child {
    border-bottom: none !important;
    padding-top: 0.75rem !important;
    justify-content: flex-end !important;
    width: 100% !important;
  }

  .mobile-card-grid td:last-child > * {
    max-width: 100% !important;
    width: 100% !important;
  }

  /* Add Mobile Data Attribute Labels */
  .mobile-card-grid td::before {
    content: attr(data-label);
    font-size: 0.725rem !important;
    font-weight: 800 !important;
    color: #475569 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.05em !important;
    flex-shrink: 0 !important;
    margin-right: 0.5rem !important;
    text-align: left !important;
    padding-top: 0.1rem !important;
  }

  .mobile-card-grid td:first-child::before,
  .mobile-card-grid td:last-child::before {
    display: none !important;
  }

  .mobile-card-grid td:first-child {
    border-bottom: 2px solid #141414 !important;
    padding-bottom: 0.65rem !important;
    margin-bottom: 0.35rem !important;
    justify-content: space-between !important;
    align-items: center !important;
  }

  .mobile-card-grid td:first-child > * {
    max-width: 100% !important;
    text-align: left !important;
  }

  .mobile-card-grid td:last-child .btn {
    width: 100% !important;
    justify-content: center !important;
  }
}

/* Tenant Portal Responsive Layout & Apartment Header Card */
.tenant-portal-grid {
  display: grid;
  grid-template-columns: 3fr 2fr;
  gap: 1.5rem;
}

.tenant-property-card-inner {
  display: flex;
  gap: 1.5rem;
  align-items: center;
  flex-wrap: wrap;
}

.tenant-property-img {
  width: 140px;
  height: 95px;
  border-radius: var(--radius-md);
  background-size: cover;
  background-position: center;
  flex-shrink: 0;
  border: 2px solid #000;
}

.tenant-property-info {
  flex: 1;
  min-width: 200px;
}

.tenant-property-rent-box {
  background: var(--nb-yellow);
  padding: 1rem 1.25rem;
  border-radius: var(--radius-md);
  border: 2px solid #000;
  text-align: right;
  box-shadow: 3px 3px 0px #000;
}

@media (max-width: 992px) {
  .tenant-portal-grid {
    grid-template-columns: 1fr !important;
  }
}

@media (max-width: 768px) {
  .tenant-property-card-inner {
    flex-direction: column !important;
    align-items: stretch !important;
    gap: 1rem !important;
  }
  .tenant-property-img {
    width: 100% !important;
    height: 180px !important;
  }
  .tenant-property-info {
    width: 100% !important;
    min-width: 0 !important;
  }
  .tenant-property-rent-box {
    width: 100% !important;
    text-align: left !important;
    display: flex !important;
    align-items: center !important;
    justify-content: space-between !important;
    box-sizing: border-box !important;
  }
}

/* Phone Mask Input Mobile Fit */
[data-phone-mask] {
  font-size: 0.95rem !important;
  font-weight: 700 !important;
  letter-spacing: 0.02em !important;
}

@media (max-width: 480px) {
  [data-phone-mask] {
    font-size: 0.875rem !important;
    padding-left: 0.5rem !important;
    padding-right: 0.5rem !important;
  }
}


