:root {
  /* Cyberpunk Neon Theme (Green & Cyan / Electric Blue) */
  --cyber-bg: #060b13;
  --cyber-surface: #0a111e;
  --cyber-card: #0d1728;
  --cyber-cyan: #00f2fe;
  --cyber-blue: #0ea5e9;
  --cyber-green: #10b981;
  --cyber-emerald: #059669;
  
  --primary-color: #00f2fe;
  --primary-hover: #38bdf8;
  --dark-bg: var(--cyber-bg);
  --card-bg: var(--cyber-card);
  --card-border: rgba(0, 242, 254, 0.16);
  --text-main: #e2f1ff;
  --text-muted: #7890a8;
  --accent-success: #10b981;
  --accent-cyan: #00f2fe;
  --accent-danger: #ef4444;
  --accent-warning: #f59e0b;
  --neon-cyan-glow: 0 0 12px rgba(0, 242, 254, 0.25);
  --neon-green-glow: 0 0 12px rgba(16, 185, 129, 0.25);
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  background-color: var(--dark-bg);
  color: var(--text-main);
  min-height: 100vh;
}

/* Neon Text Utilities */
.text-neon-cyan {
  color: var(--cyber-cyan) !important;
}

.text-neon-green {
  color: var(--accent-success) !important;
}

/* Glassmorphism & Navbar Cyberpunk */
.navbar-custom {
  background: rgba(10, 17, 30, 0.95);
  border-bottom: 1px solid rgba(0, 242, 254, 0.2);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.brand-gradient,
.brand-cyber-glitch {
  color: var(--cyber-cyan) !important;
  font-weight: 800;
  letter-spacing: -0.5px;
}

.cyber-brand-icon {
  padding: 0.45rem 0.65rem;
  border-radius: 8px;
  background: rgba(0, 242, 254, 0.1);
  color: var(--cyber-cyan);
  border: 1px solid rgba(0, 242, 254, 0.35);
  box-shadow: var(--neon-cyan-glow);
}

.cyber-badge {
  background: rgba(0, 255, 135, 0.12);
  border: 1px solid rgba(0, 255, 135, 0.4);
  color: var(--cyber-green);
  font-family: 'Fira Code', monospace;
  letter-spacing: 0.5px;
}

/* Status Cards & Metrics */
.stat-pill {
  background: rgba(0, 242, 254, 0.05);
  border: 1px solid rgba(0, 242, 254, 0.2);
  padding: 0.4rem 0.8rem;
  border-radius: 9999px;
  font-size: 0.85rem;
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
}

.cyber-pill {
  border-color: rgba(0, 255, 135, 0.25);
}

/* App Gallery Card */
.app-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  border-radius: 12px;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  overflow: hidden;
  position: relative;
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.app-card:hover {
  transform: translateY(-4px);
  border-color: var(--cyber-cyan);
  box-shadow: 0 16px 36px -8px rgba(0, 0, 0, 0.7), 0 0 18px rgba(0, 242, 254, 0.25);
}

/* Running Pulse Glow */
.status-indicator {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  display: inline-block;
}

.status-running {
  background-color: var(--accent-success);
  box-shadow: 0 0 0 rgba(16, 185, 129, 0.6);
  animation: pulse-green 2s infinite;
}

.status-stopped {
  background-color: #64748b;
}

.status-error {
  background-color: var(--accent-danger);
}

@keyframes pulse-green {
  0% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(16, 185, 129, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(16, 185, 129, 0);
  }
}

/* App Type Badges */
.badge-node {
  background: rgba(34, 197, 94, 0.15);
  color: #4ade80;
  border: 1px solid rgba(34, 197, 94, 0.3);
}

.badge-binary {
  background: rgba(234, 179, 8, 0.15);
  color: #facc15;
  border: 1px solid rgba(234, 179, 8, 0.3);
}

.badge-executable {
  background: rgba(59, 130, 246, 0.15);
  color: #60a5fa;
  border: 1px solid rgba(59, 130, 246, 0.3);
}

.badge-script {
  background: rgba(168, 85, 247, 0.15);
  color: #c084fc;
  border: 1px solid rgba(168, 85, 247, 0.3);
}

/* Terminal Console */
.terminal-window {
  background-color: #0b0f19;
  border-radius: 8px;
  border: 1px solid #1e293b;
  font-family: 'Fira Code', Consolas, Monaco, monospace;
  font-size: 0.85rem;
  color: #e2e8f0;
  height: 420px;
  overflow-y: auto;
  padding: 1rem;
  line-height: 1.5;
  white-space: pre-wrap;
  word-break: break-all;
}

.terminal-line-stdout {
  color: #f1f5f9;
}

.terminal-line-stderr {
  color: #f87171;
}

.terminal-line-system {
  color: #38bdf8;
  font-weight: 600;
}

/* Editor Textarea */
.code-editor {
  font-family: 'Fira Code', Consolas, Monaco, monospace;
  font-size: 0.9rem;
  background-color: #0b0f19;
  color: #38bdf8;
  border: 1px solid #334155;
  border-radius: 6px;
  resize: vertical;
}

.code-editor:focus {
  background-color: #060b13;
  color: var(--cyber-cyan);
  border-color: var(--cyber-cyan);
  box-shadow: 0 0 0 0.2rem rgba(0, 242, 254, 0.25), var(--neon-cyan-glow);
}

/* Buttons & Controls */
.btn-glass {
  background: rgba(0, 242, 254, 0.05);
  border: 1px solid rgba(0, 242, 254, 0.2);
  color: var(--text-main);
  transition: all 0.2s;
}

.btn-glass:hover {
  background: rgba(0, 242, 254, 0.12);
  border-color: var(--cyber-cyan);
  color: #fff;
  box-shadow: 0 0 10px rgba(0, 242, 254, 0.3);
}

.btn-primary-gradient {
  background: var(--primary-color);
  border: 1px solid var(--primary-color);
  color: #060b13 !important;
  font-weight: 600;
  transition: all 0.2s ease;
}

.btn-primary-gradient:hover {
  background: var(--primary-hover);
  border-color: var(--primary-hover);
  color: #060b13 !important;
  box-shadow: 0 0 14px rgba(0, 242, 254, 0.4);
}

/* Modals Cyberpunk */
.modal-content-custom {
  background-color: #0b1322;
  border: 1px solid rgba(0, 242, 254, 0.3);
  color: var(--text-main);
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8), 0 0 20px rgba(0, 242, 254, 0.2);
}

