html, :host {
  font-family: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", Segoe UI Symbol, "Noto Color Emoji";
}
.text-sm{
  font-size: .875rem;
  line-height: 1.25rem;
}
.text-lg{
  font-size: 1.125rem;
  line-height: 1.75rem;
}
.text-xl{
  font-size: 1.25rem;
  line-height: 1.75rem;
}
.font-bold{
  font-weight: 700;
}
.text-white{
  color: #fff;
}
.py-14{
  padding-top: 4rem;
  padding-bottom: 4rem;
}
/* Hide ApexCharts toolbar */
.apexcharts-toolbar {
  display: none !important;
}

.apexcharts-menu {
  display: none !important;
}

.apexcharts-toolbar-icon {
  display: none !important;
}

/* free lancer card css  */
.rate-card { 
  background-color: white;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  padding: 64px 0px;
  font-family: ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", Segoe UI Symbol, "Noto Color Emoji";
}
.rate-card #hourly-rate-tables-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Contractor Rate Cards CSS */
.cc-wrap {
  margin-top: 8px;
  max-width: 1200px;
  margin: 0 auto;
}
.cc-title {
  font-weight: bold !important;
  text-align: center;
  margin-bottom: 1rem !important;
  font-size: 2.25rem !important;
  line-height: 2.5rem !important;;
  color: #1E2A38 !important;
}
.cc-sub {
  text-align: center;
  color: rgb(30 42 56 / 0.6);
  margin-bottom: 1rem !important;
}
.cc-desc {
  text-align: center;
  color: rgb(30 42 56 / 0.8);
  margin: 0 auto 3rem auto !important;
}

.cc-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: stretch;
  gap:2rem;
}
.cc-card {
  flex: 1 1 360px;
  max-width: 520px;
  min-width: 360px;
  border-radius: 1rem;
  padding: 2rem;
  background: #fff;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}
.cc-non {
  --tw-bg-opacity: 1;
  border: 4px solid #006bb6
}
.cc-cert {
  border: 4px solid #FFCD0F;
}
.cc-h {
  font-weight: bold;
  text-align: center;
  font-size: 1.5rem;
  line-height: 2rem;
  color: #0C2B50;
  margin-bottom: 1.5rem;
}

.cc-rate-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 1.5rem;
}

.cc-rate-label {
  color: rgb(30 42 56 / 0.7); 
}
.cc-rate-value {
  font-weight: bold;
  color: #0C2B50;
}
#noncer_median{
  color: #006BB6;
}
#cer_median{
  color: #E6B800;
}
.cc-bar-container {
  width: 100%;
  height: 0.75rem;
  background-color: #f3f4f6;
  border-radius: 9999px;
  margin-top: 0.5rem ;
  overflow: hidden;
}
#contractor-median {  
  height: 1rem; 
}
.cc-bar-fill {
  height: 100%;
  border-radius: 9999px;
  transition: width 0.3s ease;
}
.cc-bar-non {
  background-color: rgb(107 114 128 / var(--tw-bg-opacity, 1));
}
.cc-bar-cert {
  background-color: #FFCD0F;
}
.cc-bar-median {
  background-color: #006BB6;
}

@media (max-width: 768px) {
  .cc-row {
    flex-direction: column;
    align-items: center;
  }
  .cc-card {
    flex: 1 1 309px;
    min-width: 100%;
    max-width: 100%;
  }
}

/* HTML Tables Styling */
.hourly-rate-table-container {
  margin-bottom: 30px;
}

.hourly-rate-table-container h3 {
  color: #007bff;
  margin-bottom: 15px;
  font-weight: bold;
  font-size: 18px;
}

.hourly-rate-table {
  width: 100%;
  border-collapse: collapse;
  margin-bottom: 20px;
  background-color: white;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
  color:#006BB6;
  font-size: 14px;
  font-weight: bold;
}


.rate-card h3 {
  font-weight: bold;
  margin-bottom: 20px;
  color: #333;
}

.country {
  margin-bottom: 20px;
}

.country h4 {
  color: #007bff;
  margin-bottom: 10px;
  font-weight: bold;
}

.rates {
  display: flex;
  justify-content: space-between;
  max-width: 600px;
}

.rate {
  text-align: center;
}

.rate span {
  display: block;
  font-size: 20px;
  font-weight: 600;
  color: #000;
}

.rate p {
  margin: 5px 0 0;
  font-size: 14px;
  color: #333;
}
 .ast-container, .ast-container-fluid {
  padding-left: 70px;
  padding-right: 70px;
}

#kl-table-heading {
  text-align: center;
  padding: 0rem 0px 0.2rem 0px !important;
  background: none !important;
  margin: 0px !important;
  background-color: #ffd700;
  font-weight: bold;
  font-size: 1.875rem;
  border-radius: 10px 10px 0 0;
}

.table-card {
  border-radius: 12px;
  overflow: hidden;
}

.blue-banner {
  background-color: #0c2b50 !important;
}
.card-header{
  align-items: center;
  text-align: center;
  padding: 20px;
  background: white;
  border-radius: 12px 12px 0 0;
  border-bottom: 1px solid #e5e7eb;
}

