:root {
  --bg-main: #0c0c0e;
  --bg-sidebar: #0f0f13;
  --bg-card: #15151a;
  --bg-card-hover: #1a1a22;
  --border-subtle: rgba(255, 255, 255, 0.06);
  --border-active: rgba(245, 158, 11, 0.35);
  --amber-gold: #f59e0b;
  --amber-glow: rgba(245, 158, 11, 0.15);
  --green-neon: #10b981;
  --green-glow: rgba(16, 185, 129, 0.25);
  --text-main: #f4f4f5;
  --text-muted: #71717a;
  --text-dim: #a1a1aa;
  --font-heading: 'Outfit', sans-serif;
  --font-body: 'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;
}

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

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

/* Background Ambient Glow & Particles */
#ambient-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
}

.app-layout {
  display: flex;
  min-height: 100vh;
  position: relative;
  z-index: 1;
}

/* ==================== SIDEBAR ==================== */
.sidebar {
  width: 260px;
  background-color: var(--bg-sidebar);
  border-right: 1px solid var(--border-subtle);
  display: flex;
  flex-direction: column;
  flex-shrink: 0;
  height: 100vh;
  position: sticky;
  top: 0;
  padding: 20px 14px;
  overflow-y: auto;
}

.sidebar::-webkit-scrollbar {
  width: 4px;
}
.sidebar::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
}

.sidebar-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 6px 10px 18px 10px;
}

.brand-icon {
  width: 32px;
  height: 32px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.brand-title {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 800;
  color: #fff;
  letter-spacing: -0.5px;
}

.brand-title .dot {
  color: var(--amber-gold);
}

.brand-sub {
  display: block;
  font-size: 8.5px;
  letter-spacing: 1.8px;
  font-weight: 700;
  color: var(--text-muted);
}

/* Server Selector Pill */
.server-pill {
  display: flex;
  align-items: center;
  gap: 10px;
  background: #15151c;
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 8px 12px;
  margin-bottom: 22px;
  cursor: pointer;
  transition: all 0.2s ease;
}

.server-pill:hover {
  background: #1c1c24;
  border-color: rgba(245, 158, 11, 0.25);
}

.server-pill-avatar {
  width: 30px;
  height: 30px;
  border-radius: 50%;
  background: #27272a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 13px;
  color: var(--amber-gold);
  overflow: hidden;
}

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

.server-pill-info {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.server-pill-name {
  font-size: 13px;
  font-weight: 600;
  color: #fff;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.server-pill-tag {
  font-size: 10px;
  color: var(--green-neon);
  font-weight: 500;
}

.server-pill-chevron {
  color: var(--text-muted);
}

/* Navigation Links */
.sidebar-nav {
  display: flex;
  flex-direction: column;
  gap: 16px;
  flex: 1;
}

.nav-group {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.nav-label {
  font-size: 10.5px;
  font-weight: 700;
  letter-spacing: 1.2px;
  color: var(--text-muted);
  padding: 4px 10px;
}

.nav-item {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 12px;
  border-radius: 8px;
  color: var(--text-dim);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  transition: all 0.18s ease;
}

.nav-item:hover {
  background-color: rgba(255, 255, 255, 0.04);
  color: #fff;
}

.nav-item.active {
  background: rgba(245, 158, 11, 0.1);
  color: #fff;
  font-weight: 600;
  border-left: 3px solid var(--amber-gold);
}

.nav-item.active .nav-icon {
  stroke: var(--amber-gold);
}

.nav-icon {
  width: 17px;
  height: 17px;
  stroke: var(--text-muted);
  transition: stroke 0.18s;
  flex-shrink: 0;
}

/* Sidebar User Footer */
.sidebar-user {
  margin-top: auto;
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px;
  background: #131318;
  border-radius: 10px;
  border: 1px solid var(--border-subtle);
}

.user-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: #2a2215;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 12px;
  color: var(--amber-gold);
}

.user-meta {
  flex: 1;
  display: flex;
  flex-direction: column;
}

.user-name {
  font-size: 12.5px;
  font-weight: 600;
  color: #fff;
}

.user-badge {
  font-size: 9px;
  font-weight: 700;
  color: var(--amber-gold);
  letter-spacing: 0.5px;
}

.status-indicator-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  display: inline-block;
}

.status-indicator-dot.online {
  background-color: var(--green-neon);
  box-shadow: 0 0 8px var(--green-glow);
}

/* ==================== MAIN CONTENT ==================== */
.main-content {
  flex: 1;
  padding: 30px 40px;
  max-width: 1440px;
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* Header */
.content-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-bottom: 1px solid var(--border-subtle);
  padding-bottom: 18px;
}

.header-title {
  font-family: var(--font-heading);
  font-size: 26px;
  font-weight: 700;
  color: #fff;
  letter-spacing: -0.5px;
}

.header-title .period {
  color: var(--amber-gold);
}

.header-subtitle {
  font-size: 12.5px;
  color: var(--text-dim);
  margin-top: 3px;
}

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

.status-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid rgba(16, 185, 129, 0.25);
  border-radius: 20px;
  padding: 6px 14px;
  font-size: 11.5px;
  font-weight: 600;
  color: var(--green-neon);
}

