/*!***************************************************************************************!*\
  !*** css ./node_modules/css-loader/dist/cjs.js!./src/styles/primereact-overrides.css ***!
  \***************************************************************************************/
@import url(https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600&display=swap);
/*!************************************************************************************!*\
  !*** css ./node_modules/css-loader/dist/cjs.js!./src/styles/ag-grid-overrides.css ***!
  \************************************************************************************/
/* ============================================================================
   AG GRID CUSTOM THEME
   Brand-aware styling for AG Grid tables
   Integrates with HFMA multi-tenant branding system
   ============================================================================ */

/* Base theme extension */
.ag-theme-alpine {
  font-family: "Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --ag-font-family: inherit;
  --ag-font-size: 14px;
  --ag-border-radius: 6px;

  /* Use brand colors via CSS variables (set by ag-grid-theme.js) */
  --ag-header-background-color: #f9fafb;
  --ag-header-foreground-color: #111111;
  --ag-border-color: var(--border-color);
  --ag-row-hover-color: rgba(189, 133, 252, 0.08);
  --ag-selected-row-background-color: rgba(93, 94, 196, 0.12);

  /* Focus states for accessibility */
  --ag-range-selection-border-color: var(--btn-color);
  --ag-input-focus-border-color: var(--btn-color);
}

/* ============================================================================
   HEADER STYLING
   ============================================================================ */

.ag-theme-alpine .ag-header {
  font-weight: 600;
  border-bottom: 2px solid var(--border-color);
}

.ag-theme-alpine .ag-header-cell {
  padding: 12px 8px;
}

.ag-theme-alpine .ag-header-cell-label {
  font-weight: 600;
}

/* ============================================================================
   CELL STYLING
   ============================================================================ */

.ag-theme-alpine .ag-cell {
  line-height: 1.5;
  padding: 8px;
}

/* Custom cell alignment classes */
.ag-cell-align-right {
  text-align: right;
  justify-content: flex-end;
}

.ag-cell-align-center {
  text-align: center;
  justify-content: center;
}

.ag-cell-align-left {
  text-align: left;
  justify-content: flex-start;
}

/* Pinned left column (row labels) */
.ag-cell-pinned-left {
  font-weight: bold;
  text-align: left;
  background-color: #f9fafb;
  border-right: 1px solid var(--border-color);
}

/* ============================================================================
   INTERACTIVE STATES
   ============================================================================ */

/* Row hover effect */
.ag-theme-alpine .ag-row:hover {
  background-color: var(--ag-row-hover-color);
  transition: background-color 0.2s ease;
}

/* Selected row */
.ag-theme-alpine .ag-row-selected {
  background-color: var(--ag-selected-row-background-color);
}

/* Cell focus for keyboard navigation */
.ag-theme-alpine .ag-cell-focus {
  border: 2px solid var(--btn-color) !important;
  outline: none;
}

/* Range selection */
.ag-theme-alpine .ag-cell-range-selected:not(.ag-cell-focus) {
  background-color: rgba(189, 133, 252, 0.15);
}

/* ============================================================================
   GRID CHROME
   ============================================================================ */

/* Borders */
.ag-theme-alpine .ag-row {
  border-bottom: 1px solid var(--border-color);
}

/* Scrollbars */
.ag-theme-alpine .ag-body-horizontal-scroll::-webkit-scrollbar,
.ag-theme-alpine .ag-body-vertical-scroll::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

.ag-theme-alpine .ag-body-horizontal-scroll::-webkit-scrollbar-thumb,
.ag-theme-alpine .ag-body-vertical-scroll::-webkit-scrollbar-thumb {
  background-color: rgba(0, 0, 0, 0.2);
  border-radius: 4px;
}

.ag-theme-alpine .ag-body-horizontal-scroll::-webkit-scrollbar-thumb:hover,
.ag-theme-alpine .ag-body-vertical-scroll::-webkit-scrollbar-thumb:hover {
  background-color: rgba(0, 0, 0, 0.3);
}

/* ============================================================================
   EXPORT BUTTON
   ============================================================================ */

#aggrid-export-btn {
  background: linear-gradient(135deg, var(--hot-pink, #f274ba), var(--light-purple, #bd85fc));
  border: none;
  border-radius: 6px;
  color: white;
  padding: 8px 16px;
  font-weight: 500;
  font-size: 14px;
  cursor: pointer;
  transition: transform 0.2s, box-shadow 0.2s;
  font-family: "Inter", sans-serif;
}

#aggrid-export-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(189, 133, 252, 0.3);
}

#aggrid-export-btn:active {
  transform: translateY(0);
}

#aggrid-export-btn.hidden {
  display: none;
}

/* ============================================================================
   FILTER & MENU STYLING
   ============================================================================ */

.ag-theme-alpine .ag-popup {
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
  border-radius: 6px;
}

.ag-theme-alpine .ag-filter {
  border-radius: 6px;
}

/* Filter buttons */
.ag-theme-alpine .ag-standard-button {
  border-radius: 4px;
  font-weight: 500;
}

.ag-theme-alpine .ag-standard-button:hover {
  background-color: rgba(93, 94, 196, 0.1);
}

/* ============================================================================
   TOOLTIPS
   ============================================================================ */

