/* Styles for the language switcher */
.language-selector {
    position: relative;
    margin-left: 15px;
    z-index: 100;
}

.lang-dropdown {
    position: relative;
    display: flex;
    /*display: none;*/
    align-items: center;
    cursor: pointer;
    color: white;
}

.current-lang {
    font-size: 16px;
    font-weight: 700;
    margin-right: 5px;
    text-transform: uppercase;
}

.language-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    background-color: #ffffff;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    border-radius: 5px;
    padding: 10px 0;
    min-width: 150px;
    z-index: 1000;
    display: none;
    margin-top: 10px;
}

.language-dropdown.show {
    display: block;
}

.language-dropdown .lang-item {
    display: block;
    padding: 8px 15px;
    color: #37414A;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s;
    text-align: left;
}

.language-dropdown .lang-item:hover {
    color: #5E8399;
    background-color: rgba(94, 131, 153, 0.1);
}

.language-dropdown .lang-item.active {
    color: #5E8399;
    font-weight: 600;
    background-color: rgba(94, 131, 153, 0.05);
}

/* Mobile styles */
.mobile-language-selector {
    margin: 20px auto;
    display: flex;
    justify-content: center;
}

@media (max-width: 992px) {
    .mobile-language-selector .language-dropdown {
        left: 50%;
        right: auto;
        transform: translateX(-50%);
    }
}

.lang-dropdown {
    position: relative;
    cursor: pointer;
    z-index: 100;
}

.language-dropdown {
    display: none;
    position: absolute;
    top: 100%;
    right: 0;
    background-color: white;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2);
    z-index: 101;
    min-width: 120px;
}

.language-dropdown.show {
    display: block;
}

.lang-item {
    display: block;
    padding: 8px 12px;
    text-decoration: none;
    color: #333;
}

.lang-item:hover {
    background-color: #f5f5f5;
}

.lang-item.active {
    font-weight: bold;
}
