﻿:root {
  --bg-main: #f4f6fb;
  --bg-card: #ffffff;
  --bg-sidebar: #111827;
  --bg-sidebar-dark: #020617;
  --text-main: #111827;
  --text-muted: #6b7280;
  --accent: #2563eb;
  --accent-soft: #dbeafe;
  --danger: #b91c1c;
  --danger-soft: #fee2e2;
  --success: #16a34a;
  --border-soft: #e5e7eb;
  --shadow-soft: 0 10px 30px rgba(15, 23, 42, 0.08);
  --radius-lg: 16px;
  --radius-md: 10px;
  --radius-pill: 999px;
  --font-main: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

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

html, body {
  margin: 0;
  padding: 0;
  height: 100%;
  font-family: var(--font-main);
  color: var(--text-main);
  background: var(--bg-main);
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible {
  outline: 3px solid rgba(37, 99, 235, 0.32);
  outline-offset: 2px;
}

/* LAYOUT */

.layout {
  display: flex;
  min-height: 100vh;
}

/* SIDEBAR */

.sidebar {
  width: 260px;
  background: linear-gradient(180deg, var(--bg-sidebar), var(--bg-sidebar-dark));
  color: #e5e7eb;
  display: flex;
  flex-direction: column;
  padding: 18px 18px 16px;
}

.sidebar-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 8px 4px 18px;
  border-bottom: 1px solid rgba(148, 163, 184, 0.3);
  margin-bottom: 16px;
}

.logo-circle {
  width: 40px;
  height: 40px;
  border-radius: 999px;
  background: rgba(37, 99, 235, 0.25);
  border: 1px solid rgba(191, 219, 254, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.9rem;
}

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

.brand span {
  font-size: 0.75rem;
  color: #9ca3af;
}

.sidebar-section-title {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  color: #9ca3af;
  margin: 8px 4px;
}

.sidebar-link {
  display: block;
  padding: 9px 10px;
  margin: 2px 0;
  border-radius: 8px;
  text-decoration: none;
  font-size: 0.9rem;
  color: #e5e7eb;
  opacity: 0.85;
  transition: 0.2s ease;
}

.sidebar-link:hover {
  background: rgba(15, 23, 42, 0.7);
  opacity: 1;
}

.sidebar-link.active {
  background: rgba(37, 99, 235, 0.18);
  color: #bfdbfe;
  border: 1px solid rgba(37, 99, 235, 0.6);
  opacity: 1;
}

.sidebar-footer {
  margin-top: auto;
  padding-top: 12px;
  border-top: 1px solid rgba(148, 163, 184, 0.35);
}

.logout-btn {
  width: 100%;
  border-radius: 10px;
  border: 1px solid rgba(148, 163, 184, 0.6);
  background: transparent;
  color: #e5e7eb;
  padding: 8px 10px;
  font-size: 0.9rem;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  transition: 0.2s ease;
}

.logout-btn:hover {
  background: rgba(30, 64, 175, 0.9);
  border-color: transparent;
}

/* MAIN */

.main {
  flex: 1;
  display: flex;
  flex-direction: column;
}

/* HEADER */

.header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  border-bottom: 1px solid var(--border-soft);
  background: rgba(248, 250, 252, 0.9);
  backdrop-filter: blur(12px);
  position: sticky;
  top: 0;
  z-index: 10;
}

.header-left h2 {
  margin: 0;
  font-size: 1.3rem;
}

.tagline {
  font-size: 0.85rem;
  color: var(--text-muted);
}

.header-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.notif-wrapper {
  position: relative;
  border-radius: 999px;
  padding: 6px 10px;
  background: #e5edff;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 6px;
}

.notif-icon {
  font-size: 1.1rem;
}

.notif-badge {
  background: #ef4444;
  color: #fff;
  font-size: 0.7rem;
  border-radius: 999px;
  padding: 2px 6px;
}

/* CONTENT */

.content {
  padding: 18px 22px 26px;
}

/* STATS CARDS */

.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
  margin-bottom: 18px;
}

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

.card {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 16px 18px;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(226, 232, 240, 0.9);
}

.card-label {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-bottom: 4px;
}

.card-value {
  font-size: 1.6rem;
  font-weight: 700;
}