.ag-theme-alpine .ag-tooltip {
  background-color: rgba(0, 0, 0, 0.85);
  color: white;
  border-radius: 4px;
  padding: 8px 12px;
  font-size: 13px;
}

/* ============================================================================
   ACCESSIBILITY ENHANCEMENTS
   ============================================================================ */

/* High contrast focus indicators */
.ag-theme-alpine .ag-cell-focus:focus-visible {
  border: 2px solid var(--btn-color) !important;
  outline: 2px solid rgba(93, 94, 196, 0.3);
  outline-offset: 2px;
}

/* Screen reader only class */
.ag-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border-width: 0;
}

/* ============================================================================
   RESPONSIVE ADJUSTMENTS
   ============================================================================ */

@media (max-width: 768px) {
  .ag-theme-alpine .ag-header-cell {
    padding: 8px 4px;
    font-size: 13px;
  }

  .ag-theme-alpine .ag-cell {
    padding: 6px 4px;
    font-size: 13px;
  }
}

/*!*******************************************************************************************!*\
  !*** css ./node_modules/css-loader/dist/cjs.js!./src/styles/primereact-overrides.css (1) ***!
  \*******************************************************************************************/
/* ============================================================================
   PRIMEREACT OVERRIDES & GLOBAL STYLES
   Centralized styling for HFMA multi-page application

   IMPORTANT: This file is loaded across ALL pages via webpack entry point
   Modifications affect: home, support, user, welcome pages
   ============================================================================ */

/* ----------------------------------------------------------------------------
   1. CSS CUSTOM PROPERTIES (VARIABLES)
   ---------------------------------------------------------------------------- */

:root {
  /* Base colors */
  --body-bg: #f9fafb;
  --text-dark: #111111;
  --text-light: #ffffff;
  --border-gray: #d1d5db;

  /* Cosmic gradient palette */
  --coral-orange: #f99062;
  --hot-pink: #f274ba;
  --light-purple: #bd85fc;
  --periwinkle-blue: #838cf8;

  /* Dynamic theme variables (set by theme.js at runtime) */
  /* --primary-color */
  /* --secondary-color */
  /* --btn-color */
  /* --border-color */
  /* --top-line-gradient */
}

/* ----------------------------------------------------------------------------
   2. GLOBAL BASE STYLES
   ---------------------------------------------------------------------------- */

html,
body {
  padding: 0;
  margin: 0;
  background-color: var(--body-bg);
  color: var(--text-dark);
  font-family:
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    sans-serif;
  font-optical-sizing: auto;
  font-style: normal;
}

a {
  color: var(--periwinkle-blue);
  text-decoration: none;
  transition: color 0.2s;
}

.link {
  cursor: pointer;
  color: var(--periwinkle-blue);
  text-decoration: none;
  transition: color 0.2s;
}

h2 {
  font-size: 1.5rem;
}

hr {
  border: none;
  border-top: 1px solid #e2e8f0;
  margin: 1.5rem 0;
}

/* ----------------------------------------------------------------------------
   3. LOADING SCREEN (from template.html)
   ---------------------------------------------------------------------------- */

.loading-screen {
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100vh;
  font-size: 1.25rem;
  font-weight: 500;
  color: #333;
  animation: pulse 0.6s ease-in-out infinite;
}

/* ----------------------------------------------------------------------------
   4. PRIMEREACT COMPONENT OVERRIDES
   ---------------------------------------------------------------------------- */