.modal-header-custom {
  border-bottom: 1px solid rgba(0, 242, 254, 0.15);
  background: rgba(0, 242, 254, 0.04);
}

.modal-footer-custom {
  border-top: 1px solid rgba(0, 242, 254, 0.15);
  background: rgba(0, 242, 254, 0.02);
}

.nav-tabs-custom .nav-link {
  color: var(--text-muted);
  border: none;
  border-bottom: 2px solid transparent;
  padding: 0.75rem 1.25rem;
}

.nav-tabs-custom .nav-link.active {
  color: var(--cyber-cyan);
  background: transparent;
  border-color: var(--cyber-cyan);
  font-weight: 700;
  text-shadow: 0 0 8px rgba(0, 242, 254, 0.4);
}

/* Modern cPanel Dashboard Styling - Cyberpunk Edition */
.cpanel-category-card {
  background: var(--card-bg);
  border: 1px solid rgba(0, 242, 254, 0.15);
  border-radius: 14px;
  overflow: hidden;
  transition: all 0.25s ease;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.5);
}

.cpanel-category-card:hover {
  border-color: rgba(0, 255, 135, 0.3);
}

.cpanel-category-header {
  padding: 1rem 1.25rem;
  background: rgba(6, 11, 19, 0.75);
  border-bottom: 1px solid rgba(0, 242, 254, 0.12);
}

.cpanel-item {
  display: flex;
  align-items: center;
  gap: 1rem;
  padding: 0.85rem 1rem;
  border-radius: 10px;
  text-decoration: none;
  color: var(--text-main);
  background: transparent;
  border: 1px solid transparent;
  transition: all 0.2s ease;
  cursor: pointer;
}