.card-header h2,
.card-header h4,
.card-header h5 {
  margin: 12px;
  font-weight: 600 !important;
  color: #1f2937 !important;
  font-size: 18px!important;  
}

.card-header p {
  margin: 8px 0 0 0;
  color: #6b7280;
  font-size: 14px;
  text-align: center;
}

/* Style for the compensation cards like in the image */
.compensation-card {
  background: white;
  border-radius: 12px;
  box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
  overflow: hidden;
  margin: 10px;
}

.compensation-card .card-header {
  padding: 24px 20px 20px 20px;
  background: white;
  border-bottom: 1px solid #f3f4f6;
}

.compensation-card .card-body {
  padding: 20px;
  background: white;
}

table.dataTable td {
  font-weight: bold;
  padding: 1rem;
}
/* freelancer card css end  */
.kl-charts-wrapper {
  display: flex;
  flex-direction: column;
  gap: 20px;
  margin-bottom: 40px;
}

/* Each row of charts or mixed content */
.kl-chart-row {
  display: flex;
  flex-wrap: wrap;
  gap: 20px;
  justify-content: center;
  align-items: stretch;
}

/* Half-width chart/table */
.kl-chart-container.half-width {
  flex: 1 1 calc(50% - 10px); /* Adjusts for gap */
  min-width: 300px;
  margin-top: 30px;
  max-width: 500px; /* Limit maximum width for better proportions */
}

/* Full-width chart */
.kl-chart-container.full-width {
  width: 100%;
}


/* Chart block styling */
.kl-chart {
  height: 400px;
  background: #fff;
  border: 1px solid #ddd;
  padding: 15px;
  box-sizing: border-box;
  border-radius: 6px;
}
.blurred-graphs {
  opacity: 0.2;
  pointer-events: none; /* Disable all mouse interactions */
  user-select: none;
}
span.inner-text-highlighted {
  font-weight: 900;
}
.graph-button {
  position: absolute;
  top: 78%; /* adjust as needed */
  right: 16%; /* adjust as needed */
  z-index: 99990;
  pointer-events: auto;
  background: #0073aa;
  color: #fff;
  border: none;
  padding: 12px 30px;
  border-radius: 20px;
  cursor: pointer;
}

/* DataTable override (optional styling) */
table.datatable {
  border-collapse: collapse;
  color: #006BB6;
  font-size: 14px;
  table-layout: fixed !important;
  border-radius: 12px;
  overflow: hidden;
  margin: 30px auto 70px auto;
  padding: 0 20px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

@media (min-width: 1024px) {
  table.datatable {
    width: 1024px !important;
  }
}


.kl-chart-container.full-width-100.py-14 {
  padding: 64px;
  background-color: #f5f5f5;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  position: relative;
  padding-bottom: 0rem !important;
}

table.datatable th,
table.datatable td {
  border: 1px solid #ccc;
  padding: 1rem;
}

/* Override any existing thead styles with higher specificity */
table.datatable thead,
table.dataTable thead {
  background-color: #0C2B50 !important;
  color: white !important;
}

/* Target individual header cells */
table.datatable thead th,
table.dataTable thead th {
  background-color: #0C2B50 !important;
  color: white !important;
  border-color: #0C2B50 !important;
}
.dataTables_info {
  display: none;
}
.red-column {
  background-color: red;
  color: white;
}

/* Mobile Responsive Styles for Tables */
@media (max-width: 768px) {
  .ast-container, .ast-container-fluid {
      margin-left: auto;
      margin-right: auto;
      padding-left: 20px;
      padding-right: 20px;
  }

  .custom-salary-info {
      min-width: 100% !important;
  }

  .kl-chart-container.full-width-100.py-14 {
      width: 100%;
      margin-left: 0;
      padding: 1rem;
  }

  table.datatable {
      width: 100% !important;
      min-width: 300px;
      font-size: 12px;
      margin: 10px auto;
      padding: 0 10px;
  }

  table.datatable th,
  table.datatable td {
      padding: 0.5rem;
      font-size: 12px;
  }

  #kl-table-heading {
      font-size: 1.25rem;
      padding: 0.5rem 0 1rem 0 !important;
  }
}

@media (max-width: 480px) {
  table.datatable th,
  table.datatable td {
      padding: 0.25rem;
      font-size: 11px;
  }  
}

  

.yellow-column {
  background-color: yellow;
  color: black;
}

/* Filters CSS */
.filter-box {
  border-left: 3px solid #0167b0;
  padding: 10px 20px;
  border-radius: 20px;
  margin-bottom: 20px;
  background-color: #ffffff;
}


.filter-form-container {
  display: flex;
  align-items: flex-start;
  gap: 20px;
}

.filter-form-scrollable {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  overflow-x: visible;
  padding-bottom: 10px;
  flex: 1;
  min-width: 0;
}

.filter-actions {
  text-align: right;
  margin-bottom: 15px;
}

.filter-form {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  overflow-x: visible;
  padding-bottom: 10px;
  position: relative;
}

.filter-field label {
  font-weight: 600;
  margin-bottom: 5px;
}

.filter-buttons {
  flex-basis: 100%;
  margin-top: 20px;
}

