/* ═══════════════════════════════════════════════════════
   ZentyTeamsCore — Command Center CSS
   Dark Cyber Glassmorphism Theme
   ═══════════════════════════════════════════════════════ */

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

:root {
  --bg-base:       #050912;
  --bg-surface:    #0a1020;
  --bg-card:       rgba(15, 25, 50, 0.7);
  --bg-card-hover: rgba(20, 35, 65, 0.85);
  --border:        rgba(99, 102, 241, 0.18);
  --border-bright: rgba(99, 102, 241, 0.4);

  --red:    #f87171;
  --red-bg: rgba(248, 113, 113, 0.12);
  --blue:   #60a5fa;
  --blue-bg: rgba(96, 165, 250, 0.12);
  --purple: #a78bfa;
  --purple-bg: rgba(167, 139, 250, 0.12);
  --yellow: #fbbf24;
  --yellow-bg: rgba(251, 191, 36, 0.12);
  --green:  #34d399;
  --green-bg: rgba(52, 211, 153, 0.12);

  --text-primary:   #e2e8f0;
  --text-secondary: #94a3b8;
  --text-dim:       #475569;

  --font-ui:   'Inter', sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --sidebar-w: 240px;
  --radius:    12px;
  --radius-sm: 8px;
}

html, body {
  height: 100%; width: 100%;
  background: var(--bg-base);
  color: var(--text-primary);
  font-family: var(--font-ui);
  font-size: 14px;
  overflow: hidden;
}

/* ── BACKGROUND GRID ── */
body::before {
  content: '';
  position: fixed; inset: 0;
  background-image:
    linear-gradient(rgba(99,102,241,0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(99,102,241,0.03) 1px, transparent 1px);
  background-size: 40px 40px;
  pointer-events: none;
}

body::after {
  content: '';
  position: fixed;
  top: -30%; left: -10%;
  width: 60%; height: 60%;
  background: radial-gradient(ellipse, rgba(99,102,241,0.06) 0%, transparent 70%);
  pointer-events: none;
}

/* ═══════════════════════════════
   LAYOUT
   ═══════════════════════════════ */
.sidebar {
  position: fixed; top: 0; left: 0;
  width: var(--sidebar-w);
  height: 100vh;
  background: rgba(5, 9, 18, 0.95);
  border-right: 1px solid var(--border);
  display: flex; flex-direction: column;
  padding: 1.25rem 0;
  backdrop-filter: blur(20px);
  z-index: 100;
}

.main {
  margin-left: var(--sidebar-w);
  height: 100vh;
  display: flex; flex-direction: column;
  overflow: hidden;
}

/* ═══════════════════════════════
   SIDEBAR
   ═══════════════════════════════ */
.sidebar-brand {
  display: flex; align-items: center; gap: 10px;
  padding: 0 1.25rem 1.25rem;
  border-bottom: 1px solid var(--border);
}
.brand-icon { font-size: 1.5rem; }
.brand-name {
  display: block; font-weight: 700; font-size: 0.95rem;
  background: linear-gradient(135deg, #818cf8, #a78bfa);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.brand-sub { display: block; font-size: 0.68rem; color: var(--text-dim); }

.sidebar-status {
  display: flex; align-items: center; gap: 8px;
  padding: 0.6rem 1.25rem;
  font-size: 0.72rem; color: var(--green);
  border-bottom: 1px solid var(--border);
}

.pulse-green {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--green);
  animation: pulse-glow 2s infinite;
}
@keyframes pulse-glow {
  0%,100% { box-shadow: 0 0 0 0 rgba(52,211,153,0.6); }
  50%      { box-shadow: 0 0 0 5px rgba(52,211,153,0); }
}

.sidebar-nav {
  flex: 1; padding: 0.75rem 0.75rem;
  display: flex; flex-direction: column; gap: 3px;
  overflow-y: auto;
}
.nav-item {
  display: flex; align-items: center; gap: 10px;
  padding: 0.55rem 0.75rem;
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.85rem;
  transition: all 0.2s;
  position: relative;
}
.nav-item:hover { background: var(--bg-card); color: var(--text-primary); }
.nav-item.active {
  background: rgba(99,102,241,0.15);
  color: #818cf8;
  border: 1px solid rgba(99,102,241,0.25);
}
.nav-icon { font-size: 1rem; width: 20px; text-align: center; }
.nav-badge {
  margin-left: auto; padding: 1px 7px;
  border-radius: 20px; font-size: 0.7rem; font-weight: 600;
}
.badge-red    { background: var(--red-bg); color: var(--red); }
.badge-blue   { background: var(--blue-bg); color: var(--blue); }
.badge-yellow { background: var(--yellow-bg); color: var(--yellow); }

/* Phase Selector */
.sidebar-phase {
  padding: 1rem 1.25rem;
  border-top: 1px solid var(--border);
}
.phase-label { font-size: 0.7rem; color: var(--text-dim); margin-bottom: 8px; text-transform: uppercase; letter-spacing: 0.05em; }
.phase-selector { display: flex; gap: 5px; margin-bottom: 8px; }
.phase-btn {
  flex: 1; padding: 5px 0;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: transparent; color: var(--text-dim);
  cursor: pointer; font-size: 0.72rem; font-family: var(--font-ui);
  transition: all 0.2s;
}
.phase-btn.active { background: rgba(99,102,241,0.2); color: #818cf8; border-color: rgba(99,102,241,0.4); }
.phase-btn:hover:not(.active) { background: var(--bg-card); color: var(--text-secondary); }
.phase-desc { font-size: 0.68rem; color: var(--text-dim); }

/* ═══════════════════════════════
   TOPBAR
   ═══════════════════════════════ */
.topbar {
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.75rem 1.5rem;
  border-bottom: 1px solid var(--border);
  background: rgba(5,9,18,0.8);
  backdrop-filter: blur(10px);
  flex-shrink: 0;
}
.page-title { font-size: 1.1rem; font-weight: 600; color: var(--text-primary); }
.session-info { font-size: 0.72rem; color: var(--text-dim); margin-top: 2px; }
.topbar-right { display: flex; align-items: center; gap: 12px; }
.connection-status {
  display: flex; align-items: center; gap: 6px;
  font-size: 0.75rem; color: var(--green);
  padding: 4px 10px; border-radius: 20px;
  background: var(--green-bg); border: 1px solid rgba(52,211,153,0.2);
}
.dot { width: 6px; height: 6px; border-radius: 50%; }
.dot-green { background: var(--green); animation: pulse-glow 2s infinite; }

/* ═══════════════════════════════
   PAGES
   ═══════════════════════════════ */
.page { display: none; flex: 1; overflow-y: auto; padding: 1.25rem 1.5rem; flex-direction: column; gap: 1rem; }
.page.active { display: flex; }

/* ═══════════════════════════════
   GLASS CARDS
   ═══════════════════════════════ */
.glass-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.1rem 1.25rem;
  backdrop-filter: blur(12px);
  transition: border-color 0.2s;
}
.glass-card:hover { border-color: var(--border-bright); }
.glass-inner { background: rgba(255,255,255,0.03); border-radius: var(--radius-sm); padding: 1rem; }
.card-header {
  font-size: 0.82rem; font-weight: 600;
  color: var(--text-secondary);
  text-transform: uppercase; letter-spacing: 0.06em;
  margin-bottom: 1rem;
  display: flex; align-items: center; justify-content: space-between;
}
.pulse-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--green); animation: pulse-glow 1.5s infinite;
}

