:root {
  --sidebar-bg: #1e1e24;
  --sidebar-border: rgba(255, 255, 255, 0.08);
  --sidebar-text: #f1f5f9;
  --sidebar-muted: #a1a1aa;
  --page-bg: #f3f4f6;
  --card-bg: #ffffff;
  --card-border: #e5e7eb;
  --heading: #111827;
  --muted: #6b7280;
  --brand: #2563eb;
  --success-soft: #dcfce7;
  --danger-soft: #fee2e2;
  --warning-soft: #fef3c7;
  --neutral-soft: #f3f4f6;
  --radius: 14px;
  --shadow: 0 6px 18px rgba(15, 23, 42, 0.05);
}

@font-face {
  font-family: "Manrope";
  src: url("../fonts/manrope/Manrope-VariableFont_wght.ttf") format("truetype");
  font-weight: 200 800;
  font-style: normal;
  font-display: swap;
}

* {
  box-sizing: border-box;
}

html {
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

body {
  margin: 0;
  font-family: "Manrope", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-weight: 500;
  font-size: 14px;
  line-height: 1.45;
  letter-spacing: -0.012em;
  background: var(--page-bg);
  color: #111827;
}

button,
input,
select,
textarea,
table {
  font: inherit;
}

.container,
.container-fluid,
.container-lg,
.container-md,
.container-sm,
.container-xl,
.container-xxl {
  --bs-gutter-x: 0rem;
}

.app-shell {
  min-height: 100vh;
}

.sidebar {
  background: var(--sidebar-bg);
  color: var(--sidebar-text);
  height: 100vh;
  display: flex;
  flex-direction: column;
  position: sticky;
  top: 0;
  padding: 0.75rem;
  gap: 0.75rem;
  border-right: 1px solid var(--sidebar-border);
  overflow: hidden;
}

.sidebar-mobile-topbar {
  display: none;
  position: sticky;
  top: 0;
  z-index: 1040;
  background: #1e1e24;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.5rem 0.75rem;
}

.mobile-topbar-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
}

.mobile-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-width: 0;
}

.mobile-brand-logo {
  width: 28px;
  height: 28px;
  object-fit: contain;
  flex-shrink: 0;
}

.mobile-brand-title {
  color: #ffffff;
  font-size: 0.98rem;
  font-weight: 700;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.mobile-menu-btn {
  border-color: rgba(255, 255, 255, 0.18);
  padding: 0.32rem 0.7rem;
  font-size: 0.8rem;
  font-weight: 600;
}

.brand-box {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 0.65rem;
  padding: 0.65rem 0.5rem 0.85rem;
  background: transparent;
}

.brand-logo {
  width: 44px;
  height: 44px;
  object-fit: contain;
  display: block;
}

.brand-copy {
  display: flex;
  flex-direction: column;
  gap: 0.28rem;
}

.brand-title {
  font-size: 1rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.05;
  letter-spacing: -0.03em;
  margin: 0;
}

.brand-subtitle {
  font-size: 0.76rem;
  line-height: 1.45;
  color: #d4d4d8;
  margin: 0;
  max-width: 185px;
  letter-spacing: -0.01em;
}

.sidebar-card {
  border: 1px solid var(--sidebar-border);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  padding: 0.75rem;
}

.sidebar-menu-card {
  padding: 0.45rem;
}

.sidebar-menu {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.sidebar-menu-link {
  width: 100%;
  border: 0;
  background: transparent;
  color: #d4d4d8;
  text-align: left;
  border-radius: 10px;
  padding: 0.55rem 0.7rem;
  font-size: 0.83rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  transition: 0.2s ease;
}

.sidebar-menu-link:hover,
.sidebar-menu-link.active {
  background: rgba(255, 255, 255, 0.06);
  color: #ffffff;
}

.sidebar-section-title {
  font-size: 0.7rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--sidebar-muted);
  margin-bottom: 0.65rem;
  font-weight: 800;
}

.sidebar-filters-shell {
  flex: 1 1 auto;
  min-height: 0;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
  overflow: hidden;
}

.sidebar-filters-card {
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  overflow-x: hidden;
  padding: 0.5rem !important;
}

.sidebar-filters-card .sidebar-section-title {
  margin-bottom: 0.5rem;
  padding-left: 0.1rem;
}

.sidebar-filters-card .row {
  --bs-gutter-y: 0.45rem;
}

.sidebar-bottom-area {
  flex: 0 0 auto;
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.filter-scroll {
  padding-right: 0.2rem;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.18) transparent;
}

.filter-scroll::-webkit-scrollbar {
  width: 6px;
}

.filter-scroll::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.14);
  border-radius: 999px;
}

