/**
 * Internationalization (i18n) Styles
 * Language selector and related UI elements
 */

.language-selector {
    display: inline-block;
    margin-left: 15px;
}

.language-select {
    padding: 6px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    background-color: white;
    color: #333;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    outline: none;
}

.language-select:hover {
    border-color: #267D34;
    box-shadow: 0 2px 5px rgba(38, 125, 52, 0.1);
}

.language-select:focus {
    border-color: #267D34;
    box-shadow: 0 0 0 3px rgba(38, 125, 52, 0.1);
}

.language-select option {
    padding: 8px;
}

/* Mobile responsive */
@media (max-width: 768px) {
    .language-selector {
        margin-left: 10px;
    }
    
    .language-select {
        padding: 5px 10px;
        font-size: 13px;
    }
}

/* Fixed position variant (when no header exists) */
.language-selector.fixed {
    position: fixed;
    top: 10px;
    right: 10px;
    z-index: 10000;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    background-color: white;
    padding: 5px;
    border-radius: 4px;
}

/* Backend compact style */
body.backend-compact .language-selector {
    margin-left: 10px;
}

body.backend-compact .language-select {
    padding: 4px 8px;
    font-size: 0.85rem;
}

