/* Language Switcher Styles */
.app-header {
    background-color: #ffffff;
    border-bottom: 1px solid #e0e0e0;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
    font-family: "Apercu", sans-serif;
}

.app-header .search-container input {
    border: 1px solid #707070;
    border-radius: 1rem;
    height: 3rem;
    width: 20rem;
    padding-left: 1rem;
    padding-right: 3rem;
}

.app-header .search-container input:focus {
    outline: none;
    border-color: #2563eb;
    box-shadow: 0 0 0 2px rgba(37, 99, 235, 0.1);
}

/* Language switcher component specific styles */
.language-switcher {
    font-family: "Apercu", sans-serif;
}

.language-switcher .language-btn {
    color: #475569;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s ease;
}

.language-switcher .language-btn:hover {
    color: #2563eb;
    transform: translateY(-1px);
}

.language-switcher .current-lang {
    font-weight: 600;
    font-size: 0.95rem;
}

.language-switcher .dropdown-menu {
    border: 1px solid #e2e8f0;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    min-width: 200px;
}

.language-switcher .dropdown-item {
    padding: 0.75rem 1rem;
    transition: all 0.2s ease;
}

.language-switcher .dropdown-item:hover {
    background-color: #f8fafc;
    transform: translateX(4px);
}

.language-switcher .language-code {
    font-weight: 600;
    font-size: 0.85rem;
    color: #6c757d;
    background-color: #f1f5f9;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
}

.language-switcher .language-name {
    font-size: 0.9rem;
    color: #334155;
}

/* Horizontal style (matching static HTML design) */
.language-switcher.horizontal .lang {
    display: flex;
    margin: 0;
    padding: 0;
    align-items: center;
}

.language-switcher.horizontal .lang li {
    list-style: none;
    font-size: 1.4rem;
    margin: 0;
}

.language-switcher.horizontal .lang li::after {
    content: "|";
    margin: 0 0.5rem;
    color: #d1d5db;
}

.language-switcher.horizontal .lang li:last-child::after {
    display: none;
}

.language-switcher.horizontal .lang li a {
    color: #9ca3af;
    text-decoration: none;
    font-weight: 400;
    transition: all 0.2s ease;
    padding: 0.25rem 0;
}

.language-switcher.horizontal .lang li a:hover {
    color: #374151;
    transform: scale(1.05);
}

.language-switcher.horizontal .lang li a.active {
    color: #000000;
    font-weight: 600;
    text-decoration: underline;
    text-underline-offset: 4px;
}

/* Pills style for admin */
.language-switcher.admin-pills .language-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 0.25rem;
}

.language-switcher.admin-pills .btn {
    min-width: 45px;
    font-size: 0.875rem;
    font-weight: 500;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.language-switcher.admin-pills .btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* Mobile responsive */
@media (max-width: 768px) {
    .app-header .container-fluid {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .app-header .search-container input {
        width: 100%;
        max-width: 300px;
    }

    .language-switcher.horizontal .lang li {
        font-size: 1.2rem;
    }
}

@media (max-width: 576px) {
    .language-switcher.horizontal .lang li {
        font-size: 1rem;
    }

    .language-switcher.horizontal .lang li::after {
        margin: 0 0.25rem;
    }
}


