/**
 * IRPI - Property Portfolio Management Platform
 * Main LESS file - compiles to style.css
 */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}
html {
  font-size: 16px;
}
body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.6;
  color: #1e293b;
  background-color: #f8fafc;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}
a {
  color: #2563eb;
  text-decoration: none;
  transition: color 0.2s ease;
}
a:hover {
  color: #134cca;
}
img {
  max-width: 100%;
  height: auto;
}
h1,
h2,
h3,
h4,
h5,
h6 {
  font-weight: 600;
  line-height: 1.3;
  margin-bottom: 1rem;
  color: #0f172a;
}
h1 {
  font-size: 2.5rem;
}
h2 {
  font-size: 2rem;
}
h3 {
  font-size: 1.5rem;
}
h4 {
  font-size: 1.25rem;
}
h5 {
  font-size: 1.125rem;
}
h6 {
  font-size: 1rem;
}
p {
  margin-bottom: 1rem;
}
strong {
  font-weight: 600;
}
small {
  font-size: 0.875rem;
}
.container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 2rem;
}
.main-content {
  min-height: calc(100vh - 140px);
  padding: 2rem 0;
}
.main-header {
  background: #ffffff;
  border-bottom: 1px solid #e2e8f0;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
  position: sticky;
  top: 0;
  z-index: 100;
}
.main-header .header-content {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 0;
  gap: 2rem;
}
.main-header .logo h1 {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 700;
}
.main-header .logo h1 a {
  color: #1e293b;
}
.main-header .logo h1 a:hover {
  color: #2563eb;
}
.main-header .main-nav {
  flex: 1;
}
.main-header .main-nav ul {
  list-style: none;
  display: flex;
  gap: 0.5rem;
}
.main-header .main-nav ul li a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 0.375rem;
  color: #475569;
  font-weight: 500;
  transition: all 0.2s;
}
.main-header .main-nav ul li a:hover {
  background: #f1f5f9;
  color: #0f172a;
}
.main-header .main-nav ul li a i {
  font-size: 1rem;
}
.main-header .main-nav ul li.active a {
  background: #2563eb;
  color: #ffffff;
}
.main-header .main-nav ul li.active a:hover {
  background: #1555e2;
}
.main-header .user-menu {
  display: flex;
  align-items: center;
  gap: 1rem;
}
.main-header .user-menu .user-info {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #334155;
  font-weight: 500;
}
.main-header .user-menu .user-info i {
  font-size: 1.5rem;
  color: #94a3b8;
}
.main-header .user-menu .btn-logout {
  padding: 0.5rem 1rem;
  background: #f1f5f9;
  color: #334155;
  border-radius: 0.375rem;
  font-weight: 500;
}
.main-header .user-menu .btn-logout:hover {
  background: #e2e8f0;
  color: #0f172a;
}
.main-footer {
  background: #ffffff;
  border-top: 1px solid #e2e8f0;
  padding: 1.5rem 0;
  margin-top: 4rem;
}
.main-footer p {
  text-align: center;
  color: #64748b;
  font-size: 0.875rem;
  margin: 0;
}
.login-page {
  background: linear-gradient(135deg, #2563eb 0%, #1043b3 100%);
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem;
}
.login-container {
  width: 100%;
  max-width: 450px;
}
.login-box {
  background: #ffffff;
  padding: 3rem;
  border-radius: 1rem;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}
.login-header {
  text-align: center;
  margin-bottom: 2rem;
}
.login-header i {
  font-size: 3rem;
  color: #2563eb;
  margin-bottom: 1rem;
}
.login-header h1 {
  margin: 0 0 0.5rem 0;
  font-size: 2rem;
  color: #0f172a;
}
.login-header p {
  margin: 0;
  color: #475569;
  font-size: 1rem;
}
.login-footer {
  text-align: center;
  margin-top: 2rem;
}
.login-footer p {
  margin: 0.5rem 0;
  color: #64748b;
  font-size: 0.875rem;
}
.page-header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  margin-bottom: 2rem;
  gap: 2rem;
  flex-wrap: wrap;
}
.page-header h1 {
  margin: 0;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.page-header h1 i {
  color: #2563eb;
}
.page-header .subtitle {
  margin: 0.5rem 0 0 0;
  color: #475569;
  font-size: 1rem;
}
.page-header .page-actions {
  display: flex;
  gap: 0.75rem;
  flex-wrap: wrap;
}
.btn {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.625rem 1.25rem;
  font-size: 0.9375rem;
  font-weight: 500;
  line-height: 1.5;
  border-radius: 0.5rem;
  border: 1px solid transparent;
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  white-space: nowrap;
}
.btn:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}
.btn.btn-xs {
  padding: 0.25rem 0.5rem;
  font-size: 0.75rem;
}
.btn.btn-sm {
  padding: 0.375rem 0.75rem;
  font-size: 0.875rem;
}
.btn.btn-lg {
  padding: 0.75rem 1.5rem;
  font-size: 1.125rem;
}
.btn.btn-block {
  width: 100%;
  justify-content: center;
}
.btn.btn-primary {
  background: #2563eb;
  color: #ffffff;
}
.btn.btn-primary:hover {
  background: #1350d4;
  color: #ffffff;
}
.btn.btn-secondary {
  background: #e2e8f0;
  color: #1e293b;
}
.btn.btn-secondary:hover {
  background: #cbd5e1;
  color: #0f172a;
}
.btn.btn-success {
  background: #10b981;
  color: #ffffff;
}
.btn.btn-success:hover {
  background: #0d9367;
}
.btn.btn-danger {
  background: #ef4444;
  color: #ffffff;
}
.btn.btn-danger:hover {
  background: #ec1e1e;
}
.btn.btn-warning {
  background: #f59e0b;
  color: #ffffff;
}
.btn.btn-warning:hover {
  background: #cf8508;
}
.btn.btn-info {
  background: #06b6d4;
  color: #ffffff;
}
.btn.btn-info:hover {
  background: #0594ac;
}
.btn.btn-outline {
  background: transparent;
  border-color: #cbd5e1;
  color: #334155;
}
.btn.btn-outline:hover {
  background: #f1f5f9;
  border-color: #94a3b8;
}
.alert {
  padding: 1rem 1.25rem;
  border-radius: 0.5rem;
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}
.alert i {
  font-size: 1.25rem;
}
.alert.alert-success {
  background: #b6f9e3;
  border: 1px solid #6ff3c7;
  color: #085b40;
}
.alert.alert-error {
  background: #ffffff;
  border: 1px solid #fbd1d1;
  color: #eb1515;
}
.alert.alert-warning {
  background: #fdeccf;
  border: 1px solid #fbd89e;
  color: #945f06;
}
.alert.alert-info {
  background: #c2f5fd;
  border: 1px solid #78e8fb;
  color: #036171;
}
.alert.alert-dismissible {
  position: relative;
  padding-right: 3rem;
}
.alert.alert-dismissible .alert-close {
  position: absolute;
  top: 50%;
  right: 1rem;
  transform: translateY(-50%);
  background: none;
  border: none;
  cursor: pointer;
  padding: 0.25rem;
  color: inherit;
  opacity: 0.6;
}
.alert.alert-dismissible .alert-close:hover {
  opacity: 1;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-bottom: 2rem;
}
.stats-grid.stats-grid-3 {
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}
.stats-grid.stats-grid-4 {
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
}
.stat-card {
  background: #ffffff;
  border-radius: 0.75rem;
  padding: 1.5rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  gap: 1.25rem;
  border-left: 4px solid #cbd5e1;
  transition: transform 0.2s, box-shadow 0.2s;
}
.stat-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}
.stat-card .stat-icon {
  font-size: 2.5rem;
  color: #94a3b8;
  opacity: 0.8;
}
.stat-card .stat-content {
  flex: 1;
}
.stat-card .stat-content h3 {
  font-size: 0.875rem;
  font-weight: 500;
  color: #475569;
  margin: 0 0 0.25rem 0;
  text-transform: uppercase;
  letter-spacing: 0.025em;
}
.stat-card .stat-content .stat-value {
  font-size: 1.875rem;
  font-weight: 700;
  color: #0f172a;
  margin: 0;
  line-height: 1.2;
}
.stat-card .stat-content .stat-subtitle {
  font-size: 0.75rem;
  color: #64748b;
  margin: 0.25rem 0 0 0;
}
.stat-card.stat-primary {
  border-left-color: #2563eb;
}
.stat-card.stat-primary .stat-icon {
  color: #2563eb;
}
.stat-card.stat-secondary {
  border-left-color: #64748b;
}
.stat-card.stat-secondary .stat-icon {
  color: #64748b;
}
.stat-card.stat-success {
  border-left-color: #10b981;
}
.stat-card.stat-success .stat-icon {
  color: #10b981;
}
.stat-card.stat-danger {
  border-left-color: #ef4444;
}
.stat-card.stat-danger .stat-icon {
  color: #ef4444;
}
.stat-card.stat-warning {
  border-left-color: #f59e0b;
}
.stat-card.stat-warning .stat-icon {
  color: #f59e0b;
}
.stat-card.stat-info {
  border-left-color: #06b6d4;
}
.stat-card.stat-info .stat-icon {
  color: #06b6d4;
}
.stat-card.stat-income {
  border-left-color: #10b981;
}
.stat-card.stat-income .stat-icon {
  color: #10b981;
}
.stat-card.stat-expense {
  border-left-color: #ef4444;
}
.stat-card.stat-expense .stat-icon {
  color: #ef4444;
}
.charts-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}
.chart-card {
  background: #ffffff;
  border-radius: 0.75rem;
  padding: 1.5rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}
