/* ═══════════════════════════════════════════════════════════
   ⚡ BOTPANEL — Futuristic Cyberpunk / Glassmorphic UI ⚡
   ═══════════════════════════════════════════════════════════ */

:root {
  /* Futuristic Palette */
  --bg-gradient: radial-gradient(circle at 50% 0%, #0c0f16 0%, #06070a 100%);
  --bg: #06070a;
  
  /* Glassmorphism Surface Base */
  --surface: rgba(18, 22, 33, 0.65);
  --surface-hover: rgba(26, 31, 46, 0.8);
  --surface-active: rgba(32, 39, 58, 0.9);
  
  --border: rgba(255, 255, 255, 0.08);
  --border-focus: rgba(88, 101, 242, 0.6);
  --border-hover: rgba(255, 255, 255, 0.15);
  
  /* Gradients */
  --gradient-accent: linear-gradient(135deg, #5865f2 0%, #854fe2 100%);
  --gradient-accent-h: linear-gradient(135deg, #4752c4 0%, #703cc7 100%);
  --gradient-success: linear-gradient(135deg, #00f5a0 0%, #00d9f5 100%);
  --gradient-danger: linear-gradient(135deg, #ff416c 0%, #ff4b2b 100%);
  --gradient-warning: linear-gradient(135deg, #f8d030 0%, #d4a300 100%);
  
  /* Colors */
  --accent: #5865f2;
  --success: #00f5a0;
  --danger: #ff416c;
  --warning: #f8d030;
  
  --text: #f1f3f5;
  --text-muted: #868e96;
  
  --radius-sm: 8px;
  --radius: 12px;
  --radius-lg: 20px;
  
  --shadow-neon: 0 0 25px rgba(88, 101, 242, 0.25);
  --shadow-neon-success: 0 0 25px rgba(0, 245, 160, 0.2);
  --shadow-neon-danger: 0 0 25px rgba(255, 65, 108, 0.25);
}

/* ── Reset & Globals ────────────────────────────────────────── */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', system-ui, -apple-system, sans-serif;
  background: var(--bg-gradient);
  background-attachment: fixed;
  color: var(--text);
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* Scrollbar Customization */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}
::-webkit-scrollbar-track {
  background: rgba(0, 0, 0, 0.3);
}
::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent);
  box-shadow: 0 0 10px var(--accent);
}

/* ── Glowing Background Orbs ─────────────────────────────────── */
.glowing-orb {
  position: absolute;
  width: 400px;
  height: 400px;
  border-radius: 50%;
  filter: blur(140px);
  opacity: 0.15;
  pointer-events: none;
  z-index: -1;
  animation: floatOrb 15s ease-in-out infinite;
}
.orb-1 {
  background: #5865f2;
  top: -100px;
  left: -100px;
}
.orb-2 {
  background: #c084fc;
  bottom: 10%;
  right: -100px;
  animation-delay: -5s;
}

@keyframes floatOrb {
  0%, 100% { transform: translateY(0) scale(1); }
  50% { transform: translateY(30px) scale(1.1); }
}

a {
  color: var(--accent);
  text-decoration: none;
  transition: color 0.2s ease;
}
a:hover {
  color: #fff;
  text-shadow: 0 0 8px rgba(88, 101, 242, 0.6);
}

code, .mono {
  font-family: 'DM Mono', monospace;
  background: rgba(0, 0, 0, 0.4);
  padding: 3px 8px;
  border-radius: var(--radius-sm);
  font-size: 0.85em;
  color: var(--success);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

/* ── Typography overrides for Syne ──────────────────────────── */
h1, h2, h3, h4, h5, .navbar-brand, .btn {
  font-family: 'Syne', sans-serif;
  letter-spacing: -0.01em;
}

/* ── Floating Header Navbar ─────────────────────────────────── */
.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 3rem;
  height: 70px;
  background: rgba(10, 12, 18, 0.7);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
  position: sticky;
  top: 0;
  z-index: 100;
  transition: all 0.3s ease;
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 1.35rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.03em;
  text-transform: uppercase;
}

.brand-icon {
  font-size: 1.5rem;
  animation: pulseBrand 2s infinite ease-in-out;
  filter: drop-shadow(0 0 10px var(--accent));
}

@keyframes pulseBrand {
  0%, 100% { transform: scale(1); filter: drop-shadow(0 0 6px var(--accent)); }
  50% { transform: scale(1.15); filter: drop-shadow(0 0 16px #854fe2); }
}

.navbar-right {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.user-chip {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border);
  padding: 6px 16px 6px 8px;
  border-radius: 30px;
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.2s ease;
}
.user-chip:hover {
  background: rgba(255, 255, 255, 0.07);
  border-color: rgba(255, 255, 255, 0.15);
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.user-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  border: 1.5px solid var(--accent);
}

/* ── Modern Premium Buttons ─────────────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.65rem 1.6rem;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 0.875rem;
  border: none;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  position: relative;
  overflow: hidden;
}

.btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: -50%;
  width: 200%;
  height: 100%;
  background: linear-gradient(
    90deg,
    rgba(255,255,255,0) 0%,
    rgba(255,255,255,0.15) 50%,
    rgba(255,255,255,0) 100%
  );
  transform: skewX(-25deg) translateX(-100%);
  transition: none;
}
.btn:hover::after {
  transform: skewX(-25deg) translateX(100%);
  transition: transform 0.75s ease;
}

.btn-primary {
  background: var(--gradient-accent);
  color: #fff;
  box-shadow: 0 4px 15px rgba(88, 101, 242, 0.2);
}
.btn-primary:hover {
  background: var(--gradient-accent-h);
  transform: translateY(-2px);
  box-shadow: var(--shadow-neon);
}
.btn-primary:active {
  transform: translateY(0);
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-ghost:hover {
  background: rgba(255, 255, 255, 0.07);
  color: #fff;
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-1px);
}

.btn-lg {
  padding: 0.9rem 2.5rem;
  font-size: 1rem;
  border-radius: var(--radius-lg);
}

/* ── Hero Landing Section ───────────────────────────────────── */
.hero {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 6rem 2rem 5rem;
  text-align: center;
  max-width: 1200px;
  margin: 0 auto;
  width: 100%;
  animation: fadeIn 0.8s ease-out;
}

.hero-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: 4rem;
}

.hero-badge {
  display: inline-block;
  background: rgba(88, 101, 242, 0.1);
  color: #a3b0fa;
  border: 1px solid rgba(88, 101, 242, 0.3);
  padding: 6px 18px;
  border-radius: 30px;
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  margin-bottom: 1.5rem;
  box-shadow: 0 0 15px rgba(88,101,242,0.05);
}

.hero-title {
  font-size: clamp(3rem, 8vw, 5.5rem);
  font-weight: 900;
  line-height: 1.0;
  letter-spacing: -0.04em;
  margin-bottom: 1.5rem;
  text-transform: uppercase;
  background: linear-gradient(135deg, #ffffff 0%, #a5b4fc 50%, #6366f1 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shineGradient 6s linear infinite;
}

@keyframes shineGradient {
  0% { background-position: 0% center; }
  50% { background-position: 100% center; }
  100% { background-position: 0% center; }
}

.hero-sub {
  max-width: 650px;
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 3rem;
  line-height: 1.8;
  font-weight: 500;
}

.features {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
  width: 100%;
}

.feature-card {
  background: var(--surface);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.25rem 2rem;
  text-align: left;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.feature-card:hover {
  border-color: var(--border-focus);
  transform: translateY(-5px);
  background: var(--surface-hover);
  box-shadow: var(--shadow-neon);
}

.feature-card h5 {
  font-size: 0.7rem;
  color: var(--warning);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: 0.5rem;
}

.feature-icon {
  font-size: 2.5rem;
  margin-bottom: 1.25rem;
  display: inline-block;
  transition: transform 0.3s ease;
}
.feature-card:hover .feature-icon {
  transform: scale(1.15) rotate(5deg);
}

.feature-card h3 {
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 0.6rem;
  color: #fff;
}

.feature-card p {
  font-size: 0.9rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* ── Standard Page Layout ───────────────────────────────────── */
.page {
  max-width: 1000px;
  margin: 0 auto;
  padding: 3rem 2rem 5rem;
  width: 100%;
  flex: 1;
  animation: fadeInUp 0.5s ease-out;
}

.page-header {
  margin-bottom: 2.5rem;
}

.breadcrumb {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
  margin-bottom: 0.75rem;
}
.breadcrumb a {
  color: var(--text-muted);
}
.breadcrumb a:hover {
  color: var(--accent);
}

.page-header h1 {
  font-size: 2.5rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.02em;
}
.page-header p {
  color: var(--text-muted);
  margin-top: 0.5rem;
}

/* ── Glassmorphic Server Cards ──────────────────────────────── */
.servers-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 1.25rem;
}

.server-card {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  background: var(--surface);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  color: var(--text);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.server-card:hover {
  border-color: var(--border-focus);
  background: var(--surface-hover);
  transform: translateY(-3px);
  box-shadow: var(--shadow-neon);
}

.server-icon {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  overflow: hidden;
  flex-shrink: 0;
  border: 2px solid rgba(255,255,255,0.05);
  box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.server-icon img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.server-initial {
  width: 58px;
  height: 58px;
  border-radius: 50%;
  background: var(--gradient-accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 900;
  font-size: 1.35rem;
  color: #fff;
  text-transform: uppercase;
}

.server-info {
  flex: 1;
  min-width: 0;
}
.server-info h3 {
  font-size: 1.05rem;
  font-weight: 800;
  margin-bottom: 3px;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.server-id {
  font-family: 'DM Mono', monospace;
  font-size: 0.75rem;
  color: var(--text-muted);
}
.server-arrow {
  color: var(--text-muted);
  font-size: 1.25rem;
  font-weight: 700;
  transition: transform 0.2s ease, color 0.2s ease;
}
.server-card:hover .server-arrow {
  transform: translateX(4px);
  color: #fff;
}

/* ── Modern Tabs Navigation ─────────────────────────────────── */
.tabs {
  display: flex;
  gap: 0.5rem;
  border-bottom: 1.5px solid var(--border);
  margin-bottom: 2rem;
  overflow-x: auto;
  padding-bottom: 0.25rem;
}

.tab {
  background: transparent;
  border: none;
  border-bottom: 2.5px solid transparent;
  margin-bottom: -2px;
  padding: 0.75rem 1.4rem;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
  cursor: pointer;
  white-space: nowrap;
  transition: all 0.2s ease;
  border-radius: var(--radius) var(--radius) 0 0;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.tab:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.02);
}

.tab.active {
  color: #fff;
  border-bottom-color: var(--accent);
  text-shadow: 0 0 10px rgba(88, 101, 242, 0.4);
  background: rgba(88, 101, 242, 0.05);
}

.tab-content {
  display: none;
  flex-direction: column;
  gap: 1.75rem;
}

/* Tab Fade In Animation */
.tab-content.active {
  display: flex;
  animation: tabFadeIn 0.4s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

@keyframes tabFadeIn {
  from { opacity: 0; transform: translateY(12px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ── Config card section ────────────────────────────────────── */
.section {
  background: var(--surface);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  padding: 2.25rem;
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
  box-shadow: 0 10px 30px rgba(0,0,0,0.25);
  position: relative;
}

.section h2 {
  font-size: 1.3rem;
  font-weight: 800;
  color: #fff;
  position: relative;
  display: inline-block;
}

.section h3 {
  font-size: 0.85rem;
  font-weight: 800;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  margin-top: 0.5rem;
}

.divider {
  border: none;
  border-top: 1.5px solid var(--border);
  margin: 0.5rem 0;
}

/* ── Modern Futuristic Form Controls ────────────────────────── */
.form-group {
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
}

label {
  font-size: 0.85rem;
  font-weight: 800;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

small {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin-top: 0.1rem;
}

.form-control {
  background: rgba(0, 0, 0, 0.45);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  color: #fff;
  font-size: 0.925rem;
  padding: 0.75rem 1.1rem;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  width: 100%;
}

.form-control::placeholder {
  color: rgba(255,255,255,0.2);
}

.form-control:focus {
  outline: none;
  border-color: var(--border-focus);
  background: rgba(0, 0, 0, 0.6);
  box-shadow: var(--shadow-neon);
}

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

select.form-control {
  appearance: none;
  background-image: url("data:image/svg+xml;utf8,<svg fill='white' height='24' viewBox='0 0 24 24' width='24' xmlns='http://www.w3.org/2000/svg'><path d='M7 10l5 5 5-5z'/><path d='M0 0h24v24H0z' fill='none'/></svg>");
  background-repeat: no-repeat;
  background-position: right 12px center;
  background-size: 18px;
  padding-right: 38px;
  cursor: pointer;
}

select[multiple].form-control {
  background-image: none;
  padding-right: 1.1rem;
}

select[multiple] option {
  padding: 0.5rem;
  border-radius: var(--radius-sm);
  margin-bottom: 2px;
}

/* Color input customization */
.color-input {
  width: 70px;
  height: 44px;
  padding: 3px;
  cursor: pointer;
}

/* ── Cybernetic Toggle Switch ───────────────────────────────── */
.toggle-group {
  display: flex;
  align-items: center;
  gap: 0.9rem;
  font-weight: 600;
  font-size: 0.95rem;
  cursor: pointer;
  user-select: none;
  color: #fff;
}

.toggle {
  position: relative;
  display: inline-block;
  width: 50px;
  height: 28px;
}
.toggle input {
  opacity: 0;
  width: 0;
  height: 0;
}

.toggle-slider {
  position: absolute;
  inset: 0;
  background: rgba(255, 255, 255, 0.05);
  border: 1.5px solid var(--border);
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.toggle-slider::before {
  content: '';
  position: absolute;
  width: 18px;
  height: 18px;
  left: 3.5px;
  top: 3.5px;
  background: var(--text-muted);
  border-radius: 50%;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.toggle input:checked + .toggle-slider {
  background: rgba(88, 101, 242, 0.15);
  border-color: var(--accent);
  box-shadow: 0 0 15px rgba(88, 101, 242, 0.3);
}

.toggle input:checked + .toggle-slider::before {
  transform: translateX(21px);
  background: #fff;
  box-shadow: 0 0 8px #fff;
}

/* ── Embed Config Area ──────────────────────────────────────── */
.embed-config {
  background: rgba(0, 0, 0, 0.25);
  border: 1.5px dashed var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
  margin-top: 0.25rem;
  animation: slideDown 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes slideDown {
  from { opacity: 0; transform: translateY(-10px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ── Form Actions Block ─────────────────────────────────────── */
.form-actions {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 2rem 0;
  margin-top: 1rem;
}

/* ── Neon Alerts ────────────────────────────────────────────── */
.alert {
  padding: 1rem 1.5rem;
  border-radius: var(--radius);
  font-weight: 700;
  font-size: 0.95rem;
  margin-bottom: 2rem;
  border: 1.5px solid;
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.alert-success {
  background: rgba(0, 245, 160, 0.08);
  border-color: rgba(0, 245, 160, 0.3);
  color: var(--success);
  box-shadow: var(--shadow-neon-success);
}

.alert-error {
  background: rgba(255, 65, 108, 0.08);
  border-color: rgba(255, 65, 108, 0.3);
  color: var(--danger);
  box-shadow: var(--shadow-neon-danger);
}

/* ── Error & Empty states ───────────────────────────────────── */
.error-page {
  text-align: center;
  padding: 5rem 2rem;
  max-width: 500px;
  margin: 0 auto;
}
.error-page h1 {
  font-size: 2.75rem;
  font-weight: 900;
  background: var(--gradient-danger);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}
.error-page p {
  color: var(--text-muted);
  margin: 1rem 0 2rem;
}

.empty-state {
  grid-column: 1/-1;
  text-align: center;
  padding: 4rem 2rem;
  color: var(--text-muted);
  background: rgba(255,255,255,0.01);
  border: 2px dashed var(--border);
  border-radius: var(--radius-lg);
  font-weight: 500;
}

/* ── Checks Grid (Logs events list) ─────────────────────────── */
.checks-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 0.75rem;
}

.check-item {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.9rem;
  font-weight: 600;
  cursor: pointer;
  padding: 0.75rem 1.1rem;
  border-radius: var(--radius);
  border: 1.5px solid var(--border);
  background: rgba(0,0,0,0.3);
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  color: var(--text-muted);
}

.check-item:hover {
  border-color: var(--border-focus);
  background: rgba(0,0,0,0.5);
  color: #fff;
  box-shadow: var(--shadow-neon);
}

.check-item input[type="checkbox"] {
  accent-color: var(--accent);
  width: 18px;
  height: 18px;
  cursor: pointer;
}

/* ── Info Box ───────────────────────────────────────────────── */
.info-box {
  background: rgba(88, 101, 242, 0.08);
  border: 1px solid rgba(88, 101, 242, 0.25);
  border-radius: var(--radius);
  padding: 1rem 1.25rem;
  font-size: 0.9rem;
  font-weight: 500;
  line-height: 1.5;
  color: #c7d2fe;
}

/* ── Custom Commands Form Block ─────────────────────────────── */
.cmd-form {
  background: rgba(0, 0, 0, 0.2);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 1.25rem;
}

.cmd-form h3 {
  font-size: 1.05rem;
  font-weight: 800;
  color: #fff;
}

/* ── Custom Commands List Grid ──────────────────────────────── */
.cmd-list {
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
  margin-top: 0.5rem;
}

.cmd-loading, .cmd-vacio {
  text-align: center;
  padding: 3rem;
  color: var(--text-muted);
  font-size: 0.9rem;
  border: 1.5px dashed var(--border);
  border-radius: var(--radius);
}

.cmd-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1.5rem;
  background: rgba(0,0,0,0.25);
  border: 1.5px solid var(--border);
  border-radius: var(--radius);
  padding: 1rem 1.5rem;
  transition: all 0.25s ease;
}

.cmd-item:hover {
  border-color: var(--border-focus);
  background: rgba(0,0,0,0.4);
  box-shadow: var(--shadow-neon);
}

.cmd-item-info {
  display: flex;
  align-items: center;
  gap: 1rem;
  flex-wrap: wrap;
  flex: 1;
  min-width: 0;
}

.cmd-item-name {
  font-family: 'DM Mono', monospace;
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--success);
  text-shadow: 0 0 10px rgba(0, 245, 160, 0.2);
}

.cmd-item-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 250px;
}

.cmd-item-response {
  font-size: 0.85rem;
  color: var(--text);
  flex: 1;
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.cmd-badge {
  font-size: 0.725rem;
  background: rgba(88, 101, 242, 0.15);
  color: #a3b0fa;
  border: 1px solid rgba(88, 101, 242, 0.3);
  border-radius: 20px;
  padding: 2px 10px;
  white-space: nowrap;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.cmd-item-actions {
  display: flex;
  gap: 0.5rem;
  flex-shrink: 0;
}

.btn-icon {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 0.45rem 0.75rem;
  cursor: pointer;
  font-size: 0.95rem;
  transition: all 0.2s ease;
  line-height: 1;
}

.btn-icon:hover {
  border-color: var(--border-focus);
  background: rgba(255,255,255,0.06);
  transform: translateY(-1px);
}

.btn-icon-danger:hover {
  border-color: var(--danger);
  background: rgba(255, 65, 108, 0.05);
  box-shadow: 0 0 10px rgba(255, 65, 108, 0.15);
}

/* ── Modern Premium Footer ──────────────────────────────────── */
.footer {
  text-align: center;
  padding: 2rem;
  color: var(--text-muted);
  font-size: 0.85rem;
  font-weight: 500;
  border-top: 1px solid var(--border);
  background: rgba(10, 12, 18, 0.4);
  backdrop-filter: blur(10px);
  margin-top: auto;
}

/* ── Keyframe Animations ────────────────────────────────────── */
@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ── Responsive breakpoints ─────────────────────────────────── */
@media (max-width: 768px) {
  .navbar { padding: 0 1.5rem; height: 65px; }
  .navbar-brand { font-size: 1.15rem; }
  .page { padding: 2rem 1rem 4rem; }
  .hero { padding: 4rem 1rem 3rem; }
  .hero-title { font-size: 3rem; }
  .form-row { grid-template-columns: 1fr; gap: 1rem; }
  .form-actions { flex-direction: column; gap: 1rem; }
  .form-actions .btn { width: 100%; justify-content: center; }
  .checks-grid { grid-template-columns: 1fr; }
  .cmd-item { flex-direction: column; align-items: flex-start; gap: 1rem; }
  .cmd-item-actions { align-self: flex-end; }
  .cmd-item-desc { max-width: 100%; }
}
