/* --- TERMSHARK BLOKK (Wireshark-szeru csomagmegjelenites) --- */
.block.termshark-block {
    background: #f5f3ff;
    border: 1px solid #ddd6fe;
    padding: 8px;
  }
  .block.termshark-block .termshark-info {
    display: flex;
    gap: 12px;
    padding: 4px 0 8px;
    font-size: 0.78rem;
    color: #4c1d95;
    flex-wrap: wrap;
  }
  .block.termshark-block .termshark-info-item {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-family: "Consolas", "Courier New", monospace;
    word-break: break-all;
  }
  .block.termshark-block .termshark-frame-wrap {
    position: relative;
    border-radius: 6px;
    overflow: hidden;
    background: #000;
    border: 1px solid #334155;
    height: 500px;
    min-height: 180px;
    max-height: 90vh;
  }
  .block.termshark-block .termshark-frame {
    display: block;
    width: 100%;
    height: 100%;
    border: none;
    background: #000;
  }
  .block.termshark-block .termshark-resize-handle {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 12px;
    cursor: ns-resize;
    background: linear-gradient(to bottom, rgba(255,255,255,0.05), rgba(255,255,255,0.25));
    border-top: 1px solid rgba(255,255,255,0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255,255,255,0.5);
    font-size: 0.65rem;
    font-family: monospace;
    user-select: none;
    transition: background 0.15s, color 0.15s;
    z-index: 5;
  }
  .block.termshark-block .termshark-resize-handle:hover {
    background: linear-gradient(to bottom, rgba(255,255,255,0.2), rgba(255,255,255,0.45));
    color: white;
  }
  .block.termshark-block .termshark-resize-handle::before {
    content: '\21D5 \21D5 \21D5';
    letter-spacing: 3px;
    line-height: 1;
    pointer-events: none;
  }
  .block.termshark-block .termshark-placeholder {
    padding: 40px 20px;
    text-align: center;
    color: #94a3b8;
    background: #f1f5f9;
    font-size: 0.9rem;
    font-style: italic;
    border-radius: 6px;
  }
  .block.termshark-block .termshark-missing {
    padding: 24px 20px;
    text-align: center;
    color: #991b1b;
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 6px;
    font-size: 0.9rem;
    line-height: 1.5;
  }
  .tool-btn.termshark-btn {
    color: #7c3aed;
    border-color: #ddd6fe;
    background: #faf5ff;
  }
  .tool-btn.termshark-btn:hover {
    background: #f3e8ff;
    border-color: #c4b5fd;
  }