.filter-scroll::-webkit-scrollbar-track {
  background: transparent;
}

.form-label {
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: -0.01em;
  color: #d4d4d8;
  margin-bottom: 0.25rem;
}

.sidebar .form-select,
.sidebar .form-control,
.offcanvas .form-select,
.offcanvas .form-control {
  background-color: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #f9fafb;
  border-radius: 10px;
  font-size: 0.82rem;
  font-weight: 600;
  min-height: 36px;
  padding-top: 0.42rem;
  padding-bottom: 0.42rem;
  letter-spacing: -0.01em;
}

.sidebar .form-select:focus,
.sidebar .form-control:focus,
.offcanvas .form-select:focus,
.offcanvas .form-control:focus {
  border-color: rgba(96, 165, 250, 0.8);
  box-shadow: 0 0 0 0.14rem rgba(59, 130, 246, 0.16);
  background-color: rgba(255, 255, 255, 0.08);
  color: #fff;
}

.sidebar .form-select option,
.offcanvas .form-select option {
  color: #111827;
  background: #ffffff;
}

.selected-filters-card {
  padding: 0.65rem 0.75rem;
  background: rgba(255, 255, 255, 0.04);
}

.selected-filters-list {
  display: flex;
  flex-direction: column;
  gap: 0.35rem;
  max-height: 110px;
  overflow-y: auto;
  padding-right: 0.15rem;
  scrollbar-width: thin;
}

.selected-filter-item {
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1.35;
  letter-spacing: -0.01em;
  color: #e4e4e7;
  padding: 0.35rem 0.5rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

.sticky-actions {
  position: sticky;
  bottom: 0;
  z-index: 3;
  box-shadow: 0 -8px 18px rgba(17, 24, 39, 0.18);
  background: #23232b;
}

.sticky-actions .btn {
  border-radius: 10px;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.compact-actions {
  padding: 0.45rem;
}

.sidebar-action-row {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 0.35rem;
}

.btn-icon-sm {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  min-height: 32px;
  padding: 0.38rem 0.5rem;
  font-size: 0.72rem;
  font-weight: 700;
  line-height: 1;
  border-radius: 8px;
  white-space: nowrap;
  letter-spacing: -0.01em;
  overflow: hidden;
  text-overflow: ellipsis;
}

.btn-icon-sm span {
  display: inline-block;
  overflow: hidden;
  text-overflow: ellipsis;
}

.profile-card {
  background: rgba(255, 255, 255, 0.04);
}

.profile-card-inline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.65rem 0.75rem;
}

.profile-inline-left {
  display: flex;
  flex-direction: column;
  gap: 0.08rem;
}

.profile-name {
  font-size: 0.86rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.2;
  letter-spacing: -0.02em;
}

.profile-company {
  font-size: 0.76rem;
  font-weight: 600;
  color: #d4d4d8;
  line-height: 1.2;
  letter-spacing: -0.01em;
}

.profile-logout-icon {
  width: 30px;
  height: 30px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: transparent;
  color: #e4e4e7;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.18s ease;
}

.profile-logout-icon:hover {
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.25);
  color: #ffffff;
  transform: translateY(-1px);
}

.profile-logout-icon:active {
  transform: scale(0.92);
  background: rgba(255, 255, 255, 0.12);
}

.profile-logout-icon:focus-visible {
  outline: none;
  box-shadow: 0 0 0 2px rgba(59, 130, 246, 0.35);
}

.profile-logout-icon svg {
  transition: transform 0.18s ease;
}

.profile-logout-icon:hover svg {
  transform: translateX(2px);
}

.profile-logout-icon[title] {
  position: relative;
}

.profile-logout-icon[title]:hover::after {
  content: attr(title);
  position: absolute;
  right: 110%;
  top: 50%;
  transform: translateY(-50%);
  background: #111827;
  color: #fff;
  font-size: 0.68rem;
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 6px;
  white-space: nowrap;
  opacity: 0.95;
  letter-spacing: -0.01em;
}

.avatar {
  display: none !important;
}

.content {
  padding: 0.9rem;
}

.page-hero {
  background: linear-gradient(135deg, #ffffff, #f8fafc);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  box-shadow: var(--shadow);
  padding: 0.95rem 1rem;
  margin-bottom: 0.75rem;
}

.page-title {
  font-size: clamp(1.2rem, 1.1rem + 0.8vw, 1.7rem);
  font-weight: 800;
  color: var(--heading);
  margin-bottom: 0.15rem;
  line-height: 1.1;
  letter-spacing: -0.03em;
}

.page-subtitle {
  color: var(--muted);
  margin-bottom: 0;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: -0.01em;
}

.widget-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 16px;
  box-shadow: var(--shadow);
  overflow: hidden;
  height: 100%;
}

