.bill-container {
  display: flex;
  gap: 20px;
  justify-content: space-between;
  max-width: 700px;
  margin: auto;
  margin-top: 20px;
  background-color: #fff;
  border-radius: 10px;
}

.inside_left {
  display: flex;
  flex-direction: column;
  gap: 20px;
  width: 100%;
}

.input-container {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.input-container > label {
  font-size: 20px;
  color: #6f3cff;
}

.amount-container {
  display: flex;
  gap: 10px;
  align-items: center;
  width: 100%;
  height: 35px;
  padding: 10px;
  font-size: 20px;
  color: #6f3cff;
  border: 1px solid black;
  border-radius: 4px;
}

.amount-container > input {
  width: 100%;
  height: 30px;
  font-size: 20px;
  color: #6f3cff;
  outline: none;
  background-color: transparent;
  border: none;
}

input[type='number']::-webkit-inner-spin-button,
input[type='number']::-webkit-outer-spin-button {
  margin: 0;
  appearance: none;
}

.tip-container {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.tip-container > label {
  font-size: 20px;
  color: #6f3cff;
}

.btn-tip {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(70px, 1fr));
  gap: 15px;
}

.customTip {
  width: 100%;
}

.customTip > input {
  width: 100%;
  height: 35px;
  padding: 10px;
  font-size: 15px;
  color: #6f3cff;
  outline: none;
  background-color: #ccc;
  border: none;
}

.btn {
  padding: 10px;
  font-size: 20px;
  outline: none;
  border: none;
  border-radius: 5px;
}

.btn.true {
  color: #fff;
  cursor: pointer;
  background-color: #9c60ff;
}

.btn.active {
  outline: 4px solid rgb(255 162 0 / 88.8%);
}

.people-container {
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.people-container > label {
  font-size: 20px;
  color: #6f3cff;
}

.people-container > input {
  width: 100%;
  height: 35px;
  padding: 10px;
  font-size: 15px;
  color: #6f3cff;
  outline: none;
  background-color: #ccc;
  border: none;
}

.generate {
  width: 100%;
  height: 40px;
  font-size: 15px;
  cursor: not-allowed;
  border: none;
  border-radius: 7px;
}

.generate.active {
  color: white;
  cursor: pointer;
  background-color: #9c60ff;
}

.inside_right {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 100%;
  padding: 30px;
  margin: 30px 0 20px;
  background: #34568b;
  border-radius: 10px;
}

.total-amount {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.tip-amount {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.tip-amount > h4 {
  font-size: 16px;
  color: #fff;
}

.tip-amount > span {
  font-size: 25px;
  font-weight: 700;
  color: #c39fff;
}

.total {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.total > h4 {
  font-size: 16px;
  color: #fff;
}

.total > span {
  font-size: 25px;
  font-weight: 700;
  color: #c39fff;
}

#reset {
  width: 100%;
  padding: 12px;
  font-size: 16px;
  cursor: not-allowed;
  border: none;
  border-radius: 5px;
}

#reset.active {
  color: black;
  cursor: pointer;
  background-color: #fff;
}

@media only screen and (width <= 600px) {
  .bill-container {
    flex-direction: column;
  }

  .total-amount {
    gap: 10px;
  }

  .btn-tip {
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
  }
}
