/* =========================================================
   INFINITY HUB ADMIN DASHBOARD - MODERN DARK THEME
   Purple & Blue Accents, Glassmorphic Panels & Responsive
   ========================================================= */

:root {
  --bg-dark: #090c14;
  --bg-panel: #111726;
  --bg-panel-alt: #161e31;
  --bg-input: #0c111d;
  --border-subtle: rgba(255, 255, 255, 0.08);
  --border-glow: rgba(139, 92, 246, 0.35);

  --purple-primary: #8b5cf6;
  --purple-glow: rgba(139, 92, 246, 0.25);
  --purple-hover: #7c3aed;
  --purple-light: #c084fc;

  --blue-primary: #3b82f6;
  --blue-glow: rgba(59, 130, 246, 0.25);
  --blue-hover: #2563eb;
  --cyan-accent: #06b6d4;

  --green-accent: #10b981;
  --green-glow: rgba(16, 185, 129, 0.2);
  --yellow-accent: #f59e0b;
  --red-accent: #ef4444;

  --text-main: #f1f5f9;
  --text-muted: #94a3b8;
  --text-dim: #64748b;

  --font-main: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
  --radius-lg: 16px;
  --radius-md: 10px;
  --radius-sm: 6px;
}

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

body {
  background-color: var(--bg-dark);
  color: var(--text-main);
  font-family: var(--font-main);
  line-height: 1.5;
  min-height: 100vh;
  position: relative;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

/* Background Atmospheric Glows */
.glow-orb {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.35;
}
.orb-purple {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--purple-primary) 0%, transparent 70%);
  top: -150px;
  left: -100px;
}
.orb-blue {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--blue-primary) 0%, transparent 70%);
  top: 40%;
  right: -200px;
}

/* Container */
.app-container {
  position: relative;
  z-index: 1;
  max-width: 1300px;
  margin: 0 auto;
  padding: 24px 20px 60px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Header */
.hub-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 24px;
  background: rgba(17, 23, 38, 0.7);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.4);
}

.header-branding {
  display: flex;
  align-items: center;
  gap: 16px;
}

.hub-logo-badge {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: linear-gradient(135deg, var(--purple-primary), var(--blue-primary));
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  box-shadow: 0 0 20px var(--purple-glow);
}

.infinity-icon {
  width: 28px;
  height: 28px;
}

.hub-title {
  font-size: 1.45rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  background: linear-gradient(120deg, #ffffff, #c084fc, #60a5fa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hub-subtitle {
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 2px;
  color: var(--text-muted);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 12px;
}

.auth-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  border-radius: 20px;
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.2s ease;
  user-select: none;
}

.auth-locked {
  background: rgba(239, 68, 68, 0.12);
  color: #fca5a5;
  border: 1px solid rgba(239, 68, 68, 0.25);
}
.auth-locked:hover {
  background: rgba(239, 68, 68, 0.2);
}

.auth-unlocked {
  background: rgba(16, 185, 129, 0.12);
  color: #6ee7b7;
  border: 1px solid rgba(16, 185, 129, 0.25);
}

.auth-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background-color: currentColor;
}

/* Status Section */
.status-grid {
  display: grid;
  grid-template-columns: 1fr;
}

.status-card {
  background: rgba(17, 23, 38, 0.85);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 20px 24px;
  backdrop-filter: blur(8px);
  display: flex;
  flex-direction: column;
  gap: 18px;
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.25);
}

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

.status-label {
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 1.5px;
  color: var(--purple-light);
}

.status-value-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 18px;
  padding: 8px 0;
  border-top: 1px solid var(--border-subtle);
  border-bottom: 1px solid var(--border-subtle);
}

.status-metric {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.metric-title {
  font-size: 0.75rem;
  color: var(--text-dim);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.metric-val {
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
}

.text-accent {
  color: var(--cyan-accent);
}

.status-card-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.api-url-box {
  display: flex;
  align-items: center;
  gap: 10px;
  background: var(--bg-input);
  padding: 8px 14px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  flex: 1;
  min-width: 260px;
  overflow: hidden;
}

.url-label {
  font-size: 0.72rem;
  font-weight: 800;
  color: var(--purple-primary);
  letter-spacing: 1px;
}

.api-url-box code {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: #93c5fd;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.btn-copy {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: linear-gradient(135deg, var(--purple-primary), var(--blue-primary));
  color: #fff;
  border: none;
  border-radius: var(--radius-md);
  padding: 10px 18px;
  font-family: var(--font-main);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all 0.2s ease;
  box-shadow: 0 4px 15px var(--purple-glow);
  white-space: nowrap;
}
.btn-copy:hover {
  transform: translateY(-1px);
  filter: brightness(1.15);
}
.btn-copy:active {
  transform: translateY(0);
}
.copy-icon {
  width: 16px;
  height: 16px;
}

/* Pills */
.pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 12px;
  font-size: 0.75rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.pill-green {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.3);
}
.pill-warning {
  background: rgba(245, 158, 11, 0.15);
  color: #fbbf24;
  border: 1px solid rgba(245, 158, 11, 0.3);
}
.pill-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background-color: currentColor;
}
.pulse {
  animation: pulse 2s infinite;
}
@keyframes pulse {
  0% { transform: scale(0.95); opacity: 0.8; }
  50% { transform: scale(1.3); opacity: 1; }
  100% { transform: scale(0.95); opacity: 0.8; }
}

