:root {
  --primary-orange: #f7941e;
  --primary-blue: #276fb3;
  --hover-blue: #1e5c94;
}

.primary-color {
  background-color: var(--primary-orange);
}

.primary-color-border {
  border-color: var(--primary-orange);
}

.primary-color-text {
  color: var(--primary-blue);
}

.primary-color-hover:hover {
  background-color: var(--hover-blue);
}

.primary-color-focus:focus {
  border-color: var(--primary-orange);
  box-shadow: 0 0 0 3px rgba(39, 111, 179, 0.25);
}

.autocomplete-items {
  border: 1px solid #d4d4d4;
  border-top: none;
  max-height: 150px;
  width: "inherit";
  overflow-y: auto;
  position: absolute;
  background-color: #fff;
  z-index: 99;
}

.autocomplete-item {
  padding: 10px;
  cursor: pointer;
}

.autocomplete-item:hover {
  background-color: #e9e9e9;
}

.slider-btn {
  font-size: 14px;
  width: 32px;
  height: 32px;
  color: #ffffff;
  background-color: var(--primary-orange);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: background-color 0.2s;
}

.slider-btn:hover {
  background-color: var(--hover-blue);
}

/* Custom styling for Select2 dropdowns */
.select2-container--default .select2-selection--multiple {
  border-color: #d1d5db;
  border-radius: 0.375rem;
  padding: 12px;
  position: relative;
  padding-right: 30px !important;
}
.select2-results__options {
  font-size: 12px !important;
}
.select2-container--default .select2-selection--multiple:after {
  content: "\f0d7";
  /* Font Awesome dropdown icon */
  font-family: "Font Awesome 6 Free";
  font-weight: 500;
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--primary-blue);
  font-size: 10px !important;
  pointer-events: none;
}

.select2-container--default.select2-container--focus
  .select2-selection--multiple {
  border-color: var(--primary-orange);
  box-shadow: 0 0 0 3px rgba(39, 111, 179, 0.25);
}

.select2-container--default
  .select2-selection--multiple
  .select2-selection__choice {
  background-color: var(--primary-orange);
  color: white;
  border:none ;
  border-radius: 1.1rem;
  padding: 3px;
  padding-left: 29px;
  margin-top: 0px;
  margin: 2px;
}

.select2-container--default
  .select2-selection--multiple
  .select2-selection__choice__remove {
  border: none;
  left: 7px;
  top: 3px;
}

.select2-container--default
  .select2-selection--multiple
  .select2-selection__choice__remove:hover {
  background-color: var(--primary-orange);
  left: 7px;
  top: 3px;
}

.select2-container--default
  .select2-selection--multiple.hide-dropdown-arrow:after {
  display: none;
}

.select2-container--default
  .select2-selection--multiple
  .select2-selection__clear {
  color: var(--hover-blue);
}

.select2-container--default
  .select2-selection--multiple.select2-selection--clearable {
  position: relative;
}

.select2-container--default
  .select2-results__option--highlighted[aria-selected] {
  background-color: var(--primary-blue);
}

.select2-container .select2-search--inline .select2-search__field {
  height: 25px;
  padding-bottom: 28px;
}

/* Custom styling for single selects if used */
.select2-container--default .select2-selection--single {
  position: relative;
  padding-right: 30px !important;
}

.select2-container--default .select2-selection--single:after {
  content: "▼";
  font-family: "Font Awesome 6 Free";
  font-weight: 500;
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--primary-blue);
  font-size: 10px;
  pointer-events: none;
}

/* Hide the default arrows on select elements */
select {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-image: none !important;
}

/* Ensure number inputs have the same focus styling as selects */
input[type="number"] {
  -webkit-appearance: none;
  -moz-appearance: textfield;
}

v input[type="number"]::-webkit-outer-spin-button,
input[type="number"]::-webkit-inner-spin-button {
  -webkit-appearance: none;
  margin: 0;
}

input[type="number"]:focus {
  outline: none;
  border-color: var(--primary-orange);
  box-shadow: 0 0 0 3px rgba(39, 111, 179, 0.25);
}

