/* Scoped Styles for Website Page Snooper Code Viewer */

.snooper-workspace-card {
    background: rgba(255, 255, 255, 0.90);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(226, 232, 240, 0.85);
    border-radius: 1.5rem;
    box-shadow: 0 10px 30px -5px rgba(0, 0, 0, 0.03);
}

.code-editor-viewport {
    background-color: #0f172a;
    border-radius: 0.875rem;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.8125rem;
    line-height: 1.6;
    max-height: 520px;
    overflow: auto;
    color: #e2e8f0;
}

.code-table {
    width: 100%;
    border-collapse: collapse;
}

.code-table tr {
    transition: background 0.15s ease;
}

.code-table tr:hover {
    background: rgba(255, 255, 255, 0.05);
}

.code-table tr.highlight-match {
    background: rgba(234, 179, 8, 0.25) !important;
}

.line-num {
    width: 50px;
    padding: 2px 14px 2px 10px;
    text-align: right;
    color: #64748b;
    user-select: none;
    font-size: 0.75rem;
    border-right: 1px solid rgba(255, 255, 255, 0.08);
    vertical-align: top;
}

.line-code {
    padding: 2px 14px;
    white-space: pre-wrap;
    word-break: break-all;
    vertical-align: top;
    color: #f1f5f9;
}

.line-code.no-wrap {
    white-space: pre;
    word-break: normal;
}
