/* Console CSS with Eion Branding */
:root {
  --eion-navy: hsl(210, 69%, 16%);
  --eion-cream: hsl(40, 54%, 89%);
  --eion-teal: hsl(195, 36%, 47%);
  --eion-dark: hsl(215, 28%, 23%);
  --bg-light: #ffffff;
  --bg-dark: #1a1a1a;
  --text-light: #333333;
  --text-dark: #f0f0f0;
  --border-light: #e2e2e2;
  --border-dark: #333333;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background: linear-gradient(135deg, var(--eion-navy) 0%, var(--eion-dark) 100%);
  color: var(--eion-cream);
  min-height: 100vh;
  line-height: 1.6;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 2rem;
}

header {
  text-align: center;
  margin-bottom: 3rem;
}

.logo {
  width: 64px;
  height: 64px;
  margin: 0 auto 1rem;
  background: var(--eion-cream);
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  font-weight: bold;
  color: var(--eion-navy);
}

h1 {
  font-size: 2.5rem;
  font-weight: 700;
  margin-bottom: 0.5rem;
  color: var(--eion-cream);
}

.subtitle {
  font-size: 1.2rem;
  color: rgba(240, 224, 199, 0.8);
  margin-bottom: 2rem;
}

.config-display {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 1.5rem;
  margin-bottom: 2rem;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(240, 224, 199, 0.2);
}

.config-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0.75rem 0;
  border-bottom: 1px solid rgba(240, 224, 199, 0.1);
}

.config-item:last-child {
  border-bottom: none;
}

.config-label {
  font-weight: 600;
  color: var(--eion-cream);
}

.config-value {
  font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
  background: rgba(0, 0, 0, 0.3);
  padding: 0.25rem 0.5rem;
  border-radius: 4px;
  color: var(--eion-cream);
  font-size: 0.9rem;
}

.tabs {
  display: flex;
  margin-bottom: 2rem;
  border-bottom: 2px solid rgba(240, 224, 199, 0.2);
}

.tab {
  padding: 1rem 2rem;
  background: none;
  border: none;
  color: rgba(240, 224, 199, 0.7);
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  border-bottom: 2px solid transparent;
}

.tab:hover {
  color: var(--eion-cream);
  background: rgba(240, 224, 199, 0.1);
}

.tab.active {
  color: var(--eion-cream);
  border-bottom-color: var(--eion-cream);
}

.tab-content {
  display: none;
}

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

.card {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 12px;
  padding: 2rem;
  margin-bottom: 2rem;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(240, 224, 199, 0.2);
}

.card h3 {
  color: var(--eion-cream);
  margin-bottom: 1rem;
  font-size: 1.5rem;
  font-weight: 600;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  display: block;
  margin-bottom: 0.5rem;
  font-weight: 500;
  color: var(--eion-cream);
}

.form-input {
  width: 100%;
  padding: 0.75rem;
  border: 1px solid rgba(240, 224, 199, 0.3);
  border-radius: 8px;
  background: rgba(255, 255, 255, 0.1);
  color: var(--eion-cream);
  font-size: 1rem;
  transition: border-color 0.3s ease;
}

.form-input:focus {
  outline: none;
  border-color: var(--eion-cream);
}

.form-input::placeholder {
  color: rgba(240, 224, 199, 0.5);
}

.btn {
  padding: 0.75rem 1.5rem;
  border: none;
  border-radius: 8px;
  font-size: 1rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.3s ease;
  text-decoration: none;
  display: inline-block;
  text-align: center;
}

.btn-primary {
  background: var(--eion-cream);
  color: var(--eion-navy);
}

.btn-primary:hover {
  background: rgba(240, 224, 199, 0.9);
  transform: translateY(-2px);
}

.btn-secondary {
  background: transparent;
  color: var(--eion-cream);
  border: 2px solid var(--eion-cream);
}

.btn-secondary:hover {
  background: var(--eion-cream);
  color: var(--eion-navy);
}

.table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 1rem;
}

.table th,
.table td {
  padding: 1rem;
  text-align: left;
  border-bottom: 1px solid rgba(240, 224, 199, 0.2);
}

.table th {
  background: rgba(0, 0, 0, 0.2);
  font-weight: 600;
  color: var(--eion-cream);
}

.table td {
  color: rgba(240, 224, 199, 0.9);
}

.table tr:hover {
  background: rgba(240, 224, 199, 0.05);
}

.status-badge {
  padding: 0.25rem 0.75rem;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 500;
  text-transform: uppercase;
}

.status-active {
  background: rgba(34, 197, 94, 0.2);
  color: #22c55e;
}

.status-inactive {
  background: rgba(239, 68, 68, 0.2);
  color: #ef4444;
}

.code-block {
  background: rgba(0, 0, 0, 0.4);
  border-radius: 8px;
  padding: 1rem;
  margin: 1rem 0;
  font-family: 'Monaco', 'Menlo', 'Ubuntu Mono', monospace;
  font-size: 0.9rem;
  color: var(--eion-cream);
  overflow-x: auto;
  border: 1px solid rgba(240, 224, 199, 0.2);
}

.copy-btn {
  background: rgba(240, 224, 199, 0.1);
  border: 1px solid rgba(240, 224, 199, 0.3);
  color: var(--eion-cream);
  padding: 0.5rem 1rem;
  border-radius: 6px;
  cursor: pointer;
  font-size: 0.9rem;
  transition: all 0.3s ease;
}

.copy-btn:hover {
  background: rgba(240, 224, 199, 0.2);
}

.loading {
  text-align: center;
  padding: 2rem;
  color: rgba(240, 224, 199, 0.7);
}

.error {
  background: rgba(239, 68, 68, 0.1);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #ef4444;
  padding: 1rem;
  border-radius: 8px;
  margin-bottom: 1rem;
}

.success {
  background: rgba(34, 197, 94, 0.1);
  border: 1px solid rgba(34, 197, 94, 0.3);
  color: #22c55e;
  padding: 1rem;
  border-radius: 8px;
  margin-bottom: 1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
  .container {
    padding: 1rem;
  }
  
  h1 {
    font-size: 2rem;
  }
  
  .tabs {
    flex-wrap: wrap;
  }
  
  .tab {
    flex: 1;
    padding: 0.75rem 1rem;
    min-width: 120px;
  }
  
  .table {
    font-size: 0.9rem;
  }
  
  .table th,
  .table td {
    padding: 0.75rem 0.5rem;
  }
} 