/* The Balloon — Non-Intrusive Language Suggestion Banner */
.tb-lang-banner {
	position: fixed;
	bottom: 20px;
	left: 50%;
	transform: translateX(-50%) translateY(20px);
	z-index: 99999;
	width: calc(100% - 32px);
	max-width: 680px;
	background: rgba(255, 255, 255, 0.98);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	border: 1px solid rgba(249, 139, 178, 0.35);
	border-radius: 16px;
	box-shadow: 0 12px 32px rgba(26, 20, 23, 0.12), 0 2px 8px rgba(249, 139, 178, 0.15);
	padding: 14px 18px;
	opacity: 0;
	transition: opacity 0.28s ease, transform 0.28s ease;
	font-family: inherit;
}

.tb-lang-banner.is-visible {
	opacity: 1;
	transform: translateX(-50%) translateY(0);
}

.tb-lang-banner__inner {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 16px;
}

.tb-lang-banner__text-wrap {
	display: flex;
	align-items: center;
	gap: 10px;
	flex: 1 1 auto;
}

.tb-lang-banner__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border-radius: 50%;
	background: #FFF2F6;
	flex-shrink: 0;
}

.tb-lang-banner__msg {
	margin: 0;
	font-size: 14px;
	line-height: 1.4;
	font-weight: 500;
	color: #2B2B2B;
}

.tb-lang-banner__actions {
	display: flex;
	align-items: center;
	gap: 8px;
	flex-shrink: 0;
}

.tb-lang-banner__btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 8px 15px;
	border-radius: 999px;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.2;
	text-decoration: none;
	cursor: pointer;
	transition: all 0.2s ease;
	white-space: nowrap;
}

.tb-lang-banner__btn--primary {
	background: #FF6B9D;
	color: #FFFFFF !important;
	border: 1px solid #FF6B9D;
}

.tb-lang-banner__btn--primary:hover {
	background: #F05288;
	border-color: #F05288;
	color: #FFFFFF !important;
}

.tb-lang-banner__btn--secondary {
	background: #FFF5F8;
	color: #555555;
	border: 1px solid rgba(249, 139, 178, 0.4);
}

.tb-lang-banner__btn--secondary:hover {
	background: #FFE8F0;
	color: #222222;
}

.tb-lang-banner__close {
	background: transparent;
	border: none;
	padding: 6px;
	color: #999999;
	cursor: pointer;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	border-radius: 50%;
	transition: color 0.2s ease, background 0.2s ease;
	flex-shrink: 0;
}

.tb-lang-banner__close:hover {
	color: #333333;
	background: #F5F5F5;
}

@media (max-width: 640px) {
	.tb-lang-banner {
		bottom: 12px;
		padding: 14px 16px;
		width: calc(100% - 24px);
	}

	.tb-lang-banner__inner {
		flex-direction: column;
		align-items: stretch;
		gap: 12px;
		position: relative;
	}

	.tb-lang-banner__text-wrap {
		padding-right: 26px;
	}

	.tb-lang-banner__actions {
		width: 100%;
	}

	.tb-lang-banner__btn {
		flex: 1 1 50%;
		padding: 10px 12px;
	}

	.tb-lang-banner__close {
		position: absolute;
		top: -4px;
		right: -4px;
	}
}
