/* Log Syntax Highlighting - VS Code Style */

/* Date/Time - Green */
.hljs-log-date {
    color: #6a9955;
}

/* DEBUG - Blue/Cyan */
.hljs-log-debug {
    color: #569cd6;
    font-weight: bold;
}

/* INFO - Light Blue */
.hljs-log-info {
    color: #9cdcfe;
    font-weight: bold;
}

/* WARN - Orange / Yellow */
.hljs-log-warn {
    color: #ce9178;
    font-weight: bold;
}

/* ERROR - Red */
.hljs-log-error {
    color: #f44747;
    font-weight: bold;
}

/* FATAL - Dark Red / Bold */
.hljs-log-fatal {
    color: #d16969;
    font-weight: bold;
    text-decoration: underline;
}

/* TRACE - Gray */
.hljs-log-trace {
    color: #808080;
}

/* Links - Blue Underlined */
.hljs-log-link {
    color: #569cd6;
    text-decoration: underline;
    cursor: pointer;
    position: relative;
}

.hljs-log-link:hover::after {
    content: "按住 Ctrl + 点击打开链接";
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: #252526;
    color: #cccccc;
    padding: 4px 8px;
    border: 1px solid #454545;
    border-radius: 4px;
    font-size: 12px;
    white-space: nowrap;
    z-index: 100;
    pointer-events: none;
    line-height: 1.2;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.25);
    font-family: system-ui, -apple-system, sans-serif;
    font-weight: normal;
    text-decoration: none;
    margin-bottom: 2px;
}

/* IP Address - Teal/Cyan */
.hljs-log-ip {
    color: #4ec9b0;
    font-weight: 500;
}

/* Keys / Properties - Yellowish */
.hljs-log-key {
    color: #dcdcaa;
}

/* Numbers - Light Green */
.hljs-number {
    color: #b5cea8;
}

/* Strings - Orange */
.hljs-string {
    color: #ce9178;
}
