/* Custom theme for vLLM Client documentation */

/* Landing page specific - these styles are self-contained in index.hbs */
/* This file now primarily contains documentation-specific overrides */

/* Improve code block styling */
pre code {
    border-radius: 4px;
}

/* Better table styling */
table {
    border-collapse: collapse;
    width: 100%;
    margin: 1em 0;
}

table th, table td {
    padding: 0.5em 1em;
    border: 1px solid var(--table-border-color);
}

table th {
    background-color: var(--table-header-bg);
}

/* Warning/Note boxes */
.warning, .note {
    padding: 1em;
    border-radius: 4px;
    margin: 1em 0;
}

.warning {
    background-color: #fff3cd;
    border-left: 4px solid #ffc107;
}

.note {
    background-color: #e7f5ff;
    border-left: 4px solid #0d6efd;
}

/* Language selector styling - inline in menu bar */
.language-selector {
    display: inline-flex;
    align-items: center;
    margin-left: 15px;
    padding-left: 15px;
    border-left: 1px solid var(--sidebar-divider, #ccc);
}

.language-selector a {
    padding: 4px 8px;
    margin: 0 2px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 14px;
    background: #f0f0f0;
    color: #333;
    transition: background-color 0.2s;
}

.language-selector a:hover {
    background: #ddd;
}

.language-selector a.active {
    background-color: var(--sidebar-active);
    font-weight: bold;
}

/* Fallback for fixed position (alternative style) */
.language-selector.fixed {
    position: fixed;
    top: 10px;
    left: 10px;
    z-index: 9999;
    background: #fff;
    padding: 5px 10px;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
    border-left: none;
}

/* Ensure language selector is visible in menu bar */
#menu-bar {
    display: flex;
    align-items: center;
}

/* Improved navigation */
.menu-title {
    font-weight: bold;
}

/* Better code highlighting for Rust */
.rust {
    color: #000;
}

/* Responsive adjustments */
@media (max-width: 1080px) {
    .warning, .note {
        margin: 0.5em;
    }
}

/* ========================================
   Landing Page Animations
   ======================================== */

/* Particle canvas glow effect */
#particles-canvas {
    opacity: 0.8;
}
