:root {
  --bg-primary: #ffffff;
  --bg-secondary: #f9fafb;
  --bg-tertiary: #f3f4f6;
  --text-primary: #000000;
  --text-secondary: #6b7280;
  --border-color: #e5e7eb;
  --accent-primary: #40ffc8;
  --accent-secondary: #63d38b;
  --accent-tertiary: #02a33d;
  --success: #10b981;
  --danger: #ef4444;
  --warning: #f59e0b;
  --shadow: 0 10px 40px rgba(0,0,0,0.08);
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.04);
}

body.dark-mode {
  --bg-primary: #0a0a0a;
  --bg-secondary: #1a1a1a;
  --bg-tertiary: #2a2a2a;
  --text-primary: #ffffff;
  --text-secondary: #d1d5db;
  --border-color: #404040;
}

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

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', sans-serif;
  background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
  min-height: 100vh;
  padding: 40px 20px;
  color: var(--text-primary);
  transition: background 0.3s ease, color 0.3s ease;
}

.container {
  max-width: 1000px;
  margin: 0 auto;
}

.header {
  text-align: center;
  margin-bottom: 50px;
  color: var(--text-primary);
}

.header-top {
  display: flex;
  justify-content: center;
  align-items: center;
  margin-bottom: 30px;
  gap: 20px;
}

.browserpod-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border: 1.5px solid var(--border-color);
  border-radius: 8px;
  text-decoration: none;
  transition: all 0.3s ease;
  background: transparent;
  padding: 6px;
}

.browserpod-button:hover {
  border-color: #2EA681;
  background: rgba(46, 166, 129, 0.1);
}

body.dark-mode .browserpod-button:hover {
  border-color: #41FFC8;
  background: rgba(65, 255, 200, 0.1);
}

.browserpod-icon {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: brightness(0);
}

body.dark-mode .browserpod-icon {
  filter: brightness(0) invert(1) brightness(1.2);
}

/* Theme Toggle Switch */
.theme-switch {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-left: auto;
}

.theme-checkbox {
  display: none;
}

.theme-label {
  width: 44px;
  height: 24px;
  background: #d1d5db;
  border-radius: 12px;
  display: flex;
  align-items: center;
  cursor: pointer;
  position: relative;
  transition: background 0.3s ease;
}

.theme-checkbox:checked + .theme-label {
  background: #40ffc8;
}

