/* ============================================
   WebSocket Flow Visualizer - Theme Colors
   Project-specific colors and overrides
   ============================================ */

:root {
    /* WebSocket Component Colors */
    --color-client-start: #6B9E9E;
    --color-client-end: #4A7A7A;
    --color-server-start: #7B9E7B;
    --color-server-end: #5C7A5C;
    --color-message-text: #D4A855;
    --color-message-binary: #C2785C;
    --color-ping-pong: #8BA888;
    --color-close: #E57373;
    --color-http: #6B6B5E;
    --color-connection: #D4A855;
    --color-connection-glow: rgba(212, 168, 85, 0.45);

    /* Theme accent for controls */
    --color-accent-start: var(--color-connection);
    --color-accent-end: var(--color-server-start);
}

/* Link colors using WebSocket theme */
a {
    color: var(--color-connection);
}

a:hover {
    color: var(--color-server-start);
}

/* WebSocket Logo Gradient */
.viz-logo {
    font-size: 1.25rem;
    font-weight: 600;
    background: linear-gradient(135deg, var(--color-connection), var(--color-server-start));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* WebSocket-themed control button */
.viz-control-btn-primary {
    background: linear-gradient(135deg, var(--color-server-end), var(--color-client-end)) !important;
    color: white !important;
}

.viz-control-btn-primary:hover {
    filter: brightness(1.1);
}

/* WebSocket-themed slider thumb */
.viz-speed-slider::-webkit-slider-thumb {
    background: linear-gradient(135deg, var(--color-connection), var(--color-server-start));
}

.viz-speed-slider::-moz-range-thumb {
    background: linear-gradient(135deg, var(--color-connection), var(--color-server-start));
}

/* WebSocket lesson item active state */
.viz-lesson-item.active {
    background-color: var(--bg-surface-light) !important;
    border-left-color: var(--color-connection) !important;
}

.viz-lesson-item.active .viz-lesson-number {
    background: linear-gradient(135deg, var(--color-connection), var(--color-server-start));
    color: white;
}