/* ═══════════════════════════════
   STATS GRID
   ═══════════════════════════════ */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 1rem;
  flex-shrink: 0;
}
.stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 1.1rem 1.25rem;
  display: flex; align-items: center; gap: 1rem;
  transition: all 0.2s;
}
.stat-card:hover { transform: translateY(-2px); }
.card-red    { border-left: 3px solid var(--red);    }
.card-blue   { border-left: 3px solid var(--blue);   }
.card-yellow { border-left: 3px solid var(--yellow); }
.card-purple { border-left: 3px solid var(--purple); }
.stat-icon { font-size: 1.5rem; }
.stat-value { font-size: 1.8rem; font-weight: 700; font-family: var(--font-mono); line-height: 1; }
.stat-label { font-size: 0.72rem; color: var(--text-dim); margin-top: 3px; }
.stat-trend { margin-left: auto; font-size: 0.7rem; color: var(--text-dim); }

/* Defense Bar */
.defense-bar-section { flex-shrink: 0; }
.defense-bar-header {
  display: flex; justify-content: space-between;
  font-size: 0.82rem; margin-bottom: 8px; color: var(--text-secondary);
}
.defense-rate-value { font-family: var(--font-mono); font-weight: 600; color: var(--green); }
.defense-bar-track {
  height: 8px; border-radius: 4px;
  background: rgba(255,255,255,0.05);
  overflow: hidden; margin-bottom: 6px;
}
.defense-bar-fill {
  height: 100%; border-radius: 4px;
  background: linear-gradient(90deg, var(--red), var(--yellow), var(--green));
  transition: width 0.8s ease;
}
.defense-bar-labels {
  display: flex; justify-content: space-between;
  font-size: 0.65rem; color: var(--text-dim);
}

/* Dashboard Grid */
.dashboard-grid {
  display: grid; grid-template-columns: 1fr 320px; gap: 1rem;
  flex: 1; min-height: 0;
}
.feed-card, .ecosystem-card { overflow: hidden; display: flex; flex-direction: column; }
.feed-list, .event-log {
  flex: 1; overflow-y: auto;
  display: flex; flex-direction: column; gap: 5px;
  padding-right: 4px;
}
.feed-empty { color: var(--text-dim); font-size: 0.8rem; text-align: center; padding: 2rem; }

/* Feed items */
.feed-item {
  display: flex; align-items: flex-start; gap: 8px;
  padding: 7px 10px; border-radius: 8px;
  font-size: 0.78rem; animation: slide-in 0.3s ease;
}
@keyframes slide-in { from { opacity:0; transform: translateX(-10px); } to { opacity:1; transform: translateX(0); } }
.feed-item.feed-red    { background: var(--red-bg);    border-left: 2px solid var(--red); }
.feed-item.feed-blue   { background: var(--blue-bg);   border-left: 2px solid var(--blue); }
.feed-item.feed-purple { background: var(--purple-bg); border-left: 2px solid var(--purple); }
.feed-item.feed-yellow { background: var(--yellow-bg); border-left: 2px solid var(--yellow); }
.feed-time { font-family: var(--font-mono); font-size: 0.65rem; color: var(--text-dim); white-space: nowrap; margin-top: 1px; }
.feed-content { flex: 1; }
.feed-label { font-weight: 600; }
.feed-detail { color: var(--text-secondary); font-size: 0.72rem; }
.result-badge {
  font-size: 0.65rem; padding: 2px 6px; border-radius: 4px;
  font-family: var(--font-mono); font-weight: 600; white-space: nowrap;
}
.badge-breached { background: rgba(248,113,113,0.2); color: var(--red); }
.badge-blocked  { background: rgba(96,165,250,0.2);  color: var(--blue); }
.badge-partial  { background: rgba(251,191,36,0.2);  color: var(--yellow); }
.badge-ok       { background: rgba(52,211,153,0.2);  color: var(--green); }

