body {
  font-family: Arial, sans-serif;
  background-color: #2c2c2c;
  color: #f1f1f1;
  text-align: center;
  padding: 50px;
}

h1 {
  color: #fff;
}

.form-row {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 20px 0;
}

.input-group {
  display: flex;
  flex-direction: column;
  align-items: center;
}

input, select {
  padding: 12px;
  font-size: 18px;
  border-radius: 6px;
  border: none;
  outline: none;
  width: 200px;
  text-align: center;
}

input[disabled] {
  background-color: #555;
  color: #aaa;
}

button {
  background-color: #4CAF50;
  color: white;
  padding: 15px 32px;
  font-size: 24px;
  font-weight: bold;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background-color 0.3s ease, transform 0.2s ease;
  margin: 20px 0;
  width: 300px;
  max-width: 300px;
  min-width: 150px;
  white-space: nowrap;
}

button:hover:not(:disabled) {
  background-color: #45a049;
  transform: scale(1.05);
}

button:disabled {
  background-color: #888;
  cursor: not-allowed;
  transform: none;
}

#results {
  margin-top: 30px;
  display: none;
  background: #3a3a3a;
  padding: 20px;
  border-radius: 8px;
  text-align: left;
  max-width: 700px;
  margin-left: auto;
  margin-right: auto;
  overflow-x: auto;
}

#results table {
  width: 100%;
  border-collapse: collapse;
}

#results th, #results td {
  padding: 10px;
  border-bottom: 1px solid #555;
  text-align: left;
}

#results th {
  background-color: #444;
}

.success {
  color: #0f0;
  font-weight: bold;
}

.error {
  color: #f33;
  font-weight: bold;
}