.cpanel-item:hover {
  background: rgba(0, 242, 254, 0.07);
  border-color: rgba(0, 242, 254, 0.35);
  transform: translateY(-2px);
  color: #fff;
  box-shadow: 0 4px 15px rgba(0, 242, 254, 0.15);
}

.cpanel-icon {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.25rem;
  flex-shrink: 0;
  transition: transform 0.2s;
  box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.5);
}

.cpanel-item:hover .cpanel-icon {
  transform: scale(1.1);
}

.cpanel-search-bar {
  background: rgba(6, 11, 19, 0.85);
  border: 1px solid rgba(0, 242, 254, 0.25);
  border-radius: 10px;
  padding: 0.75rem 1.25rem;
  color: #fff;
  transition: all 0.2s;
}

.cpanel-search-bar:focus {
  background: rgba(6, 11, 19, 0.95);
  border-color: var(--cyber-cyan);
  box-shadow: 0 0 0 3px rgba(0, 242, 254, 0.3), var(--neon-cyan-glow);
}

/* Cyberpunk Offcanvas Navigation Drawer */
.cyber-offcanvas {
  background: rgba(6, 11, 19, 0.97) !important;
  border-right: 1px solid rgba(0, 242, 254, 0.25);
  box-shadow: 10px 0 30px rgba(0, 0, 0, 0.8), 2px 0 15px rgba(0, 242, 254, 0.15);
  width: 320px !important;
  backdrop-filter: blur(16px);
}

.cyber-nav-link {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.8rem 1rem;
  border-radius: 8px;
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.92rem;
  border: 1px solid transparent;
  transition: all 0.2s ease;
}

.cyber-nav-link:hover {
  background: rgba(0, 242, 254, 0.08);
  color: var(--cyber-cyan);
  border-color: rgba(0, 242, 254, 0.3);
  transform: translateX(4px);
}

.cyber-nav-link.active {
  background: rgba(0, 255, 135, 0.12);
  color: var(--cyber-green);
  border-color: rgba(0, 255, 135, 0.4);
  font-weight: 700;
  box-shadow: 0 0 15px rgba(0, 255, 135, 0.15);
}

.btn-cyber-toggle {
  background: rgba(0, 242, 254, 0.08);
  border: 1px solid rgba(0, 242, 254, 0.3);
  color: var(--cyber-cyan);
  transition: all 0.2s;
}

.btn-cyber-toggle:hover {
  background: rgba(0, 242, 254, 0.18);
  border-color: var(--cyber-cyan);
  box-shadow: var(--neon-cyan-glow);
  color: #fff;
}

.btn-cyber-primary {
  background: var(--primary-color);
  border: 1px solid var(--primary-color);
  color: #060b13;
  font-weight: 600;
  letter-spacing: 0.3px;
  transition: all 0.2s ease;
}

.btn-cyber-primary:hover {
  background: var(--primary-hover);
  border-color: var(--primary-hover);
  box-shadow: 0 0 14px rgba(0, 242, 254, 0.4);
  color: #060b13;
}

.cyber-user-btn {
  background: rgba(10, 17, 30, 0.8) !important;
  border-color: rgba(0, 242, 254, 0.3) !important;
}

.cyber-dropdown {
  background: #0b1322 !important;
  border-color: rgba(0, 242, 254, 0.25) !important;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.8), 0 0 15px rgba(0, 242, 254, 0.15) !important;
}

.cyber-system-box {
  background: rgba(0, 242, 254, 0.04);
  border: 1px solid rgba(0, 242, 254, 0.15);
}

/* =========================================
   CYBERPUNK FORM CONTROLS (Global Override)
   ========================================= */
.form-control,
.form-select {
  background-color: rgba(6, 11, 19, 0.85) !important;
  border-color: rgba(0, 242, 254, 0.2) !important;
  color: var(--text-main) !important;
  transition: all 0.2s ease;
}

.form-control:focus,
.form-select:focus {
  background-color: rgba(6, 11, 19, 0.95) !important;
  border-color: var(--cyber-cyan) !important;
  box-shadow: 0 0 0 3px rgba(0, 242, 254, 0.15), 0 0 12px rgba(0, 242, 254, 0.2) !important;
  color: #fff !important;
}