.field-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--primary-blue);
}

/* Disabled field styling */
select:disabled + .select2-container .select2-selection {
  background-color: #e9ecef;
  cursor: not-allowed;
}
.product-cw {
  display: grid;
  grid-template-columns: auto auto;
  font-size: 14px;
}
#select2-sub-industries-results {
  display: grid;
  grid-template-columns: auto auto;
  font-size: 12px;
}

#select2-milestone-results {
  display: grid;
  grid-template-columns: auto auto;
  font-size: 10px;
  padding: 0px;
}

.percentage-text {
  font-size: 12px;
  color: #a4a4a4;
}

.select2-results__option {
  padding: 1px;
}

.select2-results__options {
  overflow-y: auto;

  /* Hide scrollbar in most modern browsers */
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE/Edge */
}
.select2-results__options::-webkit-scrollbar {
  display: none; /* Chrome/Safari/Opera */
}

.select2-results {
  padding-right: 2px;
  padding-left: 2px;
}

.state-btn {
  width: 100px !important ;
  height: 100px !important;
}

.container {
  /* max-width: 800px; */
  margin: auto;
  padding: 20px;
}

/* Section styling */
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding-bottom: 5px;
}

.section-header h2 {
  font-size: 20px;
  color: #000;
  font-weight: bold;
  letter-spacing: 1px;
  padding-bottom: 5px;
  margin: 0;
}

.section-header button {
  background-color: #fdcd3b;
  color: #000000;
  border: 1px solid #ec8f32;
  font-size: 13px;
  padding: 6px;
  border-radius: 5px;
  cursor: pointer;
}

/* Accordion styling */
.accordion-wrapper{
  display: inline-flex
;  
}
.accordion-wrapper-industry{
  display: grid
;  
}
.accordion-item {
  margin-bottom: 10px;
}

.accordion-header {
  /*background-color: #fdcd3b;
  color: #000000;
  padding: 10px;
  cursor: pointer;
  display: flex;
  align-items: center;*/
  width: 100%;
  background: linear-gradient(to bottom, #fdcd3b, #ff8a00);
  color: #000000;
  padding: 5px;
  /*cursor: pointer;*/
  display: flex;
  align-items: center;
}

.accordion-header input {
  margin-right: 10px;
}

.accordion-content {
  background-color: #FFF;
  padding: 10px;
  display: inline-grid !important;
  flex-wrap: wrap;
   
;
    flex-wrap: wrap;
    /* 
; */
    font-size: 12px;
}

.accordion-content label {
  /*width: 50%;*/
  color:#000;
  text-align:left;
  margin-bottom: 5px;
}
.accordion-content-industry{
    display:none;
    grid-template-columns: repeat(2, 1fr) !important;
}
/* Navigation buttons */
.button-group {
  text-align: right;
  margin-top: 0px;
  display: flex;
  justify-content: space-between;
}
::-ms-input-placeholder { /* Edge 12 -18 */
  color: red !important;
}
.button-group button {
  color: #000;
  display: inline-block;
  min-width: 70px;
  padding: 2px 15px !important;
  text-align: center;
  border: none;
  border-radius: 4px;
  cursor: pointer;
  font-size: 14px;
}
#clear-product{
    background: unset;
    color: #000;
    padding: 0;
    top: 0;
    margin-top: 19px;
    font-size: 15px;
}
#product-suggestions{
    font-size: 12px;
    width: 100%;
    padding: 0;
    text-align: left;
}
#clear-milestones{
  background: none;
    color: #000;
    padding: 0;
    left: 14px;
    right: auto;
    margin-top: 0px;
    font-size: 15px;
    position: relative;  
}
#milestone-dropdown {
    position: absolute; /* or fixed if needed */
    z-index: 9999 !important; /* higher than the gray box */
    margin-top: 0.5rem !important;
    width: 405px !important;
    height:200px;
    text-align: left;
    display: grid;
    background-color: white;
    border: 1px solid #e5e7eb;
    border-radius: 0.375rem;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    max-height: 50rem;
    overflow-y: none;
    padding: 0;
}