.widget-header {
  padding: 0.8rem 0.95rem 0.7rem;
  border-bottom: 1px solid #eef2f7;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 0.75rem;
  flex-wrap: wrap;
}

.widget-title {
  font-size: 0.92rem;
  font-weight: 800;
  color: var(--heading);
  margin-bottom: 0.08rem;
  line-height: 1.15;
  letter-spacing: -0.025em;
}

.widget-subtitle {
  font-size: 0.77rem;
  font-weight: 600;
  color: var(--muted);
  margin: 0;
  letter-spacing: -0.01em;
}

.widget-body {
  padding: 0.85rem 0.95rem 0.95rem;
}

.metric-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 0.65rem;
}

.metric-item {
  border: 1px solid #edf2f7;
  border-radius: 12px;
  padding: 0.75rem;
  background: #fbfdff;
  min-height: 88px;
}

.metric-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--muted);
  margin-bottom: 0.28rem;
  letter-spacing: -0.01em;
}

.metric-value {
  font-size: 1rem;
  font-weight: 800;
  color: var(--heading);
  line-height: 1.15;
  letter-spacing: -0.025em;
  margin-bottom: 0.1rem;
}

.metric-meta {
  font-size: 0.7rem;
  font-weight: 600;
  color: #64748b;
  letter-spacing: -0.01em;
}

.table-wrap {
  overflow: auto;
  border-radius: 12px;
  border: 1px solid #eef2f7;
}

.table {
  margin-bottom: 0;
  min-width: 880px;
  vertical-align: middle;
}

.table thead th {
  position: sticky;
  top: 0;
  z-index: 1;
  background: #f8fafc;
  font-size: 0.72rem;
  font-weight: 800;
  color: #475569;
  text-transform: uppercase;
  letter-spacing: 0.03em;
  white-space: nowrap;
  border-bottom-width: 1px;
  padding-top: 0.65rem;
  padding-bottom: 0.65rem;
}

.table tbody td {
  font-size: 0.82rem;
  font-weight: 600;
  color: #0f172a;
  white-space: nowrap;
  letter-spacing: -0.01em;
  padding-top: 0.65rem;
  padding-bottom: 0.65rem;
}

.chip-group {
  display: flex;
  gap: 0.4rem;
  flex-wrap: wrap;
}

.chip {
  border: 1px solid #dbe3ee;
  background: #fff;
  color: #334155;
  border-radius: 999px;
  padding: 0.35rem 0.65rem;
  font-size: 0.73rem;
  font-weight: 700;
  letter-spacing: -0.01em;
}

.chip.active {
  background: #eff6ff;
  border-color: #bfdbfe;
  color: #1d4ed8;
}

.badge-soft-success,
.badge-soft-danger,
.badge-soft-warning,
.badge-soft-neutral {
  border-radius: 999px;
  padding: 0.35rem 0.6rem;
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: -0.01em;
}