.form-control::placeholder {
  color: rgba(120, 144, 168, 0.6) !important;
}

.input-group-text {
  background-color: rgba(6, 11, 19, 0.9) !important;
  border-color: rgba(0, 242, 254, 0.2) !important;
  color: var(--cyber-cyan) !important;
}

.form-label {
  color: var(--text-muted);
  font-weight: 500;
  letter-spacing: 0.3px;
}

/* =========================================
   CYBERPUNK LOGIN / SETUP CARD
   ========================================= */
.card.border-0.shadow-lg {
  background: rgba(10, 17, 30, 0.92) !important;
  border: 1px solid rgba(0, 242, 254, 0.2) !important;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.7), 0 0 30px rgba(0, 242, 254, 0.08) !important;
  backdrop-filter: blur(16px);
}

.card .d-inline-flex.p-3.rounded-4 {
  background: rgba(0, 242, 254, 0.1) !important;
  border: 1px solid rgba(0, 242, 254, 0.35) !important;
  color: var(--cyber-cyan) !important;
  box-shadow: var(--neon-cyan-glow);
}

/* =========================================
   CYBERPUNK SCROLLBAR
   ========================================= */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: rgba(6, 11, 19, 0.6);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb {
  background: rgba(0, 242, 254, 0.25);
  border-radius: 4px;
  border: 1px solid rgba(0, 242, 254, 0.1);
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(0, 242, 254, 0.45);
  box-shadow: 0 0 6px rgba(0, 242, 254, 0.3);
}

/* Firefox scrollbar */
* {
  scrollbar-width: thin;
  scrollbar-color: rgba(0, 242, 254, 0.25) rgba(6, 11, 19, 0.6);
}

/* =========================================
   CYBERPUNK TABLE OVERRIDE
   ========================================= */
.table-dark {
  --bs-table-bg: transparent !important;
  --bs-table-hover-bg: rgba(0, 242, 254, 0.06) !important;
  --bs-table-border-color: rgba(0, 242, 254, 0.1) !important;
}

.table-dark thead {
  background: rgba(0, 242, 254, 0.04);
}

.table-dark thead th {
  font-weight: 600;
  text-transform: uppercase;
  font-size: 0.72rem;
  letter-spacing: 0.8px;
  color: var(--cyber-cyan) !important;
  border-bottom: 1px solid rgba(0, 242, 254, 0.15) !important;
}

/* =========================================
   ALERT CYBERPUNK OVERRIDES
   ========================================= */
.alert-info {
  background: rgba(0, 242, 254, 0.08) !important;
  border-color: rgba(0, 242, 254, 0.25) !important;
  color: var(--cyber-cyan) !important;
}

.alert-success {
  background: rgba(0, 255, 135, 0.08) !important;
  border-color: rgba(0, 255, 135, 0.25) !important;
  color: var(--cyber-green) !important;
}

.alert-danger {
  background: rgba(255, 0, 85, 0.08) !important;
  border-color: rgba(255, 0, 85, 0.25) !important;
  color: #ff4d7a !important;
}

/* =========================================
   PROGRESS BAR NEON GLOW
   ========================================= */
.progress {
  background-color: rgba(6, 11, 19, 0.8) !important;
}

.progress-bar.bg-primary {
  background-color: var(--primary-color) !important;
}

/* =========================================
   BADGE CYBERPUNK ENHANCEMENTS
   ========================================= */
.badge.bg-success {
  box-shadow: 0 0 8px rgba(0, 255, 135, 0.2);
}

.badge.bg-danger {
  box-shadow: 0 0 8px rgba(255, 0, 85, 0.2);
}

.cyber-dropdown {
  background: #0b1322 !important;
  border-color: rgba(0, 242, 254, 0.25) !important;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.8), 0 0 15px rgba(0, 242, 254, 0.15) !important;
  min-width: 210px;
  max-width: 90vw;
}

.dropdown-menu-dark .dropdown-item:hover,
.dropdown-menu-dark .dropdown-item:focus {
  background: rgba(0, 242, 254, 0.12) !important;
  color: var(--cyber-cyan) !important;
}