/* Optional: enhance select appearance */
.filter-field select {
  transition: all 0.2s ease-in-out;
  border-radius: 20px;
  border: 2px solid #0C2B50;
  outline: none;
  padding: 8px 12px;
  background-color: white;
  font-size: 14px;
  cursor: pointer;
}

.filter-field select:hover {
  border-color: #006BB6;
  transform: translateY(-1px);
}

.filter-field select:focus {
  border-color: #006BB6;
  box-shadow: 0 0 0 2px rgba(0, 107, 182, 0.2);
  transform: translateY(-1px);
}

/* Checkbox Dropdown styling */
.checkbox-dropdown-container {
  position: relative;
  width: 100%;
}

.checkbox-dropdown {
  border: 3px solid black;
  border-radius: 10px;
  background: white;
  cursor: pointer;
  transition: all 0.2s ease-in-out;
  width: 100%;
}

.checkbox-dropdown:hover {
  border-color: #0073aa;
}

.checkbox-dropdown-header {
  padding: 5px 12px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  min-height: 20px;
}

.checkbox-dropdown-header .placeholder {
  color: #999;
}

.checkbox-dropdown-header .dropdown-arrow {
  color: #666;
  font-size: 12px;
  transition: transform 0.2s ease;
}

.checkbox-dropdown.open .dropdown-arrow {
  transform: rotate(180deg);
}

.checkbox-dropdown-options {
  position: fixed;
  background: white;
  border: 1px solid #ccc;
  border-radius: 8px;
  max-height: 200px;
  overflow-y: auto;
  z-index: 999999;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
  min-width: 200px;
}

.checkbox-option {
  padding: 8px 12px;
  cursor: pointer;
  transition: background-color 0.2s;
  display: flex;
  align-items: center;
  gap: 8px;
}

.checkbox-option:hover {
  background-color: #f0f0f0;
}

.checkbox-option input[type="checkbox"] {
  margin: 0;
  cursor: pointer;
}

.checkbox-option.selected {
  background-color: #e3f2fd;
}

/* Custom scrollbar for dropdown */
.checkbox-dropdown-options::-webkit-scrollbar {
  width: 6px;
}

.checkbox-dropdown-options::-webkit-scrollbar-track {
  background: #f0f0f0;
  border-radius: 3px;
}

.checkbox-dropdown-options::-webkit-scrollbar-thumb {
  background: #0073aa;
  border-radius: 3px;
}

.checkbox-dropdown-options::-webkit-scrollbar-thumb:hover {
  background: #005177;
}



/* Hidden by default filters (dependent) */
.filter-field.dependent {
  display: none;
  overflow: hidden;
  transition: all 0.3s ease;
}

/* Optional highlight effect on toggle */
.filter-field.highlighted {
  box-shadow: 0 0 5px #0073aa;
  transition: box-shadow 0.3s ease-in-out;
}
.filter-actions-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 0px;
  padding-top:0px;
  border-top: 1px solid #e0e0e0;
  gap: 20px;
}

.filter-actions-wrapper {
  justify-content: flex-end;
  margin-top: 0;
  flex-shrink: 0;
  background-color: #ffffff;
  padding: 10px 0;
  z-index: 10;
}

.filter-actions-buttons {
  display: flex;
  gap: 0.75rem;
}

.filter-validation-message {
  color: #b91c1c; /* red-700 */
  background-color: #fee2e2; /* red-100 */
  padding: 10px 15px;
  border-left: 4px solid #dc2626; /* red-600 */
  border-radius: 4px;
  margin-top: 10px;
  font-size: 14px;
}
.required-asterisk {
  color: red;
  font-weight: bold;
  margin-left: 2px;
}

.btn {
  padding: 0.5rem 1rem !important;
  font-size: 0.875rem !important;
  border: none !important;
  border-radius: 20px !important;
  cursor: pointer !important;
  transition: background-color 0.2s ease !important;
}

.btn-primary {
  background-color: #0073aa !important;
  color: #fff !important;
}

.btn-primary:hover {
  background-color: #005177 !important;
  color: #fff !important;
}

.btn-secondary {
  background-color: #f1c40f !important;
  color: #000 !important;
}

.btn-secondary:hover {
  background-color: #d4ac0d !important ;
}
.btn-apply-filter:focus {
  color: #fff;
}

/* Average salary card */
/* Custom container styling */

.flex-container .kl-chart-container.full-width.py-14{
  background-color: #ffffff;
  width: 100%;
  position: relative;
  padding-bottom: 0rem !important;
  padding: 0px !important;
}
.top-2{
  top: -24px;
  position: relative;
}
.custom-container { 
  background-color: white;
  width: 100vw;
  margin-left: calc(-50vw + 50%);
  padding: 64px 0px;
}
.custom-container .custom-flex-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
  display: flex;
 
}
.custom-container .custom-salary-info,
.custom-container .custom-graph-container {
  flex: 1;
}
.custom-container div[style*="justify-content: flex-end"] {
  justify-content: flex-start !important;
  margin-left: 50%;
}
/* Title styling */
.custom-title {  
  color: white;
  margin-bottom: 1.5rem !important;
  margin-top: 0 !important;
  font-weight: bold;
}