.card-sub {
  margin-top: 4px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.card.warning {
  border-left: 4px solid var(--danger);
  background: #fff7f7;
}

.card.money {
  position: relative;
  overflow: hidden;
}

.card.money::after {
  content: "";
  position: absolute;
  right: -20px;
  bottom: -20px;
  width: 80px;
  height: 80px;
  border-radius: 999px;
  background: var(--accent-soft);
  opacity: 0.8;
}

.card.money.highlight {
  border: 1px solid rgba(248, 113, 113, 0.4);
  background: #fef2f2;
}

/* CHARTS */

.charts-row {
  display: grid;
  grid-template-columns: 2.5fr 1.2fr;
  gap: 18px;
  margin: 10px 0 20px;
}

.chart-box {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 16px 18px 18px;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(226, 232, 240, 0.9);
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.chart-box.small {
  max-height: 320px;
}

.chart-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px;
}

.chart-header h3 {
  margin: 0;
  font-size: 1rem;
}

.chart-subtitle {
  font-size: 0.8rem;
  color: var(--text-muted);
}

.donut-wrapper {
  width: 100%;
  max-width: 180px;
  margin: 0 auto;
}

.occupancy-legend {
  margin-top: 8px;
  display: flex;
  justify-content: center;
  gap: 16px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.legend-item {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 999px;
}

.dot-1 {
  background: #2563eb;
}

.dot-2 {
  background: #cbd5f5;
}

/* BOTTOM ROW */

.bottom-row {
  display: grid;
  grid-template-columns: 2.3fr 1.2fr;
  gap: 18px;
}

.table-box {
  background: var(--bg-card);
  border-radius: var(--radius-lg);
  padding: 16px 18px 18px;
  box-shadow: var(--shadow-soft);
  border: 1px solid rgba(226, 232, 240, 0.9);
}

.table-header {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  margin-bottom: 8px;
}

.table-header h3 {
  margin: 0;
  font-size: 1rem;
}

.link-sm {
  font-size: 0.8rem;
  color: var(--accent);
  text-decoration: none;
}

.link-sm:hover {
  text-decoration: underline;
}

.table-wrapper {
  overflow-x: auto;
}

table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.85rem;
}

th, td {
  padding: 8px 6px;
  text-align: left;
  border-bottom: 1px solid var(--border-soft);
}

th {
  font-weight: 600;
  color: var(--text-muted);
  font-size: 0.8rem;
}

.empty-row {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* ARREARS CARD */

.arrears-card {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.arrears-card h3 {
  margin: 0;
  font-size: 1rem;
}

.summary-line {
  margin: 0;
  font-size: 0.9rem;
}

.summary-line span {
  font-weight: 700;
  color: var(--danger);
}

.arrears-list {
  list-style: none;
  padding-left: 0;
  margin: 4px 0 8px;
  font-size: 0.8rem;
  color: var(--text-muted);
}

.arrears-list li {
  padding: 3px 0;
}

/* RESPONSIVE */

@media (max-width: 960px) {
  .layout {
    flex-direction: column;
  }

  .sidebar {
    width: 100%;
    flex-direction: row;
    align-items: center;
    overflow-x: auto;
    padding: 10px 12px;
  }

  .sidebar-header {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
    margin-right: 12px;
  }

  .sidebar-section-title {
    display: none;
  }

  .sidebar-link {
    white-space: nowrap;
    padding-inline: 10px;
    font-size: 0.8rem;
  }

  .sidebar-footer {
    display: none;
  }

  .header {
    position: static;
  }

  .content {
    padding: 14px 14px 18px;
  }

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

  .stats-grid.wide {
    grid-template-columns: 1fr;
  }

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

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

@media (max-width: 600px) {
  .stats-grid {
    grid-template-columns: 1fr;
  }
}
/* GENERIC BUTTONS */

.btn-primary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: #2563eb;
  color: #fff;
  border-radius: 10px;
  border: none;
  padding: 8px 14px;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  transition: 0.2s ease;
}

.btn-primary:hover {
  background: #1d4ed8;
}

.btn-secondary {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  background: #e5e7eb;
  color: #111827;
  border-radius: 10px;
  border: none;
  padding: 8px 14px;
  font-size: 0.9rem;
  cursor: pointer;
  transition: 0.2s ease;
}

.btn-secondary:hover {
  background: #d1d5db;
}

.btn-sm {
  padding: 6px 10px;
  font-size: 0.8rem;
}

/* MODAL */

.modal {
  position: fixed;
  inset: 0;
  background: rgba(15, 23, 42, 0.35);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 50;
}

.modal.open {
  display: flex;
}


.modal-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.modal-header h3 {
  margin: 0;
  font-size: 1.1rem;
}

.modal-close {
  border: none;
  background: transparent;
  font-size: 1.4rem;
  cursor: pointer;
}

.modal-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.form-section {
  border-radius: 12px;
  padding: 10px 12px;
  background: #f9fafb;
  border: 1px solid #e5e7eb;
}

.section-title {
  margin: 0 0 8px;
  font-size: 0.9rem;
  font-weight: 600;
  color: #4b5563;
}

.form-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}

.form-col {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.form-col label {
  font-size: 0.8rem;
  color: #6b7280;
}

.form-col input,
.form-col select,
.form-col textarea {
  border-radius: 8px;
  border: 1px solid #d1d5db;
  padding: 7px 9px;
  font-size: 0.85rem;
}

.form-col textarea {
  resize: vertical;
}

.modal-actions {
  display: flex;
  justify-content: flex-end;
  gap: 8px;
  margin-top: 4px;
}

@media (max-width: 720px) {
  .modal-content {
    margin: 0 10px;
  }

  .form-row {
    grid-template-columns: 1fr;
  }
}
#incomeChart {
  height: 220px !important;
  max-height: 220px !important;
}
/* ==============================
   LEDGER BALANCE COLORS
============================== */
.balance-positive {
  color: #b91c1c;          /* red */
  font-weight: 600;
}

.balance-zero,
.balance-credit {
  color: #15803d;          /* green */
  font-weight: 600;
}
/* ===============================
   Utilities Page
================================ */

.page {
  max-width: 1100px;
  margin: 0 auto;
  padding: 30px;
}

.page h2 {
  margin-bottom: 20px;
}

.card {
  background: #ffffff;
  padding: 24px;
  border-radius: 12px;
  box-shadow: 0 8px 24px rgba(0,0,0,0.05);
}

/* GRID FORM */
#utilityForm {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* Make textarea & button full width */
#utilityForm textarea,
#utilityForm button {
  grid-column: span 3;
}

/* Metered + fixed sections span full width */
#meteredSection,
#fixedSection {
  grid-column: span 3;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

/* Labels */
#utilityForm label {
  font-size: 13px;
  color: #555;
}

