* {
  box-sizing: border-box;
}

body {
  margin: 0;
  font-family: Arial, sans-serif;
  background: #0f1115;
  color: #e7eaf0;
}

.container {
  max-width: 860px;
  margin: 24px auto;
  padding: 0 16px;
}

.card {
  background: #171b22;
  border: 1px solid #252c37;
  border-radius: 10px;
  padding: 16px;
  margin-top: 16px;
}

.hidden {
  display: none;
}

label {
  display: block;
  margin: 12px 0 6px;
  color: #b8c0cc;
}

input,
select,
textarea,
button {
  width: 100%;
  border-radius: 8px;
  border: 1px solid #313948;
  background: #0f131a;
  color: #e7eaf0;
  padding: 10px 12px;
}

button {
  margin-top: 14px;
  background: #2b6ef5;
  border: none;
  font-weight: 700;
  cursor: pointer;
}

button.secondary {
  width: auto;
  margin: 0;
  background: #2a303a;
}

button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.logs {
  margin-top: 16px;
}

.history-table {
  width: 100%;
  border-collapse: collapse;
  background: #0b0e13;
  border: 1px solid #262d38;
  border-radius: 8px;
  overflow: hidden;
}

.history-table th,
.history-table td {
  text-align: left;
  padding: 10px 12px;
  border-bottom: 1px solid #1f2631;
  font-size: 13px;
}

.history-table th {
  color: #b8c0cc;
  background: #10151d;
}

.history-table tr:last-child td {
  border-bottom: none;
}

#logOutput {
  margin: 0;
  padding: 12px;
  height: 280px;
  overflow: auto;
  border-radius: 8px;
  background: #0b0e13;
  border: 1px solid #262d38;
  font-size: 13px;
  line-height: 1.5;
}

.muted {
  color: #9ba4b1;
}

.error {
  color: #ff6b6b;
  min-height: 18px;
}
