/* Затемнение фона */
#language-popup-overlay {
    display: none; /* По умолчанию скрыт */
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5); /* Полупрозрачный чёрный фон */
    z-index: 9998; /* Находится под попапом */
}

/* Попап */
#language-popup {
    display: none; /* По умолчанию скрыт */
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #fff;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    border-radius: 8px;
    padding: 20px;
    z-index: 9999; /* Находится над затемнением */
}

#language-popup h2 {
    font-size: 24px;
    margin-bottom: 15px;
    font-weight: bold;
    color: #333;
}

#language-popup p {
    font-size: 16px;
    color: #666;
    margin-bottom: 20px;
}

.language-icon {
	position: absolute;
	top: 0.5rem;
	right: 2.5rem;
	width: 32px; 
	height: 32px;
	cursor: pointer;
}

#language-popup .buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

#language-popup .buttons button {
    padding: 12px 20px;
    font-size: 14px;
    border-radius: 2px;
    border: none;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

#language-popup .buttons .btn-primary {
    background-color: #e15a23;
    color: #fff;
    font-weight: bold;
    text-transform: uppercase;
}

#language-popup .buttons .btn-primary:hover {
    background-color: #c0481d;
}

#language-popup .buttons .btn-secondary {
    background-color: #f4f4f5;
    color: #6c757d;
    text-transform: uppercase;
}

#language-popup .buttons .btn-secondary:hover {
    background-color: #dcdcdc;
    color: #333;
}
.language-switcher {
    font-family: Arial, sans-serif;
    font-size: 13px;
	font-weight: bold;
    color: #003366; /* Серый цвет по умолчанию */
  /*  display: flex; */
    align-items: center;
	text-align: right;
}

.lang-item {
    text-decoration: none;
    color: inherit;
    margin: 0 5px;
    transition: color 0.3s;
}

.lang-item:hover {
    color: #0073aa; /* Синий цвет при наведении */
    text-decoration: underline;
}

.lang-item.active {
    color: #999999; /* Синий цвет активного языка */
    font-weight: bold;
    text-decoration: underline;
}

.divider {
	border-bottom: none;
    color: #cccccc; /* Серый цвет разделителя */
    font-weight: bold;
}

@media (max-width: 767px) {
    #language-popup {
        width: 90%;
    }
	.language-switcher {
    color: #f2f2f2;
	padding: 8px 2px 7px;
	line-height: 17px;
	margin: 20px;
	float: left;
}
}
