html {
  font-size: 62.5%;
  box-sizing: border-box;
}
.modal-color-palette {
    position: fixed;
    top: 50%;
    left: 50%;
    width: 100%;
    transform: translate(-50%, -50%);
    font-family: Montserrat, sans-serif !important;
  }
  .modal-content {
    box-shadow: none;
  }
  .modal-body {
    font-size: 16px;
    padding: 2rem !important;
  }
  .line-prep-tabs {
    display: flex;
    height: 41px;
  }
  .modal-body.row .d-flex img {
    width: 30px !important;
    cursor: pointer;
  }
  .modal-body.row .d-flex img:nth-child(1) {
    left: 0;
  }
  .modal-body.row .d-flex img:nth-child(3) {
    right: 0;
  }
  .modal__colors-container {
    scroll-behavior: smooth;
    height: 40px;
    width: auto;
    overflow-x: auto;
    overflow-y: hidden;
    white-space: nowrap;
  }
  .modal__colors-container::-webkit-scrollbar {
    display: none;
  }
  /* Hide scrollbar for IE, Edge and Firefox */
  .modal__colors-container {
    -ms-overflow-style: none; /* IE and Edge */
    scrollbar-width: none; /* Firefox */
  }
  
  .modal__color-list-container {
    height: auto;
    max-height: 150px;
    overflow-y: auto;
    flex-wrap: wrap;
    gap: 4px;
    padding: 8px 16px 8px 8px;
  }
  .grid-column {
    padding: 12px;
    word-wrap: break-word;
  }
  .division__color {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    margin-right: 8px;
    display: inline-flex;
  }
  .division__color.active {
    border: 2px solid #000;
  }
  .modal-body.row .d-flex .modal__color-img img {
    width: 100% !important;
    object-fit: contain !important;
  }
  .modal-body.row .d-flex .modal__img-gallery img {
    width: 100% !important;
    margin-bottom: 4px;
    /* object-fit:cover !important; */
  }
  .conic-gradient {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    cursor: pointer;
    background: conic-gradient(red, yellow, lime, aqua, blue, magenta, red);
  }
  .color__item--title,
  .color__item {
    width: 50px;
    height: 30px;
    border: 1px solid #999;
    cursor: pointer;
  }
  .color__item.active {
    border: 2px solid #000;
  }
  .modal-body.row .d-flex span {
    font-size: 1.8rem;
  }
  .modal__right-column {
    /* padding-top: 90px; */
  }
  .modal__right-column .modal__color-spot {
    height: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 16px;
    font-weight: 400;
    color: #000;
    padding-left: 2.5%;
  }
  .modal__right-column .go-to-color {
    width: 110px;
    font-size: 16px;
    color: #777;
    padding: 6px 10px;
    border: 1px solid #777;
    border-radius: 3px;
    background-color: transparent;
    transition: all 0.2s ease-in-out;
  }
  .modal__color-search {
    width: 100%;
    border-radius: 3px;
    padding: 2px 1rem;
    background-color: #eee;
  }
  .modal__color-search i {
    font-size: 1.8rem;
    margin-right: 0.8rem;
    cursor: pointer;
  }
  .modal__color-search input[type="text"] {
    width: 100%;
    font-size: 16px;
    background-color: #eee;
    border: none;
  }
  .modal__color-search input:focus {
    outline: none;
  }
  .modal__nav {
    border-bottom: 3px solid orange;
  }
  .line-prep-tabs button,
  .modal__nav button {
    font-size: 16px;
    font-weight: 400;
    border: none;
    border-radius: 3px;
    margin-right: 0.8rem;
    background-color: #eee !important;
  
    cursor: pointer;
  }
  .line-prep-tabs button.active,
  .modal__nav button.active {
    background-color: #ff8e0a !important;
    color: #fff !important;
  }
  .modal__color-list-container {
    width: 100%;
  }
  .color__item--list {
    width: 100% !important;
    display: flex;
    flex-direction: column;
  }
  .color__item--list li {
    width: 100%;
    min-height: 25px;
    padding: 0 10px;
    margin-bottom: 8px;
    font-size: 16px;
    font-weight: 500 !important;
    display: flex;
    cursor: pointer;
  }
  .color__item--list li > div {
    margin-right: 20px;
  }
  .modal__img-gallery {
    overflow-y: auto;
    max-height: 270px;
  }
  .modal-f {
    color: #7a7a7a;
    font-size: 1.3rem;
    padding: 2rem;
    letter-spacing: 1px;
    line-height: 22px;
  }
  .modal__choose-color-btn {
    height: 41px;
    min-width: fit-content;
    width: 50%;
    display: block;
    margin: 0 auto;
    border-radius: 7px;
    border: none;
  
    background-color: #ff8e0a !important;
    color: #fff;
  }
  
  .modal-body.row .d-flex.justify-content-center {
    left: 0;
    display: flex;
    justify-content: center;
    position: relative !important;
    margin-bottom: 20px;
    margin-top: 20px;
  }
  .modal__colors-container {
    margin-bottom: 20px;
  }
  .modal-body.row .d-flex.justify-content-center > img:nth-child(1) {
    left: 0;
    position: absolute;
  }
  .modal-body.row .d-flex.justify-content-center > img:nth-child(3) {
    right: 0;
    position: absolute;
  }
  .modal__nav {
    display: flex;
  }
  .modal__color-search {
    display: flex;
    justify-content: space-between;
    align-items: center;
  }
  .modal__color-spot .color__item--title {
    margin-right: 12px;
  }
  .modal-header {
    position: relative;
  }
  .btn-close {
    width: 20px;
    height: 20px;
    position: absolute;
    top: 50%;
    right: 0%;
    transform: translate(-50%, -50%);
    display: flex;
    justify-content: center;
    align-items: center;
  }
  .modal-body {
    overflow-y: hidden;
  }

  @media (min-width: 576px) {
    .modal-dialog {
      max-width: 1400px !important;
      margin: 1.75rem auto;
      width: 90%;
    }
  }

  @media (max-width: 767px) {
    .modal__right-column div:nth-child(2) {
      display: none !important;
    }
    .modal__right-column div:nth-child(1) {
      margin-top: 5px;
      margin-bottom: 8px;
    }
    .modal__right-column div:nth-child(1) .modal__color-spot {
      justify-content: center !important;
    }
    .modal-body {
      min-height: 470px;
    }
  }
  