/* TechKit Documentation Custom Styles */

/* Code block styling */
.highlight {
    background: #f8f8f8;
    border-radius: 4px;
}

/* API reference styling */
.sig-name {
    font-weight: bold;
}

/* Table styling */
table.docutils {
    border-collapse: collapse;
    width: 100%;
}

table.docutils td, table.docutils th {
    border: 1px solid #ddd;
    padding: 8px;
}

/* Indicator reference cards */
.sd-card {
    margin-bottom: 1rem;
}

/* Language Switcher Styles */
.language-switcher {
    position: fixed;
    top: 0;
    right: 0;
    z-index: 1001;
    background: #2980b9;
    padding: 8px 16px;
    border-radius: 0 0 0 8px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.language-switcher a {
    color: white;
    text-decoration: none;
    margin: 0 8px;
    padding: 4px 12px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 500;
    transition: background-color 0.2s;
    display: inline-block;
}

.language-switcher a:hover {
    background-color: rgba(255, 255, 255, 0.2);
}

.language-switcher a.active {
    background-color: rgba(255, 255, 255, 0.3);
    font-weight: 600;
}

/* Ensure switcher is above RTD theme navigation */
.wy-nav-top {
    z-index: 1000;
}

/* Mobile responsive */
@media screen and (max-width: 768px) {
    .language-switcher {
        position: relative;
        width: 100%;
        border-radius: 0;
        text-align: center;
        padding: 12px;
        margin-bottom: 0;
    }
    
    .language-switcher a {
        display: inline-block;
        margin: 4px;
    }
}

