/* Menu Styling for All Languages */
.navbar-nav .nav-link {
    font-weight: 500 !important;
    color: #333 !important;
    padding: 0.5rem 1rem !important;
    text-decoration: none !important;
    transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out !important;
}

.navbar-nav .nav-link.menu-link {
    font-weight: 500 !important;
    color: #333 !important;
}

.navbar-nav .nav-link:hover {
    color: #0d6efd !important;
}

.dropdown-menu {
    border-radius: 0.25rem;
    box-shadow: 0 0.5rem 1rem rgba(0, 0, 0, 0.15);
}

.dropdown-item {
    padding: 0.5rem 1rem;
    font-weight: 400;
}

.dropdown-item:hover {
    background-color: #f8f9fa;
}

/* Action buttons in the menu */
.navbar .btn-info {
    background-color: #00c2ff;
    border-color: #00c2ff;
    color: white;
    font-weight: 500;
    padding: 0.375rem 0.75rem;
    border-radius: 4px;
    text-decoration: none;
    font-size: 1rem;
    min-width: 100px;
    text-align: center;
}

.navbar .btn-info:hover {
    background-color: #00b0e6;
    border-color: #00b0e6;
    color: white;
}

.navbar-brand img {
    height: 40px;
}

/* Remove margin-bottom from navbar on larger screens */
@media (min-width: 992px) {
    .navbar {
        margin-bottom: 0;
    }
}

/* Language switcher styling */
.dropdown-toggle {
    font-weight: 500;
    padding: 0.375rem 0.75rem;
}

/* Ensure consistent styling for all language menus */
html[lang="fr"] .navbar-nav .nav-link,
html[lang="de"] .navbar-nav .nav-link,
html[lang="en"] .navbar-nav .nav-link {
    font-weight: 500 !important;
    color: #333 !important;
    padding: 0.5rem 1rem !important;
    text-decoration: none !important;
}

/* Custom styling for the language switcher */
.language-switcher {
    display: inline-flex;
    align-items: center;
    margin-left: 1rem;
}

.language-switcher .btn {
    font-weight: 500;
    border-radius: 0.25rem;
}

/* Ensure the "Show Keys" button is properly styled */
.btn-info, .btn-danger {
    color: white;
    font-weight: 500;
}

/* Add navbar padding to match screenshot */
.navbar {
    padding: 0.5rem 0;
}

.navbar-brand {
    padding: 0;
} 