body {
  font-family: Arial, sans-serif;
  background: #f7f9fc;
  margin: 0;
  padding: 2em;
  display: flex;
  justify-content: center;
}

.container {
  max-width: 600px;
  width: 100%;
  background: white;
  padding: 2em;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

h1 {
  text-align: center;
  margin-bottom: 1em;
  color: #333;
}

.form-box {
  display: flex;
  flex-direction: column;
  gap: 1em;
  margin-bottom: 2em;
}

label {
  font-weight: bold;
}

input, select, button {
  padding: 0.6em;
  font-size: 1em;
  border: 1px solid #ccc;
  border-radius: 8px;
}

button {
  background-color: #008cff;
  color: white;
  cursor: pointer;
  transition: background 0.3s;
}

button:hover {
  background-color: #005fc1;
}

.result {
  background: #eef6ff;
  padding: 1em;
  border-radius: 8px;
  margin-bottom: 1em;
}

.loading {
  background-color: #f5f5f5;
  padding: 12px;
  border-left: 4px solid #007bff;
  font-style: italic;
  margin-top: 1rem;
}

button:disabled {
  background-color: #cccccc;
  cursor: not-allowed; /* or default */
  opacity: 0.6;
}

button {
  transition: background-color 0.3s, opacity 0.3s;
}