.search-cont {
  position: relative;
}

.search-modal {
  position: absolute;
  right: -5px;
  top: -10px;
  display: flex;
  flex-direction: column;
  gap: 40px;
  width: 512px;

  display: none;
}

.input-search {
  border: .8px solid var(--color-foreground-primary);
  color: var(--color-foreground-primary);
  font-size: 16px;
  line-height: 100%;
  height: 40px;
  border-radius: 24px;
  padding: 0 16px 0 44px;
  width: 100%;
  background-color: var(--color-background-primary);
}

.icons-icon-1 {
  display: block;
}

.input-search:focus {
  outline: none;
}

.input-wrapper {
  position: relative;
  width: 100%;
}

.input-wrapper::before {
  content: '';
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  width: 20px;
  height: 20px;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  background-image: url('../../img/general/search-icon.svg');
  pointer-events: none;
  z-index: 1;
}
.input-search::placeholder {
  color: var(--color-foreground-opacity);
  font-family: "Inter", sans-serif !important;
}

.input-search::-webkit-search-cancel-button {
  -webkit-appearance: none;
  height: 24px;
  width: 24px;
  opacity: 50%;
  background-size: contain;
  background-position: center;
  background-repeat: no-repeat;
  background-image: url('../../img/general/close-icon.svg');
  cursor: pointer;
}

.search-list {
  max-height: 208px;
  width: 100%;

  display: flex;
  flex-direction: column;
  overflow-y: auto;
  background-color: var(--color-background-primary);
  box-shadow: 0 4px 4px 0 rgba(144, 53, 53, 0.25);
  z-index: 1;

  display: none;
}

.search-list::-webkit-scrollbar {
  width: 0;
  height: 0;
}

.search-option {
  display: flex;
  align-items: center;

  font-size: 16px;
  text-transform: lowercase;
  color: var(--color-foreground-primary);
  font-weight: 500;
  
  padding: 16px;
  gap: 8px;
  flex-shrink: 0;

  cursor: pointer;
}

.search-option:hover {
    background-color: rgba(144, 53, 53, 0.05);
}

.not-found {
  display: flex;
  flex-direction: column;
  gap: 24px;

  display: none;
}

.not-found-option {
  background-color: rgba(144, 53, 53, 0.05);
}

.not-found-option-btn {
  display: flex;
  align-items: center;

  width: fit-content;
  height: 48px;
  padding: 0 48px;
  border-radius: 24px;
  background-color: var(--color-foreground-primary);
  justify-content: space-between;
  color: var(--color-background-primary);
  text-transform: lowercase;
}

.not-found-option-btn span {
  font-size: 16px;
  line-height: 110%;
  font-weight: 600;
  color: var(--color-background-primary);
}

.search-option-img {
  width: 20px;
  height: 20px;

  flex-shrink: 0;
}

.search-option-img img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.search-option-img.not {
  display: flex;
  align-items: center;
  justify-content: center;

  width: 30px;
  height: 30px;

  background-color: var(--color-foreground-primary);
  border-radius: 100px;

  object-fit: contain;
}

.search-option-img.not img {
  width: 9px;
  height: 16px;
}

.search-option-text {
  font-size: 16px;
  color: var(--color-foreground-primary);
  line-height: 110%;
}

.close-search {
    display: flex;
    width: 24px;
    height: 24px;
    opacity: 50%;
    position: absolute;
    right: 16px;
    top: 35%;
    cursor: pointer;

    display: none;
}

.close-search img {
    width: 100%;
    height: 100%;

    object-fit: contain;
}

/* 768 */
@media screen and (max-width: 1200px) {
    .search-modal {
        position: fixed;
        width: 100vw;
        height: 100vh;
        background-color: var(--color-background-primary);
        z-index: 1;
        top: 0;
        right: 0;
        padding: 20px;
        gap: 20px;
    }

    .input-wrapper {
        padding: 20px 0;
        border-bottom: 1px solid var(--color-foreground-primary);
    }

    .input-search {
        padding-right: 48px;
    }

    .search-list {
        box-shadow: none;
        max-height: none;
    }

    .input-search::-webkit-search-cancel-button {
        display: none;
    }

    .close-search {
        display: flex;
    }
}

/* 375 */
@media screen and (max-width: 725px) {
    .search-option-text {
        font-size: 14px;
        line-height: 100%;
    }
}









