.modal-overlay {
  position: fixed;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 1000;
  background: white;

  opacity: 0;
  transform: translateY(-100px);
  pointer-events: none;
  transition: opacity 0.4s ease, transform 0.4s ease;
  top: -152px;
}

@media (max-width: 700px) {
  .close-btn {
    top: -40px !important;
  }

  /* .modal-overlay {
    top: 0;
  } */
}


.modal-overlay.open {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}

.modal {
  background: white;
  border-radius: 12px;
  width: 100%;
  max-width: 800px;
  padding: 98px 40px;
  position: relative;
}

.modal-overlay .logo {
  display: block;
  margin: 0 auto 20px auto;
  max-width: 300px;
  width: 100%;
}

.search-bar {
  position: relative;
  margin-top: 40px;
}

.search-bar input {
  background: white;
  border-radius: 25px;
  border: 1px solid #dcdcdc;
  padding-left: 38px;
  width: 100%;
}

.search-bar .svg {
  position: absolute;
  top: 50%;
  left: 7px;
  transform: translateY(-50%);
  color: #888;
}

.search-bar .svg-photo-icon {
  position: absolute;
  top: 50%;
  right: 13px;
  transform: translateY(-50%);
  color: #888;
}

.search-bar .svg svg,
.search-bar .svg.loading .loader {
  display: block;
}
.search-bar .svg.loading svg,
.search-bar .svg .loader {
  display: none;
}

.search-bar .svg svg {
  position: absolute;
  top: 50%;
  transform: translateY(-37%);
  left: 7px;
}
.search-bar input::placeholder {
  color: #888;
}

.search-icon {
  background: none;
  border: none;
  cursor: pointer;
  font-size: 16px;
}

.tabs {
  display: flex;
  margin: 8px 0 10px;
  border-bottom: 1px solid #eee;
  position: relative;
}

.tabs label {
  padding: 10px;
  cursor: pointer;
  font-weight: 400;
  color: #666;
  font-size: 14px;
  transition: all 0.2s;
  border-bottom: 3px solid transparent;
}

.tabs label.active {
  color: #000;
  border-bottom: 3px solid #4285f4;
  font-weight: 500;
}

.tab-content {
  display: none;
  margin-top: 10px;
  max-height: 300px;
  overflow-y: auto;
}

@media (max-width: 700px) {
  .tab-content {
    max-height: auto;
  }

  .modal {
    border-radius: 0px;
    padding: 40px 20px;
  }

  .modal {
    position: relative;
    top: 209px;
  }

}

.tab-content.active {
  display: block;
}

.item {
  display: flex;
  align-items: start;
  margin-bottom: 1rem;
  border-bottom: 1px solid #eee;
  cursor: pointer;
}

.icon {
  font-size: 2rem;
  margin-right: 1rem;
}
.icon img {
  width: 40px;
  /* border-radius: 50%; */
}
.text strong {
  font-size: 14px;
  display: block;
  color: #0f172a;
  font-weight: 400;
}

.text small {
  color: #64748b;
  font-size: 12px;
  font-weight: 300;
}

.close-btn {
  position: absolute;
  top: 15px;
  right: 15px;
  background: none;
  border: none;
  font-size: 20px;
  cursor: pointer;
  color: #666;
}
.loader {
  width: 24px;
  height: 24px;
  border: 2px solid #fff;
  border-bottom-color: #4285f4;
  border-radius: 50%;
  display: inline-block;
  box-sizing: border-box;
  animation: rotation 1s linear infinite;
  position: relative;
  top: 5px;
  left: 2px;
  transition: all 0.1s ease-in-out;
}

@keyframes rotation {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}
.result-search-tabs .tabs,
.result-search-tabs .tab-content {
  display: none;
}

.result-search-tabs .buttons {
  display: flex;
}

.result-search-tabs.open .tabs {
  display: flex;
}

.result-search-tabs.open .buttons {
  display: none;
}

.result-search-tabs.open .tab-content.active {
  display: block;
}
