    /* Shared Wrapper */
    .flex-wrapper {
        display: flex;
        flex-wrap: wrap;
        gap: 20px;
        justify-content: center;
        max-width: 100%;
        box-sizing: border-box;
      }
  
      /* Salary Graph Component */
      .salary-graph {
        padding: 20px;
        border-radius: 8px;
        flex: 1 1 100%;
        max-width: 700px;
        box-sizing: border-box;
      }
  
      /* Program Directory Component */
      .program-directory {
        padding: 20px;
        border-radius: 8px;
        flex: 1 1 100%;
        max-width: 700px;
        box-sizing: border-box;
      }
  
      /* Side by side on larger screens */
      @media (min-width: 900px) {
        .salary-graph,
        .program-directory {
          flex: 1 1 48%;
          max-width: 48%;
        }
      }
  
  .college-directory {
      max-width: 800px;
      margin: 0 auto;
  }
  
  .directory-header {
      text-align: center;
      margin-bottom: 24px;
  }
  
  .directory-title {
      color: #2c3e50;
      font-size: 1.75rem;
      font-weight: 600;
      margin-bottom: 8px;
  }
  
  .directory-subtitle {
      color: #6c757d;
      font-size: 0.9rem;
  }
  
  .directory-header::after {
      content: '';
      display: block;
      width: 60px;
      height: 2px;
      background: linear-gradient(90deg, #2c3e50, #f8f9fa);
      margin: 12px auto 0;
      border-radius: 1px;
  }
  
  .search-container {
      margin-bottom: 16px;
  }
  
  .search-input {
      width: 100%;
      padding: 10px 14px;
      font-size: 1rem;
      border: 1px solid #ccc;
      border-radius: 8px;
      background-color: white;
      color: #2c3e50;
      transition: all 0.2s ease;
  }
  
  .search-input:focus {
      outline: none;
      border-color: #2c3e50;
      box-shadow: 0 0 0 3px rgba(44, 62, 80, 0.1);
  }
  
  .search-input::placeholder {
      color: #adb5bd;
  }
  
  /* Programs Container */
  .programs-container {
      margin-bottom: 20px;
      max-height: 600px;
      overflow-y: auto;
  }
  
  /* Card Styles */
  .program-card {
      border: 1px solid #ddd;
      border-radius: 8px;
      margin-bottom: 10px;
      overflow: hidden;
      background: #fff;
      box-shadow: 0 1px 2px rgba(0,0,0,0.04);
      transition: box-shadow 0.2s ease;
  }
  
  .program-card:hover {
      box-shadow: 0 2px 4px rgba(0,0,0,0.08);
  }
  
  .card-header {
      width: 100%;
      text-align: left;
      background: #f8f9fa;
      padding: 12px 16px;
      font-size: 1rem;
      font-weight: 600;
      display: flex;
      justify-content: space-between;
      align-items: center;
      border: none;
      cursor: pointer;
      transition: background-color 0.2s ease;
      color: #2c3e50;
  }
  
  .card-header:hover {
      background-color: #e9ecef;
  }
  
  .card-toggle {
      font-size: 0.9rem;
      transform: rotate(0deg);
      transition: transform 0.3s ease;
      color: #6c757d;
  }
  
  .card-header.active .card-toggle {
      transform: rotate(180deg);
  }
  
  .card-body {
      display: none;
      padding: 12px 16px;
      font-size: 0.9rem;
      background: #fff;
      border-top: 1px solid #eee;
  }
  
  .card-body.active {
      display: block;
  }
  
  .detail-row {
      display: flex;
      margin-bottom: 8px;
      align-items: flex-start;
  }
  
  .detail-row:last-child {
      margin-bottom: 0;
  }
  
  .detail-label {
      color: #6c757d;
      font-size: 0.85rem;
      font-weight: 500;
      min-width: 80px;
      margin-right: 12px;
      flex-shrink: 0;
  }
  
  .detail-value {
      color: #2c3e50;
      font-size: 0.9rem;
      flex-grow: 1;
  }
  
  .card-body a {
      color: #2c3e50;
      text-decoration: none;
      border-bottom: 1px solid transparent;
      transition: all 0.2s ease;
  }
  
  .card-body a:hover {
      border-bottom-color: #2c3e50;
  }
  
  /* Advanced Search */
  .advanced-search {
      background-color: transparent;
      border: none;
      border-radius: 0;
      padding: 0;
      margin-bottom: 20px;
      box-shadow: none;
  }
  
  .advanced-title {
      color: #2c3e50;
      font-size: 1.1rem;
      font-weight: 600;
      margin-bottom: 12px;
      cursor: pointer;
      display: inline-flex;
      align-items: center;
      padding: 8px 0;
  }
  
  .advanced-title:hover {
      color: #1f2d3a;
  }
  
  .advanced-fields {
      display: flex;
      flex-wrap: wrap;
      gap: 12px;
      border: 1px solid #ccc;
      padding: 12px;
      border-radius: 6px;
      background: #fefefe;
      margin-bottom: 16px;
  }
  
  .field {
      flex: 1 1 150px;
      display: flex;
      flex-direction: column;
  }
  
  .field label {
      font-size: 0.85rem;
      color: #6c757d;
      margin-bottom: 4px;
  }
  
  .field input[type="text"],
  .field input[type="number"] {
      padding: 8px 10px;
      font-size: 0.9rem;
      border-radius: 4px;
      border: 1px solid #ccc;
  }
  
  .filter-btn {
      background-color: #007bff;
      color: white;
      padding: 10px 16px;
      border: none;
      border-radius: 4px;
      cursor: pointer;
      font-size: 0.95rem;
      transition: background-color 0.3s ease;
      margin-top: auto;
  }
  
  .filter-btn:hover {
      background-color: #0056b3;
  }
  
  .checkbox-group {
      display: flex;
      flex-direction: column;
      gap: 6px;
      margin-top: 4px;
  }
  
  .checkbox-label {
      display: flex;
      align-items: center;
      gap: 6px;
      font-size: 0.85rem;
      color: #2c3e50;
      cursor: pointer;
      margin: 0;
      width: fit-content;
  }
  
  .checkbox-label input[type="checkbox"] {
      margin: 0;
      cursor: pointer;
  }
  
  .checkbox-label:hover {
      color: #1f2d3a;
  }
  
  /* Filter Icon */
  .filter-icon {
      display: inline-flex;
      flex-direction: column;
      width: 16px;
      height: 12px;
      margin-right: 8px;
      position: relative;
  }
  
  .filter-icon::before,
  .filter-icon::after {
      content: '';
      height: 2px;
      background-color: #6c757d;
      border-radius: 1px;
      position: absolute;
  }
  
  .filter-icon::before {
      width: 16px;
      top: 0;
  }
  
  .filter-icon::after {
      width: 12px;
      top: 5px;
  }
  
  .filter-icon .middle-line {
      height: 2px;
      width: 8px;
      background-color: #6c757d;
      border-radius: 1px;
      position: absolute;
      top: 10px;
  }
  
  /* States */
  .no-results, .empty-state {
      text-align: center;
      padding: 40px 20px;
      color: #6c757d;
      font-size: 0.9rem;
      background-color: white;
      border-radius: 12px;
      border: 2px solid #f8f9fa;
  }
  
  /* Mobile */
  @media (max-width: 600px) {
  /*
      body {
          padding: 12px;
      } */
  
      .directory-title {
          font-size: 1.5rem;
      }
  
      .search-input {
          padding: 8px 12px;
          font-size: 0.95rem;
      }
  
      .card-header {
          font-size: 0.95rem;
          padding: 10px 12px;
      }
  
      .card-body {
          font-size: 0.85rem;
          padding: 10px 12px;
      }
  
      .advanced-fields {
          flex-direction: column;
      }
  
      .field {
          flex: 1 1 100%;
      }
  }
  
  /* Tablet */
  @media (min-width: 768px) {
      body {
          padding: 24px;
      }
  
      .college-directory {
          max-width: 700px;
      }
  }
  
  /*Salary css*/
  
  .interactive-widget {
      font-family: Arial, sans-serif;
      background: white;
      padding: 30px;
      border-radius: 8px;
      box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  }
  
  .controls {
      display: flex;
      gap: 20px;
      margin-bottom: 30px;
      flex-wrap: wrap;
  }
  
  .control-group {
      flex: 1;
      min-width: 200px;
  }
  
  .control-group label {
      display: block;
      margin-bottom: 8px;
      font-weight: 600;
      color: #2c3e50;
      font-size: 14px;
  }
  
  .control-group select {
      width: 100%;
      padding: 12px;
      border: 2px solid #e1e8ed;
      border-radius: 6px;
      font-size: 16px;
      background: white;
      cursor: pointer;
  }
  
  .control-group select:disabled {
      background-color: #f8f9fa;
      cursor: not-allowed;
      color: #6c757d;
  }
  
  .control-group select:focus {
      outline: none;
      /* border-color: #3498db; */
  }
  
  .control-group.metro-control {
      display: none;
  }
  
  .control-group.metro-control.visible {
      display: block;
  }
  
  @media (max-width: 768px) {
      .controls {
          flex-direction: column;
          gap: 15px;
      }
  }
  
  .charts-container {
      margin-bottom: 20px;
      max-width: 600px;
  }
  
  .chart-section {
      margin-bottom: 25px;
      padding: 20px;
      background-color: #f8f9fa;
      border-radius: 8px;
      /* border-left: 4px solid #3498db; */
  }
  
  .chart-section h4 {
      margin: 0 0 15px 0;
      color: #2c3e50;
      font-size: 16px;
  }
  
  /* Add to your style2.css */
  .chart-section.highlight {
      animation: highlightFade 1.2s ease-out;
  }
  
  @keyframes highlightFade {
      0%   { background-color: #fff3cd; } /* soft yellow */
      100% { background-color: #f8f9fa; } /* your normal bg color */
  }
  
  
  .chart-display {
      position: relative;
      height: auto;
      min-height: 300px;
      background: white;
      border-radius: 6px;
      padding: 20px;
  }
  
  .chart-display svg {
      display: block;
      max-width: 100%;
      height: auto;
  }
  
  .salary-range {
      position: relative;
      height: 14px;
      background: #e9ecef;
      border-radius: 7px;
      margin: 25px 0 10px 0;
  }
  
  .range-line {
      position: absolute;
      height: 100%;
      background: linear-gradient(to right, #e74c3c 0%, #f39c12 50%, #27ae60 100%);
      border-radius: 7px;
  }
  
  .salary-point {
      position: absolute;
      top: -5px;
      width: 14px;
      height: 14px;
      border-radius: 50%;
      background: currentColor;
      border: 2px solid white;
      box-shadow: 0 0 2px rgba(0,0,0,0.3);
      transform: translateX(-50%);
  }
  
  .salary-point.bottom10 { color: #e74c3c; }
  .salary-point.average { color: #f39c12; }
  .salary-point.top10 { color: #27ae60; }
  
  .salary-label {
      position: absolute;
      top: 32px;
      transform: translateX(-50%);
      font-size: 13px;
      font-weight: 600;
      color: #2c3e50;
      text-align: center;
      white-space: nowrap;
  }
  
  .salary-amount {
      position: absolute;
      top: 52px;
      transform: translateX(-50%);
      font-size: 13px;
      font-weight: 700;
      color: #27ae60;
      text-align: center;
  }
  
  /* ✅ Hill Graph Specific */
  .graph-line {
      fill: none;
      stroke: #3498db;
      stroke-width: 5px;
  }
  
  .graph-point {
      fill: #27ae60;
      stroke: white;
      stroke-width: 2px;
  }
  
  .label-container {
      border-radius: 3px;
      text-align: center;
      min-width: 52px;
      min-height: 30px;
      font-family: 'Roboto', Arial, sans-serif;
  }
  
  .label-container .percentage {
      display: block;
      font-size: 16px;
      font-weight: 600;
      color: #555;
  }
  
  .label-container .salary {
      display: block;
      font-size: 18px;
      font-weight: normal;
      color: #333;
  }
  
  .average-label {
      position: relative;
  }
  
  .average-label::after {
      content: "";
      position: absolute;
      left: 50%;
      bottom: -15px;
      width: 0;
      height: 15px;
      border-left: 1px dotted #999;
      transform: translateX(-50%);
  }
  
  /* ---------------------------
     Tab Buttons
  ---------------------------- */
  .tab-buttons {
      display: flex;
      gap: 10px;
      margin-bottom: 20px;
  }
  
  .tab-btn {
      flex: 1;
      padding: 10px 15px;
      background: #f0f0f0;
      border: 1px solid #ccc;
      border-radius: 6px 6px 0 0;
      cursor: pointer;
      font-size: 14px;
      font-weight: 600;
      color: #333;
      transition: background 0.3s ease, color 0.3s ease;
  }
  
  .tab-btn.active {
      background: #3498db;
      color: white;
      border-bottom: 2px solid white;
  }
  
  .tab-btn:hover {
      background: #e1e8ed;
  }
  
  @media (max-width: 600px) {
      .tab-buttons {
          flex-direction: column;
      }
  
      .tab-btn {
          border-radius: 6px;
      }
  }
  
  /* ✅ Tab Visibility Control */
  .chart-section {
      display: none;
  }
  
  .tab-btn.active[data-tab="nationalChart"] ~ .charts-container #nationalChart {
      display: block;
  }
  
  .tab-btn.active[data-tab="stateChart"] ~ .charts-container #stateChart {
      display: block;
  }
  
  .tab-btn.active[data-tab="metroChart"] ~ .charts-container #metroChart {
      display: block;
  }
  
  @media (max-width: 600px) {
      .label-container .percentage {
          font-size: 16px !important;  /* was 16px */
      }
      
      .label-container .salary {
          font-size: 18px !important;  /* was 18px */
      }
  
      /* Remove padding on mobile */
      .chart-display {
          padding: 0 !important;  /* or even 0 if you want no padding */
      }
  
      .chart-section {
          padding: 0;
          border-radius: 8px;
          /* border-left: 4px solid #3498db; */
      }
  }
  
  
  
  
  
  
  