@layer primereact {
  /* 4.1 Base Component Font */
  .p-component {
    font-family:
      "Inter",
      -apple-system,
      BlinkMacSystemFont,
      "Segoe UI",
      Roboto,
      sans-serif;
  }

  /* 4.2 Buttons - Gradient styling with hover effects */
  .p-button.p-component {
    background: linear-gradient(135deg, var(--hot-pink), var(--light-purple));
    border: none;
    transition:
      transform 0.2s,
      box-shadow 0.2s;
    color: white;
  }

  .p-button.p-component.p-disabled {
    background: none;
    border: #c4d3db 0.5px solid;
    color: black;
  }

  .p-button.p-component:hover {
    background: linear-gradient(
      135deg,
      var(--hot-pink),
      var(--light-purple)
    ) !important;
    border: none;
    transform: translateY(-2px);
    box-shadow: 0 8px 18px rgba(189, 133, 252, 0.4);
  }

  .p-button:active {
    transform: translateY(0);
  }

  .p-button-label {
    font-size: 16px;
    font-weight: 500;
  }

  /* 4.3 Button Loading State - Custom border animations */
  .p-button-loading {
    border: none;
    padding: 10px 20px;
    background: rgba(0, 0, 0, 0.09);
  }

  .p-button-loading::before,
  .p-button-loading::after,
  .p-button-loading span::before,
  .p-button-loading span::after {
    animation-fill-mode: forwards;
    animation-iteration-count: infinite;
    animation-timing-function: ease-in-out;
    background: #002e6d;
    content: "";
    opacity: 1;
    position: absolute;
    transition: opacity 1s ease;
  }

  .p-button-loading::before,
  .p-button-loading::after {
    height: 2px;
    width: 0%;
  }

  .p-button-loading::before {
    right: 0;
    top: 0;
    animation-name: btn-border-top;
    animation-duration: 1s;
  }

  .p-button-loading::after {
    bottom: 0;
    left: 0;
    animation-name: btn-border-bottom;
    animation-delay: 0.2s;
    animation-duration: 1s;
  }

  .p-button-loading span::before,
  .p-button-loading span::after {
    height: 0%;
    width: 2px;
  }

  .p-button-loading span::before {
    left: 0;
    top: 0;
    animation-name: btn-border-span-left;
    animation-delay: 0.3s;
    animation-duration: 1s;
  }

  .p-button-loading span::after {
    bottom: 0;
    right: 0;
    animation-name: btn-border-span-right;
    animation-delay: 0.1s;
    animation-duration: 1s;
  }

  /* 4.4 SelectButton - Tab-like button groups */
  .p-selectbutton .p-button {
    color: black;
    border: 1px solid var(--border-color);
    background: none;
  }

  .p-selectbutton .p-button.p-component:hover {
    background: #f0f4f6 !important;
    border: 1px solid var(--border-color);
    transform: none;
    box-shadow: none;
  }

  .p-selectbutton .p-button.p-highlight {
    color: white;
  }

  .p-selectbutton .p-button.p-highlight:hover {
    background: var(--btn-color) !important;
    color: white !important;
  }

  /* 4.5 ToggleButton - On/off toggle styling */
  .p-togglebutton .p-button.p-component {
    background: var(--gray-400) !important;
  }

  .p-togglebutton.p-highlight .p-button.p-component {
    background: var(--green-500) !important;
  }

  /* 4.6 Dropdown - Focus and hover states */
  .p-dropdown:not(.p-disabled).p-focus,
  .p-dropdown:not(.p-disabled):hover {
    outline: none;
    border-color: var(--light-purple) !important;
    box-shadow: 0 0 0 3px rgba(189, 133, 252, 0.1);
    transition: all 0.2s ease;
  }

  /* 4.6.1 Dropdown Panel - Enhanced styling for dropdown options */
  .p-dropdown-panel {
    border-radius: 8px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
    border: 1px solid #e2e8f0;
  }

  .p-dropdown-panel .p-dropdown-items .p-dropdown-item {
    padding: 0.75rem 1rem;
    transition: all 0.15s ease;
  }

  .p-dropdown-panel .p-dropdown-items .p-dropdown-item:hover {
    background: linear-gradient(
      90deg,
      rgba(189, 133, 252, 0.08),
      rgba(242, 116, 186, 0.08)
    );
  }

  .p-dropdown-panel .p-dropdown-items .p-dropdown-item.p-highlight {
    background: linear-gradient(
      135deg,
      rgba(189, 133, 252, 0.15),
      rgba(242, 116, 186, 0.15)
    );
    color: #1e293b;
    font-weight: 500;
  }

  .p-dropdown-panel .p-dropdown-filter-container {
    padding: 0.75rem;
    border-bottom: 1px solid #e2e8f0;
  }

  .p-dropdown-panel .p-dropdown-filter {
    padding: 0.625rem 0.875rem;
    border-radius: 6px;
    border: 1px solid #d1d5db;
  }

  .p-dropdown-panel .p-dropdown-filter:focus {
    border-color: var(--light-purple);
    box-shadow: 0 0 0 2px rgba(189, 133, 252, 0.1);
  }

  .p-dropdown-panel .p-dropdown-empty-message {
    padding: 1.5rem 1rem;
    text-align: center;
    color: #6b7280;
    font-size: 0.875rem;
  }

  /* 4.7 Cards - Padding overrides */
  .p-card-body {
    padding: 0.5rem 1.25rem;
  }

  .p-card-body .p-card-content {
    padding: 0 !important;
  }

  /* 4.8 Toast - Flexbox direction for login page */
  .p-toast-message-content {
    flex-direction: column;
  }

  /* 4.9 Visualize Button - Specific hover state */
  .visualize-btn.p-button:hover {
    background-color: #003b8d !important;
    border-color: #003b8d !important;
    color: white;
  }
}

/* ----------------------------------------------------------------------------
   4.10 PRIMEREACT OVERRIDES (Outside @layer for higher priority)
   ---------------------------------------------------------------------------- */

/* SelectButton highlight - Must be outside @layer for proper cascade */
.p-selectbutton .p-button.p-highlight {
  background-color: var(--btn-color);
  border-color: var(--border-color);
}

/* ----------------------------------------------------------------------------
   5. CUSTOM FILTER COMPONENTS
   ---------------------------------------------------------------------------- */

/* 5.1 Filter Visualization SelectButtons - Main visualization type selector */
.selectButton-filterVisualization {
  min-width: 44.563rem;
  border-radius: 6px 6px 0 0;
  border: none;
  margin-bottom: -1px;
}

.selectButton-filterVisualization .p-button {
  width: 20rem;
}

.selectButton-filterVisualization .p-button:first-child {
  border-radius: 6px 0 0 0;
}

.selectButton-filterVisualization .p-button:last-child {
  border-radius: 0 6px 0 0;
}

.selectButton-filterVisualization .p-button.p-highlight {
  background-color: var(--btn-color) !important;
  border-color: var(--border-color) !important;
  color: white !important;
}

.selectButton-filterVisualization .p-highlight {
  color: white;
}