.chart-card.chart-card-full {
  grid-column: 1 / -1;
}
.chart-card h3 {
  margin: 0 0 1.5rem 0;
  font-size: 1.125rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.chart-card h3 i {
  color: #2563eb;
}
.chart-card canvas {
  max-height: 350px;
}
.content-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
  gap: 2rem;
  margin-bottom: 2rem;
}
.content-card {
  background: #ffffff;
  border-radius: 0.75rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  margin-bottom: 2rem;
}
.content-card .card-header {
  padding: 1.25rem 1.5rem;
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}
.content-card .card-header h3 {
  margin: 0;
  font-size: 1.125rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.content-card .card-header h3 i {
  color: #2563eb;
}
.content-card .card-body {
  padding: 1.5rem;
}
.content-card .card-footer {
  padding: 1rem 1.5rem;
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.table-responsive {
  overflow-x: auto;
  margin: -1px;
}
.table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.9375rem;
}
.table thead {
  background: #f8fafc;
}
.table thead th {
  padding: 0.75rem 1rem;
  text-align: left;
  font-weight: 600;
  color: #334155;
  border-bottom: 2px solid #e2e8f0;
  white-space: nowrap;
}
.table thead th[data-sort] {
  cursor: pointer;
  user-select: none;
}
.table thead th[data-sort]:hover {
  background: #f1f5f9;
}
.table thead th[data-sort].asc::after {
  content: ' ▲';
  font-size: 0.75rem;
  color: #2563eb;
}
.table thead th[data-sort].desc::after {
  content: ' ▼';
  font-size: 0.75rem;
  color: #2563eb;
}
.table tbody tr {
  border-bottom: 1px solid #e2e8f0;
  transition: background 0.15s;
}
.table tbody tr:hover {
  background: #f8fafc;
}
.table tbody tr:last-child {
  border-bottom: none;
}
.table tbody tr.ledger-income {
  border-left: 3px solid #10b981;
}
.table tbody tr.ledger-expense {
  border-left: 3px solid #ef4444;
}
.table tbody tr.payment-paid {
  opacity: 0.6;
}
.table tbody td {
  padding: 0.875rem 1rem;
  color: #1e293b;
}
.table tbody td.amount {
  font-weight: 600;
  font-family: 'Monaco', 'Consolas', monospace;
}
.table tbody td.text-success {
  color: #10b981;
}
.table tbody td.text-danger {
  color: #ef4444;
}
.table.table-striped tbody tr:nth-child(even) {
  background: #f8fafc;
}
.details-table {
  width: 100%;
}
.details-table tr {
  border-bottom: 1px solid #e2e8f0;
}
.details-table tr:last-child {
  border-bottom: none;
}
.details-table th {
  padding: 0.75rem 0;
  text-align: left;
  font-weight: 600;
  color: #475569;
  width: 40%;
}
.details-table td {
  padding: 0.75rem 0;
  color: #0f172a;
}
.form-card {
  background: #ffffff;
  border-radius: 0.75rem;
  padding: 2rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  margin-bottom: 2rem;
}
.form-card h3 {
  margin: 0 0 1.5rem 0;
  font-size: 1.25rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.form-card h3 i {
  color: #2563eb;
}
.form-card .form-help {
  margin-bottom: 1.5rem;
  padding: 0.75rem 1rem;
  background: #c2f5fd;
  border-left: 3px solid #06b6d4;
  color: #036171;
  font-size: 0.9375rem;
  border-radius: 0.25rem;
}
.form-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-bottom: 1.5rem;
}
.form-row:last-child {
  margin-bottom: 0;
}
.form-group {
  display: flex;
  flex-direction: column;
}
.form-group.form-group-full {
  grid-column: 1 / -1;
}
.form-group label {
  font-weight: 500;
  color: #334155;
  margin-bottom: 0.5rem;
  font-size: 0.9375rem;
}
.form-group label .required {
  color: #ef4444;
}
.form-group label small {
  font-weight: 400;
  color: #64748b;
}
.form-group input,
.form-group select,
.form-group textarea {
  padding: 0.625rem 0.875rem;
  border: 1px solid #cbd5e1;
  border-radius: 0.5rem;
  font-size: 0.9375rem;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  color: #0f172a;
  transition: all 0.2s;
}
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
  outline: none;
  border-color: #2563eb;
  box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.1);
}
.form-group input:disabled,
.form-group select:disabled,
.form-group textarea:disabled {
  background: #f1f5f9;
  color: #64748b;
  cursor: not-allowed;
}
.form-group input.error,
.form-group select.error,
.form-group textarea.error {
  border-color: #ef4444;
}
.form-group input.error:focus,
.form-group select.error:focus,
.form-group textarea.error:focus {
  box-shadow: 0 0 0 3px rgba(239, 68, 68, 0.1);
}
.form-group textarea {
  resize: vertical;
  min-height: 100px;
}
.form-group .form-help {
  margin-top: 0.25rem;
  font-size: 0.875rem;
  color: #64748b;
}
.form-group-actions {
  display: flex;
  align-items: flex-end;
  gap: 0.5rem;
}
.form-actions {
  display: flex;
  gap: 1rem;
  padding-top: 1rem;
  justify-content: flex-start;
  flex-wrap: wrap;
}
.owner-row {
  display: grid;
  grid-template-columns: 2fr 1fr 2fr auto;
  gap: 1rem;
  align-items: end;
  margin-bottom: 1rem;
  padding-bottom: 1rem;
  border-bottom: 1px solid #e2e8f0;
}
.owner-row:last-child {
  border-bottom: none;
}
.filter-card {
  background: #ffffff;
  border-radius: 0.75rem;
  padding: 1.5rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  margin-bottom: 2rem;
}
.filter-card .filter-form .form-row {
  align-items: flex-end;
}
.filter-card .quick-filters {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #e2e8f0;
  flex-wrap: wrap;
}
.filter-card .quick-filters label {
  font-weight: 500;
  color: #334155;
  font-size: 0.875rem;
}
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.25rem 0.625rem;
  font-size: 0.75rem;
  font-weight: 600;
  border-radius: 0.375rem;
  text-transform: uppercase;
  letter-spacing: 0.025em;
  white-space: nowrap;
}
.badge.badge-primary {
  background: #f7f9fe;
  color: #134cca;
}
.badge.badge-secondary {
  background: #e2e8f0;
  color: #334155;
}
.badge.badge-success {
  background: #b6f9e3;
  color: #0a7350;
}
.badge.badge-danger {
  background: #ffffff;
  color: #eb1515;
}
.badge.badge-warning {
  background: #fdeccf;
  color: #945f06;
}
.badge.badge-info {
  background: #c2f5fd;
  color: #04768a;
}
.properties-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 2rem;
}
.property-card {
  background: #ffffff;
  border-radius: 0.75rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  transition: transform 0.2s, box-shadow 0.2s;
}
.property-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}
.property-card .property-card-header {
  padding: 1.5rem;
  border-bottom: 1px solid #e2e8f0;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 1rem;
}
.property-card .property-card-header h3 {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 600;
}
.property-card .property-card-header h3 a {
  color: #0f172a;
}
.property-card .property-card-header h3 a:hover {
  color: #2563eb;
}
.property-card .property-card-header .property-type {
  padding: 0.25rem 0.75rem;
  background: #f1f5f9;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  font-weight: 500;
  color: #334155;
}
.property-card .property-card-body {
  padding: 1.5rem;
}
.property-card .property-card-body .property-address {
  color: #475569;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}
.property-card .property-card-body .property-stats {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1rem;
  margin-bottom: 1.25rem;
}
.property-card .property-card-body .property-stats .stat label {
  display: block;
  font-size: 0.75rem;
  color: #64748b;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.025em;
  margin-bottom: 0.25rem;
}
.property-card .property-card-body .property-stats .stat strong {
  display: block;
  font-size: 1rem;
  color: #0f172a;
}
.property-card .property-card-body .property-owners {
  padding-top: 1rem;
  border-top: 1px solid #e2e8f0;
}
.property-card .property-card-body .property-owners label {
  display: block;
  font-size: 0.75rem;
  color: #64748b;
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.025em;
  margin-bottom: 0.5rem;
}
.property-card .property-card-body .property-owners p {
  margin: 0;
  color: #334155;
  font-size: 0.9375rem;
}
.property-card .property-card-footer {
  padding: 1rem 1.5rem;
  background: #f8fafc;
  border-top: 1px solid #e2e8f0;
  display: flex;
  gap: 0.75rem;
}
.transactions-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.transaction-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 1rem;
  border-radius: 0.5rem;
  border: 1px solid #e2e8f0;
  transition: background 0.15s;
}
.transaction-item:hover {
  background: #f8fafc;
}
.transaction-item .transaction-icon {
  width: 2.5rem;
  height: 2.5rem;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
}
.transaction-item .transaction-details {
  flex: 1;
}
.transaction-item .transaction-details strong {
  display: block;
  color: #0f172a;
  margin-bottom: 0.25rem;
}
.transaction-item .transaction-details p {
  margin: 0;
  color: #475569;
  font-size: 0.875rem;
}
.transaction-item .transaction-details small {
  color: #64748b;
  font-size: 0.8125rem;
}
.transaction-item .transaction-amount {
  font-size: 1.125rem;
  font-weight: 700;
  font-family: 'Monaco', 'Consolas', monospace;
}
.transaction-item.transaction-income .transaction-icon {
  background: #b6f9e3;
  color: #10b981;
}
.transaction-item.transaction-income .transaction-amount {
  color: #10b981;
}
.transaction-item.transaction-expense .transaction-icon {
  background: #ffffff;
  color: #ef4444;
}
.transaction-item.transaction-expense .transaction-amount {
  color: #ef4444;
}
.empty-state {
  text-align: center;
  padding: 2rem;
  color: #64748b;
}
.empty-state a {
  color: #2563eb;
  font-weight: 500;
}
.empty-state-box {
  background: #ffffff;
  border-radius: 0.75rem;
  padding: 4rem 2rem;
  text-align: center;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}