#milestone-dropdown::-webkit-scrollbar {
    display: none; /* Chrome, Safari */
}
#milestone-dropdown label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    white-space: nowrap;
}

.button-group button.prev {
  background-color: #000;
  color: #ffffff;
}
#states-cancel-btn,#industry-cancel-btn{
  background-color: #c8102e !important;
  color: #fff;
  cursor: not-allowed;
}
.button-group button:disabled {
  background-color: #000;
  color: #fff;
  cursor: not-allowed;
}

.active {
  display: block;
}

.inactive {
  display: none !important;
}

.active-grid {
    display: grid;
}

.text-orange{
    color:#ffaa17;
}
/* Wrapper around list */
#milestone-dropdown {
    position: absolute; /* or fixed if needed */
    z-index: 999; /* higher than the gray box */
    margin-top: 0.5rem;
    width: 100%;
    display:block;
    background-color: white;
    border: 1px solid #e5e7eb;
    border-radius: 0.375rem;
    box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
    max-height: 15rem;
    overflow-y: none;
    padding: 0;
  }

  #milestone-grid {
    display: grid;
    grid-template-columns: auto auto;
    font-size: 12px;
  }

#milestone-dropdown li {
  padding: 0px 8px;
  cursor: pointer;
  display: flex;
  align-items: center;
  color:#000;
}

#milestone-dropdown li:hover {
  background-color: #f1f5f9;
}

#milestone-dropdown input[type="checkbox"] {
  margin-right: 8px;
}

[type="checkbox"]{
    border:  1px solid #111 !important;
    width:13px !important;
    height:13px !important;
   
}
/* Style for the overlays */
#step-1, #step-2 {
 /* position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: white;
  z-index: 100;
  padding: 20px;
  border-radius: 0 0 12px 12px; /* Match the parent container's border radius 
  overflow-y: auto;*/
      position: fixed;
    top: 200px;
   /* right: 20px;*/
    /* width: 50%; */
    height: auto;
    background-color: white;
    z-index: 999;
    padding: 10px;
    border-radius: 20px;

}
.custom-step2{
    position: absolute !important;
    background-color: white;
    z-index: 999 !important;
    top: 70px !important;
    right: 0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    border-radius: 6px !important;
    padding: 10px;
    min-width: 200px;
  
}
.custom-step3{
    position: absolute !important;;
    background-color: white;
    z-index: 999;
    top: 72px !important;
    right: 0;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    border-radius: 6px !important;
    padding: 10px;
    height: 400px !important;
}
#step-3 {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 350px;
  overflow-y: auto;
  background-color: white;
  z-index: 100;
  padding: 20px;
  border-radius: 0 0 12px 12px; /* Match the parent container's border radius */
}

/* Ensure the parent container is positioned relatively for proper overlay positioning */
.rounded-xl {
  position: relative;
}

/* Position the form container relatively so the overlay can be positioned within it */
#opportunity-calc-form {
  position: relative;
}
.blinking{
  animation: 1s blink ease infinite;
  width: 20px;
  height: 20px;
  border-radius: 100%
}

.blinking-green {
  animation: 1s blink-green ease infinite;
  width: 15px;
  height: 15px;
  border-radius: 100%;
  margin-top:20px;
  margin-bottom:15px;
  margin-right:5px;
}

@-webkit-keyframes "blink-green" {
  from, to {
    opacity: 0;
    background-color: #ffaa17;
  }
  50% {
    opacity: 1;
  }
}

@-webkit-keyframes "blink" {
  0% {
    opacity: 0;
    background-color: red;
  }
  25% {
    opacity: 1;
    background-color: red;
  }
   
    50% {
    opacity: 0;
    background-color: darkorange; 
  }
  
  75%{
    opacity: 1;
    background-color: darkorange; 
  }
  100%{
    opacity: 0;
    background-color: darkorange;
  }
}

.small-height {
  min-height: auto !important;
  padding: 0.8em 1.2em !important;
}


.gap-6 {
    gap: 0.3rem !important;
}