/* 5.2 Filter Visualization Type - Secondary visualization filter */
.filter-visualization-type {
  margin-bottom: 0;
  margin-left: 30px;
  width: 44.413rem;
  border: 0.25px solid var(--border-color);
  border-radius: 6px 6px 0 0;
  border-bottom: none;
}

.filter-visualization-type .p-button {
  width: 22.125rem;
  border: none;
}

.filter-visualization-type .p-button:first-child {
  border-radius: 6px 0 0 0;
}

.filter-visualization-type .p-button:last-child {
  border-radius: 0 6px 0 0;
}

.filter-visualization-type .p-button.p-highlight {
  background-color: var(--btn-color) !important;
  border-color: var(--border-color) !important;
  color: white !important;
}

/* 5.3 Filter Dataset Type - Dataset selection toggle */
.filter-dataset-type {
  margin: 2.688rem;
  width: fit-content;
  height: 2.688rem;
  border: 0.25px solid #98bacc;
  border-radius: 6px;
  margin-bottom: 0;
  background-color: #f0f4f6;
  padding: 0.25rem;
}

.filter-dataset-type .p-button {
  width: 14.6rem;
  border-radius: 6px;
  border: none;
  background-color: #f0f4f6;
  height: 2.188rem;
}

.filter-dataset-type .p-highlight {
  background-color: #ffff !important;
  color: black !important;
}

/* 5.4 Filter Price Scatter */
.filter-price-scatter {
  margin-left: 2.75rem;
  margin-bottom: 0.5rem;
}

/* 5.5 Filter Dropdown - Custom label styling */
.filter-dropdown .p-dropdown-label {
  font-size: 1rem;
  font-weight: normal;
  color: black;
}

/* 5.6 Filter Button - Custom styled filter button */
.filterButton {
  border-radius: 0 6px 0 6px;
  background: white;
}

.filterButton.p-button.p-component:hover {
  transform: none;
  background: #f0f4f6 !important;
  box-shadow: none;
  color: white;
}

/* Disabled state for filter button */
.filterButton.p-button.p-component:disabled,
.filterButton.p-button.p-component.p-disabled {
  background-color: #f1f5f9 !important;
  color: #cbd5e1 !important;
  border-color: #e2e8f0 !important;
  opacity: 0.6;
  cursor: not-allowed !important;
}

/* Disable default loading animation for filter button */
.filterButton.p-button-loading::before,
.filterButton.p-button-loading::after,
.filterButton.p-button-loading span::before,
.filterButton.p-button-loading span::after {
  content: none !important;
  display: none !important;
}

/* Custom loading animation for filter button - fade with background pulse */
.filterButton.p-button-loading {
  animation: filterButtonFade 1.2s ease-in-out infinite;
}

@keyframes filterButtonFade {
  0%,
  100% {
    color: #64748b;
    background-color: #f1f5f9;
    border-color: #cbd5e1;
  }
  50% {
    color: #475569;
    background-color: #e2e8f0;
    border-color: #94a3b8;
  }
}

/* 5.7 Filters Section */
.filters-section {
  margin-bottom: 15px 0;
}

.filters-section .filter {
  margin-bottom: 10px;
}

.filters-section .filter label {
  display: block;
  font-size: small;
  font-weight: bold;
  margin-bottom: 5px;
}

.selection-section {
  margin: 15px 0;
}

/* ----------------------------------------------------------------------------
   6. LAYOUT COMPONENTS
   ---------------------------------------------------------------------------- */

/* 6.1 Containers */
.container {
  width: 100%;
  max-width: 1440px;
  min-height: calc(100vh - 130px);
  display: flex;
  flex-direction: column;
  margin: 0 auto;
  padding: 0 2.75rem;
  overflow: hidden;
}

.container.no-bg {
  background-color: transparent;
}

.container-header {
  width: 100%;
  max-width: 1440px;
  display: flex;
  flex-direction: column;
  margin: 0 auto;
  overflow: hidden;
}

/* 6.2 Header */
.header {
  position: relative;
  color: white;
  padding: 0 1.5rem;
  background-color: black;
}

.header #stars {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

/* Header Center - Title Section */
.header-center {
  position: relative;
  z-index: 1;
}

.header-title {
  margin: 0;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.5px;
  line-height: 1.2;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.header-title-text {
  color: white;
  font-weight: 400;
  font-size: 1.125rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.header-title-gradient {
  background: linear-gradient(
    135deg,
    var(--coral-orange),
    var(--hot-pink),
    var(--light-purple),
    var(--periwinkle-blue)
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 700;
  font-size: 1.75rem;
  letter-spacing: -0.5px;
}

.header-subtitle {
  margin: 0.5rem 0 0 0;
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.7);
  font-weight: 400;
  letter-spacing: 0.5px;
}

/* Header Right - Navigation Section */
.header-right {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0.75rem;
  min-width: 20rem;
}

.header-user-info {
  font-size: 0.875rem;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 500;
  padding: 0.25rem 0.75rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 20px;
  backdrop-filter: blur(10px);
}

.header-nav {
  display: flex;
  gap: 0.5rem;
  align-items: center;
}

.header-nav-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: white;
  text-decoration: none;
  transition: all 0.3s ease;
  cursor: pointer;
  font-size: 0.875rem;
  font-weight: 500;
}

.header-nav-item:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(189, 133, 252, 0.3);
}

.header-icon {
  font-size: 1.25rem;
  flex-shrink: 0;
}

