/* Chronbyte ERP — header language toggle (F2) */
.ng-lang-switch {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 2px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin-right: 10px;
}

.ng-lang-switch__btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 2.4rem;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    text-decoration: none !important;
    color: rgba(255, 255, 255, 0.85) !important;
    line-height: 1.2;
    transition: background 0.15s ease, color 0.15s ease;
}

.ng-lang-switch__btn:hover {
    background: rgba(255, 255, 255, 0.18);
    color: #fff !important;
}

.ng-lang-switch__btn.is-active {
    background: #fff;
    color: var(--primary-color, #7f1d1d) !important;
    box-shadow: 0 1px 4px rgba(0, 0, 0, 0.12);
}

.parent-top-toolbar .ng-lang-switch {
    background: #f1f5f9;
    border-color: #e2e8f0;
}

.parent-top-toolbar .ng-lang-switch__btn {
    color: #475569 !important;
}

.parent-top-toolbar .ng-lang-switch__btn.is-active {
    background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
    color: #fff !important;
}

@media (max-width: 640px) {
    .ng-lang-switch {
        margin-right: 6px;
    }
    .ng-lang-switch__btn {
        min-width: 2rem;
        padding: 4px 8px;
        font-size: 0.68rem;
    }
}
