:root {
  --shell-sidebar-width: 240px;
  --shell-content-padding-x: 1.5rem;
  --shell-content-padding-y: 1rem;
  --shell-sidebar-padding: 1rem;
  --shell-sidebar-logo-size: 72px;
  --shell-sidebar-nav-font-size: 1rem;
  --shell-sidebar-nav-padding: 0.85rem 1rem;
}

html, body {
  font-family: "Aptos", "Segoe UI", "Helvetica Neue", Arial, sans-serif;
  color: #1f2937;
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body {
  line-height: 1.45;
  background: #f3f1ed;
}

#react-entry-point,
#_dash-app-content {
  min-height: 100vh;
}

h1, h2, h3, h4, h5, h6,
.fw-bold,
.fw-semibold {
  letter-spacing: -0.02em;
}

.shell-sidebar {
  width: var(--shell-sidebar-width);
  padding: var(--shell-sidebar-padding) !important;
}

.shell-sidebar img {
  width: var(--shell-sidebar-logo-size) !important;
  height: var(--shell-sidebar-logo-size) !important;
}

.shell-content {
  margin-left: var(--shell-sidebar-width);
  padding: var(--shell-content-padding-y) var(--shell-content-padding-x);
}

.sidebar-link {
  font-size: var(--shell-sidebar-nav-font-size) !important;
  padding: var(--shell-sidebar-nav-padding) !important;
  transition: background-color 120ms ease, color 120ms ease, transform 120ms ease;
}

.sidebar-link:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #ffffff !important;
}

.sidebar-link.active {
  background: rgba(255, 255, 255, 0.14) !important;
  color: #ffffff !important;
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.06);
}

.Select-control,
.Select-menu-outer,
.dash-dropdown .Select-control {
  border-radius: 12px !important;
}

@media (max-width: 1199.98px) {
  :root {
    --shell-sidebar-width: 208px;
    --shell-content-padding-x: 1rem;
    --shell-content-padding-y: 0.9rem;
    --shell-sidebar-padding: 0.85rem;
    --shell-sidebar-logo-size: 60px;
    --shell-sidebar-nav-font-size: 0.95rem;
    --shell-sidebar-nav-padding: 0.72rem 0.85rem;
  }

  .sidebar-brand {
    margin-bottom: 0.75rem !important;
  }
}

@media (max-width: 767.98px) {
  :root {
    --shell-sidebar-width: 176px;
    --shell-content-padding-x: 0.75rem;
    --shell-content-padding-y: 0.75rem;
    --shell-sidebar-padding: 0.7rem;
    --shell-sidebar-logo-size: 52px;
    --shell-sidebar-nav-font-size: 0.9rem;
    --shell-sidebar-nav-padding: 0.65rem 0.75rem;
  }

  .sidebar-brand {
    padding: 0.2rem 0.35rem 0.5rem !important;
  }

  .sidebar-footer .btn {
    font-size: 0.8rem !important;
    padding-left: 0.6rem;
    padding-right: 0.6rem;
  }
}

.nishtha-focus-card,
.nishtha-metric-card,
.nishtha-status-card,
.nishtha-grade-card,
.nishtha-breakdown-card,
.nishtha-table-card {
  overflow: hidden;
}

@media (max-width: 1199.98px) {
  .nishtha-hero-card {
    border-radius: 20px !important;
  }

  .nishtha-filter-card .card-body,
  .nishtha-breakdown-card .card-body,
  .nishtha-table-card .card-body {
    padding: 1.15rem;
  }

  .nishtha-focus-card .card-body {
    padding: 1rem 1.1rem;
  }
}

@media (max-width: 767.98px) {
  .nishtha-hero-card,
  .nishtha-filter-card,
  .nishtha-breakdown-card,
  .nishtha-table-card {
    border-radius: 18px !important;
  }

  .nishtha-hero-card .card-body,
  .nishtha-filter-card .card-body,
  .nishtha-breakdown-card .card-body,
  .nishtha-table-card .card-body {
    padding: 1rem;
  }

  .nishtha-focus-card .card-body,
  .nishtha-metric-card .card-body,
  .nishtha-status-card .card-body,
  .nishtha-grade-card .card-body {
    padding: 0.95rem;
  }

  .nishtha-hero-card h3 {
    font-size: 1.4rem;
    line-height: 1.15;
  }

  .nishtha-metric-card .fw-bold,
  .nishtha-status-card .fw-bold {
    font-size: 1.5rem !important;
  }
}