/* Flex container styling */
.custom-flex-container {
  display: flex; 
  margin-bottom: 1.5rem !important;
}
/* Salary information styling */
.custom-salary-info {
  margin: 2rem 0rem 0rem 0 !important;   
  min-width:50%;
  max-width:50%;
}

.custom-salary-title {
  color: black;
  font-weight: bold;
  margin-bottom: 0.15rem !important;
}

.custom-salary-value {
  color: black;
  font-weight: 700;
  font-size: 3rem;
  margin-bottom: 5px !important;  
}

.custom-additional-info {
  color: #1E2A38;
  font-size: 1rem;
  margin-bottom: 0.5rem !important;
}

.custom-link {
  color: #1E2A38;
  font-weight: normal;  
}

/* Graph container styling */
.custom-graph-container {
  background-image: linear-gradient(to bottom right, #0169B3, #0C2D54);
  display: flex;
  min-width:50%;
  max-width:50%;
  flex-direction: column;  
  border-radius: 1rem;
  padding: 18px 19px 32px 19px;
  width: 46%;
}

/* Responsive breakpoints for custom-graph-container */
@media (max-width: 1200px) {
  .custom-graph-container {
    width: 50%;
    padding: 2rem;
  }
}

@media (max-width: 1024px) {
  .custom-graph-container {
    width: 70%;
    padding: 18px;
  }
}

@media (max-width: 576px) {
  .custom-graph-container {
    width: 95%;
    padding: 14px;
    border-radius: 10px;
  }
  
  /* .custom-graph {
    height: 5rem;
  } */
  
  .custom-salary-range {
    width: 95%;
    font-size: 12px;
  }
  
  .custom-title {
    font-size: 1.25rem;
  }
  
  .custom-range-label {
    font-size: 10px;
  }
  
  .custom-footer {
    padding: 0.25rem 0.5rem;
    margin-left:0px !important;
    text-align: center;
  }
  
  /* Filter box responsive styles for 576px */
  .filter-box {
    padding: 12px;
    border-radius: 12px;
    margin-bottom: 15px;
  }  
 
  
  .filter-form-scrollable {
    gap: 10px;
    padding-bottom: 12px;
  }
  
  .filter-field {
    min-width: 100%;
  }
  
  .filter-field label {
    font-size: 14px;
    margin-bottom: 4px;
  }
  
  .filter-field select {
    font-size: 14px;
    padding: 8px 12px;
    border: 2px solid #0C2B50;
    outline: none;
    transition: all 0.2s ease-in-out;
  }
  
  .filter-field select:hover {
    border-color: #006BB6;
  }
  
  .filter-field select:focus {
    border-color: #006BB6;
    box-shadow: 0 0 0 2px rgba(0, 107, 182, 0.2);
  }
  
  .filter-actions-row {
    flex-direction: column;
    gap: 15px;
    align-items: stretch;
  }
  
  .filter-actions-wrapper {
    justify-content: center;
  } 

  
  .btn {
    padding: 12px 47px;
    font-size: 1rem;
  }
  
  /* DataTable responsive styles for 576px */
  .dataTables_wrapper {
    overflow-x: auto;
    font-size: 13px;
  }
  
  /* table.dataTable {
    font-size:0.875rem;
  } */
  
  table.dataTable th,
  table.dataTable td {
    padding: 8px 6px;
  }
  
  .dataTables_info {
    font-size: 12px;
  }
  
  .dataTables_paginate {
    font-size: 12px;
  }
  
  .dataTables_paginate .paginate_button {
    padding: 6px 8px;
    margin: 0 3px;
  }
}

@media (max-width: 480px) {
  .custom-graph-container {
    min-width: 100%;
    padding: 12px;
    border-radius: 8px;
  }
  
  /* .custom-graph {
    height: 4.5rem;
  }
   */
  .custom-salary-range {
    width: 100%;
    font-size: 11px;
  }
  
  .custom-title {
    font-size: 1.25rem;
  }
  
  .custom-range-label {
    font-size: 9px;
  }
  
  .custom-footer {
    padding: 0.25rem 0.25rem !important;
    margin-left:0px !important;
    text-align: center !important;
    width:100% !important;
  }
  .custom-align{
    width:0% !important;
  }
  /* Filter box responsive styles for 480px */
  .filter-box {
    padding: 10px;
    border-radius: 10px;
    margin-bottom: 12px;
  }  
 
  .filter-form-scrollable {
    gap: 8px;
    padding-bottom: 10px;
  }
  
  .filter-field {
    min-width: 100%;
  }
  
  .filter-field label {
    font-size: 13px;
    margin-bottom: 3px;
  }
  
  .filter-field select {
    font-size: 13px;
    border-radius: 11px !important;
    padding: 6px 10px;
    border: 3px solid #0C2B50;
    outline: none;
    transition: all 0.2s ease-in-out;
  }
  
  .filter-field select:hover {
    border-color: #006BB6;
  }
  
  .filter-field select:focus {
    border-color: #006BB6;
    box-shadow: 0 0 0 2px rgba(0, 107, 182, 0.2);
  }
  
  .filter-actions-row {
    flex-direction: column;
    gap: 0px;
    align-items: stretch;
    margin-top: 0px;
    padding-top: 0px;
  }
  
  .filter-actions-wrapper {
    justify-content: center;
  }
  
  .filter-actions-buttons {
    gap: 6px;
    flex-direction: column;
  }
  
  .btn {
    padding: 1rem 2rem;
    font-size: 0.99rem;    
  }
  
  .filter-validation-message {
    font-size: 12px;
    padding: 8px;
  }
  
  /* DataTable responsive styles for 480px */
  .dataTables_wrapper {
    overflow-x: auto;
    font-size: 12px;
    margin: 0px;
  }
  
  table.dataTable {
    font-size: 11px;
    min-width: 100%;
  }
  
  table.dataTable th,
  table.dataTable td {
    padding: 6px 4px;
    white-space: nowrap;
  }
  
  .dataTables_info {
    font-size: 11px;
  }
  
  .dataTables_paginate {
    font-size: 11px;
  }
  
  .dataTables_paginate .paginate_button {
    padding: 4px 6px;
    margin: 0 2px;
  }
}

/* Graph styling */
.custom-graph {
  width: 100%;
  height: auto;
}



/* Salary range styling */
.custom-salary-range {
  display: flex;
  justify-content: space-between;
  width: 80%;
  font-size: 14px;
  font-weight: 600;
  color: white;
  margin-top: 0.25rem;
}

.custom-range-label {
  font-weight: normal;
}

/* Footer text styling */
.custom-footer {
  color: rgba(30, 42, 56, 0.6);
  padding: 0rem 0rem;
  margin-bottom: 0 !important;
  margin-top: 0.5rem;
  font-size: 0.75rem;
  line-height: 1rem;
  text-align:left;
  width:50%
}
.custom-align{
  width:50%;
}
.no-results-message{
  color: rgba(30, 42, 56, 0.6);
  padding: 0rem 0rem;
  margin-bottom: 0 !important;
  margin-top: 0.5rem;
  font-size: 0.75rem;
  line-height: 1rem;
}
.no-results-container {
  display: flex;
  justify-content: center;
  align-items: center;
  min-height: 200px;
  padding: 30px 20px;
  text-align: center;
  background-color: #f8f9fa;
  border-radius: 8px;
  margin: 20px 0;
  border: 2px dashed #dee2e6;
}

.no-results-content {
  max-width: 500px;
}

.no-results-icon {
  margin-bottom: 20px;
}

.no-results-title {
  font-size: 24px;
  font-weight: 600;
  color: #495057;
  margin-bottom: 16px;
  margin-top: 0;
}

.no-results-text {
  font-size: 16px;
  color: #6c757d;
  line-height: 1.5;
  margin: 0;
}
.model-wrapper{
  display: flex;
  justify-content: space-between;
}
/* Mobile responsive for no results message */
@media (max-width: 768px) {
  .no-results-container {
    min-height: 150px;
    padding: 20px 15px;
    margin: 15px 0;
  }
  
  .no-results-title {
    font-size: 20px;
  }
  
  .no-results-text {
    font-size: 14px;
  }
  .model-wrapper{
    flex-direction: column;
  }
}

/* Salary grid */
.salary-grid {
  background: #ffffff;
  border-radius: 10px;
  padding: 30px 20px;
  text-align: center;
  display: flex;
  justify-content: space-around;
  flex-wrap: wrap;
  gap: 30px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.1);
}

