.calculator {
  max-width: 100%;
  padding: 20px;
  background: transparent;
  font-family: Arial, sans-serif;
}

.container-child {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-wrap: wrap;
  gap: 10px;
}

.heading {
  text-align: center;
  color: #fff !important;
  font-family: "Anton", sans-serif;
  font-weight: 400 !important;
  font-size: 2em !important;
}

.select {
  width: 500px;
  background-color: rgba(0, 0, 0, 0.4);

  color: white;
  padding: 15px 20px;
  border-radius: 8px;
  cursor: pointer;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.icon {
  color: #6843b1;
}

.inputs {
  margin-left: 1rem;
}

.calculator div {
  margin-bottom: 15px !important;
}

.calculator label {
  display: inline-block;
  font-weight: 500;
  color: #fff;
}

.calculator input[type="number"] {
  width: 100%;
  padding: 8px 10px;
  border: 1px solid #ccc;
  border-radius: 4px;
  font-size: 16px;
  box-sizing: border-box;
  transition: border-color 0.3s ease;
}

.calculator input[type="number"]:focus {
  border-color: rgba(0, 0, 0, 0.8);
  outline: none;
}

.hide {
  display: none;
}

.income,
.expense {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

.success {
  background-color: #4caf50;
  color: #fff;
  border: 1px solid #388e3c;
  padding: 10px;
  border-radius: 4px;
  text-align: center;
  width: 300px;
  font-weight: 500;
}

.danger {
  background-color: #c62828;
  color: #fff;
  border: 1px solid #b71c1c;
  padding: 10px;
  border-radius: 4px;
  text-align: center;
  width: 300px;
  font-weight: 500;
}

.balance {
  background-color: #6c757d;
  color: #fff;
  border: 1px solid #5a6268;
  padding: 10px;
  border-radius: 4px;
  text-align: center;
  width: 300px;
  font-weight: 500;
}

@media (max-width: 600px) {
  .select {
    width: 250px;
  }
  .calculator {
    margin: 5px;
    padding: 5px;
  }
}