/* Layout: Two Column on Desktop */
.main-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

/* Panels */
.panel {
  background: rgba(17, 23, 38, 0.85);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px;
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 30px rgba(0, 0, 0, 0.35);
  position: relative;
}

.panel-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 22px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--border-subtle);
}

.panel-title-wrap {
  display: flex;
  align-items: center;
  gap: 12px;
}

.panel-icon-wrap {
  width: 38px;
  height: 38px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.panel-icon-wrap svg {
  width: 20px;
  height: 20px;
}
.icon-purple {
  background: rgba(139, 92, 246, 0.15);
  color: var(--purple-light);
  border: 1px solid rgba(139, 92, 246, 0.3);
}
.icon-blue {
  background: rgba(59, 130, 246, 0.15);
  color: #60a5fa;
  border: 1px solid rgba(59, 130, 246, 0.3);
}

.panel-header h2 {
  font-size: 1.15rem;
  font-weight: 700;
  letter-spacing: 0.5px;
}

.panel-sub {
  font-size: 0.78rem;
  color: var(--text-dim);
}

/* Forms */
.form-group {
  margin-bottom: 16px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-row-2 {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 16px;
}

.form-label {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-muted);
}
.required {
  color: var(--purple-light);
}
.label-optional {
  font-size: 0.72rem;
  color: var(--text-dim);
  font-weight: 400;
}

.field-hint {
  font-size: 0.72rem;
  color: var(--text-dim);
}

.form-input,
.form-textarea,
.form-select {
  background: var(--bg-input);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 10px 14px;
  color: var(--text-main);
  font-family: var(--font-main);
  font-size: 0.9rem;
  transition: all 0.2s ease;
  outline: none;
  width: 100%;
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
  border-color: var(--purple-primary);
  box-shadow: 0 0 12px var(--purple-glow);
  background: #0f1525;
}

.form-textarea {
  resize: vertical;
  min-height: 80px;
}

.char-count {
  font-size: 0.72rem;
  color: var(--text-dim);
  text-align: right;
}

/* Buttons */
.form-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-top: 24px;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 11px 16px;
  border-radius: var(--radius-md);
  font-family: var(--font-main);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all 0.2s ease;
  border: none;
  text-decoration: none;
}
.btn svg {
  width: 16px;
  height: 16px;
}