.header-nav-label {
  font-size: 0.875rem;
  white-space: nowrap;
}

.header-logout-btn {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  background: rgba(255, 107, 140, 0.15);
  border: 1px solid rgba(255, 107, 140, 0.3);
  color: white;
  cursor: pointer;
  transition: all 0.3s ease;
  font-size: 0.875rem;
  font-weight: 500;
  font-family: inherit;
}

.header-logout-btn:hover {
  background: rgba(255, 107, 140, 0.25);
  border-color: rgba(255, 107, 140, 0.5);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 107, 140, 0.4);
}

/* Legacy header styles for backwards compatibility */
.header-icons a {
  color: white;
}

.header-icons {
  width: 20rem;
}

/* 6.3 Top Line - Gradient accent line */
.top-line {
  width: 100%;
  margin: 0 auto;
  height: 8px;
  background: var(--top-line-gradient);
}

/* ----------------------------------------------------------------------------
   7. RESULTS & VISUALIZATIONS
   ---------------------------------------------------------------------------- */

.results-container {
  border: #c4d3db 0.5px solid;
  border-radius: 0 6px 6px 6px;
  margin-bottom: 45px;
}

/* 7.1 Reusable Card Box */
.card-box {
  border: #c4d3db 0.5px solid;
  border-radius: 6px;
  padding: 1.5rem;
  background: white;
  box-shadow:
    0 1px 3px 0 rgba(0, 0, 0, 0.1),
    0 1px 2px -1px rgba(0, 0, 0, 0.1);
}

#visualization-container {
  position: relative;
  overflow: hidden;
}

/* ----------------------------------------------------------------------------
   8. PAGE-SPECIFIC COMPONENTS
   ---------------------------------------------------------------------------- */

/* 8.1 Home Page - Insights Cards */
.insights-section {
  padding: 30px 0;
  margin-left: 2.688rem;
  margin-right: 2.688rem;
}

.insights-section h2,
.insights-section p {
  font-size: 16px;
  margin: 0;
}

.insights-section .small {
  font-size: 14px;
}

.insights-card {
  width: 18.75rem;
  min-height: 10.25rem;
  height: 10.75rem;
  padding: 0 !important;
  background-color: #f0f4f6;
}

.insights-card-market-gap {
  width: 18.75rem;
  min-height: 10.25rem;
  height: 10.75rem;
  padding: 0 !important;
  background-color: #f0f4f6;
  overflow: hidden;
  transition:
    max-height 0.5s ease-in-out,
    padding 0.3s ease-in-out;
}

.insights-card-market-gap:hover {
  max-height: 15rem;
  height: auto;
}

.facility-text {
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  max-height: 3em;
  transition:
    max-height 0.5s ease-in-out,
    opacity 0.3s ease-in-out;
  transition:
    height 0.5s ease-in-out,
    opacity 0.3s ease-in-out;
}

.insights-card-market-gap:hover .facility-text {
  -webkit-line-clamp: unset;
  line-clamp: unset;
  max-height: 50rem;
  opacity: 1;
  height: auto;
}

/* Home Page - Colored Insight Cards */
.p-card.average-rate {
  background-color: #e0f2ff; /* Light Blue */
}

.p-card.average-rate svg {
  color: #6190f4;
}

.p-card.lowest-rate {
  background-color: #e7f8e7; /* Light Green */
}

.p-card.lowest-rate svg {
  color: #6cd489;
}

.p-card.highest-rate {
  background-color: #ffe7e7; /* Light Red */
}

.p-card.highest-rate svg {
  color: #f6383c;
}

.p-card.closest-competitor {
  background-color: #f4e7ff; /* Light Purple */
}

.p-card.closest-competitor svg {
  color: #bf89f6;
}

.price {
  font-weight: bold;
  color: black;
}

.hc-section {
  text-align: center;
  padding: 45px 30px;
  color: white;
  background-color: #002e6d;
  margin: 15px 0 45px 0;
}

.overview-section {
  border-top: 1px solid #c4d3db;
  color: #606060;
  padding: 30px;
  margin: 15px 0;
  text-align: center;
}

/* 8.2 Login Page */
.layout {
  min-height: 100vh;
}

.hero-header {
  position: relative;
  height: 460px;
  background: black;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

#stars {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 0;
}

.logo-wrapper {
  position: relative;
  z-index: 1;
  text-align: center;
}

.logo-wrapper img {
  width: 510px;
  height: auto;
  margin-bottom: 0.85rem;
}

.logo-wrapper .brand-tagline {
  font-size: 1.85rem;
  letter-spacing: 0.06em;
  background: linear-gradient(
    135deg,
    var(--coral-orange),
    var(--hot-pink),
    var(--light-purple),
    var(--periwinkle-blue)
  );
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.session {
  display: flex;
  justify-content: center;
  align-items: center;
}

.session-logo {
  height: 40vh;
  background-color: #224057;
  overflow: hidden;
}

.session-form {
  padding-top: 45px;
  flex-direction: column;
}

.layout form {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  gap: 30px;
}

.layout h1 {
  margin: 0;
}

.layout .input-login-field label {
  font-size: 18px;
  padding: 14px;
  position: absolute;
  left: 1px;
  pointer-events: none;
  transition: 0.3s ease all;
  color: rgb(193, 190, 190);
}

.layout .input-login-field {
  position: relative;
  width: auto;
  height: auto;
}

.layout input {
  height: 50px;
  width: 350px;
}

.layout img {
  max-width: 420px;
}

.layout .p-toast-icon-close {
  height: 1.2em;
  width: 1.2em;
}

/* 8.3 Support Page */
.support-section {
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 30px;
  margin-bottom: 24px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  position: relative;
  overflow: hidden;
}

.support-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #f99062, #f274ba, #bd85fc);
}

