:root {
  --suggestion-height: 180px;
  --dimgray: #696969;
}

.content {
  display: flex;
  flex-direction: column;
  padding: 16px;
  gap: 16px;
  padding-top: 8px;
  box-sizing: border-box;
  height: 100dvh;
  overflow: hidden;
}

.roulette-picker-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
}

.roulette-picker-container>button {
  cursor: pointer;
  background: none;
  border: none;
  margin: 0;
  padding: 0;
}

.title {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  margin: 0;
  gap: 2px;
}

.title>span {
  text-wrap: nowrap;
}

.header-container {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  padding-bottom: 16px;
}

.results-container {
  gap: 20px;
  display: flex;
  flex: 1;
  justify-content: center;
  align-items: center;
  flex-direction: column;
}

.restaurant-form {
  display: flex;
  flex: 1;
  flex-direction: column;
  justify-content: space-between;
  gap: 24px;
}

.input-label {
  font-family: SF Pro Rounded;
  font-weight: 700;
  font-size: 24px;
  line-height: 100%;
  letter-spacing: 0%;
}

.input-label-container {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

.input {
  width: 100%;
  border: 1px solid #ccc;
  padding: 16px 8px;
  border-radius: 8px;
  font-size: 16px !important;
  box-sizing: border-box;
  flex: 1;
}

.icon-ticker-container {
  min-height: calc(var(--suggestion-height) - 8px);
  padding-bottom: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.location-input {
  width: 100%;
  height: 180px;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
  flex: 1;
}

.optional-container {
  display: flex;
  align-items: center;
  gap: 8px;
}

.optional-container>span {
  color: #ccc;
  font-style: italic;
}

.dash {
  height: 1px;
  border-bottom: 1px solid #ccc;
  flex: 1;
}

.add-restaurant {
  flex: 1;
  justify-content: space-between;
  box-sizing: border-box;
  height: 100dvh;
  flex-direction: column;
  display: flex;
}

.name-dish {
  display: none;
  flex-direction: column;
  align-items: center;
  gap: 16px;
}

.my-name {
  flex: 1;
}

.dish {
  flex: 1;
}

.optional-params {
  display: flex;
  gap: 16px;
  flex: 1;
}

.link-btn {
  text-decoration: none;
}

.button {
  box-sizing: border-box;

  height: 45px;
  display: flex;
  flex-direction: row;
  justify-content: center;
  align-items: center;
  padding: 12px 18px;
  gap: 6px;

  background: #3B80F8;
  border: 2px solid rgba(0, 0, 0, 0.2);
  box-shadow: 0px 4px 4px rgba(0, 0, 0, 0.25), inset 0px 4px 0px rgba(255, 255, 255, 0.25), inset 0px -4px 0px rgba(0, 0, 0, 0.25);
  border-radius: 12px;
  font-size: 18px;
  font-weight: 600;
  color: #F9F8F1;
  cursor: pointer;
  min-width: 140px;
}

.button:active {
  background-color: #3B80F8CC;
  transform: scale(0.98);
}

.button:disabled {
  background-color: #3B80F8CC;
  cursor: auto;
}

.button:disabled:active {
  transform: scale(1);
}

.save-container {
  display: flex;
  align-items: center;
  gap: 8px;
  padding-bottom: 16px;
}

.save-container>button {
  flex: 1;
}

.to-top {
  text-wrap: nowrap;
}

.name-type {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 24px;
}

.type {
  display: flex;
  align-items: center;
  flex: 1;
  gap: 24px;
}

.chip {
  border-radius: 12px;
  height: 32px;
  background: none;
  border: 1px solid #ccc;
  display: flex;
  justify-content: center;
  align-items: center;
  cursor: pointer;
  flex: 1;
}

.chip-active {
  background-color: #add8e6;
  border: 1px solid royalblue;
  transition: 0.20s;
}

.suggestion-result {
  display: none;
  flex: 1;
}

.suggestion-result-border {
  padding: 16px;
  gap: 12px;
  display: flex;
  flex-direction: column;
  background-color: #00000005;
  border: 2px solid #0000001A;
  border-radius: 24px;
  max-height: min-content;
  max-width: 480px;
}

.recipe-result-info-container {
  width: 100%;
  height: 100%;
  flex: 1;
  display: none;
}

.duration {
  text-wrap: nowrap;
  color: #ccc;
}

.suggestion-result-container {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 8px;
  min-height: var(--suggestion-height);
  padding-left: 16px;
  padding-right: 16px;

  background-color: #FFFFFF73;
  border: 1px solid #0000001A;
  border-radius: 16px;
}

.fade-in {
  opacity: 1;
  animation: fade 0.2s ease;
}

@keyframes fade {
  0% {
    transform: translateY(16px);
    opacity: 0
  }

  100% {
    transform: translateY(0px);
    opacity: 1
  }
}

.cards-preview-container {
  max-width: 100dvw;
  max-height: 100%;
  flex: 1;
  box-sizing: border-box;
  position: relative;
  transition: 0.25s;
}

.cards-preview-container-cards {
  position: absolute;
  top: 0;
  left: 0;

  overflow: hidden;
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  width: 200dvw;
  transform: translateX(-50%) rotate(-1.44deg);
  padding-top: 32px;
  z-index: 1;
}

.background-cards .card-container {
  z-index: 10;
  opacity: 0;
}

.masked-cards {
  mask-image: linear-gradient(to bottom,
      rgba(0, 0, 0, 0.6) 15%,
      rgba(0, 0, 0, 0.4) 50%,
      rgba(0, 0, 0, 0.1) 90%,
      rgba(0, 0, 0, 0) 100%);
  -webkit-mask-image: linear-gradient(to bottom,
      rgba(0, 0, 0, 0.6) 15%,
      rgba(0, 0, 0, 0.4) 50%,
      rgba(0, 0, 0, 0.1) 90%,
      rgba(0, 0, 0, 0) 100%);
}

.suggestion-result-container a,
.suggestion-result-container p {
  font-style: italic;
  color: #00000080;
  margin: 0;
}

.suggestion-result-container>h3,
.suggestion-result-container>h1 {
  text-align: center;
  margin: 0;
}

.suggestion-result-container>h1 {
  font-size: 28px;
}

.suggestion-result-container>h3 {
  color: #ccc;
  font-weight: 400;
  font-size: 18px;

  -webkit-line-clamp: 2;
  line-clamp: 2;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  display: box;
  -webkit-box-orient: vertical;
  box-orient: vertical;
}

.shimmer-container {
  display: flex;
  flex: 1;
  border-radius: 8px;
}

.clamped-line {
  overflow: hidden;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  line-clamp: 2;
  -webkit-box-orient: vertical;
}

.contact-container {
  padding: 16px;
  padding-top: 49px;
  color: #ccc;
  font-style: italic;
  text-align: end;
}

.suggested-dish {
  flex-direction: column;
  display: flex;
  gap: 8px;
}

.action-container {
  display: flex;
  justify-content: center;
  align-items: center;
  box-sizing: border-box;
  gap: 8px;
}

.text-button {
  text-wrap: nowrap;
  text-decoration: underline;
  background: none;
  border: none;
  font-size: 16px;
  cursor: pointer;
  font-style: italic;
  color: var(--dimgray);
}

.ghost-button {
  opacity: 1;
  border-radius: 12px;
  border-width: 1px;
  padding: 12px 18px;
  font-family: SF Pro Rounded;
  text-wrap: nowrap;
  font-weight: 600;
  font-size: 18px;
  background: none;
  text-decoration: none;

  display: flex;
  justify-content: center;
  align-items: center;
  border: 1px solid #0000001A;
}

.nav {
  box-sizing: border-box;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.nav>div {
  display: flex;
  align-items: center;
  gap: 10px;
  cursor: pointer;
}

.nav .title {
  font-family: SF Pro Rounded;
  font-weight: 600;
  font-style: Semibold;
  font-size: 20px;
  line-height: 100%;
  letter-spacing: 0%;
  vertical-align: middle;
}

@media only screen and (max-width: 720px) {
  .email-nav-link {
    display: none;
  }

  .button {
    width: 100%;
  }

  .results-container {
    padding-bottom: 16px;
  }

  .name-type {
    flex-direction: column;
    align-items: flex-start;
  }

  .type {
    flex: 1;
    width: 100%;
  }

  .suggestion-result-container a,
  .suggestion-result-container p {
    text-align: center;
  }

  .suggested-dish {
    text-align: center;
  }

  .masked-cards {
    mask-image: linear-gradient(to bottom,
        rgba(0, 0, 0, 0.8) 6%,
        rgba(0, 0, 0, 0.4) 20%,
        rgba(0, 0, 0, 0) 90%);
    -webkit-mask-image: linear-gradient(to bottom,
        rgba(0, 0, 0, 0.8) 6%,
        rgba(0, 0, 0, 0.4) 20%,
        rgba(0, 0, 0, 0) 90%);
  }

}
