/* Custom Dark Theme CSS */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: #0f172a;
  color: #ffffff;
  line-height: 1.6;
  min-height: 100vh;
}

.container {
  max-width: 50rem;
  margin: 0 auto;
  padding: 1.5rem;
}

/* Typography */
h1 {
  font-size: 1.875rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: #ffffff;
}

h3 {
  font-size: 1.25rem;
  font-weight: 600;
  color: #ffffff;
  margin-bottom: 1rem;
}

p {
  color: #94a3b8;
  margin-bottom: 1rem;
}

/* Cards */
article {
  background: #1e293b;
  border: 1px solid #334155;
  border-radius: 0.5rem;
  padding: 1.5rem;
  margin-bottom: 2rem;
}

/* Status badges */
.badge {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.75rem;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  background: #14532d;
  color: #86efac;
  border: 1px solid #166534;
}

/* Status list */
.status-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.status-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.status-label {
  color: #94a3b8;
}

/* Buttons */
button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.5rem 1rem;
  border-radius: 0.375rem;
  font-size: 0.875rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s;
  border: none;
  background: #ffffff;
  color: #000000;
}

button:hover {
  background: #e2e8f0;
}

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

button.secondary {
  background: transparent;
  color: #94a3b8;
  border: 1px solid #334155;
}

button.secondary:hover {
  background: #334155;
  color: #ffffff;
}

/* Form elements */
label {
  display: block;
  font-size: 0.875rem;
  font-weight: 500;
  color: #94a3b8;
  margin-bottom: 0.5rem;
}

input, textarea {
  width: 100%;
  padding: 0.625rem;
  border-radius: 0.375rem;
  border: 1px solid #334155;
  background: #1e293b;
  color: #ffffff;
  font-size: 0.875rem;
  margin-bottom: 1rem;
}

input:focus, textarea:focus {
  outline: none;
  border-color: #475569;
}

input::placeholder, textarea::placeholder {
  color: #64748b;
}

textarea {
  min-height: 6rem;
  resize: vertical;
}

/* Form grid */
.form-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
  margin-bottom: 1rem;
}

/* Code blocks */
pre {
  background: #0f172a;
  border: 1px solid #334155;
  border-radius: 0.375rem;
  padding: 1rem;
  color: #94a3b8;
  font-family: ui-monospace, SFMono-Regular, 'SF Mono', Consolas, monospace;
  font-size: 0.875rem;
  overflow-x: auto;
  margin: 1rem 0;
}

code {
  overflow-x: auto;
}

/* Content grid */
.content-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.5rem;
  margin-bottom: 2rem;
}

/* Object list */
.object-list {
  max-height: 12rem;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 0.25rem;
}

.object-item {
  font-size: 0.875rem;
  color: #64748b;
  padding: 0.25rem 0;
}

/* Links */
a {
  color: #ffffff;
  text-decoration: underline;
}

a:hover {
  text-decoration: none;
}

/* Responsive */
@media (max-width: 768px) {
  .form-grid,
  .content-grid {
    grid-template-columns: 1fr;
  }
  
  .container {
    padding: 1rem;
  }
}