/* Inputs */
#utilityForm input,
#utilityForm select,
#utilityForm textarea {
  width: 100%;
  padding: 10px;
  border-radius: 8px;
  border: 1px solid #ddd;
  font-size: 14px;
}

/* Button */
.btn-primary {
  justify-self: flex-end;
  background: #2563eb;
  color: #fff;
  border: none;
  padding: 12px 24px;
  border-radius: 10px;
  cursor: pointer;
}
/* ===============================
   MODAL
================================ */

.modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  display: none;
  align-items: center;
  justify-content: center;
  z-index: 9999;
}

.modal.show {
  display: flex;
}


/* =========================
   Invoice Status Badges
========================= */
.badge {
  display: inline-block;
  padding: 4px 10px;
  border-radius: 999px;
  font-size: 11px;
  font-weight: 600;
  text-transform: uppercase;
}

.badge-paid {
  background: #e6f7ee;
  color: #0f7b4b;
}

.badge-partial {
  background: #fff4e5;
  color: #b45309;
}

.badge-unpaid {
  background: #fdecea;
  color: #b91c1c;
}
/* =========================
   Overdue Invoice Highlight
========================= */
tr.invoice-overdue {
  background: #fff1f2;
}

tr.invoice-overdue td {
  color: #991b1b;
}

tr.invoice-overdue .badge-unpaid {
  background: #fecaca;
  color: #7f1d1d;
}
/* =========================
   Invoice Filters
========================= */
.filter-row {
  display: flex;
  gap: 10px;
}

.filter-btn {
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid #ddd;
  background: #fff;
  font-size: 12px;
  cursor: pointer;
}

.filter-btn.active {
  background: #111827;
  color: #fff;
  border-color: #111827;
}
.watermark {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) rotate(-30deg);
  font-size: 90px;
  font-weight: 700;
  color: rgba(0, 0, 0, 0.08);
  text-transform: uppercase;
  pointer-events: none;
  z-index: 0;
}

.watermark.paid {
  color: rgba(34, 197, 94, 0.12); /* green */
}

.watermark.overdue {
  color: rgba(239, 68, 68, 0.12); /* red */
}

.watermark.unpaid {
  color: rgba(234, 179, 8, 0.12); /* amber */
}