.salary-item {
  flex: 1 1 120px;
  max-width: 160px;
  text-align: center;
}

.salary-item img {
  height: 40px;
  margin-bottom: 10px;
}

.salary-label {
  font-weight: 600;
  margin-top: 5px;
  color: #1d1d1d;
}

.salary-value {
  font-size: 20px;
  font-weight: bold;
  color: #0b0b4c;
  margin-top: 5px;
}

.hidden {
  display: none !important;
}

/* Similar role cards */
.container-card {
  /* margin-top: 20px; */
  border: 1px solid #ddd;
  border-radius: 8px;
  overflow: hidden;
}
.yellow-banner {
  background-color: #ffd700;
  padding: 10px 15px;
  font-weight: bold;
}
.card-body {
  padding: 20px;
}
.card-body h2 {
  margin: 0 0 20px 0;
  font-size: 18px;
}
.chart-wrapper {
  position: relative;
  height: 200px;
  display: flex;
  flex-direction: column;
  align-items: center;
}
.center-text {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 24px;
  font-weight: bold;
}
.bottom-labels {
  position: absolute;
  bottom: 0;
  width: 100%;
  display: flex;
  justify-content: space-between;
  padding: 0 20px;
}
.bottom-labels span {
  font-size: 14px;
  color: #666;
}

/*default ui to show it the users */
.default-message-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: 300px;
  padding: 30px;
  border: 2px dashed #ccc;
  background-color: #f9f9f9;
  border-radius: 10px;
  color: #333;
}

.default-message-wrapper i {
  font-size: 48px;
  color: #888;
  margin-bottom: 15px;
}

.default-message-wrapper p {
  font-size: 18px;
  max-width: 600px;
  margin: 0;
}

/* Custom Progress Bar graph */

.salary-progress-bar {
  position: relative;
  width: 100%;
  max-width: 500px;
  margin-top: 1rem;
}

