@import url("https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;500;600;700&display=swap");

$primary-color: #36405e;
$soft_white: #f0f5f9;
$gray: #aaa;

body {
  background-color: $soft_white;
  font-family: "Montserrat", Helvetica, Arial sans-serif;
  color: #495057;
  margin: 0;
}
/*
  ===============================
  Background Color Class Start
*/
.bg__green {
  background-color: #8bc34a !important;
  color: #fff !important;
}
.bg__grey {
  background-color: #607d8b !important;
  color: #fff !important;
}

.bg__purple {
  background-color: #9c27b0 !important;
  color: #fff !important;
}
.bg__blue {
  background-color: $primary-color !important;
  color: #fff !important;
}
.bg__red {
  background-color: crimson;
  color: white;
}
/*
    ===============================
    Background Color Class End
*/

#open_discount_modal,
#open_charge_modal {
  cursor: pointer;
}
.select2-dropdown {
  border: 1px solid #aaa  !important;
  .select2-search--dropdown {
    margin-bottom: 5px;
    input {
      padding: 7px;
      border-radius: 5px;
      height: 33px !important;
      border-color: rgb(115 103 240) !important;
      outline: none;
    }
  }
}
.select2-container--default
  .select2-results__option--highlighted[aria-selected] {
  background-color: #D9F2FF;
  color: #143157 !important;

  transition: all 0.3s;
}
.select2-results__option[aria-selected] {
  color: #7d7d7d !important;
  font-size: 14px;
  font-weight: 500;
}


span.select2-selection.select2-selection--single:focus {
  outline-color: rgba($gray, 0.5);
}
.select2-container .select2-selection--single {
  padding: 3px 0;
  border: 1px solid #d8d6de;
  font-size: 1rem;
  border-radius: 5px !important;
  .select2-selection__rendered {
    line-height: 31px !important;
  }
}
.select2-container--default
  .select2-selection--single
  .select2-selection__arrow {
  height: 33px;
  b {
    border-color: $gray transparent transparent transparent;
  }
}
/*
    ===================================
    End Select 2
  */

.txt-blue {
  color: $primary-color;
}
.txt-gray {
  color: #cfd9db;
}

.off-btn {
  position: relative;
  padding: 8px 8px;
  margin-right: 2%;
  font-size: 15px;
  border: none !important;
  border-radius: 5px;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
  transition: opacity 0.3s;
  &:hover {
    opacity: 0.8;
  }
}

button {
  background-color: #ecf0f1;
  border-color: #ecf0f1;
  display: inline-block;
  font-weight: 400;
  text-align: center;
  border: none;
  outline: none;
  text-decoration: none;
  vertical-align: middle;
  height: 35px;
  cursor: pointer;
  user-select: none;
  padding: 8px 10px;
  font-size: 14px;
  border-radius: 0.25rem;
  transition: all 0.3s;
  font-family: "Montserrat", Helvetica, Arial sans-serif;
  &:hover {
    opacity: 0.8;
  }
}
.slimScrollDivCategory {
  button:focus {
    color: #fff;
  }
}


input,
textarea {
  border: 1px solid #d8d6de !important;
  outline: none !important;
  &:focus {
    color: #6e6b7b  !important;
    background-color: #fff !important;
    outline: 0;
    border-color: rgba(54, 64, 94, 0.2705882353);
    box-shadow: 0 0 0 0.2rem rgba(139, 92, 246, 0.2) !important;
  }
}


.single_row.first,
.single_row.forth {
  display: flex;
  justify-content: space-between;
  padding: 8px 8px 0 8px;
}
.modal_payable {
  background-color: #ced4da5d;
}


.model_price_list {
  display: grid;
  list-style-type: none;
  padding-left: 0px;
  grid-template-columns: 32% 32% 32%;
  grid-gap: 2%;
  li {
    width: 100%;
    input {
      display: none;
      &:checked ~ label {
        color: #8b5cf6 ;
        background-color: rgba(139, 92, 246, 0.1) !important;
        border-color: #8b5cf6 ;
      }
    }
    label {
      position: relative;
      width: 100%;
      color: #6e6b7b;
      display: inline-block;
      font-weight: 500;
      line-height: 1.5;
      text-align: center;
      text-decoration: none;
      vertical-align: middle;
      cursor: pointer;
      -webkit-user-select: none;
      -moz-user-select: none;
      user-select: none;
      background-color: transparent;
      border: 1px solid #d8d6de ;
      padding: 0.375rem 0.75rem 0.375rem 2rem;
      font-size: 1rem;
      border-radius: 0.25rem;
      transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out,
        border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out;
      &:hover {
        color: #8b5cf6 ;
        background-color: rgba(139, 92, 246, 0.1) !important;
        border-color: #8b5cf6 ;
      }
      &:focus {
        box-shadow: rgba(48, 126, 243, 0.1) !important;
      }
    }
  }
}

.price_input_field {
  display: grid;
  list-style-type: none;
  // padding: 0 10px;
  padding-left: 0px;
  margin: 20px 0 0 0;
  grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
  place-items: center;
  gap: 15px;
  li {
    width: 100%;
    input {
      width: 100%;
    }
    & > div {
      display: flex;
      align-items: center;
      input {
        flex: 1;
      }
      span {
        margin-left: 8px;
      }
    }
  }
}
.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
  gap: 15px;
  .single_row {
    font-size: 15px;
    display: flex;
    .label {
      margin-right: 5px;
    }
  }
}
.item_modifier_details {
  .total_payable {
    text-align: center;
    color: #000000;
    text-align: center;
    font-size: 18px;
    font-weight: normal;
    background-color: #ced4da5d;
    margin: 5px 0;
    padding: 6px 0;
  }
}

/*
    ================================================
    Default Scrollbar
*/
::-webkit-scrollbar {
  width: 10px;
  height: 8px;
}

/* Track */
::-webkit-scrollbar-track {
  background: $soft_white;
}

/* Handle */
::-webkit-scrollbar-thumb {
  border-radius: 20px;
  background: rgb(224, 224, 224);
}

/* Handle on hover */
::-webkit-scrollbar-thumb:hover {
  background: rgb(189, 189, 189);
}