.theme-label::after {
  content: '';
  width: 20px;
  height: 20px;
  background: white;
  border-radius: 50%;
  position: absolute;
  left: 2px;
  transition: left 0.3s ease;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

.theme-checkbox:checked + .theme-label::after {
  left: 22px;
}

.logo-section {
  display: flex;
  align-items: center;
  gap: 12px;
  justify-content: center;
}

.logo-image {
  height: 40px;
  width: auto;
  display: block;
  filter: brightness(0);
}

body.dark-mode .logo-image {
  filter: brightness(0) invert(1) brightness(1.5);
}

.header h1 {
  font-size: 2.8rem;
  margin-bottom: 12px;
  font-weight: 800;
  letter-spacing: -1.5px;
  color: #000000;
}

body.dark-mode .header h1 {
  color: #ffffff;
}

.subtitle {
  font-size: 1.1rem;
  color: var(--text-secondary);
  font-weight: 400;
  max-width: 600px;
  margin: 0 auto 20px;
}

.powered-by-browserpod {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-top: 12px;
  padding: 8px 16px;
  text-decoration: none;
  color: var(--text-primary);
  font-size: 0.9rem;
  font-weight: 500;
  border-radius: 12px;
  background: linear-gradient(135deg, rgba(64, 255, 200, 0.1) 0%, rgba(99, 211, 139, 0.1) 100%);
  border: 2px solid transparent;
  background-clip: padding-box;
  transition: all 0.3s ease;
  position: relative;
  animation: gradientBorder 3s ease infinite;
}

@keyframes gradientBorder {
  0% {
    border-color: #40ffc8;
    box-shadow: 0 0 12px rgba(64, 255, 200, 0.3);
  }
  50% {
    border-color: #63d38b;
    box-shadow: 0 0 20px rgba(99, 211, 139, 0.4);
  }
  100% {
    border-color: #40ffc8;
    box-shadow: 0 0 12px rgba(64, 255, 200, 0.3);
  }
}

@keyframes gradientBorderHover {
  0% {
    border-color: #40ffc8;
    box-shadow: 0 0 20px rgba(64, 255, 200, 0.6), 0 0 40px rgba(64, 255, 200, 0.3);
  }
  50% {
    border-color: #63d38b;
    box-shadow: 0 0 30px rgba(99, 211, 139, 0.8), 0 0 60px rgba(99, 211, 139, 0.4);
  }
  100% {
    border-color: #40ffc8;
    box-shadow: 0 0 20px rgba(64, 255, 200, 0.6), 0 0 40px rgba(64, 255, 200, 0.3);
  }
}

.powered-by-browserpod:hover {
  transform: translateY(-2px);
  animation: gradientBorderHover 1.5s ease infinite;
}

body.dark-mode .powered-by-browserpod {
  background: linear-gradient(135deg, rgba(65, 255, 200, 0.15) 0%, rgba(99, 211, 139, 0.15) 100%);
  color: #ffffff;
}

@keyframes glow {
  0%, 100% {
    box-shadow: 0 0 10px rgba(64, 255, 200, 0.5);
  }
  50% {
    box-shadow: 0 0 20px rgba(99, 211, 139, 0.8), 0 0 30px rgba(64, 255, 200, 0.6);
  }
}

.browserpod-logo-small {
  height: 18px;
  width: auto;
  object-fit: contain;
  filter: brightness(0);
}

body.dark-mode .browserpod-logo-small {
  filter: brightness(0) invert(1) brightness(1.2);
}

.main-panel {
  background: var(--bg-primary);
  border-radius: 16px;
  padding: 40px;
  box-shadow: var(--shadow);
  margin-bottom: 30px;
  border: 1px solid var(--border-color);
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
}

.status-section {
  margin-bottom: 30px;
}

.status-box {
  background: var(--bg-secondary);
  border-radius: 12px;
  padding: 24px;
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.status-box:hover {
  border-color: var(--accent-primary);
}

.status-box h3 {
  color: var(--text-primary);
  margin-bottom: 15px;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.status-indicator {
  font-size: 1rem;
  font-weight: 600;
  margin-bottom: 10px;
  padding: 12px 16px;
  border-radius: 8px;
  background: var(--bg-tertiary);
  border-left: 4px solid var(--text-secondary);
  color: var(--text-secondary);
  transition: all 0.3s ease;
}

.status-indicator.online {
  background: rgba(16, 185, 129, 0.1);
  color: var(--success);
  border-left-color: var(--success);
}

.status-indicator.tested {
  background: rgba(124, 58, 237, 0.1);
  color: var(--accent-primary);
  border-left-color: var(--accent-primary);
}

.status-indicator.offline {
  background: rgba(239, 68, 68, 0.1);
  color: var(--danger);
  border-left-color: var(--danger);
}

.status-indicator.ready {
  background: var(--bg-tertiary);
  color: var(--text-secondary);
  border-left-color: var(--text-secondary);
}

.info-text {
  color: var(--text-secondary);
  font-size: 0.9rem;
  line-height: 1.5;
}

.console-section {
  margin-bottom: 60px;
}

.console-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 15px;
}

.console-header h3 {
  color: var(--text-primary);
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin: 0;
}

.console-controls {
  display: flex;
  gap: 6px;
  align-items: center;
}

.console-btn {
  padding: 0 14px;
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--border-color);
  border-radius: 5px;
  cursor: pointer;
  font-size: 11px;
  font-weight: 500;
  transition: all 0.2s ease;
  white-space: nowrap;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 28px;
  line-height: 1;
}

.console-btn:hover {
  background: var(--bg-secondary);
  border-color: var(--accent-primary);
  color: var(--accent-primary);
}

.console-btn:active {
  transform: scale(0.98);
}

body.dark-mode .console-btn {
  background: #41FFC8;
  color: #000000;
  border-color: #41FFC8;
}

body.dark-mode .console-btn:hover {
  background: #38e6b0;
  border-color: #38e6b0;
  color: #000000;
}

.console-section h3 {
  color: var(--text-primary);
  margin-bottom: 15px;
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.search-section {
  display: flex;
  gap: 12px;
  margin-bottom: 40px;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--border-color);
}

#search-keyword {
  padding: 12px 16px;
  border: 1px solid var(--border-color);
  border-radius: 10px;
  background: var(--bg-secondary);
  color: var(--text-primary);
  font-size: 0.95rem;
  flex: 1;
  transition: all 0.3s ease;
  font-family: inherit;
}

#search-keyword:focus {
  outline: none;
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.1);
}

#search-keyword::placeholder {
  color: var(--text-secondary);
}

