body {
  width: 100vw;
  height: 100vh;
  background-color: #f9fafb;
  padding-top: 2rem;
  padding-bottom: 2rem;
}

.container {
  max-width: 42rem;
  margin-left: auto;
  margin-right: auto;
  padding-left: 2rem;
  padding-right: 2rem;
}

.header-title {
  font-size: 1.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 1rem;
}

.main-text {
  font-size: 1rem;
  color: #374151;
  line-height: 1.5;
  margin-bottom: 1.5rem;
}
.card {
  background-color: #ffffff;
  padding: 1rem;
  border-radius: 0.5rem;
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
  margin-bottom: 2rem;
}

.card-title {
  font-size: 1.125rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.list {
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
  list-style-type: disc;
  padding-left: 1.25rem;
}

.input-container {
  margin-bottom: 2rem;
  padding: 1.5rem;
  border-radius: 0.5rem;
  border: 1px solid #e5e7eb;
}
.correct {
  background-color: #f0fdf4;
}

.price-input {
  border: 1px solid #ced4db;
  border-radius: 0.25rem;
  padding: 0.25rem 0.5rem;
  width: 70px;
  margin-left: 0.5rem;
}

.section-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

.section-title-green {
  color: #047857;
}

.section-title-red {
  color: #b91c1c;
}

.input-group {
  margin-bottom: 1rem;
}

.label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: #374151;
  margin-bottom: 0.25rem;
}

.text-input {
  width: 100%;
  padding: 0.5rem 0.75rem;
  border: 1px solid #d1d5db;
  border-radius: 0.375rem;
  box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
  outline: none;
}

.text-input:focus {
  outline: none;
  box-shadow: 0 0 0 2px #10b981;
}
.text-input.red:focus {
  box-shadow: 0 0 0 2px #ef4444;
}

.button {
  padding: 0.5rem 1rem;
  color: #ffffff;
  border-radius: 0.375rem;
  outline: none;
  border: none;
  cursor: pointer;
}

.button-green {
  background-color: #16a34a;
}

.button-green:hover {
  background-color: #15803d;
}

.button-green:focus {
  box-shadow: 0 0 0 2px #10b981;
}

.button-red {
  background-color: #dc2626;
}

.button-red:hover {
  background-color: #b91c1c;
}

.button-red:focus {
  box-shadow: 0 0 0 2px #ef4444;
}

.font-bold {
  font-weight: 700;
}

.hidden {
  display: none;
}

.buggy {
  background-color: #fef2f2;
}
.result {
  margin-top: 1rem;
  padding: 0.75rem;
  border-radius: 0.25rem;
  font-weight: 500;
}
.correct .result {
  background-color: #dcfce7;
}
.buggy .result {
  background-color: #fee2e2;
}

.error {
  color: #ef4444;
  font-size: 0.875rem;
  margin-top: 0.25rem;
}