/* =========================================
   SELECTION HIGHLIGHT
   ========================================= */
::selection {
  background: rgba(0, 242, 254, 0.3);
  color: #fff;
}

/* =========================================
   TRACKING UTILITY
   ========================================= */
.tracking-wider {
  letter-spacing: 1.5px;
}

/* =========================================
   RESPONSIVE FIXES — Prevent Horizontal Scroll
   ========================================= */
html, body {
  overflow-x: hidden;
  max-width: 100vw;
}

/* Force container-fluid children to stay in bounds, except inside navbar so dropdowns can pop out */
.container-fluid:not(.navbar .container-fluid) {
  overflow-x: hidden;
}

/* Ensure navbar and dropdowns are always visible above content */
.navbar-custom {
  overflow: visible !important;
  z-index: 1030;
}

.navbar-custom .container-fluid {
  overflow: visible !important;
}

.cyber-dropdown {
  z-index: 1050 !important;
}

/* Tables: always allow horizontal scroll inside their wrapper */
.table-responsive {
  -webkit-overflow-scrolling: touch;
}

/* Modal responsive tables converted to card layout on small screens */
@media (max-width: 767.98px) {
  .modal-dialog .table-responsive {
    border: none !important;
    background: transparent !important;
  }

  .modal-dialog .table-responsive table,
  .modal-dialog .table-responsive thead,
  .modal-dialog .table-responsive tbody,
  .modal-dialog .table-responsive th,
  .modal-dialog .table-responsive td,
  .modal-dialog .table-responsive tr {
    display: block;
  }

  .modal-dialog .table-responsive thead {
    display: none !important; /* Hide column headers in card mode */
  }

  .modal-dialog .table-responsive tbody tr {
    background: rgba(13, 23, 40, 0.75) !important;
    border: 1px solid rgba(0, 242, 254, 0.18) !important;
    border-radius: 0.75rem !important;
    margin-bottom: 0.75rem !important;
    padding: 0.75rem !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3) !important;
    transition: transform 0.2s ease, border-color 0.2s ease;
  }

  .modal-dialog .table-responsive tbody tr:last-child {
    margin-bottom: 0 !important;
  }

  .modal-dialog .table-responsive tbody td {
    display: flex !important;
    justify-content: space-between !important;
    align-items: center !important;
    flex-wrap: wrap !important;
    gap: 0.5rem !important;
    padding: 0.45rem 0.25rem !important;
    border: none !important;
    border-bottom: 1px dashed rgba(255, 255, 255, 0.08) !important;
    font-size: 0.85rem !important;
    text-align: right !important;
  }

  .modal-dialog .table-responsive tbody td::before {
    content: attr(data-label);
    font-weight: 600;
    color: var(--text-muted, #7890a8);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-align: left;
    margin-right: auto;
  }

  .modal-dialog .table-responsive tbody td:last-child {
    border-bottom: none !important;
    padding-top: 0.6rem !important;
    justify-content: flex-end !important;
  }

  /* When table displays empty state / loading spinner message */
  .modal-dialog .table-responsive tbody td[colspan] {
    display: block !important;
    text-align: center !important;
    padding: 1.5rem !important;
    border: none !important;
  }

  .modal-dialog .table-responsive tbody td.text-end {
    text-align: right !important;
  }
}