.support-title {
  font-size: 28px;
  font-weight: 700;
  margin-bottom: 16px;
  background: linear-gradient(135deg, #f99062, #f274ba, #bd85fc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.support-text {
  font-size: 14px;
  color: #64748b;
  line-height: 1.5;
  margin-bottom: 12px;
}

.support-types {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin: 24px 0;
}

.support-type {
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 8px;
  padding: 16px;
  transition: all 0.3s ease;
}

.support-type:hover {
  background: #f1f5f9;
  border-color: #bd85fc;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(189, 133, 252, 0.1);
}

.support-type-title {
  font-size: 14px;
  font-weight: 600;
  margin-top: 0;
  margin-bottom: 6px;
  color: #374151;
}

.support-type-description {
  font-size: 12px;
  color: #64748b;
  line-height: 1.4;
  margin: 0;
}

.features-list {
  list-style-type: disc;
  padding-left: 20px;
  margin-top: 12px;
  margin-bottom: 16px;
}

.features-list li {
  margin-bottom: 12px;
  font-size: 14px;
  color: #374151;
}

/* Support Page - Documentation Section */
.documentation-section {
  margin-top: 20px;
  padding-top: 16px;
  border-top: 1px solid #e2e8f0;
}

.documentation-title {
  font-size: 16px;
  font-weight: 600;
  margin-bottom: 12px;
  color: #374151;
}

.documentation-links {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}

.doc-link {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px;
  background: #f8fafc;
  border: 1px solid #e2e8f0;
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.3s ease;
}

.doc-link:hover {
  background: #f1f5f9;
  border-color: #bd85fc;
  transform: translateY(-1px);
  box-shadow: 0 2px 8px rgba(189, 133, 252, 0.1);
}

.doc-icon {
  font-size: 20px;
  flex-shrink: 0;
}

.doc-content {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.doc-name {
  font-size: 13px;
  font-weight: 600;
  color: #374151;
}

.doc-description {
  font-size: 11px;
  color: #64748b;
  line-height: 1.3;
}

/* 8.4 Welcome Page */
.welcome-section {
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 40px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  position: relative;
  overflow: hidden;
}

.welcome-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #f99062, #f274ba, #bd85fc);
}

.welcome-title {
  font-size: 32px;
  font-weight: 700;
  margin-bottom: 16px;
  background: linear-gradient(135deg, #f99062, #f274ba, #bd85fc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.welcome-subtitle {
  font-size: 16px;
  color: #64748b;
  margin-bottom: 24px;
  line-height: 1.6;
}

.setup-form {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
  margin-bottom: 32px;
}

/* Welcome Page - Video Section */
.video-section {
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 20px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
}

.video-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #f99062, #f274ba, #bd85fc);
}

.video-container {
  position: relative;
  width: 100%;
  max-width: 500px;
  padding-bottom: 56.25%;
  height: 0;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.video-iframe {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  border-radius: 12px;
}

/* Welcome Page - News Section */
.news-section {
  background: white;
  border: 1px solid #e2e8f0;
  border-radius: 16px;
  padding: 32px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.04);
  position: relative;
  overflow: hidden;
}

.news-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, #f99062, #f274ba, #bd85fc);
}

