.terminal-window {
  margin: 14px 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid var(--glass-border);
  background: #0c0c0c;
}
.terminal-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  background: #161616;
  border-bottom: 1px solid var(--glass-border);
}
.terminal-dots {
  display: flex;
  align-items: center;
  gap: 6px;
}
.terminal-dots .dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.terminal-dots .dot.red { background: #ff5f56; }
.terminal-dots .dot.yellow { background: #ffbd2e; }
.terminal-dots .dot.green { background: #27ca40; }
.terminal-title {
  font-size: 11px;
  color: var(--text-muted);
  font-family: 'JetBrains Mono', monospace;
  line-height: 1;
}
.terminal-body {
  padding: 14px 16px;
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  line-height: 1.7;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 255, 255, 0.15) transparent;
}
.terminal-command {
  position: relative;
  overflow: hidden;
}
.terminal-command .terminal-body {
  overflow-x: auto;
  padding-right: 112px;
}
.terminal-copy {
  position: absolute;
  z-index: 2;
  top: 50%;
  right: 12px;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  min-height: 34px;
  padding: 7px 11px;
  transform: translateY(-50%);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  background: rgba(28, 28, 28, 0.68);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.32);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: rgba(255, 255, 255, 0.82);
  font-family: 'Poppins', sans-serif;
  font-size: 11px;
  font-weight: 600;
  line-height: 1;
  cursor: pointer;
  transition: color 160ms ease, border-color 160ms ease, background 160ms ease, transform 160ms ease;
}
.terminal-copy:hover {
  border-color: rgba(255, 255, 255, 0.28);
  background: rgba(42, 42, 42, 0.78);
  color: #fff;
}
.terminal-copy:active {
  transform: translateY(-50%) scale(0.96);
}
.terminal-copy:focus-visible {
  outline: 2px solid var(--primary, #8b5cf6);
  outline-offset: 2px;
}
.terminal-copy.copied {
  border-color: rgba(39, 202, 64, 0.45);
  color: #27ca40;
}
.terminal-copy svg {
  width: 14px;
  height: 14px;
  flex: 0 0 auto;
}
.terminal-body::-webkit-scrollbar {
  height: 6px;
  width: 6px;
}
.terminal-body::-webkit-scrollbar-track {
  background: transparent;
}
.terminal-body::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.15);
  border-radius: 3px;
}
.terminal-body::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.25);
}
.terminal-line {
  margin-bottom: 4px;
  color: #d4d4d4;
  white-space: pre;
}
.terminal-prompt {
  color: #666;
  margin-right: 8px;
}
.terminal-table {
  font-family: 'JetBrains Mono', monospace;
  font-size: 12px;
  margin: 8px 0;
}
.terminal-table-row {
  display: grid;
  grid-template-columns: 70px 90px 70px 50px 30px 30px;
  color: #d4d4d4;
}
.terminal-table-header {
  color: #888;
  border-bottom: 1px dashed #444;
  padding-bottom: 4px;
  margin-bottom: 4px;
}
@media (max-width: 520px) {
  .terminal-command .terminal-body {
    padding-right: 58px;
  }
  .terminal-copy {
    right: 9px;
    padding: 8px;
  }
  .terminal-copy-label {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }
}
.powershell-window {
  margin: 14px 0;
  border-radius: var(--radius-md);
  overflow: hidden;
  border: 1px solid rgba(1, 36, 86, 0.3);
  background: #012456;
}
.powershell-header {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  background: #001a3a;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.powershell-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}
.powershell-icon svg {
  width: 16px;
  height: 16px;
  fill: #2671be;
}
.powershell-title {
  font-size: 12px;
  color: rgba(255, 255, 255, 0.9);
  font-family: 'Cascadia Mono', 'Consolas', 'Courier New', monospace;
}
.powershell-body {
  padding: 14px 16px;
  font-family: 'Poppins', sans-serif;
  font-size: 13px;
  line-height: 1.5;
  letter-spacing: 1px;
  background: #012456;
}
.ps-line {
  margin-bottom: 2px;
  color: #cccccc;
  font-family: 'Poppins', sans-serif;
  letter-spacing: 1px;
}
.ps-prompt {
  color: #ffff00;
  margin-right: 4px;
  font-family: 'Poppins', sans-serif;
  letter-spacing: 1px;
}
.ps-comment {
  color: #2e7d32;
  font-style: normal;
  margin: 4px 0 2px;
  font-family: 'Poppins', sans-serif;
  letter-spacing: 1px;
}