/* ---- Small screen overrides (≤767px) ---- */
@media (max-width: 767.98px) {
  /* Navbar: stack items and allow wrap */
  .navbar-custom .container-fluid {
    flex-wrap: wrap;
    gap: 0.5rem;
    padding-left: 0.75rem !important;
    padding-right: 0.75rem !important;
  }

  /* Hide the system stat pill on mobile — it eats too much space */
  .stat-pill.cyber-pill {
    display: none !important;
  }

  /* Brand badge narrower */
  .cyber-badge {
    font-size: 0.65rem !important;
    padding: 0.2rem 0.4rem !important;
  }

  /* Main content: tighter padding on mobile */
  .container-fluid.px-4 {
    padding-left: 0.75rem !important;
    padding-right: 0.75rem !important;
  }

  main.py-4 {
    padding-top: 1rem !important;
    padding-bottom: 1rem !important;
  }

  /* cPanel category header: wrap content */
  .cpanel-category-header {
    flex-wrap: wrap;
    gap: 0.5rem;
  }

  /* cPanel items: full width on mobile */
  .cpanel-item-col {
    flex: 0 0 100%;
    max-width: 100%;
  }

  /* Search input group: remove min-width */
  #cpanelSearch {
    min-width: 0 !important;
  }

  /* App card title: narrower */
  .app-card h5.text-truncate {
    max-width: 140px !important;
  }

  /* Modal dialogs: near full-width on mobile */
  .modal-dialog.modal-lg,
  .modal-dialog.modal-xl {
    max-width: calc(100vw - 1rem);
    margin-left: 0.5rem;
    margin-right: 0.5rem;
  }

  /* Modal body: reduce padding */
  .modal-body.p-4 {
    padding: 1rem !important;
  }

  /* Form row columns: stack on mobile inside modals */
  .modal-body .row .col-3,
  .modal-body .row .col-4,
  .modal-body .row .col-8,
  .modal-body .row .col-2 {
    flex: 0 0 100%;
    max-width: 100%;
  }

  /* DNS form panel: stack columns */
  #dnsFormPanel .row .col-3,
  #dnsFormPanel .row .col-4,
  #dnsFormPanel .row .col-2 {
    flex: 0 0 50%;
    max-width: 50%;
  }

  /* Terminal window: slightly shorter on mobile */
  .terminal-window {
    height: 280px;
    font-size: 0.78rem;
  }

  /* Offcanvas: narrower on very small screens */
  .cyber-offcanvas {
    width: 280px !important;
  }

  /* Stats row cards in apps page */
  .app-card .fs-4 {
    font-size: 1.1rem !important;
  }

  /* User dropdown button: compact */
  .cyber-user-btn .font-monospace {
    max-width: 80px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  /* File page: remove min-width from selector */
  #pageAppSelector {
    min-width: 0 !important;
  }
}

/* ---- Extra-small screen overrides (≤575px) ---- */
@media (max-width: 575.98px) {
  .navbar-brand .fs-4 {
    font-size: 1.15rem !important;
  }

  .cyber-badge {
    display: none !important;
  }

  .btn-cyber-primary span,
  .btn-cyber-toggle span {
    display: none !important;
  }

/* Code Editor Textarea */
.code-editor-textarea {
  display: block;
  width: 100%;
  height: 550px;
  background-color: #0b0f19 !important;
  color: #f1f5f9 !important;
  border: 1px solid #1e293b !important;
  border-radius: 8px;
  outline: none !important;
  box-shadow: none !important;
  padding: 16px !important;
  margin: 0 !important;
  font-family: 'Fira Code', Consolas, Monaco, monospace !important;
  font-size: 14px !important;
  line-height: 1.6 !important;
  white-space: pre !important;
  word-break: normal !important;
  overflow-wrap: normal !important;
  overflow-x: auto !important;
  overflow-y: auto !important;
  resize: none !important;
  tab-size: 2;
  box-sizing: border-box !important;
  transition: border-color 0.2s ease;
}

.code-editor-textarea:focus {
  background-color: #0b0f19 !important;
  color: #f1f5f9 !important;
  border-color: var(--cyber-cyan) !important;
  box-shadow: 0 0 0 2px rgba(0, 242, 254, 0.1) !important;
  outline: none !important;
}

.code-editor-textarea::placeholder {
  color: #475569;
  font-style: italic;
}

.code-editor-textarea:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

/* File Manager item hover action buttons */
.fm-item-row {
  transition: all 0.15s ease;
}
.fm-item-row:hover {
  background-color: rgba(0, 242, 254, 0.05) !important;
}
.fm-item-row .fm-item-actions {
  opacity: 0;
  transition: opacity 0.15s ease;
}
.fm-item-row:hover .fm-item-actions {
  opacity: 1;
}
@media (max-width: 768px) {
  .fm-item-row .fm-item-actions {
    opacity: 1;
  }
}