/* Ecosystem List */
.ecosystem-list { display: flex; flex-direction: column; gap: 5px; overflow-y: auto; flex: 1; }
.eco-item {
  display: flex; align-items: center; justify-content: space-between;
  padding: 6px 10px; border-radius: 7px;
  font-size: 0.78rem;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.05);
}
.eco-name { font-weight: 500; }
.eco-status { font-size: 0.68rem; }
.eco-online  { color: var(--green); }
.eco-offline { color: var(--text-dim); }
.eco-warning { color: var(--yellow); }

/* Vector Grid */
.vector-grid {
  display: grid; grid-template-columns: repeat(auto-fill, minmax(130px, 1fr)); gap: 8px;
}
.vector-item {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: 8px; padding: 8px 10px;
  text-align: center; font-size: 0.72rem;
}
.vector-count { font-size: 1.2rem; font-weight: 700; font-family: var(--font-mono); color: var(--red); }
.vector-name  { color: var(--text-dim); font-size: 0.65rem; margin-top: 2px; }

/* ═══════════════════════════════
   FORMS
   ═══════════════════════════════ */
.form-group { margin-bottom: 0.75rem; }
.form-group label { display: block; font-size: 0.72rem; color: var(--text-dim); margin-bottom: 5px; text-transform: uppercase; letter-spacing: 0.04em; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; }
.form-group.half {}
.input-field {
  width: 100%; padding: 8px 12px;
  background: rgba(255,255,255,0.04);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-primary); font-size: 0.83rem;
  font-family: var(--font-ui); outline: none;
  transition: border-color 0.2s;
}
.input-field:focus { border-color: rgba(99,102,241,0.5); }
.input-field option { background: #0a1020; }
.textarea-field { resize: vertical; font-family: var(--font-ui); }

/* ═══════════════════════════════
   BUTTONS
   ═══════════════════════════════ */
.btn-primary, .btn-red, .btn-blue, .btn-purple, .btn-yellow, .btn-danger {
  padding: 9px 18px; border-radius: var(--radius-sm);
  font-family: var(--font-ui); font-size: 0.83rem; font-weight: 600;
  cursor: pointer; border: none; transition: all 0.2s;
  display: inline-flex; align-items: center; gap: 6px;
}
.btn-primary { background: rgba(99,102,241,0.2); color: #818cf8; border: 1px solid rgba(99,102,241,0.3); }
.btn-primary:hover { background: rgba(99,102,241,0.35); }
.btn-red     { background: var(--red-bg);    color: var(--red);    border: 1px solid rgba(248,113,113,0.3); }
.btn-red:hover { background: rgba(248,113,113,0.25); }
.btn-blue    { background: var(--blue-bg);   color: var(--blue);   border: 1px solid rgba(96,165,250,0.3); }
.btn-blue:hover { background: rgba(96,165,250,0.25); }
.btn-purple  { background: var(--purple-bg); color: var(--purple); border: 1px solid rgba(167,139,250,0.3); }
.btn-purple:hover { background: rgba(167,139,250,0.25); }
.btn-yellow  { background: var(--yellow-bg); color: var(--yellow); border: 1px solid rgba(251,191,36,0.3); }
.btn-yellow:hover { background: rgba(251,191,36,0.25); }
.btn-danger  { background: rgba(239,68,68,0.15); color: #f87171; border: 1px solid rgba(239,68,68,0.3); }
.full-width  { width: 100%; justify-content: center; }
.hidden      { display: none !important; }

/* ═══════════════════════════════
   MISSION / SETTINGS LAYOUTS
   ═══════════════════════════════ */
.mission-layout, .settings-layout { display: grid; grid-template-columns: 380px 1fr; gap: 1rem; align-items: start; }
.mission-right { display: flex; flex-direction: column; gap: 1rem; }
.red-grid, .blue-grid, .dark-grid { display: grid; grid-template-columns: 380px 1fr; gap: 1rem; align-items: start; }
.report-layout { display: grid; grid-template-columns: 1fr 300px; gap: 1rem; align-items: start; }

/* Phase Detail */
.active-phase { padding: 12px; border-radius: 8px; background: rgba(99,102,241,0.08); border: 1px solid rgba(99,102,241,0.2); }
.phase-number { font-size: 0.65rem; color: var(--purple); text-transform: uppercase; letter-spacing: 0.1em; }
.phase-name   { font-size: 1rem; font-weight: 700; margin: 4px 0; }
.phase-info   { font-size: 0.78rem; color: var(--text-secondary); margin-bottom: 10px; }
.phase-teams  { display: flex; gap: 6px; flex-wrap: wrap; }
.team-chip    { font-size: 0.7rem; padding: 3px 9px; border-radius: 20px; }
.chip-red     { background: var(--red-bg);    color: var(--red); }
.chip-blue    { background: var(--blue-bg);   color: var(--blue); }
.chip-purple  { background: var(--purple-bg); color: var(--purple); }
.chip-off     { background: rgba(255,255,255,0.05); color: var(--text-dim); }

/* Consent */
.consent-check { display: flex; flex-direction: column; gap: 8px; margin-bottom: 12px; }
.checkbox-label { display: flex; align-items: flex-start; gap: 8px; font-size: 0.8rem; color: var(--text-secondary); cursor: pointer; }
.checkbox-label input { margin-top: 2px; }
.consent-warning { font-size: 0.72rem; color: var(--yellow); padding: 8px 10px; background: var(--yellow-bg); border-radius: 6px; border: 1px solid rgba(251,191,36,0.2); }

/* Report Types */
.report-types { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 1rem; }
.report-type-btn {
  background: rgba(255,255,255,0.04); border: 1px solid var(--border);
  border-radius: 8px; padding: 10px; cursor: pointer; color: var(--text-secondary);
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  font-family: var(--font-ui); transition: all 0.2s;
}
.report-type-btn span:first-child { font-size: 1.2rem; }
.report-type-btn span:nth-child(2) { font-weight: 600; font-size: 0.8rem; color: var(--text-primary); }
.report-type-btn small { font-size: 0.65rem; text-align: center; }
.report-type-btn.active { border-color: rgba(167,139,250,0.4); background: var(--purple-bg); }
.report-type-btn:hover:not(.active) { background: var(--bg-card-hover); }
.report-summary { font-size: 0.8rem; color: var(--text-secondary); min-height: 80px; margin-bottom: 1rem; }

/* Merkle */
.merkle-info { display: flex; flex-direction: column; gap: 10px; }
.merkle-stat { display: flex; justify-content: space-between; align-items: center; font-size: 0.8rem; }
.merkle-label { color: var(--text-dim); }
.merkle-value { font-family: var(--font-mono); font-size: 0.75rem; }

/* Ecosystem Full Grid */
.eco-full-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(220px,1fr)); gap: 1rem; }
.eco-full-card {
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); padding: 1rem;
  transition: all 0.2s;
}
.eco-full-card:hover { transform: translateY(-3px); border-color: var(--border-bright); }
.eco-full-icon { font-size: 1.5rem; margin-bottom: 8px; }
.eco-full-name { font-weight: 600; font-size: 0.9rem; margin-bottom: 4px; }
.eco-full-desc { font-size: 0.72rem; color: var(--text-dim); margin-bottom: 10px; }
.eco-full-tags { display: flex; gap: 4px; flex-wrap: wrap; }
.eco-tag { font-size: 0.62rem; padding: 2px 7px; border-radius: 20px; background: rgba(99,102,241,0.12); color: #818cf8; }
.eco-tag.openapi-tag { background: rgba(56, 189, 248, 0.15); color: #38bdf8; border: 1px solid rgba(56, 189, 248, 0.3); }

/* Ecosystem Category Filter Tabs */
.eco-filter-btn {
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #94a3b8;
  font-size: 0.75rem;
  font-weight: 600;
  padding: 6px 14px;
  border-radius: 20px;
  cursor: pointer;
  transition: all 0.2s ease;
}
.eco-filter-btn:hover {
  color: #f1f5f9;
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(56, 189, 248, 0.4);
}
.eco-filter-btn.active {
  background: linear-gradient(135deg, rgba(2, 132, 199, 0.3), rgba(99, 102, 241, 0.3));
  border-color: #38bdf8;
  color: #38bdf8;
  box-shadow: 0 0 12px rgba(56, 189, 248, 0.2);
}

/* Modal Openapi Code Box */
.mesh-code-block {
  background: #090d16;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  padding: 10px 12px;
  font-family: var(--font-mono, monospace);
  font-size: 0.72rem;
  color: #cbd5e1;
  overflow-x: auto;
  line-height: 1.45;
  white-space: pre-wrap;
  word-break: break-all;
}

/* About */
.about-info { display: flex; flex-direction: column; gap: 8px; margin-bottom: 1rem; }
.about-row { display: flex; justify-content: space-between; font-size: 0.8rem; }
.about-row span:first-child { color: var(--text-dim); }
.about-footer { font-size: 0.72rem; color: var(--text-dim); text-align: center; border-top: 1px solid var(--border); padding-top: 10px; }
.mono { font-family: var(--font-mono); font-size: 0.75rem; }

/* Setting Result */
.setting-result { margin-top: 8px; font-size: 0.78rem; min-height: 20px; text-align: center; }

/* Scrollbar */
::-webkit-scrollbar { width: 4px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(99,102,241,0.25); border-radius: 2px; }
::-webkit-scrollbar-thumb:hover { background: rgba(99,102,241,0.5); }

/* ═══════════════════════════════
   LOCAL LICENSE & SETTINGS STYLES
   ═══════════════════════════════ */
.settings-layout {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 1.25rem;
  align-items: start;
}

.settings-right-column {
  display: flex;
  flex-direction: column;
}

.topbar-license-badge {
  display: flex;
  align-items: center;
  gap: 6px;
  background: rgba(99, 102, 241, 0.14);
  border: 1px solid rgba(99, 102, 241, 0.35);
  padding: 5px 12px;
  border-radius: 20px;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.05em;
  color: #c7d2fe;
}

.topbar-license-badge.active-pro {
  background: rgba(168, 85, 247, 0.18);
  border-color: rgba(168, 85, 247, 0.4);
  color: #c084fc;
}

.topbar-license-badge.active-ent {
  background: rgba(56, 189, 248, 0.18);
  border-color: rgba(56, 189, 248, 0.45);
  color: #38bdf8;
}

.topbar-license-badge.active-gov {
  background: rgba(244, 63, 94, 0.18);
  border-color: rgba(244, 63, 94, 0.5);
  color: #fb7185;
}

.license-management-card {
  border-color: rgba(99, 102, 241, 0.35);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.37);
}

.license-status-badge {
  font-size: 0.7rem;
  font-weight: 700;
  padding: 3px 10px;
  border-radius: 12px;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.license-status-badge.status-active {
  background: var(--green-bg);
  color: var(--green);
  border: 1px solid rgba(52, 211, 153, 0.3);
}

.license-status-badge.status-unregistered {
  background: var(--yellow-bg);
  color: var(--yellow);
  border: 1px solid rgba(251, 191, 36, 0.3);
}

.license-status-badge.status-tampered {
  background: var(--red-bg);
  color: var(--red);
  border: 1px solid rgba(248, 113, 113, 0.3);
}

.input-with-action {
  display: flex;
  gap: 8px;
  align-items: center;
}

.field-hint {
  display: block;
  font-size: 0.68rem;
  color: var(--text-dim);
  margin-top: 4px;
}

.btn-sm {
  padding: 7px 12px;
  font-size: 0.75rem;
}

.license-details-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  padding: 10px 12px;
  margin: 12px 0;
}

.license-detail-item {
  display: flex;
  flex-direction: column;
  gap: 3px;
}

.license-detail-item.full-row {
  grid-column: 1 / -1;
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 6px;
  margin-top: 2px;
}

.detail-label {
  font-size: 0.65rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-dim);
}