.modal-content form,
.modal-content {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}
.modal-content input,
.modal-content select,
.modal-content textarea {
  width: 100%;
  padding: 12px 14px;
  font-size: 15px;
  border-radius: 8px;
  border: 1px solid #d0d5dd;
  background: #fff;
  color: #101828;
  transition: all 0.2s ease;
}
.modal-content textarea {
  grid-column: span 2;
  resize: vertical;
  min-height: 90px;
}
.modal-content input#title {
  grid-column: span 2;
}
.modal-content input:focus,
.modal-content select:focus,
.modal-content textarea:focus {
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.15);
  outline: none;
}
.modal-actions {
  grid-column: span 2;
  display: flex;
  justify-content: flex-end;
  gap: 12px;
  margin-top: 10px;
}
.btn-primary {
  padding: 10px 18px;
  border-radius: 8px;
  font-size: 14px;
}

.btn-secondary {
  padding: 10px 18px;
  border-radius: 8px;
}
.section-title {
  font-size: 1.2rem;
  font-weight: 600;
  margin-bottom: 4px;
}

.section-subtitle {
  color: #666;
  font-size: 0.9rem;
  margin-bottom: 16px;
}

.stat-card.expense {
  border-left: 4px solid #f59e0b;
}

.stat-card.profit {
  border-left: 4px solid #22c55e;
}
.table-wrapper {
  overflow-x: auto;
}

.empty-row {
  text-align: center;
  color: #6b7280;
  font-size: 0.85rem;
}

.card-sub {
  font-size: 0.85rem;
  color: #6b7280;
  margin-top: 4px;
}
.modal-content {
  display: flex;
  justify-content: center;
  align-items: flex-start;
}
.modal-form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
  width: 100%;
  max-width: 900px;
}
.form-card {
  width: 100%;
}
/* ===========================
   EDIT MODAL FIX (FINAL)
=========================== */

.modal-content {
  background: #fff;
  width: 100%;
  max-width: 900px;
  padding: 28px;
  border-radius: 16px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.25);

  /* FORCE ONE layout */
  display: block !important;
}

/* Modal grid */
.modal-form-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 24px;
}

/* Each section card */
.form-card {
  background: #f9fafb;
  border: 1px solid #e5e7eb;
  border-radius: 12px;
  padding: 16px;
}

/* Section titles */
.form-card h4 {
  margin-top: 0;
  margin-bottom: 10px;
  font-size: 0.95rem;
}

/* Inputs */
.form-card input,
.form-card select,
.form-card textarea {
  width: 100%;
  padding: 10px;
  border-radius: 8px;
  border: 1px solid #d1d5db;
}
/* ===========================
   MODAL INPUT WIDTH FIX
=========================== */

.modal-form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;   /* 2 wide columns */
  gap: 24px;
}

/* Inside each card */
.form-card .form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;   /* default: 2 inputs per row */
  gap: 14px;
}

/* Force full-width rows when needed */
.form-card .form-row.full {
  grid-template-columns: 1fr;
}
input,
select,
textarea {
  font-size: 16px;      /* try 16-18px */
  padding: 12px 14px;  /* gives breathing space */
  gap: 14px;
}
.card.danger {
  border-left: 4px solid #dc2626;
}

.status-badge.risk-low {
  background: #16a34a;
}

.status-badge.risk-medium {
  background: #f59e0b;
}

