:root {
    --bg-color: #1d1d1d;
    --light-color: #444;
    --dark-color: #000;
    --icon-color: #65615f;
    --border-width: 3px;
    --border-radius: 50%;
    --border-glow: 7px;
    --border-glow-offset: 0px;
    --border-image: url(https://i-repair.ro/images/flag/liqmetal.jpg);
    --image-size: 800%;
    --border-offset-x: 0px;
    --border-offset-y: 0px;
}

.lang-widget {
	position: fixed;
	bottom: 10px;
	right: 20px;
	z-index: 900;
	display: flex;
	align-items: center;
	justify-content: center;
	font-family: 'Segoe UI', system-ui, sans-serif;
}
.chat-metal {
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    margin: 0;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

/* ========== CSS SHINY BORDER CONTAINER ========== */
.shiny-border-container {
    position: relative;
    padding: 0;
    border-radius: var(--border-radius);
    display: inline-block;
    line-height: 0;
}

.shiny-border-container .content {
    position: relative;
    border-radius: var(--border-radius);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 63px;
    height: 63px;
    background: #0b1120;
    margin: 0;
    padding: 0;
}

.shiny-border-container .shiny {
    position: absolute;
    top: 0;
    right: 0;
    left: 0;
    bottom: 0;
    border-radius: var(--border-radius);
    background-image: var(--border-image);
    background-position: calc(50% + var(--border-offset-x)) calc(50% + var(--border-offset-y));
    background-size: var(--image-size);
    pointer-events: none;
    transition: background-image 0.3s ease;
    border-radius: var(--border-radius);
    box-shadow: 0 0 0 var(--border-width) transparent;
}

.shiny-border-container .glow {
    filter: blur(var(--border-glow));
    margin: var(--border-glow-offset);
    pointer-events: none;
    transition: background-image 0.3s ease;
    margin: 0;
}

.flag-wrapper {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    padding: 0px;
    margin: 0;
}

.flag-wrapper .flag-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 50%;
    display: block;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    transition: filter 0.3s ease;
    cursor: pointer;
    margin: 0;
    padding: 0;
}

.chat-metal:hover .flag-image {
    filter: drop-shadow(0 0 25px rgba(59, 130, 246, 0.4));
}

/* Language label container - holds all labels */
.language-labels-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    overflow: hidden;
    max-height: 0;
    opacity: 0;
    transition: max-height 0.4s ease, opacity 0.3s ease;
    pointer-events: none;
}

.language-labels-container.open {
    max-height: 200px;
    opacity: 1;
    pointer-events: all;
}

.language-label {
	color: rgba(255, 255, 255, 0.9);
	font-weight: 600;
	letter-spacing: 0.5px;
	/* background: rgba(255, 255, 255, 0.1); */
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	/* padding: 4px 12px; */
	border-radius: 30px;
	/* border: 1px solid rgba(255, 255, 255, 0.15); */
	text-shadow: 0 2px 10px rgba(0,0,0,0.5);
	white-space: nowrap;
	z-index: 10;
	text-align: center;
	cursor: pointer;
	transition: all 0.3s ease;
	font-size: 0.65rem;
	padding: 6px 14px;
	margin: 0;
	font-family: 'Good Timing', sans-serif;
	min-width: 80px;
	transform: scale(0.8);
	opacity: 0;
	pointer-events: none;
	background: url(https://i-repair.ro/assets/suprim-btn.png) no-repeat center;
	background-size: 100% 100%;
}
.language-labels-container.open .language-label {
    transform: scale(1);
    opacity: 1;
    pointer-events: all;
}

.language-label:hover {
	background: url("https://i-repair.ro/assets/suprim-btn-hover.png") no-repeat center;
	background-size: 100% 100%;
        transition: all ease-in 0.5s;
        transform: scale(1.05);
}

.language-label.active {
	background: url("https://i-repair.ro/assets/suprim-btn-hover.png") no-repeat center;
	background-size: 100% 100%;
        transition: all ease-in 0.5s;

}

/* Main label (always visible) */
.main-language-label {
	color: rgba(255, 255, 255, 0.9);
	font-weight: 600;
	letter-spacing: 0.5px;
	/* background: rgba(255, 255, 255, 0.1); */
	backdrop-filter: blur(10px);
	-webkit-backdrop-filter: blur(10px);
	/* padding: 4px 12px; */
	border-radius: 30px;
	/* border: 1px solid rgba(255, 255, 255, 0.15); */
	text-shadow: 0 2px 10px rgba(116, 223, 234, 0.5);
	white-space: nowrap;
	z-index: 10;
	text-align: center;
	pointer-events: none;
	transition: all 0.3s ease;
	font-size: 0.65rem;
	padding: 6px 14px;
	margin: 0;
	font-family: 'Good Timing', sans-serif;
	min-width: 80px;
	background: url("https://i-repair.ro/assets/suprim-btn-hover.png") no-repeat center;
	background-size: 100% 100%;
}
.text-box {
	position: absolute;
	left: 0;
	display: flex;
	justify-content: flex-end;
	align-items: center;
	gap: 8rem;
	padding: 3rem;
	width: 7vw;
	background-color: var(--dark-color);
	border-radius: 0 50vh 50vh 0;
	box-shadow: inset 0 0.2em 0 0 var(--light-color);
}

@media (max-width: 600px) {
.lang-widget {
	right: 14px;
	bottom: -10px;
}
    .shiny-border-container .content {
        width: 56px;
        height: 56px;
    }
    .language-label,
    .main-language-label {
        font-size: 0.6rem;
        padding: 4px 10px;
        min-width: 65px;
    }
}