.language-bar .flag-icon {
	font-size: 20px;
}

.language-bar .settings {
	display: flex;
    align-items: center;
    gap: 10px;
}

.svg-button-wrapper {
	display: inline-block;
	cursor: pointer;
}

.settings_menu {
	pointer-events: all;
	width: 24px;
	height: 24px;
	display: block;
}

.whiter {
	color: rgb(0 0 0);
}

.language-bar select {
	border: 1px solid #d1e7fd;
	border-radius: 5px;
	padding: 5px 10px;
	background-color: #f7f9fd;
	font-size: 14px;
	color: #333;
	cursor: pointer;
	transition: background-color 0.3s ease;
}

.language-bar select:hover {
	background-color: #353535;
}

@media (max-width: 768px) {
	.language-bar select {
		font-size: 12px;
		padding: 4px 8px;
	}
}

@media (max-width: 480px) {
	.language-bar {
		padding: 5px 10px;
	}
}

.language-bar {
	position: fixed;
	top: 0;
	left: 0;
	width: 100%;
	height: 4%;
	padding: 0 25px;
	display: flex;
	justify-content: space-between;
	align-items: center;
	background: rgba(255, 255, 255, 0.06);
	backdrop-filter: blur(10px);
	border-bottom: 1px solid rgba(255, 255, 255, 0.15);
	z-index: 1000;
}

.language-bar a,
.language-bar select {
	color: #fff;
	text-decoration: none;
	font-size: 14px;
	background: transparent;
	border: none;
	cursor: pointer;
	outline: none;
}

.language-bar select option {
	color: #000;
}
#popup_menu {
	width: 20vw;
	max-width: 200px;
	user-select: none;
	position: absolute;
	background-color: white; 
	color: black; 
	display: block;
	padding: 0;
	border-radius: 5px;
	overflow: hidden;
	box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
	height: 0; 
	transition: height 0.1s ease-out; 
}

#popup_menu a {
	display: block;
	padding: 10px;
	text-decoration: none;
	color: black;
	transition: background-color 0.1s;
}

#popup_menu a:hover {
	background-color: #f0f0f0; 
}


#popup_menu a:not(:last-child) {
	border-bottom: 1px solid #ccc;
}


#popup_menu.open {
	height: auto;
	transition: height 0.1s ease-out;
}

#exit-button {
	background-color: rgb(156, 86, 86);
	color: #ffffff
}

 
@media (max-width: 768px) {
	#popup_menu {
		display: flex;
		align-items: center;
		flex-direction: column;
		
		width: 100%; 
		max-width: 100%;
		height: 0px;
		top: 0; 
		left: 0; 
		border-radius: 0; 
		box-shadow: none; 
		overflow-y: auto; 
	}
	
	#popup_menu.open {
		height: 100vh;
	}
	
	#popup_menu a {
		padding: 15px;
		font-size: 18px; 
		width: 100%;
    	text-align: center;
	}

	#popup_menu a#exit-button {
		width: 70%;
		border-radius: 20px;
	}

	
	#exit-button {
		position: absolute;
		bottom: 20px;
		width: 100%;
		background-color: #f17070;
		text-align: center;
		padding: 10px;
	}
}

.popup {
	position: fixed;
	bottom: 25px;
	right: 25px;
	padding: 14px 22px;
	border-radius: 10px;
	display: none;
	opacity: 0;
	max-width: 90%;
	font-size: 15px;
	backdrop-filter: blur(12px);
	background: rgba(255, 255, 255, 0.08);
	color: #e6e9ef;
	box-shadow: 0 8px 25px rgba(0, 0, 0, 0.25);
	transition: opacity 0.3s ease, transform 0.3s ease;
	transform: translateY(10px);
	border: 1px solid rgba(255, 255, 255, 0.15);
	z-index: 200;
}


.popup.red {
	background: rgba(220, 53, 69, 0.2);
	border-color: rgba(220, 53, 69, 0.4);
	color: #ffbcbc;
	box-shadow: 0 0 20px rgba(220, 53, 69, 0.3);
}


.popup.green {
	background: rgba(40, 167, 69, 0.2);
	border-color: rgba(40, 167, 69, 0.4);
	color: #c4f7ce;
	box-shadow: 0 0 20px rgba(40, 167, 69, 0.3);
}


.popup.show {
	display: block;
	opacity: 1;
	transform: translateY(0);
}


@keyframes glow {
	0% { box-shadow: 0 0 10px rgba(255, 255, 255, 0.15); }
	100% { box-shadow: 0 0 20px rgba(255, 255, 255, 0.3); }
}


@media (max-width: 600px) {
	.popup {
		bottom: 15px;
		right: 15px;
		padding: 10px 18px;
		font-size: 13px;
		border-radius: 8px;
	}
}