body {
  font-family: Arial, sans-serif;
  background: #0f172a;
  color: #e5e7eb;
  display: flex;
  justify-content: center;
  padding-top: 40px;
}

.container {
  width: 600px;
  background: #020617;
  padding: 24px;
  border-radius: 12px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

h2 {
  text-align: center;
  margin-bottom: 20px;
}

.tabs {
  display: flex;
  margin-bottom: 20px;
}

.tab {
  flex: 1;
  padding: 10px;
  background: #020617;
  border: 1px solid #1e293b;
  color: #94a3b8;
  cursor: pointer;
}

.tab.active {
  background: #1e293b;
  color: #fff;
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
}

.form-group {
  margin-bottom: 12px;
}

label {
  font-size: 12px;
  color: #94a3b8;
}

input {
  width: 100%;
  padding: 8px;
  margin-top: 4px;
  background: #020617;
  border: 1px solid #1e293b;
  color: #fff;
  border-radius: 6px;
}

.btn {
  width: 100%;
  padding: 10px;
  margin-top: 10px;
  background: #2563eb;
  border: none;
  border-radius: 6px;
  color: #fff;
  cursor: pointer;
}

.btn:hover {
  background: #1d4ed8;
}

pre {
  margin-top: 20px;
  background: #020617;
  padding: 12px;
  border-radius: 6px;
  min-height: 400px;
  max-height: 400px;
  overflow: auto;
  font-size: 12px;
}

/* loading overlay */
.loading-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(51, 51, 51, 0.8);
  display: none;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  z-index: 9999;
}

/* spinner */
.spinner {
  width: 50px;
  height: 50px;
  border: 5px solid #ddd;
  border-top: 5px solid #4f46e5;
  border-radius: 50%;
  animation: spin 1s linear infinite;
  margin-bottom: 10px;
}

.loading-overlay p {
  font-size: 16px;
  color: #333;
}

/* animation */
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}