.pulse-dot {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green-neon);
  box-shadow: 0 0 8px var(--green-neon);
  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; }
}

.perf-pill {
  display: flex;
  align-items: center;
  gap: 7px;
  background: #16161c;
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: 6px 14px;
  font-size: 11.5px;
  font-weight: 500;
  color: var(--text-dim);
  font-family: var(--font-mono);
}

/* ==================== VIEW PANELS ==================== */
.views-wrapper {
  position: relative;
}

.view-panel {
  display: none;
  animation: fadeIn 0.22s ease-out;
}

.view-panel.active {
  display: block;
}

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

/* Server Hero Card */
.server-hero-card {
  display: flex;
  align-items: center;
  gap: 16px;
  background: linear-gradient(135deg, #181822 0%, #111116 100%);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 16px 20px;
  margin-bottom: 24px;
  position: relative;
  overflow: hidden;
}

.server-hero-card::after {
  content: '';
  position: absolute;
  right: 0;
  top: 0;
  width: 250px;
  height: 100%;
  background: radial-gradient(circle, rgba(245, 158, 11, 0.08) 0%, transparent 70%);
  pointer-events: none;
}

.hero-avatar {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: #27272a;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: var(--font-heading);
  font-size: 22px;
  font-weight: 700;
  color: var(--amber-gold);
  overflow: hidden;
}

.hero-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.hero-details {
  flex: 1;
}

.hero-name {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  color: #fff;
}

.hero-id {
  font-size: 11.5px;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

.hero-badge-pill {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(245, 158, 11, 0.1);
  border: 1px solid rgba(245, 158, 11, 0.3);
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 10.5px;
  font-weight: 700;
  color: var(--amber-gold);
}

.live-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--amber-gold);
}

/* ==================== METRICS SECTIONS (HELMUT STYLE) ==================== */
.metric-section {
  margin-bottom: 24px;
}

.metric-section-title {
  font-family: var(--font-heading);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--text-muted);
  margin-bottom: 10px;
  display: flex;
  align-items: center;
  gap: 6px;
}

.section-bullet {
  color: var(--amber-gold);
  font-size: 10px;
}

.metric-grid {
  display: grid;
  gap: 12px;
}

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

.cols-3 {
  grid-template-columns: repeat(3, 1fr);
}

.metric-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 16px 18px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  gap: 6px;
  transition: all 0.2s ease;
}

.metric-card:hover {
  background: var(--bg-card-hover);
  border-color: rgba(245, 158, 11, 0.2);
  transform: translateY(-1px);
}

.metric-label {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--text-muted);
}

.metric-value {
  font-family: var(--font-heading);
  font-size: 20px;
  font-weight: 700;
  color: #fff;
}

.text-green {
  color: var(--green-neon);
}

.status-metric-wrap {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
}

.metric-sub {
  font-size: 11px;
  color: var(--text-muted);
  font-family: var(--font-mono);
}

/* Quick Actions */
.quick-actions-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
}

.quick-action-card {
  background: #14141a;
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 16px;
  display: flex;
  align-items: center;
  gap: 14px;
  text-align: left;
  cursor: pointer;
  transition: all 0.2s;
  color: var(--text-main);
}

.quick-action-card:hover {
  background: #1c1c24;
  border-color: var(--amber-gold);
  transform: translateY(-2px);
  box-shadow: 0 4px 20px var(--amber-glow);
}

.action-icon {
  font-size: 24px;
}

.action-text {
  display: flex;
  flex-direction: column;
}

.action-text strong {
  font-size: 13.5px;
  color: #fff;
}

.action-text span {
  font-size: 11px;
  color: var(--text-muted);
}

/* ==================== GENERAL CARDS & FORMS ==================== */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 24px;
}

.panel-header-flex {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 20px;
}

.panel-card-title {
  font-family: var(--font-heading);
  font-size: 18px;
  font-weight: 700;
  color: #fff;
}

.panel-card-desc {
  font-size: 12.5px;
  color: var(--text-dim);
  margin-top: 4px;
  margin-bottom: 18px;
}

/* Form inputs */
.standard-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

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

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-group label {
  font-size: 12px;
  font-weight: 600;
  color: var(--text-dim);
}