.empty-state-box i {
  color: #cbd5e1;
  margin-bottom: 1.5rem;
}
.empty-state-box h3 {
  margin-bottom: 0.75rem;
  color: #334155;
}
.empty-state-box p {
  color: #64748b;
  margin-bottom: 1.5rem;
}
.owners-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.owner-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.75rem;
  background: #f8fafc;
  border-radius: 0.5rem;
}
.owner-item .owner-name {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  color: #0f172a;
  font-weight: 500;
}
.owner-item .owner-name i {
  color: #94a3b8;
}
.owner-item .owner-percentage {
  font-weight: 700;
  color: #2563eb;
}
.notes-section {
  margin-top: 1rem;
  padding-top: 1rem;
  border-top: 1px solid #e2e8f0;
}
.notes-section strong {
  display: block;
  margin-bottom: 0.5rem;
  color: #334155;
}
.notes-section p {
  margin: 0;
  color: #475569;
  font-size: 0.9375rem;
}
.progress-bar {
  width: 100%;
  height: 0.5rem;
  background: #e2e8f0;
  border-radius: 1rem;
  overflow: hidden;
  margin: 0.5rem 0;
}
.progress-bar .progress-fill {
  height: 100%;
  background: #10b981;
  border-radius: 1rem;
  transition: width 0.3s ease;
}
.payment-breakdown {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}
.payment-breakdown .breakdown-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 1rem;
  border-bottom: 1px solid #e2e8f0;
}
.payment-breakdown .breakdown-item:last-child {
  border-bottom: none;
}
.payment-breakdown .breakdown-item label {
  color: #475569;
  font-weight: 500;
}
.payment-breakdown .breakdown-item strong {
  font-size: 1.125rem;
}
@media (max-width: 1024px) {
  .charts-grid {
    grid-template-columns: 1fr;
  }
  .content-grid {
    grid-template-columns: 1fr;
  }
}
@media (max-width: 768px) {
  .container {
    padding: 0 1rem;
  }
  .main-header .header-content {
    flex-direction: column;
    align-items: stretch;
  }
  .main-header .main-nav ul {
    flex-direction: column;
  }
  .main-header .user-menu {
    justify-content: space-between;
  }
  .page-header {
    flex-direction: column;
    align-items: stretch;
  }
  .page-header .page-actions {
    width: 100%;
  }
  .page-header .page-actions .btn {
    flex: 1;
  }
  .stats-grid {
    grid-template-columns: 1fr;
  }
  .form-row {
    grid-template-columns: 1fr;
  }
  .properties-grid {
    grid-template-columns: 1fr;
  }
  .owner-row {
    grid-template-columns: 1fr;
  }
  .table-responsive {
    font-size: 0.875rem;
  }
  .table-responsive .table th,
  .table-responsive .table td {
    padding: 0.5rem;
  }
}
@media (max-width: 480px) {
  html {
    font-size: 14px;
  }
  .login-box {
    padding: 2rem 1.5rem;
  }
  h1 {
    font-size: 2rem;
  }
  .stat-card {
    flex-direction: column;
    align-items: flex-start;
    text-align: left;
  }
  .transaction-item {
    flex-wrap: wrap;
  }
  .transaction-item .transaction-amount {
    width: 100%;
    text-align: right;
  }
}
.performance-section {
  background: #ffffff;
  border-radius: 0.75rem;
  padding: 1.5rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  margin-bottom: 2rem;
}
.performance-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 2rem;
}
.performance-column h4 {
  margin: 0 0 1rem 0;
  font-size: 0.9375rem;
  font-weight: 600;
  color: #334155;
  text-transform: uppercase;
  letter-spacing: 0.025em;
  border-bottom: 2px solid #e2e8f0;
  padding-bottom: 0.5rem;
}
.compact-stats {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}
.compact-stat {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.5rem 0;
}
.compact-stat .label {
  font-size: 0.875rem;
  color: #475569;
}
.compact-stat .label small {
  font-size: 0.75rem;
  color: #94a3b8;
  font-weight: 400;
}
.compact-stat .value {
  font-size: 1rem;
  font-weight: 600;
  color: #0f172a;
  font-family: 'Monaco', 'Consolas', monospace;
}
.compact-stat.highlight {
  background: #f8fafc;
  padding: 0.75rem;
  margin: 0.5rem -0.5rem 0 -0.5rem;
  border-radius: 0.5rem;
  border-left: 3px solid #2563eb;
}
.compact-stat.highlight .value {
  font-size: 1.125rem;
}
.collapsible-section {
  background: #ffffff;
  border: 1px solid #e2e8f0;
  border-radius: 0.75rem;
  margin-bottom: 2rem;
  overflow: hidden;
}
.collapsible-section summary {
  cursor: pointer;
  padding: 1rem 1.5rem;
  user-select: none;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  background: #f8fafc;
  transition: background 0.2s;
}
.collapsible-section summary:hover {
  background: #f1f5f9;
}
.collapsible-section summary i {
  transition: transform 0.2s;
  color: #64748b;
}
.collapsible-section summary strong {
  color: #0f172a;
  font-size: 1rem;
}
.collapsible-section[open] summary i {
  transform: rotate(90deg);
}
.collapsible-section .section-content {
  padding: 1.5rem;
}
.compact-card .card-header {
  padding: 1rem 1.25rem;
}
.compact-card .card-header h3 {
  font-size: 1rem;
}
.compact-card .card-body {
  padding: 1.25rem;
}
.text-success {
  color: #10b981 !important;
}
.text-danger {
  color: #ef4444 !important;
}
.text-warning {
  color: #f59e0b !important;
}
.text-info {
  color: #06b6d4 !important;
}
.text-muted {
  color: #64748b !important;
}
.text-center {
  text-align: center !important;
}
.text-right {
  text-align: right !important;
}
.mb-0 {
  margin-bottom: 0 !important;
}
.mb-1 {
  margin-bottom: 0.5rem !important;
}
.mb-2 {
  margin-bottom: 1rem !important;
}
.mb-3 {
  margin-bottom: 1.5rem !important;
}
.mb-4 {
  margin-bottom: 2rem !important;
}
.mt-0 {
  margin-top: 0 !important;
}
.mt-1 {
  margin-top: 0.5rem !important;
}
.mt-2 {
  margin-top: 1rem !important;
}
.mt-3 {
  margin-top: 1.5rem !important;
}
.mt-4 {
  margin-top: 2rem !important;
}
