/*
 * Quark 2 — user customizations
 *
 * This file is safe to edit. It is loaded last so anything here overrides
 * theme.css without having to mark rules !important.
 */

.language-toggle {
    display: inline-flex;
    align-items: center;
    height: 30px;
    margin-right: 6px;
    padding: 2px;
    background: transparent;
    box-sizing: border-box;
}

.language-option {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 24px;
    min-width: 34px;
    padding: 0 7px;
    border-radius: 5px;
    color: inherit;
    text-decoration: none !important;
    font-family: inherit;
    font-size: 0.9375rem;
    font-weight: 500;
    line-height: 1;
}

.language-option:hover {
    color: #00afff;
}

.language-option.active {
    background: #00afff;
    color: #ffffff !important;
}

.language-option.active:hover {
    color: #ffffff !important;
}

[data-theme="dark"] .language-toggle {
    border-color: rgba(255, 255, 255, 0.2);
}

.navbar-section.actions {
    display: flex;
    align-items: center;
    gap: 4px;
}

.language-toggle {
    align-self: center;
    vertical-align: middle;
}

.mobile-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 2rem;
}

.mobile-actions .language-toggle {
    margin-right: 0;
    flex-shrink: 0;
}