.salary-progress-wrapper {
  position: relative;
  height: 20px;
  background-color: #eee;
  border-radius: 10px;
  overflow: hidden;
  width: 100%;
  max-width: 500px;
  margin-top: 10px;
}


.salary-fill {
  height: 100%;
  background-color: #1e90ff;
  width: 0;
  transition: background-color 0.3s ease;
}

.salary-fill:hover {
  background-color: #0077cc;
  cursor: pointer;
}

.salary-labels {
  display: flex;
  justify-content: space-between;
  font-size: 16px;
  margin-top: 4px;
  position: relative;
}

#medianSalaryLabel {
  position: absolute;
  transform: translateX(-50%);
  font-weight: bold;
}
/* Loader spinner */
.salary-loader {
  border: 6px solid #f3f3f3;
  border-top: 6px solid #3498db;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  animation: spin 1s linear infinite;
  margin: 20px auto;
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}


/* paid charts css start */
.table-container {
            width: 48%;
            background-color: white;
            border-radius: 5px;
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
            margin: 1%;
            display: inline-block;
            vertical-align: top;
        }
        table.dataTable {
            width: 100%;
            border-collapse: collapse;
        }
        table.dataTable th,
        table.dataTable td {
            padding: 1rem;
            border: 1px solid #ddd;
            text-align: center;
        }
        table.dataTable tbody tr:nth-child(odd) {
            background-color: white;
        }
        table.dataTable tbody tr:nth-child(even) {
            background-color: #f8f9fa;
        }
       

/* paid charts css end  */


.hidden {
      display: none;
    }
    .cursor-pointer {
      cursor: pointer;
    }
    .bg-gray-100 {
      background-color: #f7fafc;
    }
    .toggle-icon {
      font-weight: bold;
      margin-right: 8px;
    }


    /* new contractor css starts */
  .filter-field {
      flex: 0 0 183px;
      display: flex;
      flex-direction: column;
  }

.filter-field select {
    transition: all 0.2s ease-in-out;
    border-radius: 11px !important;
    font-size: 14px;
    padding-left: 5px;
    border: 3px solid #0C2B50;
    outline: none;
}

.filter-field select:hover {
    border-color: #006BB6;
}

.filter-field select:focus {
    border-color: #006BB6;
    box-shadow: 0 0 0 2px rgba(0, 107, 182, 0.2);
}

/* Preview Modal Styles */
.preview-modal {
    background: white;
    border-radius: 12px;
    width: 100vw;
    margin-left: calc(-50vw + 50%);
    padding: 64px 0px;
    margin-top: 20px;
    margin-bottom: 20px;
    top: -33px;
    position: relative;
}
.preview-modal .preview-header,
.preview-modal .compensation-toggle,
.preview-modal .preview-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}
.preview-modal .compensation-toggle {
    text-align: center;
    margin: 20px auto;
}
.preview-modal .preview-content {
    display: flex;
    gap: 2rem;
    justify-content: center;
}
.preview-modal .preview-section {
    flex: 1;
    max-width: 500px;
}
.move-job1 {  /* Contractor */
  margin-top: -50px  !important;
}
.move-job2 {  /* Employee */
  margin-top: -100px !important;
}
.preview-header {
    text-align: center;
    margin-bottom: 0.5rem;
    font-size:1.875rem;
}

.preview-header h3 {
    font-size: 1.875rem !important;
    font-weight: 700 !important;    
    color: #333;
    margin-bottom: 1rem;
    line-height: 2.25rem !important;
}

.preview-header p {
  font-size:  1.125rem;
    color: #666;
    margin: 0;
    line-height: 1.4;
}


.preview-content {
    display: flex;
    gap: 32px;
    margin-top: 2rem;
}

.preview-section {
    flex: 1;
    padding: 2rem;
    border-radius: 1rem;
    border: 4px solid;
}

.preview-section.oppositeEmployee {
    border-color: #006bb6;
}

.preview-section.employee {
    border-color: #FFCD0F;
}

.section-header {
    margin-bottom: 0.3rem;
    text-align: center;
}

.section-header h4 {
    font-size:1.5rem !important;
    line-height: 2em !important;
    font-weight: 700 !important;
    color: #333;
    margin: 5px 0 5px 0;
}

.preview-subheading {
    font-size: 14px;
    color: #666;
    margin: 0;
    font-weight: 400;
    line-height: 1.3;
}

.currency{
  margin-bottom:0.5rem !important;
  color: rgb(30 42 56 / 0.6);
  font-size: .875rem;
  line-height: 1.25rem;
}

.center{
  text-align: center;
  margin-bottom: 2rem !important;
}
.section-header p {
    font-size: 14px;
    color: #666;
    margin: 0;
}

.compensation-bars {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 0.5rem;
}

.comp-bar {
    margin-top: 0.5rem;
    align-items: center;
}
.bar-container.median{
  height: 1rem !important;
}
.comp-bar:last-child {
    margin-bottom: 0;
}

.bar-label {
    min-width: 70px;
    color: rgb(30 42 56 / 0.7);
    margin-top: 5px;
}

.bar-container {
    flex: 1;
    height: 0.75rem;;
    background: #f0f0f0;
    border-radius: 6px;
    overflow: hidden;
    position: relative;    margin-top: 0.5rem;
}