.badge-soft-success { background: var(--success-soft); color: #166534; }
.badge-soft-danger { background: var(--danger-soft); color: #991b1b; }
.badge-soft-warning { background: var(--warning-soft); color: #92400e; }
.badge-soft-neutral { background: var(--neutral-soft); color: #475569; }

.heatmap-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 0.65rem;
}

.heat-card {
  border-radius: 12px;
  padding: 0.8rem;
  border: 1px solid rgba(15, 23, 42, 0.05);
  min-height: 100px;
}

.heat-card.positive { background: linear-gradient(135deg, #dcfce7, #f0fdf4); }
.heat-card.negative { background: linear-gradient(135deg, #fee2e2, #fff1f2); }
.heat-card.neutral { background: linear-gradient(135deg, #f3f4f6, #f8fafc); }

.heat-brand {
  font-size: 0.82rem;
  font-weight: 800;
  margin-bottom: 0.35rem;
  letter-spacing: -0.02em;
}

.heat-gap {
  font-size: 1.02rem;
  font-weight: 800;
  margin-bottom: 0.12rem;
  letter-spacing: -0.025em;
}

.heat-meta {
  font-size: 0.73rem;
  font-weight: 600;
  color: #475569;
  letter-spacing: -0.01em;
}

.chart-box {
  height: 300px;
  position: relative;
}

.map-box {
  height: 360px;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid #e5e7eb;
}

#priceHeatMap {
  width: 100%;
  height: 100%;
}

.toolbar-inline {
  display: flex;
  gap: 0.45rem;
  align-items: center;
  flex-wrap: wrap;
}

.search-box {
  min-width: 220px;
}

.saved-actions {
  display: flex;
  gap: 0.45rem;
}

.small-muted {
  font-size: 0.73rem;
  font-weight: 600;
  color: var(--muted);
  letter-spacing: -0.01em;
}

.offcanvas.offcanvas-start {
  width: min(92vw, 360px);
  background: #1e1e24;
}

.mobile-offcanvas-header {
  background: #1e1e24;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  padding: 0.75rem;
}

.mobile-offcanvas-brand {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  min-width: 0;
}

.mobile-offcanvas-logo {
  width: 34px;
  height: 34px;
  object-fit: contain;
  flex-shrink: 0;
}

.mobile-offcanvas-title {
  color: #ffffff;
  font-size: 0.94rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -0.025em;
}

.mobile-offcanvas-subtitle {
  color: #d4d4d8;
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1.35;
  margin-top: 0.18rem;
  letter-spacing: -0.01em;
}

.offcanvas-body {
  overflow-y: auto;
  overflow-x: hidden;
  padding-bottom: 0.75rem;
}

.mobile-sidebar {
  background: #1e1e24;
  min-height: auto;
  height: auto;
  padding: 0;
  gap: 0.55rem;
  border-right: 0;
  overflow: visible;
}

.mobile-filters-shell {
  flex: 1 1 auto;
  min-height: auto;
  overflow: visible;
}

.mobile-filter-card {
  flex: 1 1 auto;
  min-height: auto;
  overflow: visible;
}

.mobile-filter-card .row {
  --bs-gutter-y: 0.5rem;
  --bs-gutter-x: 0;
}

.mobile-sticky-actions {
  position: static;
  bottom: auto;
}

.widget-actions {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.confidence-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: -0.01em;
  white-space: nowrap;
}

.confidence-select {
  min-width: 80px;
  height: 32px;
  font-size: 0.78rem;
  font-weight: 600;
  border-radius: 8px;
}

@media (min-width: 1200px) {
  .sidebar-mobile-topbar {
    display: none !important;
  }
}

@media (max-width: 1199.98px) {
  .sidebar-mobile-topbar {
    display: block;
  }

  .content {
    padding: 0.75rem;
  }

  .page-hero {
    padding: 0.85rem 0.95rem;
    margin-bottom: 0.65rem;
  }

  .widget-header,
  .widget-body {
    padding-left: 0.85rem;
    padding-right: 0.85rem;
  }
}

@media (max-width: 991.98px) {
  .metric-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .sidebar-action-row {
    grid-template-columns: 1fr;
    gap: 0.35rem;
  }

  .compact-actions {
    padding: 0.4rem;
  }

  .btn-icon-sm {
    min-height: 30px;
    padding: 0.35rem 0.5rem;
    font-size: 0.72rem;
    white-space: normal;
  }

  .selected-filters-card,
  .sidebar-card {
    padding: 0.6rem;
  }

  .offcanvas .form-select,
  .offcanvas .form-control {
    font-size: 16px;
    min-height: 38px;
    line-height: 1.25;
    appearance: auto;
    -webkit-appearance: auto;
    background-image: none;
  }

  .sidebar .form-select,
  .offcanvas .form-select {
    min-height: 34px;
    padding-top: 0.38rem;
    padding-bottom: 0.38rem;
    font-size: 0.8rem;
  }

  .form-label {
    margin-bottom: 0.22rem;
  }
}

@media (max-width: 767.98px) {
  .metric-grid {
    grid-template-columns: 1fr;
  }

  .chart-box {
    height: 250px;
  }

  .map-box {
    height: 300px;
  }

  .search-box {
    min-width: 100%;
  }

  .heatmap-grid {
    grid-template-columns: 1fr 1fr;
  }

  .widget-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .widget-actions {
    width: 100%;
    justify-content: space-between;
  }
}

@media (max-width: 575.98px) {
  .heatmap-grid {
    grid-template-columns: 1fr;
  }

  .toolbar-inline {
    width: 100%;
  }

  .toolbar-inline > * {
    width: 100%;
  }

  .saved-actions {
    flex-direction: column;
  }

  .confidence-select {
    width: 100%;
  }

  .btn-icon-sm {
    font-size: 0.7rem;
  }

  .profile-logout-icon[title]:hover::after {
    display: none;
  }
}

.premium-trend-card .widget-header {
  align-items: center;
}

.premium-trend-header {
  gap: 0.75rem;
}

.premium-trend-toolbar {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
  justify-content: flex-end;
}

.trend-range-group {
  display: flex;
  align-items: center;
  gap: 0.45rem;
}

.trend-toolbar-label {
  font-size: 0.74rem;
  font-weight: 700;
  color: var(--muted);
  white-space: nowrap;
  margin: 0;
  letter-spacing: -0.01em;
}

.trend-range-select {
  min-width: 86px;
  height: 34px;
  font-size: 0.78rem;
  font-weight: 600;
  border-radius: 10px;
}

.trend-view-toggle {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  flex-wrap: wrap;
}

.trend-toggle-btn {
  border: 1px solid #d7dde7;
  background: #ffffff;
  color: #334155;
  border-radius: 999px;
  padding: 0.42rem 0.78rem;
  font-size: 0.74rem;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.01em;
  transition: all 0.18s ease;
}

.trend-toggle-btn:hover {
  background: #f8fafc;
  border-color: #c7d2fe;
  color: #1e3a8a;
}

.trend-toggle-btn.active {
  background: #eff6ff;
  border-color: #bfdbfe;
  color: #1d4ed8;
}

.premium-trend-body {
  padding-top: 0.7rem;
}

.premium-trend-chart-wrap {
  position: relative;
  height: 340px;
}

.premium-trend-note {
  margin: 0.65rem 0 0;
  font-size: 0.72rem;
  font-weight: 600;
  line-height: 1.45;
  color: #6b7280;
  letter-spacing: -0.01em;
}

.premium-trend-card canvas {
  display: block;
}

@media (max-width: 991.98px) {
  .premium-trend-toolbar {
    width: 100%;
    justify-content: flex-start;
  }

  .premium-trend-chart-wrap {
    height: 300px;
  }
}

@media (max-width: 767.98px) {
  .premium-trend-header {
    align-items: flex-start;
  }

  .premium-trend-toolbar {
    flex-direction: column;
    align-items: stretch;
    width: 100%;
  }

  .trend-range-group {
    width: 100%;
    justify-content: space-between;
  }

  .trend-range-select {
    min-width: 100px;
  }

  .trend-view-toggle {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: stretch;
  }

  .trend-toggle-btn {
    width: 100%;
    justify-content: center;
  }

  .premium-trend-chart-wrap {
    height: 280px;
  }
}

@media (max-width: 575.98px) {
  .premium-trend-note {
    font-size: 0.7rem;
  }

  .trend-toggle-btn {
    padding: 0.5rem 0.7rem;
  }
}


.opportunity-toolbar {
  display: flex;
  align-items: end;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.opportunity-control {
  display: flex;
  flex-direction: column;
  gap: 0.28rem;
}

.opportunity-label {
  font-size: 0.72rem;
  font-weight: 700;
  color: var(--muted);
  letter-spacing: -0.01em;
  margin: 0;
  white-space: nowrap;
}

.opportunity-select,
.opportunity-input {
  min-width: 92px;
  height: 34px;
  font-size: 0.78rem;
  font-weight: 600;
  border-radius: 10px;
}

.opportunity-input {
  width: 96px;
}

@media (max-width: 767.98px) {
  .opportunity-toolbar {
    width: 100%;
    align-items: stretch;
    flex-direction: column;
    gap: 0.5rem;
  }

  .opportunity-control {
    width: 100%;
  }

  .opportunity-select,
  .opportunity-input {
    width: 100%;
  }
}

/* DataTables Custom Styles */
.dataTables_wrapper .dataTables_length,
.dataTables_wrapper .dataTables_filter {
  margin-bottom: 1rem;
}

.dataTables_wrapper .dataTables_length {
  float: left;
}

.dataTables_wrapper .dataTables_filter {
  float: right;
}

.dataTables_scrollBody {
  overflow-y: auto;
  max-height: 400px;
}

/* Mobile responsive */
@media (max-width: 767.98px) {
  .dataTables_wrapper .dataTables_length,
  .dataTables_wrapper .dataTables_filter {
    float: left;
    width: 48%;
    margin-bottom: 0.75rem;
  }

  .dataTables_wrapper .dataTables_length {
    margin-right: 2%;
  }

  .dataTables_wrapper .dataTables_filter {
    margin-left: 2%;
  }

  .dataTables_wrapper .dataTables_filter input {
    width: 100%;
    margin-left: 0;
  }

  .dataTables_wrapper .dataTables_length select {
    width: 100%;
  }
}