.igloo-search-box-modal-container {
  .ant-modal-body {
    .igloo-search-box-modal-options {
      max-height: calc(100vh - 340px - 172px);
      overflow: scroll;
    }

    .ant-input-affix-wrapper-status-error {
      border-color: #d9d9d9 !important;
    }

    .igloo-search-box-modal-multiple-top {
      padding: 8px;
      display: flex;
      align-items: center;
      justify-content: space-between;
    }

    .igloo-search-box-searching {
      margin-top: 24px;
      display: flex;
      align-items: center;

      @keyframes rotation {
        from {
          transform: rotate(0deg);
        }
        to {
          transform: rotate(360deg);
        }
      }

      & > .igloo-icon {
        font-size: 24px;
        color: #5858ff;
        margin-right: 8px;
        animation: rotation 3s linear infinite;
      }
    }

    .igloo-search-box-modal-select-item {
      padding: 8px;
      display: flex;
      align-items: center;

      .igloo-search-box-modal-select-item-checkbox {
        margin-right: 10px;

        .ant-checkbox-checked .ant-checkbox-inner {
          background-color:  @icon-color;
        }
      }

      &:hover {
        cursor: pointer;
        background: #f9f9f9;
      }
    }

    .igloo-search-box-active-select-item {
      background-color: #f6f6ff;
    }
  }
}

.igloo-search-box-modal-container-mobile {
  top: 0px !important;
  margin: 0px !important;
  width: 100vw !important;
  max-width: 100vw !important;
  height: 100vh !important;

  .igloo-search-box-modal-mobile-title {
    display: flex;
    align-items: center;
    width: 100%;
    background-color: white;

    .igloo-icon {
      font-size: 24px;
      margin-right: 8px;
    }
  }

  .ant-modal-content {
    position: relative;
    height: 100%;

    .ant-modal-body {
      height: 100%;
      max-height: calc(100vh - 140px - 60px);
      padding: 24px 16px 0px 16px;

      .igloo-search-box-modal-options {
        max-height: calc(100vh - 140px - 60px - 150px);
        overflow: scroll;
      }

      .ant-input-affix-wrapper-status-error {
        border-color: #d9d9d9 !important;
      }

      .igloo-search-box-modal-multiple-top {
        padding: 8px;
        display: flex;
        align-items: center;
        justify-content: space-between;
      }

      .igloo-search-box-searching {
        margin-top: 24px;
        display: flex;
        align-items: center;

        @keyframes rotation {
          from {
            transform: rotate(0deg);
          }
          to {
            transform: rotate(360deg);
          }
        }

        & > .igloo-icon {
          font-size: 24px;
          color: #5858ff;
          margin-right: 8px;
          animation: rotation 3s linear infinite;
        }
      }

      .igloo-search-box-modal-select-item {
        padding: 8px;
        display: flex;
        align-items: center;

        .igloo-search-box-modal-select-item-checkbox {
          margin-right: 10px;

          .ant-checkbox-checked .ant-checkbox-inner {
            background-color:  @icon-color;
          }
        }

        &:hover {
          cursor: pointer;
          background: #f9f9f9;
        }
      }

      .igloo-search-box-active-select-item {
        background-color: #f6f6ff;
      }
    }

    .ant-modal-footer {
      position: absolute;
      bottom: 0px;
      width: 100%;
    }
  }
}