.bar-fill {
    height: 100%;
    border-radius: 9999px;
    transition: width 0.3s ease;
}

.bar-fill.partner {
    background: #006BB6;
}

 .bar-fill.workday{
    background: #FFCD0F;
}
#oppositeEmployee-median-salary{
  color: #006BB6;
}
#employee-median-salary{
  font-weight: bold;
  color: #E6B800;
}
.bar-value {
    min-width: 80px;
    color: #0C2B50;
    text-align: right;
}

/* Salary Progress Bars (Gauge Chart Replacement) */
.salary-progress-bars {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding: 0px;
    border-radius: 8px;
    color: white;
}

.progress-row {
    align-items: center; 
    margin-bottom: 0.7rem;   
}

.progress-label {
    min-width: 80px;
    margin-top: 5px;
    color: rgb(219 234 254 / var(--tw-text-opacity, 1));
}

.progress-bar-container {
    flex: 1;
    /* height: 12px; */
    /* margin-bottom: 1.5rem; */
    background: rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    overflow: hidden;
    margin-top: .4rem;
}

.progress-bar-fill {
    height: .5rem;
    background: #fffc;
    border-radius: 6px;
    transition: width 0.3s ease;
}

.progress-bar-fill.median {
    background: #E6B800 ;
    height: .75rem !important;
}

.progress-value {
    min-width: 80px;
    /* font-size: 17px; */
    /* font-weight: 600; */
    text-align: right;
    /* color: white; */
}

.progress-value.median {
    color: #E6B800 ;
}

/* Compensation Toggle Buttons */
.compensation-toggle {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    padding: 0 0px;
}

.toggle-btn {
    padding: .75rem 1.5rem .75rem 1.5rem;
    border: 2px;
    background-color: #f8f9fa;
    color: rgb(75 85 99 / var(--tw-text-opacity, 1));
    border-radius: 20px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    min-width: 100px;
}

.toggle-btn:hover {
    background-color: #e9ecef;
    border-color: #adb5bd;
}

.toggle-btn.active {
    background-color: #006bb6;
    color: white;
}

.toggle-btn:focus {
    outline: none;   
}

@media (max-width: 768px) {
   .preview-content {
    flex-direction: column;
    gap: 20px;
}

.preview-modal {
    padding: 20px;
    margin: 15px 0;
}
.move-job1 {  /* Contractor */
  margin-top: -50px  !important;
}
.move-job2 {  /* Employee */
  margin-top: -100px !important;
}
.preview-header h3 {
    font-size: 1.875rem;
    margin-bottom: 1rem;
}

.preview-header p {
    font-size: 14px;
}
   
.comp-bar {
    gap: 10px;
}

.bar-label {
    min-width: 60px;
}

.bar-value {
    min-width: 70px;
    /* font-size: 13px; */
}
  .canada-tables-row {
    flex-direction: column;
    gap: 15px;
  }
  
  .filter-form-container {
    flex-direction: column;
    align-items: normal;
    gap: 15px;
  }
  
  .filter-form-scrollable {
    overflow-x: auto;
    padding-bottom: 15px;
    flex-direction: column;
    gap: 12px;
  }
  
 
  .filter-field {
    flex: 1 1 100%;
    min-width: 100%;
  }
  
  .filter-box {
    padding: 15px;
    border-radius: 15px;
  }
  .custom-salary-range {
    width: 90%;
    font-size: 13px;
  }
  .custom-flex-container {
    flex-direction: column;
    padding: 0px;
    gap:2rem;
    margin:1rem;
  }
  .custom-graph-container {
    min-width: 100% !important;
    padding: 2rem;
    border-radius: 16px;
  }
  .custom-graph {
    height:auto;
  } 
  /* .custom-title {
    font-size: 16px;
  }
   */
  .custom-range-label {
    font-size: 11px;
  } 
  .region-key-link {
    font-size:17px
  }
  /* DataTable responsive styles for 768px */
  .dataTables_wrapper {
    overflow-x: auto;
    font-size: 14px;
    margin:0px;
  }
  
  /* table.dataTable {
    color: #006BB6;
  } */
  
  table.dataTable th,
  table.dataTable td {
    padding: 10px 8px;
  }
  
  .dataTables_info {
    font-size: 13px;
  }
  
  .dataTables_paginate {
    font-size: 13px;
  }
  
  .dataTables_paginate .paginate_button {
    padding: 8px 12px;
    margin: 0 4px;
  }
  
  .compensation-toggle {
      align-items: center;
      gap: 12px;
  }
  
  .toggle-btn {
      min-width: 120px;
      padding: 10px 20px;
  }
}
table.dataTable td:first-child { 
  color: #1E2A38;
  font-weight: 500;
}
table.dataTable th, 
table.dataTable td {
  border: none !important;
  box-shadow: none !important;
}

table.dataTable tbody th.dt-body-left,
table.dataTable tbody td.dt-body-left,
table.dataTable thead th.dt-body-left {
  text-align: left !important;
}
.dt-body-center{
  text-align: center !important;
}
/* Regional breakdown table padding */
table.dataTable thead th,
table.dataTable thead td {
  padding: 1rem !important;
}

table.dataTable tbody td {
  padding: 1rem !important;
}