.detail-value {
  font-size: 0.8rem;
  font-weight: 600;
  color: var(--text-primary);
}

.tier-badge {
  color: #a78bfa;
}

.module-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
}

.mod-chip {
  font-size: 0.7rem;
  padding: 4px 10px;
  border-radius: 20px;
  border: 1px solid transparent;
  transition: all 0.2s;
}

.mod-chip.active {
  background: rgba(99, 102, 241, 0.15);
  color: #c7d2fe;
  border-color: rgba(99, 102, 241, 0.35);
  box-shadow: 0 0 8px rgba(99, 102, 241, 0.15);
}

.mod-chip.inactive {
  background: rgba(255, 255, 255, 0.03);
  color: var(--text-dim);
  opacity: 0.5;
  border-color: rgba(255, 255, 255, 0.05);
}

.license-btn-row {
  display: flex;
  gap: 8px;
  margin-top: 12px;
}

.btn-secondary {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--border);
  color: var(--text-primary);
  padding: 9px 14px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 500;
  transition: all 0.2s;
}
.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: var(--border-bright);
}

.btn-danger-outline {
  background: transparent;
  border: 1px solid rgba(248, 113, 113, 0.3);
  color: var(--red);
  padding: 9px 14px;
  border-radius: var(--radius-sm);
  cursor: pointer;
  font-size: 0.8rem;
  font-weight: 500;
  transition: all 0.2s;
}
.btn-danger-outline:hover {
  background: var(--red-bg);
  border-color: var(--red);
}