.btn-primary {
  background: linear-gradient(135deg, var(--purple-primary), #6366f1);
  color: #fff;
  box-shadow: 0 4px 18px var(--purple-glow);
  grid-column: span 2;
}
.btn-primary:hover {
  transform: translateY(-1px);
  filter: brightness(1.15);
}

.btn-secondary {
  background: rgba(59, 130, 246, 0.15);
  color: #93c5fd;
  border: 1px solid rgba(59, 130, 246, 0.35);
}
.btn-secondary:hover {
  background: rgba(59, 130, 246, 0.25);
  color: #fff;
}

.btn-ghost {
  background: transparent;
  color: var(--text-muted);
  border: 1px solid var(--border-subtle);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
}

.btn-test {
  background: rgba(16, 185, 129, 0.15);
  color: #6ee7b7;
  border: 1px solid rgba(16, 185, 129, 0.35);
  grid-column: span 2;
}
.btn-test:hover {
  background: rgba(16, 185, 129, 0.25);
  color: #fff;
}

.btn-sm {
  padding: 6px 12px;
  font-size: 0.78rem;
}

/* LIVE PREVIEW STAGE */
.preview-stage {
  display: flex;
  flex-direction: column;
  height: calc(100% - 65px);
}

.preview-backdrop-mock {
  background: #080a11;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius-md);
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 420px;
  position: relative;
  background-image: 
    radial-gradient(rgba(139, 92, 246, 0.06) 1px, transparent 1px),
    radial-gradient(rgba(59, 130, 246, 0.04) 1px, transparent 1px);
  background-size: 24px 24px;
  background-position: 0 0, 12px 12px;
}

.mock-roblox-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 12px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.mock-dot-group {
  display: flex;
  gap: 6px;
}
.mock-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
}
.mock-dot.red { background: #ef4444; }
.mock-dot.yellow { background: #f59e0b; }
.mock-dot.green { background: #10b981; }

.mock-screen-title {
  font-size: 0.72rem;
  color: var(--text-dim);
  font-family: var(--font-mono);
}

.mock-fps {
  font-family: var(--font-mono);
  font-size: 0.72rem;
  color: #34d399;
  font-weight: 600;
}

/* Simulated Infinity Hub Announcement Popup (Matching In-Game Reference) */
.infinity-popup-card-v2 {
  align-self: center;
  margin: auto 0;
  width: 100%;
  max-width: 440px;
  background: #121318;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 12px;
  padding: 12px 14px 10px;
  box-shadow: 0 12px 36px rgba(0, 0, 0, 0.8), 0 0 15px rgba(0, 0, 0, 0.4);
  display: flex;
  flex-direction: column;
  gap: 8px;
  position: relative;
  overflow: hidden;
  transition: all 0.25s ease;
}

.popup-v2-main {
  display: flex;
  align-items: center;
  gap: 12px;
  position: relative;
}

.popup-v2-logo-holder {
  width: 38px;
  height: 38px;
  border-radius: 8px;
  background: #ffffff;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.3);
}

.popup-v2-logo-img {
  width: 28px;
  height: 20px;
  object-fit: contain;
  filter: brightness(0);
}

.popup-v2-content {
  flex: 1;
  min-width: 0;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.popup-v2-header {
  font-size: 0.88rem;
  font-weight: 700;
  color: #ffffff;
  line-height: 1.2;
}

.popup-v2-message {
  font-size: 0.76rem;
  color: #cbd5e1;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  line-height: 1.3;
}

.popup-v2-dismiss {
  background: transparent;
  border: none;
  color: #94a3b8;
  font-size: 0.8rem;
  cursor: pointer;
  padding: 4px;
  transition: color 0.15s;
  display: flex;
  align-items: center;
  justify-content: center;
}
.popup-v2-dismiss:hover {
  color: #ffffff;
}

.popup-v2-progress-track {
  width: 100%;
  height: 3px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 2px;
  overflow: hidden;
  margin-top: 2px;
}

.popup-v2-progress-fill {
  height: 100%;
  width: 100%;
  background: #ffffff;
  border-radius: 2px;
  transition: width 0.1s linear;
}

  padding: 4px 12px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.5px;
  cursor: pointer;
  transition: all 0.15s ease;
}
.popup-dismiss-btn:hover {
  background: rgba(255, 255, 255, 0.18);
  color: #fff;
}

.popup-progress-track {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: rgba(255, 255, 255, 0.05);
}

.popup-progress-fill {
  height: 100%;
  background: linear-gradient(90deg, var(--purple-primary), var(--cyan-accent));
  width: 100%;
  transition: width 0.1s linear;
}

.preview-note {
  font-size: 0.72rem;
  color: var(--text-dim);
  text-align: center;
  padding-top: 8px;
}

.live-tag {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 0.75rem;
  font-weight: 700;
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.1);
  padding: 4px 10px;
  border-radius: 20px;
  border: 1px solid rgba(56, 189, 248, 0.25);
}

/* History Table */
.table-responsive {
  width: 100%;
  overflow-x: auto;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
}

.history-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.85rem;
}

.history-table th {
  background: rgba(22, 28, 44, 0.8);
  color: var(--text-dim);
  font-weight: 700;
  text-transform: uppercase;
  font-size: 0.72rem;
  letter-spacing: 0.5px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--border-subtle);
  white-space: nowrap;
}

.history-table td {
  padding: 14px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  color: var(--text-muted);
  vertical-align: middle;
}

.history-table tr:hover td {
  background: rgba(255, 255, 255, 0.02);
}

.history-table .announcement-row-title {
  color: #fff;
  font-weight: 600;
}

.history-table .announcement-row-msg {
  max-width: 240px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  font-size: 0.8rem;
}

.status-badge {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
}
.status-active {
  background: rgba(16, 185, 129, 0.15);
  color: #34d399;
  border: 1px solid rgba(16, 185, 129, 0.3);
}
.status-inactive {
  background: rgba(148, 163, 184, 0.1);
  color: #94a3b8;
  border: 1px solid rgba(148, 163, 184, 0.2);
}