#search-btn {
  padding: 10px 20px;
  background: #2EA681;
  color: white;
  border: none;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s ease;
  white-space: nowrap;
}

body.dark-mode #search-btn {
  background: #41FFC8;
  color: #000000;
}

#search-btn:hover {
  background: #27896a;
}

body.dark-mode #search-btn:hover {
  background: #38e6b0;
}

#search-btn:active {
  background: #27896a;
}

body.dark-mode #search-btn:active {
  background: #38e6b0;
}

#search-results {
  background: var(--bg-primary);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  box-shadow: var(--shadow-sm);
}

#search-results-list div {
  transition: background 0.15s ease;
  color: var(--text-primary);
}

#search-results-list div:hover {
  background: var(--bg-secondary);
}

.controls-section {
  display: flex;
  gap: 12px;
  margin-bottom: 40px;
  padding-bottom: 30px;
  border-bottom: 1px solid var(--border-color);
}

#package-input {
  padding: 12px 16px;
  border: 1px solid var(--border-color);
  border-radius: 10px;
  background: var(--bg-secondary);
  color: var(--text-primary);
  font-size: 0.95rem;
  flex: 2;
  transition: all 0.3s ease;
  font-family: inherit;
}

#package-input:focus {
  outline: none;
  border-color: var(--accent-primary);
  box-shadow: 0 0 0 3px rgba(124, 58, 237, 0.1);
}

#package-input::placeholder {
  color: var(--text-secondary);
}

button {
  background: #2EA681;
  color: white;
  border: none;
  padding: 10px 16px;
  border-radius: 6px;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.2s ease;
  flex: 1;
  font-family: inherit;
}

body.dark-mode button {
  background: #41FFC8;
  color: #000000;
}

button:hover:not(:disabled) {
  background: #27896a;
}

body.dark-mode button:hover:not(:disabled) {
  background: #38e6b0;
}

button:active:not(:disabled) {
  background: #27896a;
}

body.dark-mode button:active:not(:disabled) {
  background: #38e6b0;
}

button:disabled {
  opacity: 0.5;
  cursor: not-allowed;
}

.results-section {
  margin-top: 20px;
  margin-bottom: 60px;
  padding-top: 10px;
}