.license-alert {
  margin-top: 10px;
  font-size: 0.78rem;
  min-height: 20px;
  line-height: 1.4;
  padding: 6px 10px;
  border-radius: 6px;
  display: none;
}
.license-alert.show-success {
  display: block;
  background: var(--green-bg);
  color: var(--green);
  border: 1px solid rgba(52, 211, 153, 0.3);
}
.license-alert.show-error {
  display: block;
  background: var(--red-bg);
  color: var(--red);
  border: 1px solid rgba(248, 113, 113, 0.3);
}

/* Locked Badge in Sidebar */
.badge-locked {
  background: rgba(239, 68, 68, 0.15);
  color: #f87171;
  border: 1px solid rgba(239, 68, 68, 0.3);
  font-size: 0.65rem;
}

/* Locked Module Barrier Screen */
.module-locked-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 400px;
  background: radial-gradient(circle at center, rgba(30, 41, 59, 0.6) 0%, rgba(15, 23, 42, 0.85) 100%);
  border: 1px dashed rgba(239, 68, 68, 0.35);
  border-radius: var(--radius-lg);
  padding: 3rem 2rem;
  text-align: center;
  margin: 1rem 0;
  backdrop-filter: blur(12px);
}

.module-locked-container .lock-huge-icon {
  font-size: 3.5rem;
  margin-bottom: 1rem;
  filter: drop-shadow(0 0 20px rgba(239, 68, 68, 0.5));
  animation: lock-pulse-anim 2.5s infinite ease-in-out;
}

@keyframes lock-pulse-anim {
  0%, 100% { transform: scale(1); filter: drop-shadow(0 0 15px rgba(239,68,68,0.4)); }
  50% { transform: scale(1.08); filter: drop-shadow(0 0 25px rgba(239,68,68,0.8)); }
}

.module-locked-container h3 {
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 0.5rem;
}

.module-locked-container p {
  font-size: 0.88rem;
  color: #94a3b8;
  max-width: 520px;
  line-height: 1.6;
  margin-bottom: 1.25rem;
}

.module-locked-container .tier-pill {
  display: inline-block;
  padding: 0.25rem 0.8rem;
  background: rgba(239, 68, 68, 0.15);
  border: 1px solid rgba(239, 68, 68, 0.3);
  color: #fca5a5;
  border-radius: 9999px;
  font-size: 0.75rem;
  font-weight: 600;
  margin-bottom: 1rem;
}

/* ═══════════════════════════════════════════════════════
   SOVEREIGN AUTH LOCK GATE OVERLAY
   ═══════════════════════════════════════════════════════ */
