* {
  padding: 0;
  margin: 0;
  font-size: 16px;
  font-family: Arial, sans-serif;
}

#container {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  text-align: center;
  padding: 1rem;
}

@media (min-width: 768px) {
  #container {
    width: 500px;
    margin: 0 auto;
    padding: 2rem;
  }
}

#heading {
  font-size: 24px;
  font-weight: bold;
}

.clearable-input {
  position: relative;
  width: 100%;
  padding: 12px 20px;
  box-sizing: border-box;
  border: 2px solid #ccc;
  border-radius: 4px;
}

.clearable-input:focus-within {
  border-color: #4caf50;
}

.clearable-input input {
  width: 100%;
  box-sizing: border-box;
  border: none;
  outline: none;
}

.clearable-input .clear-icon {
  position: absolute;
  top: 50%;
  right: 10px;
  transform: translateY(-50%);
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0;
  margin: 0;
  width: 30px;
  height: 30px;
  line-height: 30px;
  font-size: 20px;
  color: #ccc;
  font-weight: bold;
  visibility: hidden;
}

.clearable-input input:not(:placeholder-shown) + .clear-icon {
  visibility: visible;
}

#btn-group {
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  width: 100%;
  margin-top: 1.25rem;
}

.btn {
  background-color: #4caf50;
  border: none;
  color: white;
  padding: 8px;
  text-align: center;
  text-decoration: none;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-size: 16px;
  cursor: pointer;
  border-radius: 4px;
  width: 100%;
}

.btn[disabled] {
  background-color: #ccc;
  color: #666;
}

.btn-outline {
  background-color: white;
  border: 2px solid #4caf50;
  color: #4caf50;
}

.btn-outline[disabled] {
  background-color: #ccc;
  color: #666;
  border: 2px solid #ccc;
}
