/* Kurumsal ERP & Ön Muhasebe Stilleri (Logo / Mikro / Kurumsal Finans Standardı) */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&family=JetBrains+Mono:wght@500;600;700&display=swap');

:root {
  --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

body {
  font-family: var(--font-sans);
  background-color: #f1f5f9;
  color: #0f172a;
  letter-spacing: -0.01em;
}

/* Rakamların kurumsal muhasebe programlarındaki gibi alt alta milimetrik hizalanması */
.num-tabular,
td.text-right,
th.text-right,
.font-extrabold {
  font-variant-numeric: tabular-nums;
}

.code-badge {
  font-family: var(--font-mono);
  font-size: 11px;
  letter-spacing: 0;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}

::-webkit-scrollbar-track {
  background: #f1f5f9;
}

::-webkit-scrollbar-thumb {
  background: #cbd5e1;
  border-radius: 9999px;
}

::-webkit-scrollbar-thumb:hover {
  background: #94a3b8;
}

/* Navigation & ERP Subtabs */
.nav-item {
  transition: all 0.16s ease-in-out;
}

.nav-item.active {
  background: linear-gradient(135deg, #1e3a8a 0%, #1d4ed8 100%);
  color: #ffffff;
  box-shadow: 0 4px 12px rgba(29, 78, 216, 0.25);
}

.erp-subtab {
  transition: all 0.15s ease;
}

.erp-subtab.active {
  background-color: #0f172a;
  color: #ffffff;
  box-shadow: 0 2px 6px rgba(15, 23, 42, 0.18);
}

.card-hover {
  transition: transform 0.16s ease, box-shadow 0.16s ease;
}

.card-hover:hover {
  transform: translateY(-2px);
  box-shadow: 0 10px 25px -5px rgba(15, 23, 42, 0.08), 0 8px 10px -6px rgba(15, 23, 42, 0.04);
}

/* ERP Table Zebra & Hover */
.erp-table tbody tr:nth-child(even) {
  background-color: #f8fafc;
}

.erp-table tbody tr:hover {
  background-color: #eff6ff !important;
}

/* Apartment Unit Pill / Box */
.unit-box {
  transition: all 0.15s ease;
  cursor: pointer;
}

.unit-box:hover {
  transform: scale(1.06);
  z-index: 10;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.14);
}

/* Modal Backdrop Animation */
.modal-backdrop {
  background-color: rgba(15, 23, 42, 0.6);
  backdrop-filter: blur(3px);
}

@media print {
  .no-print {
    display: none !important;
  }
  body {
    background: #fff;
  }
}