.auth-gate-overlay {
  position: fixed; inset: 0; z-index: 999999;
  background: radial-gradient(circle at center, rgba(10, 16, 32, 0.96) 0%, rgba(4, 7, 15, 0.99) 100%);
  backdrop-filter: blur(16px);
  display: flex; align-items: center; justify-content: center;
  padding: 1.5rem;
}
.auth-gate-card {
  background: rgba(13, 20, 38, 0.92);
  border: 1px solid rgba(56, 189, 248, 0.35);
  border-radius: 16px;
  box-shadow: 0 0 50px rgba(56, 189, 248, 0.15), 0 25px 50px rgba(0, 0, 0, 0.85);
  width: 100%; max-width: 440px;
  padding: 2.2rem;
  text-align: center;
}
.auth-gate-icon { font-size: 2.6rem; margin-bottom: 0.75rem; }
.auth-gate-title { font-size: 1.35rem; font-weight: 800; color: #f8fafc; letter-spacing: -0.5px; }
.auth-gate-sub { font-size: 0.75rem; font-weight: 700; color: #38bdf8; text-transform: uppercase; letter-spacing: 1px; margin-top: 0.3rem; margin-bottom: 1rem; }
.auth-gate-desc { font-size: 0.82rem; color: #94a3b8; line-height: 1.5; margin-bottom: 1.5rem; text-align: justify; }
.gate-form-group { text-align: left; margin-bottom: 1rem; }
.gate-form-group label { display: block; font-size: 0.78rem; font-weight: 600; color: #cbd5e1; margin-bottom: 0.35rem; }
.gate-input { width: 100%; padding: 0.7rem 0.9rem; background: rgba(0, 0, 0, 0.5); border: 1px solid rgba(255, 255, 255, 0.14); border-radius: 8px; color: #fff; font-size: 0.88rem; outline: none; transition: all 0.2s; box-sizing: border-box; }
.gate-input:focus { border-color: #38bdf8; box-shadow: 0 0 12px rgba(56, 189, 248, 0.35); }
.btn-gate-primary { width: 100%; padding: 0.75rem; background: linear-gradient(135deg, #0284c7, #2563eb); border: none; border-radius: 8px; color: #fff; font-weight: 700; font-size: 0.9rem; cursor: pointer; transition: opacity 0.2s; margin-top: 0.5rem; }
.btn-gate-primary:hover { opacity: 0.9; }
.btn-gate-primary:disabled { opacity: 0.6; cursor: not-allowed; }
.gate-alert { padding: 0.65rem 0.9rem; border-radius: 8px; font-size: 0.8rem; margin-bottom: 1rem; text-align: left; }
.gate-alert-error { background: rgba(239, 68, 68, 0.15); border: 1px solid rgba(239, 68, 68, 0.4); color: #fca5a5; }
.gate-alert-success { background: rgba(16, 185, 129, 0.15); border: 1px solid rgba(16, 185, 129, 0.4); color: #6ee7b7; }
.gate-footer-links { margin-top: 1.5rem; font-size: 0.8rem; color: #64748b; }
.gate-link { color: #94a3b8; text-decoration: none; transition: color 0.2s; }
.gate-link:hover { color: #38bdf8; text-decoration: underline; }
.gate-dot { margin: 0 0.5rem; }

/* ═══════════════════════════════════════════════════════
   MY PROFILE & ACCOUNT SECURITY STYLES
   ═══════════════════════════════════════════════════════ */
.profile-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1.25rem;
  margin-bottom: 1.5rem;
}
@media (max-width: 900px) {
  .profile-grid {
    grid-template-columns: 1fr;
  }
}
.profile-info-table {
  width: 100%;
  border-collapse: collapse;
}
.profile-info-table td {
  padding: 0.65rem 0.5rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  font-size: 0.82rem;
}
.profile-info-table td:first-child {
  color: #94a3b8;
  font-weight: 500;
  width: 38%;
}
.profile-info-table td:last-child {
  color: #f1f5f9;
  font-weight: 600;
}
.profile-avatar-banner {
  display: flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.25rem;
  background: linear-gradient(135deg, rgba(30, 58, 138, 0.25), rgba(15, 23, 42, 0.6));
  border: 1px solid rgba(56, 189, 248, 0.25);
  border-radius: 12px;
  margin-bottom: 1.25rem;
}
.profile-avatar-circle {
  width: 64px;
  height: 64px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0284c7, #6366f1);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2rem;
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.35);
  border: 2px solid rgba(255, 255, 255, 0.2);
}
.pw-strength-meter {
  height: 5px;
  width: 100%;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 3px;
  margin-top: 0.4rem;
  overflow: hidden;
}
.pw-strength-fill {
  height: 100%;
  width: 0%;
  transition: all 0.3s ease;
  border-radius: 3px;
}
.pw-req-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  font-size: 0.72rem;
  color: #94a3b8;
  margin-top: 0.25rem;
}
.pw-req-item.met {
  color: #34d399;
}
.pw-req-item.met span::before {
  content: '✓ ';
}
.pw-input-wrapper {
  position: relative;
  display: flex;
  align-items: center;
}
.pw-toggle-btn {
  position: absolute;
  right: 10px;
  background: none;
  border: none;
  color: #94a3b8;
  cursor: pointer;
  font-size: 0.9rem;
  padding: 4px;
}
.pw-toggle-btn:hover {
  color: #38bdf8;
}

/* ═══════════════════════════════════════════════════════
   P5: RTL (Arabic) & Global Internationalization Styles
   ═══════════════════════════════════════════════════════ */
html[dir="rtl"], body.rtl-layout {
  direction: rtl;
  text-align: right;
}

html[dir="rtl"] .sidebar {
  border-right: none;
  border-left: 1px solid var(--border);
}

html[dir="rtl"] .sidebar-nav .nav-item {
  flex-direction: row-reverse;
}

html[dir="rtl"] .topbar-right {
  margin-left: 0;
  margin-right: auto;
}

html[dir="rtl"] .topbar-left {
  margin-right: 0;
  margin-left: auto;
}

/* ═══════════════════════════════════════════════════════
   RESPONSIVE LAYOUT & MOBILE DRAWER (SMALL SCREENS)
   ═══════════════════════════════════════════════════════ */
.btn-close-sidebar {
  display: none;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid rgba(255, 255, 255, 0.15);
  color: #94a3b8;
  border-radius: 6px;
  width: 28px;
  height: 28px;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  margin-left: auto;
  font-size: 0.9rem;
  transition: all 0.2s;
}
.btn-close-sidebar:hover {
  background: rgba(239, 68, 68, 0.2);
  color: #f87171;
  border-color: rgba(239, 68, 68, 0.4);
}

.btn-hamburger {
  display: none;
  background: rgba(14, 165, 233, 0.15);
  border: 1px solid rgba(56, 189, 248, 0.4);
  color: #38bdf8;
  border-radius: 8px;
  padding: 0.4rem 0.75rem;
  font-size: 1.25rem;
  line-height: 1;
  cursor: pointer;
  margin-right: 0.75rem;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: 0 0 10px rgba(56, 189, 248, 0.2);
}
.btn-hamburger:hover {
  background: rgba(56, 189, 248, 0.25);
  border-color: #38bdf8;
  color: #fff;
  box-shadow: 0 0 15px rgba(56, 189, 248, 0.5);
  transform: scale(1.05);
}

.sidebar-backdrop {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  z-index: 99998;
}

.btn-install-pwa {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: rgba(14, 165, 233, 0.15);
  border: 1px solid rgba(56, 189, 248, 0.45);
  color: #38bdf8;
  font-weight: 700;
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.2s ease;
  white-space: nowrap;
}
.btn-install-pwa:hover {
  background: rgba(14, 165, 233, 0.3);
  border-color: #38bdf8;
  color: #fff;
  box-shadow: 0 0 15px rgba(56, 189, 248, 0.4);
}

/* ══════════════════════════════════════════════════════════════════════
   P11: SOVEREIGN MOBILE & PWA SLIDE-OVER DRAWER (ACCESS ALL 12 MODULES)
   ══════════════════════════════════════════════════════════════════════ */

/* Hidden on desktop by default */
.btn-topbar-drawer-toggle {
  display: none !important;
}

.btn-drawer-close {
  display: none !important;
}

.mobile-drawer-backdrop {
  display: none;
}

/* RESPONSIVE BREAKPOINT UNTUK SMARTPHONE & TABLET (ANDROID / IOS / PWA) */
@media (max-width: 900px) {
  /* SOVEREIGN SLIDE-OVER DRAWER: SLIDE DARI KIRI KE ATAS LAYAR DENGAN SEMUA 12 MODUL */
  .sidebar {
    display: flex !important;
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    bottom: 0 !important;
    height: 100vh !important;
    width: 290px !important;
    max-width: 85vw !important;
    z-index: 100000 !important;
    transform: translateX(-100%) !important;
    transition: transform 0.28s cubic-bezier(0.4, 0, 0.2, 1) !important;
    box-shadow: 0 0 60px rgba(0, 0, 0, 0.95) !important;
    background: rgba(8, 14, 28, 0.98) !important;
    backdrop-filter: blur(24px) !important;
    -webkit-backdrop-filter: blur(24px) !important;
    border-right: 1px solid rgba(56, 189, 248, 0.35) !important;
  }

  .sidebar.mobile-drawer-open {
    transform: translateX(0) !important;
  }

  .btn-drawer-close {
    display: flex !important;
    margin-left: auto !important;
    background: rgba(255, 255, 255, 0.08) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important;
    color: #e2e8f0 !important;
    width: 32px !important;
    height: 32px !important;
    border-radius: 8px !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    font-size: 1rem !important;
    line-height: 1 !important;
  }

  .mobile-drawer-backdrop {
    position: fixed !important;
    inset: 0 !important;
    background: rgba(0, 0, 0, 0.75) !important;
    backdrop-filter: blur(4px) !important;
    -webkit-backdrop-filter: blur(4px) !important;
    z-index: 99998 !important;
    display: none;
  }

  .mobile-drawer-backdrop.active {
    display: block !important;
  }

  .btn-topbar-drawer-toggle {
    display: inline-flex !important;
    align-items: center !important;
    gap: 0.35rem !important;
    background: rgba(56, 189, 248, 0.15) !important;
    border: 1px solid rgba(56, 189, 248, 0.4) !important;
    color: #38bdf8 !important;
    padding: 0.35rem 0.65rem !important;
    border-radius: 8px !important;
    font-size: 0.8rem !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    flex-shrink: 0 !important;
  }

  html, body {
    height: auto !important;
    min-height: 100% !important;
    overflow-x: hidden !important;
    overflow-y: auto !important;
    padding: 0 !important;
    margin: 0 !important;
    -webkit-overflow-scrolling: touch !important;
  }

  .main {
    margin-left: 0 !important;
    width: 100% !important;
    max-width: 100vw !important;
    height: auto !important;
    min-height: 100vh !important;
    display: flex !important;
    flex-direction: column !important;
    overflow: visible !important;
    padding: 0 !important;
  }

  /* TOPBAR MOBILE: TIDAK STICKY, SELURUH ITEM TAMPIL PENUH TANPA ADA YANG HILANG */
  .topbar {
    display: flex !important;
    flex-direction: column !important;
    align-items: stretch !important;
    padding: 0.75rem 0.85rem !important;
    gap: 0.65rem !important;
    background: rgba(8, 14, 28, 0.98) !important;
    border-bottom: 1px solid var(--border) !important;
    position: static !important; /* TIDAK ADA STICKY */
    width: 100% !important;
    box-sizing: border-box !important;
  }

  .topbar-left {
    display: flex !important;
    align-items: center !important;
    gap: 0.75rem !important;
    width: 100% !important;
  }

  .topbar-left .page-title {
    font-size: 1.15rem !important;
    font-weight: 700 !important;
  }

  .topbar-left .session-info {
    font-size: 0.7rem !important;
  }

  /* SELURUH STATUS, BADGE LISENSI, SESI, PROFIL, DAN TOMBOL KELUAR TAMPIL PENUH */
  .topbar-right {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important;
    gap: 6px 8px !important;
    align-items: center !important;
    justify-content: flex-start !important;
    width: 100% !important;
    overflow: visible !important;
    padding: 0 !important;
    margin: 0 !important;
  }

  .topbar-right > * {
    flex-shrink: 0 !important;
    font-size: 0.74rem !important;
    padding: 0.32rem 0.62rem !important;
    box-sizing: border-box !important;
  }

  /* HALAMAN KONTEN UTAMA: SCROLL ALAMI PENUH TANPA BOTTOM BAR */
  .page {
    display: none;
    width: 100% !important;
    max-width: 100vw !important;
    box-sizing: border-box !important;
    padding: 1rem 0.85rem 3rem 0.85rem !important;
    gap: 1rem !important;
    overflow: visible !important;
    height: auto !important;
    min-height: calc(100vh - 120px) !important;
  }

  .page.active {
    display: flex !important;
    flex-direction: column !important;
  }

  /* STATS GRID 2 KOLOM RAMPING */
  .stats-grid {
    display: grid !important;
    grid-template-columns: 1fr 1fr !important;
    gap: 0.5rem !important;
  }

  .stat-card {
    padding: 0.65rem 0.75rem !important;
    border-radius: 10px !important;
    gap: 0.5rem !important;
  }

  .stat-card .stat-icon {
    font-size: 1.3rem !important;
  }

  .stat-card .stat-value {
    font-size: 1.25rem !important;
  }

  .stat-card .stat-label {
    font-size: 0.68rem !important;
  }

  .glass-card {
    padding: 0.85rem !important;
    box-sizing: border-box !important;
    width: 100% !important;
    overflow-x: hidden !important;
  }

  /* SEMUA TATA LETAK GRID BERUBAH MENJADI 1 KOLOM VERTIKAL TERATUR */
  .mission-layout,
  .settings-layout,
  .grid-2,
  .grid-3 {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    gap: 1rem !important;
  }

  .mission-right {
    display: flex !important;
    flex-direction: column !important;
    width: 100% !important;
    gap: 1rem !important;
  }

  .mission-form-card,
  .phase-detail-card,
  .consent-card {
    width: 100% !important;
    max-width: 100% !important;
    box-sizing: border-box !important;
  }

  /* Tactical Rescue grid di dalam Mission Control */
  #page-mission [style*="grid-template-columns"] {
    grid-template-columns: 1fr !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 0.85rem !important;
  }

  /* Settings grid internal */
  #page-settings [style*="grid-template-columns"] {
    grid-template-columns: 1fr !important;
    display: flex !important;
    flex-direction: column !important;
    gap: 0.75rem !important;
  }

  /* DIALOG OVERLAY DARURAT */
  .killswitch-dialog {
    max-height: 90vh !important;
    overflow-y: auto !important;
    margin: 1rem auto !important;
  }
}

@media (max-width: 580px) {
  .stats-grid {
    grid-template-columns: 1fr !important;
  }

  .topbar-right {
    width: 100% !important;
    justify-content: flex-start !important;
    flex-wrap: wrap !important;
  }
}

/* Remote Kill-Switch Emergency Modal Overlay */
.killswitch-modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(5, 7, 15, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  z-index: 100000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1rem;
  animation: fadeIn 0.2s ease-out;
}

.killswitch-dialog {
  background: linear-gradient(145deg, #18080c, #0d111d);
  border: 2px solid rgba(239, 68, 68, 0.5);
  box-shadow: 0 0 40px rgba(239, 68, 68, 0.35);
  border-radius: 16px;
  max-width: 540px;
  width: 100%;
  padding: 1.5rem;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.killswitch-dialog::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: linear-gradient(90deg, #ef4444, #f59e0b, #ef4444);
  background-size: 200% 100%;
  animation: hazard-stripe 3s linear infinite;
}

@keyframes hazard-stripe {
  0% { background-position: 0% 0; }
  100% { background-position: 200% 0; }
}

.killswitch-header {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  margin-bottom: 1rem;
}

.killswitch-icon-box {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: rgba(239, 68, 68, 0.2);
  border: 1px solid rgba(239, 68, 68, 0.5);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}

.killswitch-title {
  font-size: 1.15rem;
  font-weight: 800;
  color: #f87171;
  letter-spacing: 0.02em;
  margin: 0;
}

.killswitch-subtitle {
  font-size: 0.75rem;
  color: #94a3b8;
  margin-top: 2px;
}

.killswitch-action-card {
  background: rgba(0, 0, 0, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  padding: 0.85rem;
  margin-bottom: 1rem;
}

.killswitch-actions-select {
  width: 100%;
  background: #111827;
  color: #fca5a5;
  border: 1px solid rgba(239, 68, 68, 0.4);
  border-radius: 8px;
  padding: 0.6rem 0.8rem;
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  outline: none;
}

.killswitch-confirm-box {
  background: rgba(239, 68, 68, 0.1);
  border: 1px dashed rgba(239, 68, 68, 0.4);
  border-radius: 8px;
  padding: 0.75rem;
  margin-bottom: 1.25rem;
  display: flex;
  align-items: center;
  gap: 0.6rem;
  font-size: 0.78rem;
  color: #fca5a5;
}

.btn-execute-killswitch {
  width: 100%;
  background: linear-gradient(135deg, #dc2626, #b91c1c);
  color: #fff;
  border: none;
  border-radius: 8px;
  padding: 0.8rem;
  font-size: 0.9rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  box-shadow: 0 4px 20px rgba(220, 38, 38, 0.5);
  transition: all 0.2s;
}

.btn-execute-killswitch:hover {
  filter: brightness(1.15);
  box-shadow: 0 4px 25px rgba(220, 38, 38, 0.7);
}

.btn-execute-killswitch:disabled {
  opacity: 0.5;
  cursor: not-allowed;
  filter: none;
}