.news-title {
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 24px;
  background: linear-gradient(135deg, #f99062, #f274ba, #bd85fc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.news-item {
  display: flex;
  gap: 16px;
  margin-bottom: 20px;
  padding: 16px;
  background: #f8fafc;
  border-radius: 8px;
  border-left: 3px solid #bd85fc;
  transition: all 0.3s ease;
}

.news-item:hover {
  background: #f1f5f9;
  border-left-color: #f274ba;
  transform: translateX(4px);
}

.news-date {
  font-weight: 700;
  color: #bd85fc;
  min-width: 80px;
  font-size: 14px;
}

.news-content {
  flex: 1;
  font-size: 14px;
  color: #475569;
  line-height: 1.5;
}

/* ----------------------------------------------------------------------------
   9. FORM COMPONENTS
   ---------------------------------------------------------------------------- */

.form-container {
  width: 100%;
  max-width: 800px;
  padding: 3.75rem 10.5rem;
  border-radius: 0.375rem;
  border: #c4d3db 0.5px solid;
  box-shadow:
    0 2px 1px -1px rgba(0, 0, 0, 0.2),
    0 1px 1px 0 rgba(0, 0, 0, 0.14),
    0 1px 3px 0 rgba(0, 0, 0, 0.12);
  display: flex;
  flex-direction: column;
  margin: auto;
  margin-bottom: 3.75rem;
  background: #c4d3db 0.5px solid;
  text-align: center;
}

.form-container .p-inputtext {
  width: 20rem;
}

.form-container .p-button {
  align-self: center;
  width: 20rem;
  margin-top: 1.5rem;
}

.form-divider {
  margin: 32px 0 24px;
  height: 1px;
  background: linear-gradient(90deg, transparent, #e2e8f0, transparent);
}

.form-title {
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 20px;
  background: linear-gradient(135deg, #f99062, #f274ba, #bd85fc);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
  margin-bottom: 20px;
}

.form-group {
  display: flex;
  flex-direction: column;
}

.form-label {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 6px;
  color: #374151;
}

.form-input,
.form-select,
.form-textarea {
  background: white;
  border: 2px solid #e2e8f0;
  border-radius: 8px;
  padding: 10px 14px;
  color: #1e293b;
  font-size: 14px;
  transition: all 0.3s ease;
  font-family: inherit;
  resize: vertical;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  outline: none;
  border-color: #bd85fc;
  box-shadow: 0 0 0 3px rgba(189, 133, 252, 0.1);
}

.form-textarea {
  min-height: 100px;
}

.submit-btn {
  background: linear-gradient(135deg, #f99062, #f274ba, #bd85fc);
  border: none;
  border-radius: 8px;
  padding: 10px 24px;
  color: white;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 4px 15px rgba(189, 133, 252, 0.2);
  margin-top: 16px;
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(189, 133, 252, 0.3);
}

.submit-btn:active {
  transform: translateY(0);
}

/* ----------------------------------------------------------------------------
   10. UTILITY COMPONENTS
   ---------------------------------------------------------------------------- */

.help {
  cursor: help;
}

.help::after {
  content: "?";
  display: inline-block;
  margin-left: 8px;
  width: 20px;
  height: 20px;
  line-height: 20px;
  text-align: center;
  background-color: var(--yellow-400);
  color: rgba(0, 0, 0, 0.8);
  border-radius: 50%;
  font-size: 1rem;
  font-weight: bold;
  border: 1px solid rgba(0, 0, 0, 0.375);
}

.cs-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 16px;
  height: 16px;
  border-radius: 50%;
  border: 1px solid rgba(0, 0, 0, 0.875);
}

.cs-icon::before {
  content: "";
}

/* Green Checkmark */
.cs-icon.cs-green {
  color: black;
  font-size: 9px;
  background-color: white;
}

.cs-icon.cs-green::before {
  content: "✔";
}

/* Yellow Minus */
.cs-icon.cs-yellow {
  color: black;
  font-size: 13px;
  background-color: white;
}

.cs-icon.cs-yellow::before {
  content: "-";
}

/* Red Exclamation */
.cs-icon.cs-red {
  color: black;
  font-size: 11px;
  font-weight: bold;
  background-color: white;
}

.cs-icon.cs-red::before {
  content: "!";
}

.overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.4);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 50;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.overlay:not(.hidden) {
  opacity: 1;
}

/* Inline style replacements - Classes for previously inline styles */
.error-text {
  color: #ff678c;
}

.form-container-login {
  margin: 15px 30px;
}

.divider-pipe {
  color: #ccc;
}

.filters-main-section {
  margin-left: 2.75rem;
  padding: 2rem 1.75rem;
}

.filters-main-filter {
  flex: 1;
  min-width: 0;
}

.filters-main-label {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.875rem;
  font-weight: 600;
  color: #374151;
  margin-bottom: 0.625rem;
  text-transform: uppercase;
  letter-spacing: 0.025em;
}

.filters-main-label .pi {
  font-size: 1rem;
  color: var(--light-purple);
}

.filters-main-dropdown {
  width: 100%;
  min-width: 20rem;
  font-size: 1rem;
}

.filters-main-dropdown .p-dropdown-label {
  font-size: 0.9375rem;
  padding: 0.75rem 1rem;
}

.filters-main-dropdown .p-dropdown-trigger {
  width: 2.75rem;
}

.filters-main-dropdown.p-disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.filters-main-dropdown .p-dropdown-clear-icon {
  color: #6b7280;
  transition: color 0.2s;
}

.filters-main-dropdown .p-dropdown-clear-icon:hover {
  color: var(--hot-pink);
}

/* Loading state animation for main filters */
.filters-main-dropdown.p-disabled .p-dropdown-trigger {
  animation: dropdownPulse 1.5s ease-in-out infinite;
}

@keyframes dropdownPulse {
  0%,
  100% {
    opacity: 0.6;
  }
  50% {
    opacity: 1;
  }
}

/* Enhanced filter container shadow and border */
.filters-main-section.card-box {
  border: 1px solid #e2e8f0;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05),
    0 2px 4px -1px rgba(0, 0, 0, 0.03);
  transition: box-shadow 0.3s ease;
}

.filters-main-section.card-box:hover {
  box-shadow: 0 6px 12px -2px rgba(189, 133, 252, 0.08),
    0 3px 6px -1px rgba(189, 133, 252, 0.05);
}

.filter-alt-position {
  position: absolute;
  top: 15px;
  right: 15px;
}

.filter-menu-sidebar {
  position: fixed;
  top: 0;
  right: 0;
  width: 520px;
  height: 100vh;
  z-index: 51;
  transition: transform 0.3s ease;
}

.filter-menu-sidebar.hidden-menu {
  transform: translateX(100%);
}

.filter-menu-sidebar.visible-menu {
  transform: translateX(0);
}

.header-icon-link {
  cursor: pointer;
  font-size: 1.875rem;
}

.app-content-hidden {
  display: none;
}

.flex-center-gap {
  display: flex;
  gap: 10px;
  justify-content: center;
  align-items: center;
}

.resend-email-container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* ----------------------------------------------------------------------------
   11. THIRD-PARTY LIBRARY OVERRIDES
   ---------------------------------------------------------------------------- */

/* 11.1 AG Grid */
.ag-theme-alpine {
  font-family:
    "Inter",
    -apple-system,
    BlinkMacSystemFont,
    "Segoe UI",
    Roboto,
    sans-serif;
  --ag-font-family: inherit;
}

/* 11.2 React Modal */
.ReactModal__Overlay {
  z-index: 10;
}

/* ----------------------------------------------------------------------------
   12. SKELETON LOADERS
   ---------------------------------------------------------------------------- */

/* Container with reserved minimum height to prevent layout shift */
.skeleton-container {
  position: relative;
  width: 100%;
  overflow: hidden;
}

/* Shimmer animation effect */
@keyframes shimmer {
  0% {
    background-position: -1000px 0;
  }
  100% {
    background-position: 1000px 0;
  }
}

.skeleton-shimmer {
  animation: shimmer 2s infinite linear;
  background: linear-gradient(
    90deg,
    #f0f0f0 0%,
    #e0e0e0 20%,
    #f0f0f0 40%,
    #f0f0f0 100%
  );
  background-size: 1000px 100%;
  border-radius: 4px;
}

/* AG Grid Skeleton */
.skeleton-grid {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 10px;
}

.skeleton-grid-header {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
  margin-bottom: 10px;
}

.skeleton-grid-header .skeleton-cell {
  height: 40px;
  background-color: #e8e8e8;
}

.skeleton-grid-row {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 8px;
  margin-bottom: 4px;
}

.skeleton-cell {
  height: 35px;
  background-color: #f5f5f5;
  border-radius: 4px;
}

/* Highcharts Skeleton */
.skeleton-chart {
  padding: 20px;
}

.skeleton-chart-title {
  height: 30px;
  width: 50%;
  margin: 0 auto 20px;
  border-radius: 4px;
}

.skeleton-chart-subtitle {
  height: 20px;
  border-radius: 4px;
}

.skeleton-chart-body {
  display: flex;
  gap: 15px;
  margin: 30px 0;
  min-height: 350px;
}

.skeleton-chart-yaxis {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 80px;
}

.skeleton-axis-label {
  height: 18px;
  width: 100%;
  border-radius: 4px;
}

.skeleton-chart-plot {
  flex: 1;
  display: flex;
  align-items: flex-end;
  justify-content: space-around;
  gap: 10px;
  padding: 10px;
  background-color: #fafafa;
  border-radius: 8px;
}

.skeleton-chart-bar {
  flex: 1;
  min-height: 50px;
  border-radius: 4px 4px 0 0;
}

.skeleton-chart-legend {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 20px;
}

.skeleton-legend-item {
  height: 20px;
  width: 100px;
  border-radius: 4px;
}

/* Fade-in transition for loaded content */
@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.content-loaded {
  animation: fadeIn 0.3s ease-in;
}

/* ----------------------------------------------------------------------------
   13. ANIMATIONS & KEYFRAMES
   ---------------------------------------------------------------------------- */

/* Loading screen pulse animation */
@keyframes pulse {
  0% {
    opacity: 0.2;
  }
  50% {
    opacity: 1;
  }
  100% {
    opacity: 0.2;
  }
}

/* Button loading border animations */
@keyframes btn-border-top {
  0% {
    right: auto;
    left: 0;
    width: 0%;
  }
  12.5% {
    right: auto;
    left: 0;
    width: 100%;
  }
  12.6% {
    right: 0;
    left: auto;
  }
  50% {
    width: 100%;
  }
  62.5% {
    width: 0%;
  }
  100% {
    right: 0;
    left: auto;
    width: 0%;
  }
}

@keyframes btn-border-bottom {
  0% {
    left: auto;
    right: 0;
    width: 0%;
  }
  12.5% {
    left: auto;
    right: 0;
    width: 100%;
  }
  12.6% {
    left: 0;
    right: auto;
  }
  50% {
    width: 100%;
  }
  62.5% {
    width: 0%;
  }
  100% {
    left: 0;
    right: auto;
    width: 0%;
  }
}

@keyframes btn-border-span-left {
  0% {
    top: auto;
    bottom: 0;
    height: 0%;
  }
  12.5% {
    top: auto;
    bottom: 0;
    height: 100%;
  }
  12.6% {
    top: 0;
    bottom: auto;
  }
  50% {
    height: 100%;
  }
  62.5% {
    height: 0%;
  }
  100% {
    top: 0;
    bottom: auto;
    height: 0%;
  }
}

@keyframes btn-border-span-right {
  0% {
    bottom: auto;
    top: 0;
    height: 0%;
  }
  12.5% {
    bottom: auto;
    top: 0;
    height: 100%;
  }
  12.6% {
    bottom: 0;
    top: auto;
  }
  50% {
    height: 100%;
  }
  62.5% {
    height: 0%;
  }
  100% {
    bottom: 0;
    top: auto;
    height: 0%;
  }
}