.table-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 6px;
}

.action-btn {
  background: transparent;
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  border-radius: 6px;
  padding: 4px 8px;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
}
.action-btn:hover {
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
}
.action-btn.btn-toggle {
  color: #93c5fd;
  border-color: rgba(59, 130, 246, 0.3);
}
.action-btn.btn-edit {
  color: var(--purple-light);
  border-color: rgba(139, 92, 246, 0.3);
}
.action-btn.btn-delete {
  color: #f87171;
  border-color: rgba(239, 68, 68, 0.3);
}
.action-btn.btn-delete:hover {
  background: rgba(239, 68, 68, 0.15);
}

.empty-state {
  text-align: center;
  padding: 40px !important;
  color: var(--text-dim);
  font-style: italic;
}

/* Client Connection Panel */
.client-info-content {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.client-alert-warning {
  background: rgba(245, 158, 11, 0.1);
  border-left: 4px solid var(--yellow-accent);
  padding: 12px 16px;
  border-radius: 0 var(--radius-md) var(--radius-md) 0;
  font-size: 0.85rem;
  color: #fde68a;
  line-height: 1.5;
}

.client-alert-warning code {
  background: rgba(0, 0, 0, 0.3);
  padding: 2px 6px;
  border-radius: 4px;
  font-family: var(--font-mono);
  color: #fff;
}

.code-preview-wrap {
  background: #090c15;
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  overflow: hidden;
}

.code-preview-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  background: #111726;
  padding: 10px 16px;
  border-bottom: 1px solid var(--border-subtle);
  font-size: 0.78rem;
  font-weight: 700;
  color: var(--text-muted);
}

.btn-copy-code {
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border-subtle);
  color: #fff;
  border-radius: 6px;
  padding: 4px 10px;
  font-size: 0.72rem;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.15s ease;
}
.btn-copy-code:hover {
  background: rgba(255, 255, 255, 0.15);
}

.code-preview-wrap pre {
  padding: 16px;
  margin: 0;
  overflow-x: auto;
}

.code-preview-wrap code {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  color: #a5b4fc;
  line-height: 1.6;
}

/* Footer */
.hub-footer {
  text-align: center;
  padding: 16px;
  font-size: 0.78rem;
  color: var(--text-dim);
}

/* Modal */
.modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
}

.modal-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.modal-card {
  background: var(--bg-panel);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-lg);
  padding: 24px;
  width: 100%;
  max-width: 440px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.modal-header {
  display: flex;
  align-items: center;
  gap: 12px;
}

.modal-icon-badge {
  width: 42px;
  height: 42px;
  border-radius: 10px;
  background: rgba(139, 92, 246, 0.15);
  color: var(--purple-light);
  border: 1px solid rgba(139, 92, 246, 0.3);
  display: flex;
  align-items: center;
  justify-content: center;
}
.modal-icon-badge svg {
  width: 20px;
  height: 20px;
}

.modal-body {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.auth-hint {
  font-size: 0.74rem;
  color: var(--text-dim);
  background: var(--bg-input);
  padding: 8px 12px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-subtle);
}
.auth-hint code {
  color: var(--cyan-accent);
}

.auth-error-msg {
  color: #f87171;
  font-size: 0.75rem;
  margin-top: 4px;
  display: none;
}

.modal-footer {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

/* Toast Notifications */
.toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 2000;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast {
  background: rgba(17, 23, 38, 0.95);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 12px 18px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5);
  color: #fff;
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 10px;
  min-width: 280px;
  animation: slideIn 0.25s ease;
  backdrop-filter: blur(8px);
}
.toast-success { border-left: 4px solid var(--green-accent); }
.toast-error   { border-left: 4px solid var(--red-accent); }
.toast-info    { border-left: 4px solid var(--blue-primary); }

@keyframes slideIn {
  from { transform: translateX(100%); opacity: 0; }
  to   { transform: translateX(0); opacity: 1; }
}

/* Responsive Breakpoints */
@media (max-width: 900px) {
  .main-layout {
    grid-template-columns: 1fr;
  }
  .form-actions {
    grid-template-columns: 1fr;
  }
  .btn-primary, .btn-test {
    grid-column: span 1;
  }
}

@media (max-width: 640px) {
  .hub-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 14px;
  }
  .status-value-row {
    grid-template-columns: 1fr;
  }
  .form-row-2 {
    grid-template-columns: 1fr;
  }
}