.custom-select,
.standard-form input[type="text"],
.standard-form input[type="number"],
.standard-form textarea,
.embed-form input[type="text"],
.embed-form input[type="url"],
.embed-form textarea {
  background: #101014;
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 10px 14px;
  color: #fff;
  font-family: inherit;
  font-size: 13px;
  outline: none;
  transition: all 0.2s;
}

.custom-select:focus,
.standard-form input:focus,
.standard-form textarea:focus,
.embed-form input:focus,
.embed-form textarea:focus {
  border-color: var(--amber-gold);
  box-shadow: 0 0 10px var(--amber-glow);
}

.field-hint {
  font-size: 11px;
  color: var(--text-muted);
}

/* Buttons */
.btn-primary {
  background: linear-gradient(135deg, #f59e0b, #d97706);
  color: #000;
  font-weight: 700;
  font-size: 13px;
  padding: 11px 22px;
  border-radius: 8px;
  border: none;
  cursor: pointer;
  transition: all 0.2s;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  align-self: flex-start;
}

.btn-primary:hover {
  opacity: 0.95;
  box-shadow: 0 4px 16px rgba(245, 158, 11, 0.35);
  transform: translateY(-1px);
}

.btn-secondary {
  background: #1c1c24;
  color: var(--text-main);
  border: 1px solid var(--border-subtle);
  font-weight: 600;
  padding: 8px 14px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.2s;
}

.btn-secondary:hover {
  background: #252530;
  border-color: var(--amber-gold);
}

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

.btn-danger-sm {
  background: rgba(239, 68, 68, 0.15);
  color: #ef4444;
  border: 1px solid rgba(239, 68, 68, 0.3);
  padding: 4px 8px;
  font-size: 11px;
  font-weight: 600;
  border-radius: 6px;
  cursor: pointer;
  transition: all 0.18s;
}

.btn-danger-sm:hover {
  background: #ef4444;
  color: #fff;
}

/* Tables */
.table-responsive {
  overflow-x: auto;
}

.data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 13px;
  text-align: left;
}

.data-table th {
  padding: 12px 16px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border-subtle);
  background: rgba(0, 0, 0, 0.2);
}

.data-table td {
  padding: 12px 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.04);
  color: var(--text-dim);
}

.data-table tr:hover td {
  background: rgba(255, 255, 255, 0.02);
  color: #fff;
}

.loading-td {
  text-align: center;
  padding: 24px !important;
  color: var(--text-muted);
  font-style: italic;
}

.user-cell {
  display: flex;
  align-items: center;
  gap: 10px;
}

.user-cell-avatar {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  object-fit: cover;
}

.role-badge {
  display: inline-flex;
  align-items: center;
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 11px;
  font-weight: 600;
  margin-right: 4px;
  margin-bottom: 4px;
}

.tag-bot {
  background: rgba(88, 101, 242, 0.2);
  color: #5865F2;
  font-size: 10px;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  margin-left: 6px;
}

.tag-human {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-dim);
  font-size: 10px;
  font-weight: 600;
  padding: 2px 6px;
  border-radius: 4px;
  margin-left: 6px;
}

.code-pill {
  font-family: var(--font-mono);
  font-size: 11px;
  background: #111116;
  padding: 3px 7px;
  border-radius: 5px;
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
}

/* Progress bar for Leveling */
.xp-bar-wrap {
  width: 140px;
  height: 8px;
  background: #202028;
  border-radius: 4px;
  overflow: hidden;
  display: inline-block;
  vertical-align: middle;
  margin-right: 8px;
}

.xp-bar-fill {
  height: 100%;
  background: linear-gradient(90deg, #f59e0b, #fbbf24);
  border-radius: 4px;
}

/* Toggle Switch */
.toggle-list {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.toggle-row {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
}

.toggle-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.toggle-title {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
}

.toggle-desc {
  font-size: 12px;
  color: var(--text-muted);
}

.switch {
  position: relative;
  display: inline-block;
  width: 44px;
  height: 24px;
  flex-shrink: 0;
}

.switch input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: #27272a;
  transition: .3s;
  border-radius: 24px;
}

.slider:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: white;
  transition: .3s;
  border-radius: 50%;
}

input:checked + .slider {
  background-color: var(--amber-gold);
}

input:checked + .slider:before {
  transform: translateX(20px);
}

/* Checklist Features */
.features-checklist {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 18px;
}

.feature-item {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 12.5px;
  color: var(--text-dim);
}

.feature-item.active {
  color: #fff;
  border-color: rgba(245, 158, 11, 0.2);
}

/* ==================== EMBED BUILDER LAYOUT ==================== */
.embed-builder-layout {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 24px;
  align-items: start;
}

.color-picker-wrap {
  display: flex;
  align-items: center;
  gap: 10px;
}

