/* SLOT SEARCH START */
.slot-search {
  position: relative;
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  align-items: center;
  border-radius: 10px;
  margin-bottom: 28px;
}

.slot-search__input {
  width: 69%;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(169, 173, 185, 0.3);
  border-radius: 8px;
  height: 48px;
  padding-left: 56px;
}

.slot-search__input:focus {
  border: 1px solid rgba(169, 173, 185, 0.7);
}

.slot-search__input::placeholder {
  font-size: 16px;
}

.slot-search::before {
  content: url(../images/slot-search.svg);
  position: absolute;
  top: calc(50% - 12px);
  left: 20px;
  z-index: 10;
}

@media (max-width: 600px) {
  .slot-search__input {
    width: 100%;
    height: 40px;
    margin-bottom: 8px;
  }

  .slot-search::before {
    width: 18px;
    height: 18px;
    top: calc(27% - 9px);
  }
}

@media (max-width: 480px) {
  .slot-search {
    padding: 12px 8px;
    margin-bottom: 16px;
  }

  .slot-search__input {
    padding-left: 46px;
  }

  .slot-search__input::placeholder {
    font-size: 14px;
  }

  .slot-search::before {
    left: 20px;
  }
}
/* SLOT SEARCH END */

/* FILTER  PROVIDER START */
.filter-provider {
  position: relative;
  width: 30%;
}

.filter-provider__selected {
  position: relative;
  cursor: pointer;
  display: flex;
  align-items: center;
  width: 100%;
  height: 48px;
  padding: 0 16px;
  background: rgba(255, 255, 255, 0.7);
  border: 1px solid rgba(169, 173, 185, 0.3);
  border-radius: 8px;
}

.filter-provider__selected::after {
  content: url(../images/filter-arrow.svg);
  position: absolute;
  right: 16px;
}

.filter-provider__list {
  display: none;
  width: 100%;
  position: absolute;
  top: 55px;
  left: 0;
  background: #ffffff;
  border: 1px solid rgba(169, 173, 185, 0.3);
  border-radius: 8px;
  max-height: 313px;
  overflow: auto;
  z-index: 100;
}

.filter-provider.open .filter-provider__list {
  display: block;
}

.filter-provider__item {
  cursor: pointer;
  padding: 12px 0;
  margin: 0 16px;
}

.filter-provider__item:not(:last-of-type) {
  border-bottom: 1px dashed #a9adb9;
}

@media (max-width: 600px) {
  .filter-provider {
    width: 100%;
  }

  .filter-provider__selected {
    height: 40px;
  }

  .filter-provider__list {
    top: 47px;
  }
}
/* FILTER  PROVIDER END */

/* 404 PAGE START */
.page-404-wrapper {
  padding: 100px 15px;
}

.page-404 {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.6) 0%, #ffffff 100%);
  border-radius: 10px;
  padding: 60px 100px;
  max-width: 750px;
  text-align: center;
  margin: auto;
  color: var(--color-text-main);
}

.page-404 .page-404__logo {
  max-width: 130px;
}

.page-404 .page-404__svg-wrap {
  margin: 20px 0;
}

.page-404 .page-404__error {
  position: relative;
  font-size: 20px;
  margin-bottom: 40px;
}

.page-404 .page-404__error::after {
  content: "";
  position: absolute;
  bottom: -20px;
  left: calc(50% - 19px);
  width: 38px;
  height: 3px;
  background: var(--color-secondary);
}

.page-404 .page-404__text {
  font-size: 14px;
  margin-bottom: 20px;
}

@media (max-width: 768px) {
  .page-404 {
    padding: 25px 40px;
  }
}

@media (max-width: 480px) {
  .page-404-wrapper {
    padding: 50px 15px;
  }

  .page-404__svg-wrap svg {
    height: 70px;
  }

  .page-404 .page-404__error {
    font-size: 16px;
  }

  .page-404 .page-404__text {
    font-size: 10px;
  }
}
/* 404 PAGE END */

/* DEFAULT GRID START */
.default-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: space-evenly;
}

.default-grid-title {
  text-align: center;
  margin: 32px 0;
}

.default-grid .default-grid-item {
  width: 24%;
  background: #ffffff;
  border: 1px solid var(--color-gray);
  box-shadow: 2px 4px 23px rgba(23, 55, 116, 0.08);
  border-radius: 8px;
  padding: 15px;
  margin-bottom: 10px;
}

.default-grid .default-grid-item:hover {
  background: linear-gradient(180deg, #ffffff -20.15%, rgba(242, 242, 242, 0.6) 100%);
}

.default-grid .default-grid-item__img {
  width: 100%;
  height: 170px;
  object-fit: cover;
  border-radius: 8px;
  margin-bottom: 10px;
}

.default-grid .default-grid-item__title {
  text-align: center;
  font-weight: 700;
  font-size: 20px;
  color: var(--color-text-main);
}

@media (max-width: 1024px) {
  .default-grid .default-grid-item {
    width: 23%;
  }

  .default-grid .default-grid-item__img {
    height: 140px;
  }
}

@media (max-width: 800px) {
  .default-grid .default-grid-item {
    width: 31%;
  }
}

@media (max-width: 600px) {
  .default-grid .default-grid-item {
    width: 48%;
  }
}

@media (max-width: 480px) {
  .default-grid .default-grid-item {
    width: 100%;
  }

  .default-grid .default-grid-item__img {
    height: 180px;
  }

  .default-grid .default-grid-item__title {
    font-size: 16px;
  }
}
/* DEFAULT GRID END */

/* SEARCH START */
.search {
  padding-top: 30px;
}

.search__title {
  text-align: center;
  margin-bottom: 32px;
}

.search-form {
  display: flex;
  margin-bottom: 30px;
  justify-content: center;
}

.search-form__input {
  position: relative;
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid var(--color-gray);
  border-radius: 10px;
  width: 400px;
  padding: 10px;
  margin-right: 10px;
}

.search-form__submit {
  cursor: pointer;
  position: relative;
  justify-content: center;
  min-width: 130px;
  font-weight: 700;
  background: var(--color-secondary);
  color: #ffffff;
  border: none;
  border-radius: 5px;
}

.search-form__icon {
  width: auto;
  position: relative;
  right: 40px;
  bottom: 1px;
  margin-bottom: 0;
}

@media (max-width: 480px) {
  .search {
    padding-top: 15px;
  }
}
/* SEARCH END */