table.dataTable tbody td:nth-child(2),
table.dataTable tbody td:nth-child(3),
table.dataTable tbody td:nth-child(4) {
  text-align: center !important;
}


/* Region Key Modal Styles */
.region-key-link {
  display: inline-block;
  color: #0C2D54;
  font-weight: 600;
  text-decoration: none !important;
  text-align: end;
  font-size: 14px;
  margin-top: 5px;
  padding: 8px 16px;
  border-radius: 6px;
  transition: all 0.3s ease;
}

.region-key-modal {
  position: fixed;
  z-index: 9999;
  left: 0;
  top: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
}
.region-key-modal-content {

  background-color: white;
  border-radius: 12px;
  width: 80%;
  max-width: 765px;
  max-height: 95vh;
  overflow-y: auto;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}


.region-key-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 11px 25px;
  border-bottom: 1px solid #e0e0e0;
}

.region-key-modal-header h3 {
  margin: 0;
  font-size: 24px;
  font-weight: 700;
  color: #333;
}

.region-key-close {
  font-size: 28px;
  font-weight: bold;
  color: #999;
  cursor: pointer;
  line-height: 1;
  transition: color 0.3s ease;
}

.region-key-close:hover {
  color: #333;
}

.region-key-modal-body {
  padding: 25px;
}

.region-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 10px;
}

.region-item {
  padding: 10px;
  border: 2px solid #f0f0f0;
  border-radius: 8px; 
}
/* 
.region-item:hover {
  border-color: #006bb6;
  background-color: #f8f9ff;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 107, 182, 0.1);
} */

.region-item h4 {
  margin: 0 0 10px 0;
  font-size: 18px;
  font-weight: 600;
  color: black;
}

.region-item p {
  margin: 0;
  font-size: 15px;
  color: #666;
  line-height: 1.4;
  text-overflow: ellipsis;
}
@media (min-width: 1200px) {
  .custom-container .custom-flex-container,
  .custom-container .custom-footer {
    max-width: 1300px;
    padding: 0 140px;
  }
  .preview-modal .preview-header,
  .preview-modal .compensation-toggle,
  .preview-modal .preview-content {
    max-width: 1400px;
    padding: 0 140px;
  }
  .rate-card #hourly-rate-tables-container {
    max-width: 1400px;
    padding: 0 140px;
  }
}
@media (min-width: 2400px) {
  .custom-container .custom-flex-container,
  .custom-container .custom-footer {
    max-width: 1600px;
    padding: 0 703px;
  }
  .preview-modal .preview-header,
  .preview-modal .compensation-toggle,
  .preview-modal .preview-content {
    max-width: 1600px;
    padding: 0 703px;
  }
  .rate-card #hourly-rate-tables-container {
    max-width: 1600px;
    padding: 0 703px;
  }
}
/* Responsive design for mobile */
@media (max-width: 768px) {
  table.dataTable tbody td {
    padding: 0.5rem !important;
    white-space: normal !important; /* allow wrapping */
    word-break: keep-all;           /* don't break inside words */
  }
  .custom-container{
    padding: 10px 0px !important;
  }
  .custom-container .custom-flex-container {
    flex-direction: column;
    gap: 1rem;
    padding: 0 10px;
  }
  .preview-modal .preview-content {
    flex-direction: column;
    gap: 1rem;
  }
  .preview-modal .preview-section {
    max-width: 100%;
  }
  .rate-card {
    padding: 10px 0px !important;
  }
  .rate-card #hourly-rate-tables-container {
    padding: 0 10px;
  }
  /* Region column wider on mobile */
  table.dataTable tbody td:first-child,
  table.dataTable thead th:first-child {
    min-width: 140px;   /* adjust as needed */
    max-width: 160px;   /* keeps wrapping clean */
    /* word-wrap: break-word; */
  }
  .region-key-modal-content {
    width: 95%;
    margin: 20px;
  }
  
  .region-grid {
    grid-template-columns: 1fr;
    gap: 15px;
  }
  
  .region-item {
    padding: 15px;
  }
  
  .region-key-modal-header {
    padding: 15px 20px;
  }
  
  .region-key-modal-body {
    padding: 20px;
  }
}
table.dataTable tbody tr:nth-child(odd) {
  background-color: white !important;
}
table.dataTable tbody tr:nth-child(even) {
  background-color: #f8f9fa;
}
.progress-row-container{
  display: flex;
  justify-content: space-between;
}

.dataTables_wrapper {
  margin:0px;
}
/* Default styling for larger screens */
.verified-description {
  display: block;
  margin-left: 50.5%;
  max-width: 500px;
  text-align: left;
}

/* For screens smaller than 768px */
@media screen and (max-width: 768px) {
  .verified-description {
    margin-left: 20px;
    max-width: 100vw;
    margin-right:10px;
  }
}

/* For screens between 768px and 1024px */
@media screen and (min-width: 769px) and (max-width: 1024px) {
  .verified-description {
    margin-left: 51%;
    max-width: 480px;
  }
}

/* For screens between 1025px and 1440px */
@media screen and (min-width: 1025px) and (max-width: 1440px) {
  .verified-description {
    margin-left: 51%;
    max-width: 480px;
  }
}

