/**
 * MULTILINGUAL LANGUAGE SWITCHER - Styles
 * Przełącznik języków dla B.S.G
 * =========================================
 */

.bsg-language-switcher {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
}

.bsg-lang-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 8px 14px;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    min-width: 40px;
    text-align: center;
}

.bsg-lang-link:hover {
    background: rgba(255, 107, 61, 0.2);
    border-color: rgba(255, 107, 61, 0.5);
    color: #ffffff;
    transform: translateY(-2px);
}

.bsg-lang-link.active {
    background: linear-gradient(135deg, #FF6B3D 0%, #FF8C5A 100%);
    border-color: #FF6B3D;
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(255, 107, 61, 0.3);
}

.bsg-lang-code {
    display: block;
    line-height: 1;
}

/* Header integration */
.site-header .bsg-language-switcher {
    margin-left: auto;
    margin-right: 20px;
}

.header-contact .bsg-language-switcher {
    margin-left: 0;
    margin-right: 0;
}

/* Footer integration */
.site-footer .bsg-language-switcher {
    justify-content: center;
    margin: 20px 0;
}

/* Mobile */
@media (max-width: 768px) {
    .bsg-language-switcher {
        gap: 6px;
    }
    
    .bsg-lang-link {
        padding: 6px 12px;
        font-size: 12px;
        min-width: 36px;
    }
    
    .site-header .bsg-language-switcher {
        margin-right: 10px;
    }
}

/* Dropdown variant (optional) */
.bsg-language-switcher.dropdown {
    position: relative;
}

.bsg-language-switcher.dropdown .bsg-lang-link {
    cursor: pointer;
}

.bsg-language-switcher.dropdown .bsg-lang-link:not(.active) {
    display: none;
}

.bsg-language-switcher.dropdown:hover .bsg-lang-link {
    display: inline-flex;
}

