:root {
  --suggestion-height: 180px;
}

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

.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: space-between;
  flex-wrap: wrap;
  padding-bottom: 16px;
}

.results-container {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  flex: 1;
  box-sizing: border-box;
}

.restaurant-form {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 16px;
}

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

.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 {
  padding: 16px;
  box-sizing: border-box;
  height: 100dvh;
  flex-direction: column;
  display: flex;
}

.name-dish {
  display: flex;
  align-items: center;
  gap: 8px;
  width: 100%;
}

.my-name {
  width: 30%;
}

.dish {
  flex: 1;
}

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

.button {
  border-radius: 8px;
  background-color: #e35336;
  border: none;
  color: #f3f3f3;
  cursor: pointer;
  font-weight: bold;
  height: 48px;
  width: 96px;
  user-select: none;
}

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

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

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

.save-container {
  display: flex;
  justify-content: flex-end;
  align-items: center;
  gap: 8px;
}

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

.name-type {
  display: flex;
  align-items: center;
  gap: 16px;
}

.type {
  display: flex;
  align-items: center;
  gap: 4px;
  width: 240px;
}

.chip {
  border-radius: 16px;
  /* width: 64px; */
  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: hidden;
}

.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);
  animation: fade-in 0.2s ease-out;
}

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

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

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

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

.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;
}


@media only screen and (max-width: 720px) {
  .button {
    width: 100%;
  }

  .my-name {
    width: 120px;
  }

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

  .save-container {
    flex-direction: column-reverse;
  }

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

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