.status-badge.risk-high {
  background: #dc2626;
}  
.form-row.three {
  grid-template-columns: repeat(3, 1fr);
}  
.form-row {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.form-row.three {
  grid-template-columns: repeat(3, 1fr);
}  
.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group input {
  width: 320px;   /* fixed clean width */
  max-width: 100%;
  padding: 10px;
  border: 1px solid #d1d5db;
  border-radius: 6px;
  font-size: 14px;
}  
.vat-section {
  grid-column: 1 / -1; /* makes VAT section span full width */
}

.settings-divider {
  grid-column: 1 / -1;
  margin: 25px 0;
  border: none;
  border-top: 1px solid rgba(0,0,0,0.08);
}

.section-title {
  font-size: 15px;
  font-weight: 600;
  margin-bottom: 15px;
  color: #222;
}

.vat-toggle {
  margin-bottom: 15px;
}

.checkbox-label {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
}

.checkbox-label input {
  width: 16px;
  height: 16px;
}

.vat-options.hidden {
  display: none;
}  
.rent-status-widget {
  padding: 20px;
}

.rent-status-row {
  display: flex;
  justify-content: space-between;
  margin: 10px 0;
}

.status.paid {
  color: #2ecc71;
}

.status.partial {
  color: #f39c12;
}

.status.unpaid {
  color: #e74c3c;
}  
.site-footer{
  margin-top:40px;
  padding:20px;
  text-align:center;
  border-top:1px solid #e5e7eb;
  font-size:14px;
  color:#6b7280;
}

.site-footer a{
  margin:0 10px;
  color:#3b82f6;
  text-decoration:none;
}

.site-footer a:hover{
  text-decoration:underline;
}  
.legal-header{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:30px 40px;
  border-bottom:1px solid #e5e7eb;
}

.back-btn{
  padding:10px 18px;
  background:#2563eb;
  color:white;
  border-radius:6px;
  text-decoration:none;
  font-weight:500;
}

.back-btn:hover{
  background:#1d4ed8;
}   
.subscription-widget{

margin-top:20px;
padding:20px;
background:white;
border-radius:10px;
box-shadow:0 2px 6px rgba(0,0,0,0.08);

}

.subscription-info{

margin-bottom:15px;
font-size:15px;

}    
.upgrade-modal{
position:fixed;
top:0;
left:0;
width:100%;
height:100%;
background:rgba(0,0,0,0.6);
display:flex;
align-items:center;
justify-content:center;
}

.upgrade-box{
background:#fff;
padding:30px;
border-radius:10px;
width:400px;
text-align:center;
}

.plans{
display:flex;
gap:10px;
justify-content:center;
margin-top:20px;
}

.plan{
border:1px solid #ddd;
padding:15px;
border-radius:8px;
}

.hidden{
display:none;
}
.dashboard-onboarding,
.dashboard-quickstart {
  display: flex;
  justify-content: space-between;
  gap: 18px;
  align-items: center;
  background: linear-gradient(135deg, #ffffff 0%, #eff6ff 100%);
  border: 1px solid rgba(37, 99, 235, 0.12);
  border-radius: 18px;
  padding: 18px 20px;
  box-shadow: var(--shadow-soft);
  margin-bottom: 18px;
}

.dashboard-onboarding h3,
.dashboard-quickstart h3 {
  margin: 0 0 6px;
  color: #0f172a;
}

.dashboard-onboarding p,
.dashboard-quickstart p {
  margin: 0;
  color: #475569;
  max-width: 680px;
}

.dashboard-onboarding-actions {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.primary-link,
.secondary-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 40px;
  border-radius: 10px;
  padding: 0 14px;
  text-decoration: none;
  font-weight: 600;
}

.primary-link {
  background: #1d4ed8;
  color: #ffffff;
}

.secondary-link {
  background: #e2e8f0;
  color: #0f172a;
}

.dashboard-quickstart {
  align-items: flex-start;
}

.dashboard-quickstart-copy {
  max-width: 360px;
}

.quickstart-eyebrow {
  display: inline-block;
  margin-bottom: 8px;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #2563eb;
}

.quickstart-steps {
  flex: 1;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 12px;
}

.quickstart-step {
  background: rgba(255, 255, 255, 0.92);
  border: 1px solid rgba(148, 163, 184, 0.24);
  border-radius: 14px;
  padding: 14px;
}

.quickstart-step strong {
  display: block;
  margin-bottom: 6px;
  color: #0f172a;
}

.quickstart-step p {
  margin: 0 0 10px;
  font-size: 0.85rem;
}

.quickstart-step a {
  color: #1d4ed8;
  font-weight: 600;
  text-decoration: none;
}

.dashboard-loading .card,
.dashboard-loading .chart-box,
.dashboard-loading .table-box,
.dashboard-loading .arrears-card,
.dashboard-loading .subscription-widget,
.dashboard-loading .rent-status-widget {
  position: relative;
  overflow: hidden;
}

.dashboard-loading .card::before,
.dashboard-loading .chart-box::before,
.dashboard-loading .table-box::before,
.dashboard-loading .arrears-card::before,
.dashboard-loading .subscription-widget::before,
.dashboard-loading .rent-status-widget::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(255,255,255,0) 0%, rgba(255,255,255,0.5) 50%, rgba(255,255,255,0) 100%);
  transform: translateX(-100%);
  animation: dashboardShimmer 1.5s infinite;
  pointer-events: none;
}

.dashboard-loading canvas,
.dashboard-loading #recentPaymentsBody {
  opacity: 0.5;
}

@keyframes dashboardShimmer {
  100% {
    transform: translateX(100%);
  }
}

@media (max-width: 960px) {
  .dashboard-onboarding,
  .dashboard-quickstart {
    flex-direction: column;
    align-items: flex-start;
  }
}
