/* Custom highlighting utilities for the encoded/decoded views */

.highlight-encoded {
    background-color: rgba(234, 179, 8, 0.2);
    /* yellow-500 with opacity */
    color: #ca8a04;
    /* yellow-600 */
    border-radius: 3px;
    padding: 0 2px;
}

.dark .highlight-encoded {
    background-color: rgba(234, 179, 8, 0.25);
    color: #fde047;
    /* yellow-300 */
}

.highlight-param {
    color: #8b5cf6;
    /* violet-500 */
    font-weight: 600;
}

.dark .highlight-param {
    color: #a78bfa;
    /* violet-400 */
}

.highlight-val {
    color: #10b981;
    /* emerald-500 */
}

.dark .highlight-val {
    color: #34d399;
    /* emerald-400 */
}

/* Custom scrollbar to match minimalist theme */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: #e4e4e7;
    border-radius: 4px;
}

.dark ::-webkit-scrollbar-thumb {
    background: #3f3f46;
}

::-webkit-scrollbar-thumb:hover {
    background: #d4d4d8;
}

.dark ::-webkit-scrollbar-thumb:hover {
    background: #52525b;
}

/* Base url formatting */
.base-url {
    color: #3b82f6;
    /* blue-500 */
    word-break: break-all;
    display: inline-block;
    margin-bottom: 0.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px dashed #e5e7eb;
}

.dark .base-url {
    color: #60a5fa;
    /* blue-400 */
    border-bottom-color: #3f3f46;
}