* {
  box-sizing: border-box;
}

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

.app {
  max-width: 980px;
  margin: 24px auto;
  padding: 0 16px 32px;
}

.section-title {
  margin: 0 0 6px;
  font-size: 20px;
  color: #ffffff;
}

.section-desc {
  margin: 0 0 12px;
  color: #a0a0a0;
}

.app-links {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.app-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  background: #1a1a1a;
  color: #ffffff;
  border: 1px solid #333333;
  border-radius: 8px;
  padding: 10px 14px;
  font-weight: 700;
}

.app-link:hover {
  background: #252525;
  border-color: #444444;
}

.app-icon {
  width: 20px;
  height: 20px;
  border-radius: 4px;
  object-fit: cover;
}

.topbar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}

.health {
  background: #1a1a1a;
  border: 1px solid #333333;
  color: #ffffff;
  border-radius: 8px;
  padding: 8px 12px;
  font-size: 14px;
}

.panel,
.card {
  background: #1a1a1a;
  border: 1px solid #333333;
  border-radius: 12px;
  padding: 14px;
  margin-bottom: 14px;
}

.card-head {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.method {
  background: #ffffff;
  color: #0a0a0a;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  padding: 5px 10px;
}

.path {
  font-weight: 700;
  color: #ffffff;
}

.label {
  display: block;
  font-size: 14px;
  margin-bottom: 8px;
  color: #ffffff;
}

.params {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
  margin-bottom: 10px;
}

.params-4 {
  grid-template-columns: repeat(4, 1fr);
}

.row {
  display: flex;
  gap: 8px;
  align-items: center;
}

.row.space-between {
  justify-content: space-between;
}

.back-link {
  color: #ffffff;
  text-decoration: none;
  font-size: 14px;
  font-weight: 700;
}

.back-link:hover {
  text-decoration: underline;
}

input {
  width: 100%;
  border: 1px solid #333333;
  background: #0a0a0a;
  color: #ffffff;
  border-radius: 8px;
  padding: 9px 10px;
  font-size: 14px;
}

input:focus {
  outline: none;
  border-color: #555555;
}

button {
  border: 0;
  background: #ffffff;
  color: #0a0a0a;
  border-radius: 8px;
  padding: 9px 14px;
  font-weight: 700;
  cursor: pointer;
}

button:hover {
  background: #e0e0e0;
}

button.ghost {
  background: #333333;
  color: #ffffff;
}

button.ghost:hover {
  background: #444444;
}

button.run {
  min-width: 120px;
}

.status {
  font-size: 13px;
  color: #a0a0a0;
}

.output {
  margin-top: 10px;
  background: #0a0a0a;
  border: 1px solid #333333;
  color: #ffffff;
  border-radius: 8px;
  min-height: 150px;
  max-height: 320px;
  overflow: auto;
  padding: 10px;
  white-space: pre-wrap;
  word-break: break-word;
  font-size: 12px;
}

.pricing-info {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}

.pricing-card {
  background: #0a0a0a;
  border: 1px solid #333333;
  border-radius: 12px;
  padding: 16px;
}

.pricing-card h3 {
  margin: 0 0 12px;
  font-size: 16px;
  color: #ffffff;
}

.pricing-card ul {
  margin: 0 0 12px;
  padding-left: 20px;
}

.pricing-card li {
  margin-bottom: 6px;
  font-size: 14px;
  color: #cccccc;
}

@media (max-width: 600px) {
  .pricing-info {
    grid-template-columns: 1fr;
  }
}

.curl-box {
  margin-top: 12px;
  background: #0a0a0a;
  border: 1px solid #333333;
  border-radius: 8px;
  padding: 12px;
}

.curl-code {
  background: #1a1a1a;
  border: 1px solid #333333;
  border-radius: 6px;
  padding: 10px;
  font-family: 'Courier New', monospace;
  font-size: 12px;
  color: #00ff00;
  overflow-x: auto;
  white-space: pre-wrap;
  word-break: break-word;
  margin: 8px 0;
}

.copy-btn {
  background: #ffffff;
  color: #0a0a0a;
  border: none;
  border-radius: 6px;
  padding: 6px 12px;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
  margin-top: 8px;
}

.copy-btn:hover {
  background: #e0e0e0;
}

.iframe-container {
  width: 100%;
  border: 1px solid #333333;
  border-radius: 12px;
  overflow: hidden;
  margin-top: 12px;
}

.iframe-container iframe {
  width: 100%;
  height: 500px;
  border: 0;
}
