/* Custom Styles for ЖК «Новотомилино» Dashboard */

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

html, body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: #F8FAFC;
  color: #1E293B;
  -webkit-font-smoothing: antialiased;
  scrollbar-gutter: stable;
}

/* Custom Scrollbar */
.overflow-y-auto, .overflow-y-scroll {
  scrollbar-gutter: stable;
}

::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: #F1F5F9;
}
::-webkit-scrollbar-thumb {
  background: #CBD5E1;
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #94A3B8;
}

/* Sidebar Navigation */
.nav-item {
  transition: all 0.15s ease-in-out;
  position: relative;
}
.nav-item.active {
  background-color: #EFF6FF;
  color: #1D4ED8;
  font-weight: 600;
}
.nav-item.active::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 3.5px;
  background-color: #2563EB;
  border-top-right-radius: 3px;
  border-bottom-right-radius: 3px;
}

/* KPI Card Effects */
.kpi-card {
  transition: transform 0.15s ease, box-shadow 0.15s ease;
  border: 1px solid #E2E8F0;
  background-color: #FFFFFF;
}
.kpi-card:hover {
  transform: translateY(-1.5px);
  box-shadow: 0 4px 12px -2px rgba(15, 23, 42, 0.05);
}

/* Chart Container Cards */
.chart-card {
  background-color: #FFFFFF;
  border: 1px solid #E2E8F0;
  border-radius: 12px;
  padding: 1.25rem;
  box-shadow: 0 1px 3px 0 rgba(0, 0, 0, 0.02);
}

/* Fullscreen Opaque Auth Modal */
#authModal {
  background-color: #0F172A;
  z-index: 9999;
}

/* Drag and Drop Zone */
.dropzone-active {
  border-color: #2563EB !important;
  background-color: #EFF6FF !important;
}

/* Toast Notification */
#toastNotification {
  transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Sell-Through and Modal Charts DataLabel Badges (White background, Dark text) */
#modalSellThroughChart .apexcharts-datalabels rect,
#modalSellThroughChart .apexcharts-data-labels rect,
#modalSalesPaceChart .apexcharts-datalabels rect,
#modalSalesPaceChart .apexcharts-data-labels rect,
#modalSalesPriceChart .apexcharts-datalabels rect,
#modalSalesPriceChart .apexcharts-data-labels rect {
  fill: #FFFFFF !important;
  stroke: #CBD5E1 !important;
  stroke-width: 1px !important;
  rx: 4px !important;
  ry: 4px !important;
}

#modalSellThroughChart .apexcharts-datalabels text,
#modalSellThroughChart .apexcharts-data-labels text,
#modalSalesPaceChart .apexcharts-datalabels text,
#modalSalesPaceChart .apexcharts-data-labels text,
#modalSalesPriceChart .apexcharts-datalabels text,
#modalSalesPriceChart .apexcharts-data-labels text {
  fill: #0F172A !important;
  font-weight: 700 !important;
  font-size: 11px !important;
}