.results-grid {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.result-card {
  width: 100%;
  background: var(--bg-secondary);
  border-radius: 12px;
  padding: 20px;
  border: 1px solid var(--border-color);
  transition: all 0.3s ease;
}

.result-card:hover {
  border-color: var(--accent-primary);
  transform: translateY(-2px);
}

.result-card h3 {
  font-size: 0.85rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  color: var(--text-primary);
  margin-bottom: 12px;
  border-bottom: 2px solid var(--accent-primary);
  padding-bottom: 10px;
}

.result-content {
  font-size: 0.95rem;
  line-height: 1.6;
  color: var(--text-secondary);
}

.result-item {
  margin-bottom: 8px;
  padding: 10px 12px;
  background: var(--bg-primary);
  border-radius: 6px;
  border-left: 3px solid var(--border-color);
  transition: all 0.3s ease;
  overflow: hidden;
}

.result-item.vulnerability {
  border-left-color: var(--danger);
  background: rgba(239, 68, 68, 0.1);
}

.result-item.safe {
  border-left-color: var(--success);
  background: rgba(16, 185, 129, 0.1);
}

.result-item.warning {
  border-left-color: var(--warning);
  background: rgba(245, 158, 11, 0.1);
}

.result-label {
  font-weight: 600;
  color: var(--text-primary);
  display: block;
  font-size: 0.85rem;
}

.result-value {
  color: var(--text-secondary);
  margin-top: 2px;
  font-size: 0.8rem;
  word-break: break-word;
}

.funding-link {
  display: inline-block;
  margin-top: 8px;
  padding: 6px 12px;
  background: #2EA681;
  color: white;
  text-decoration: none;
  border-radius: 4px;
  font-size: 0.8rem;
  transition: background 0.2s ease;
}

body.dark-mode .funding-link {
  background: #41FFC8;
  color: #000000;
}

.funding-link:hover {
  background: #27896a;
}

body.dark-mode .funding-link:hover {
  background: #38e6b0;
}

.funding-tree {
  display: flex;
  flex-direction: column;
  gap: 6px;
  font-size: 13px;
  font-family: monospace;
}

.funding-item {
  padding-left: 0;
  word-break: break-all;
  font-size: 0.85rem;
  color: var(--text-secondary);
}

.funding-item.level-0 {
  font-weight: 600;
  color: var(--accent-primary);
  margin-top: 8px;
}

.funding-item.level-1 {
  color: var(--text-secondary);
  margin-left: 16px;
}

.funding-item a {
  color: var(--accent-primary);
  text-decoration: none;
  transition: all 0.3s;
  word-break: break-all;
  font-family: monospace;
  font-size: 0.8rem;
}

.funding-item a:hover {
  text-decoration: underline;
}

.game-section {
  display: none;
}

.footer {
  text-align: center;
  margin-top: 50px;
  padding-top: 30px;
  border-top: 1px solid var(--border-color);
  color: var(--text-secondary);
  font-size: 0.85rem;
}

.footer-content {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.footer-bp-link,
.footer-lt-link {
  display: inline-flex;
  align-items: center;
  text-decoration: none;
  transition: opacity 0.2s ease;
  gap: 2px;
}

.footer-bp-link:hover,
.footer-lt-link:hover {
  opacity: 0.7;
}

.footer-bp-link .footer-link,
.footer-lt-link .footer-link {
  color: var(--text-primary);
  text-decoration: none;
  font-weight: 600;
}

.footer-text {
  color: var(--text-primary);
  font-weight: 600;
}

.footer-copyright {
  color: var(--text-secondary);
  font-size: 0.8rem;
}

.footer-logo {
  height: 18px;
  width: auto;
  object-fit: contain;
  filter: brightness(0.7);
}

.footer-logo-i {
  height: 14px;
}

body.dark-mode .footer-logo {
  filter: brightness(1.2);
}

.footer p {
  margin-bottom: 12px;
}

body.dark-mode .footer p {
  color: var(--text-secondary);
}

.heart {
  color: #ef4444;
  margin: 0 4px;
}

.footer a {
  color: #000000;
  text-decoration: none;
  transition: color 0.3s ease;
  font-weight: bold;
}

body.dark-mode .footer a {
  color: #41FFC8;
}

.footer a:hover {
  text-decoration: underline;
}

body.dark-mode .footer a {
  color: #41FFC8;
}

.social-links-header {
  display: flex;
  gap: 12px;
  margin-left: 40px;
}

.social-icon-header {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border: 1.5px solid var(--border-color);
  border-radius: 6px;
  text-decoration: none;
  transition: all 0.3s ease;
  background: transparent;
  padding: 4px;
}

.social-icon-header:hover {
  border-color: #2EA681;
  background: rgba(46, 166, 129, 0.1);
}

body.dark-mode .social-icon-header:hover {
  border-color: #41FFC8;
  background: rgba(65, 255, 200, 0.1);
}

.social-logo {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.social-logo-light {
  filter: brightness(0);
}

.social-logo-dark {
  display: none;
  filter: brightness(0) invert(1) brightness(1.2);
}

body.dark-mode .social-logo-light {
  display: none;
}

body.dark-mode .social-logo-dark {
  display: block;
}

.social-icon-header .social-logo:not(.social-logo-light):not(.social-logo-dark) {
  filter: brightness(0);
}

body.dark-mode .social-icon-header .social-logo:not(.social-logo-light):not(.social-logo-dark) {
  filter: brightness(0) invert(1) brightness(1.2);
}

.social-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 12px;
}

.social-icon {
  padding: 6px 12px;
  border: 1px solid var(--border-color);
  border-radius: 6px;
  transition: all 0.3s ease;
  display: inline-block;
}

.social-icon:hover {
  background: var(--accent-primary);
  color: #000000;
  border-color: var(--accent-primary);
}

body.dark-mode .social-icon:hover {
  background: #41FFC8;
  color: #000000;
}

#console {
  background: #000000;
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 15px;
  height: 250px;
  overflow-y: auto;
  font-family: 'Monaco', 'Courier New', monospace;
  font-size: 0.85rem;
  color: #e0e0e0;
  line-height: 1.6;
  margin-bottom: 20px;
  transition: all 0.3s ease;
}

body.dark-mode #console {
  background: #000000;
}

#app-console {
  background: var(--bg-secondary);
  border: 1px solid var(--border-color);
  border-radius: 10px;
  padding: 15px;
  height: 200px;
  overflow-y: auto;
  font-family: 'Monaco', 'Courier New', monospace;
  font-size: 0.85rem;
  color: var(--text-primary);
  line-height: 1.6;
  transition: all 0.3s ease;
}

/* Scrollbar styling */
#console::-webkit-scrollbar,
#app-console::-webkit-scrollbar {
  width: 8px;
}

