.ibrs-lang {
	display: inline-flex;
	align-items: stretch;
	overflow: hidden;
	border: 1px solid rgb(7 54 109 / .2);
	border-radius: 6px;
	background: #fff;
}

.ibrs-lang__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 40px;
	min-height: 30px;
	padding: 0 .5rem;
	color: #3d5674;
	font-size: .72rem;
	font-weight: 760;
	letter-spacing: .06em;
	line-height: 1;
	text-decoration: none;
	transition: background .18s ease, color .18s ease;
}

.ibrs-lang__btn + .ibrs-lang__btn {
	border-left: 1px solid rgb(7 54 109 / .14);
}

.ibrs-lang__btn:hover,
.ibrs-lang__btn:focus-visible {
	background: #eef4f9;
	color: #07366d;
}

.ibrs-lang__btn:focus-visible {
	outline: 2px solid #007d61;
	outline-offset: -2px;
}

.ibrs-lang__btn.is-active {
	background: #07366d;
	color: #fff;
}

.ibrs-lang__btn.is-active:hover,
.ibrs-lang__btn.is-active:focus-visible {
	background: #07366d;
	color: #fff;
}

/* Floating language pill above the WhatsApp button */
.ibrs-lang--float {
	align-items: center;
	gap: .1rem;
	padding: .25rem;
	border-color: rgb(7 54 109 / .14);
	border-radius: 999px;
	box-shadow: 0 6px 18px rgb(7 54 109 / .14), 0 1px 3px rgb(7 54 109 / .08);
}

.ibrs-lang__flag {
	display: inline-flex;
	align-items: center;
	gap: .32rem;
	min-height: 34px;
	padding: .2rem .6rem .2rem .45rem;
	border-radius: 999px;
	color: #3d5674;
	font-size: .68rem;
	font-weight: 780;
	letter-spacing: .05em;
	line-height: 1;
	text-decoration: none;
	transition: background .18s ease, color .18s ease;
}

.ibrs-lang__flag:hover,
.ibrs-lang__flag:focus-visible {
	background: #eef4f9;
	color: #07366d;
}

.ibrs-lang__flag:focus-visible {
	outline: 2px solid #007d61;
	outline-offset: 1px;
}

.ibrs-lang__flag.is-active {
	background: #07366d;
	color: #fff;
}

.ibrs-lang__flag.is-active:hover,
.ibrs-lang__flag.is-active:focus-visible {
	background: #07366d;
	color: #fff;
}

.ibrs-lang__flag-img {
	display: inline-flex;
	width: 20px;
	height: 14px;
	overflow: hidden;
	border-radius: 2px;
	box-shadow: 0 0 0 1px rgb(7 54 109 / .16);
}

.ibrs-lang__flag-img svg {
	display: block;
	width: 100%;
	height: 100%;
}

.ibrs-lang--mobile {
	align-self: start;
	justify-self: start;
	width: max-content;
	max-width: 100%;
	margin-bottom: .85rem;
}

.ibrs-lang--mobile .ibrs-lang__btn {
	min-width: 52px;
	min-height: 40px;
	font-size: .78rem;
}

@media (max-width: 960px) {
	.ibrs-lang--float {
		display: none;
	}
}

@media (min-width: 961px) {
	.ibrs-lang--mobile {
		display: none;
	}
}
