.drink-card {
  width: 25rem;
  border-radius: 0.5rem;
  border: 2px solid #f8f9fa;
  margin: 0.5rem 0;
  display: flex;
  height: 6rem;

  &.selected {
    background-color: #f8f9fa;
  }

  .drink-card-content {
    width: 18rem !important;
    overflow: hidden;
  }

  .image-container {
    height: 6rem;
    width: 7rem;

    img {
      height: 6rem;
      border-top-left-radius: 0.5rem;
      border-bottom-left-radius: 0.5rem;
    }
  }

  .title {
    font-size: 1.2rem;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    align-items: center;

    .icon {
      margin-top: 0.5rem;
    }

    p {
      overflow: hidden;
      white-space: nowrap;
      text-overflow: ellipsis;
    }
  }

  p {
    margin: 0;
  }

  .drink-detail-link {
    display: flex;
    justify-content: end;
  }
}

.drinks-container {
  display: grid;
  padding: 0 2rem;
  justify-content: space-between;
  grid-template-columns: repeat(auto-fill, 25rem);
  gap: 0.25rem;
}

select,
input,
button {
  background-color: #fff;
  border: 2px solid #f8f9fa;
  height: 2.25rem !important;
  box-sizing: border-box;
  border-radius: 0.5rem;
}

button:enabled:hover {
  background-color: #f8f9fa;
}

button {
  display: flex;
  justify-content: center;
  align-items: center;
}

.form-element {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  flex-grow: 1;
}

.filters {
  margin: 0 2rem;
  display: flex;
  gap: 0.5rem;
}

h1,
.detail-page > .subtitle {
  margin: 0rem 2rem;
}

.detail-page p {
  margin: 2rem;
}

.delete-drinks {
  margin: 0.5rem 2rem;
  display: flex;
  gap: 0.5rem;
  align-items: center;

  button {
    flex-grow: 1;
  }
}

.metadata {
  font-size: 0.9rem;
  color: #6c757d;
}

.detail-page .ingredients {
  margin: 0 2rem;
}

.ingredient-input {
  display: flex;
  gap: 0.5rem;
  margin: 0.5rem;

  input {
    flex-grow: 1;
  }
}

.back-button {
  margin: 1rem 2rem;
}