#console::-webkit-scrollbar-track,
#app-console::-webkit-scrollbar-track {
  background: transparent;
  border-radius: 4px;
}

#console::-webkit-scrollbar-thumb,
#app-console::-webkit-scrollbar-thumb {
  background: rgba(124, 58, 237, 0.5);
  border-radius: 4px;
}

#console::-webkit-scrollbar-thumb:hover,
#app-console::-webkit-scrollbar-thumb:hover {
  background: rgba(124, 58, 237, 0.7);
}

/* Filesystem Changes Styling */
.fs-summary {
  font-size: 0.9rem;
  font-weight: 600;
  padding: 12px;
  background: var(--bg-primary);
  border-radius: 6px;
  margin-bottom: 12px;
  color: var(--accent-primary);
}

.fs-section {
  margin-bottom: 12px;
}

.fs-header-added { color: #10b981; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 6px; padding-left: 4px; border-left: 2px solid #10b981; }
.fs-header-modified { color: #d97706; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 6px; padding-left: 4px; border-left: 2px solid #d97706; }
.fs-header-removed { color: #dc2626; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.5px; margin-bottom: 6px; padding-left: 4px; border-left: 2px solid #dc2626; }

body.dark-mode .fs-header-added,
body.dark-mode .fs-item-added { color: #10b981; }

/* Terminal Fullscreen Modal */
.terminal-modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: rgba(0, 0, 0, 0.9);
  z-index: 1000;
  flex-direction: column;
}

.terminal-modal.active {
  display: flex;
}

.terminal-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 24px;
  background: var(--bg-secondary);
  border-bottom: 1px solid var(--border-color);
  color: var(--text-primary);
}

.terminal-modal-header h2 {
  margin: 0;
  font-size: 18px;
}

.terminal-modal-controls {
  display: flex;
  gap: 8px;
  align-items: center;
}

.terminal-modal-btn {
  padding: 0 16px;
  background: transparent;
  color: var(--text-secondary);
  border: 1px solid var(--border-color);
  border-radius: 5px;
  cursor: pointer;
  font-size: 12px;
  font-weight: 500;
  transition: all 0.2s ease;
  white-space: nowrap;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 32px;
  line-height: 1;
}

.terminal-modal-btn:hover {
  background: var(--bg-primary);
  border-color: var(--accent-primary);
  color: var(--accent-primary);
}

.terminal-modal-btn:active {
  transform: scale(0.98);
}

body.dark-mode .terminal-modal-btn {
  background: #41FFC8;
  color: #000000;
  border-color: #41FFC8;
}

body.dark-mode .terminal-modal-btn:hover {
  background: #38e6b0;
  border-color: #38e6b0;
  color: #000000;
}

.terminal-modal-content {
  flex: 1;
  overflow: auto;
  padding: 24px;
}

.copy-feedback {
  position: fixed;
  top: 24px;
  right: 24px;
  background: #10b981;
  color: white;
  padding: 12px 20px;
  border-radius: 6px;
  z-index: 1001;
  animation: slideIn 0.3s ease, slideOut 0.3s ease 2.7s;
}

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

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


body.dark-mode .fs-header-added { border-left-color: #10b981; }

body.dark-mode .fs-header-modified,
body.dark-mode .fs-item-modified { color: #f59e0b; }

body.dark-mode .fs-header-modified { border-left-color: #f59e0b; }

body.dark-mode .fs-header-removed,
body.dark-mode .fs-item-removed { color: #ef4444; }

body.dark-mode .fs-header-removed { border-left-color: #ef4444; }

.fs-list {
  font-family: 'Monaco', 'Courier New', monospace;
  font-size: 0.8rem;
  line-height: 1.5;
  background: var(--bg-primary);
  border-radius: 4px;
  padding: 8px;
  max-height: 150px;
  overflow-y: auto;
}

.fs-item { padding: 2px 4px; word-break: break-all; color: var(--text-secondary); }
.fs-item-added { color: #059669; }
.fs-item-modified { color: #d97706; }
.fs-item-removed { color: #dc2626; font-style: italic; color: var(--text-secondary); font-size: 0.75rem; }

@media (max-width: 768px) {
  .header h1 {
    font-size: 1.8rem;
  }

  .header-top {
    flex-direction: column;
    gap: 16px;
  }

  .controls-section,
  .search-section {
    flex-direction: column;
  }

  #console {
    height: 200px;
  }

  .main-panel {
    padding: 24px;
  }
}