.hex-badge {
  font-family: var(--font-mono);
  font-size: 12px;
  background: #101014;
  padding: 6px 10px;
  border-radius: 6px;
  border: 1px solid var(--border-subtle);
}

/* Discord Mockup */
.preview-title {
  font-size: 13px;
  font-weight: 700;
  color: var(--text-muted);
  letter-spacing: 0.5px;
  margin-bottom: 16px;
}

.discord-message-mockup {
  background: #313338;
  border-radius: 8px;
  padding: 16px;
  display: flex;
  gap: 14px;
  font-family: 'Inter', sans-serif;
}

.mockup-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: #5865F2;
  overflow: hidden;
  flex-shrink: 0;
}

.mockup-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mockup-body {
  flex: 1;
}

.mockup-header {
  display: flex;
  align-items: baseline;
  gap: 6px;
  margin-bottom: 8px;
}

.mockup-name {
  font-size: 14px;
  font-weight: 600;
  color: #fff;
}

.mockup-bot-tag {
  background: #5865F2;
  color: #fff;
  font-size: 9.5px;
  font-weight: 700;
  padding: 1px 4px;
  border-radius: 3px;
}

.mockup-timestamp {
  font-size: 11px;
  color: #949ba4;
}

.discord-embed-box {
  background: #2b2d31;
  border-radius: 4px;
  display: flex;
  overflow: hidden;
  max-width: 520px;
  box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.embed-side-bar {
  width: 4px;
  background-color: var(--amber-gold);
  flex-shrink: 0;
}

.embed-content-wrap {
  padding: 12px 16px;
  display: flex;
  flex-direction: column;
  gap: 8px;
  width: 100%;
}

.embed-author {
  font-size: 12px;
  font-weight: 600;
  color: #fff;
}

.embed-title {
  font-size: 15px;
  font-weight: 700;
  color: #fff;
}

.embed-desc {
  font-size: 13px;
  color: #dbdee1;
  line-height: 1.45;
  white-space: pre-wrap;
}

.embed-image-wrap {
  border-radius: 4px;
  overflow: hidden;
  margin-top: 6px;
}

.embed-image-wrap img {
  max-width: 100%;
  border-radius: 4px;
  display: block;
}

.embed-footer {
  font-size: 11px;
  color: #949ba4;
  margin-top: 4px;
  display: flex;
  align-items: center;
  gap: 4px;
}

/* ==================== COMMANDS CATALOG ==================== */
.search-wrap input {
  background: #101014;
  border: 1px solid var(--border-subtle);
  padding: 8px 14px;
  border-radius: 8px;
  color: #fff;
  font-size: 12.5px;
  width: 220px;
  outline: none;
}

.commands-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.command-card {
  background: #121217;
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 14px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  transition: all 0.2s;
}

.command-card:hover {
  border-color: rgba(245, 158, 11, 0.3);
  background: #181820;
}

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

.command-name {
  font-family: var(--font-mono);
  font-size: 13px;
  font-weight: 700;
  color: var(--amber-gold);
}

.command-desc {
  font-size: 12px;
  color: var(--text-dim);
  line-height: 1.35;
}

.command-opts {
  font-family: var(--font-mono);
  font-size: 10.5px;
  color: var(--text-muted);
  margin-top: 4px;
}

/* Inline Form */
.quick-warn-box {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  border-radius: 10px;
  padding: 16px;
  margin-bottom: 20px;
}

.quick-warn-box h4 {
  font-size: 13px;
  margin-bottom: 12px;
  color: var(--amber-gold);
}

.inline-form {
  display: flex;
  gap: 10px;
}

.inline-form select {
  width: 220px;
}

.inline-form input {
  flex: 1;
  background: #101014;
  border: 1px solid var(--border-subtle);
  border-radius: 8px;
  padding: 8px 12px;
  color: #fff;
  outline: none;
}

/* Alert Boxes */
.status-alert {
  padding: 10px 14px;
  border-radius: 8px;
  font-size: 12.5px;
  margin-top: 12px;
}

.status-alert.success {
  background: rgba(16, 185, 129, 0.15);
  border: 1px solid rgba(16, 185, 129, 0.3);
  color: var(--green-neon);
}

.status-alert.error {
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #ef4444;
}

/* Responsive */
@media (max-width: 1200px) {
  .embed-builder-layout {
    grid-template-columns: 1fr;
  }
  .commands-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 900px) {
  .cols-4, .quick-actions-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  .form-row {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 768px) {
  .app-layout {
    flex-direction: column;
  }
  .sidebar {
    width: 100%;
    height: auto;
    position: relative;
  }
  .main-content {
    padding: 20px;
  }
  .cols-4, .cols-3, .commands-grid {
    grid-template-columns: 1fr;
  }
}
