/* Language Switcher Styling & Animation Definitions */
.teknotok-ait-switcher-container {
	position: relative;
	display: inline-block;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
	font-size: 14px;
	user-select: none;
	z-index: 99999;
}

.teknotok-ait-selected-lang {
	display: flex;
	align-items: center;
	gap: 8px;
	background: rgba(255, 255, 255, 0.85);
	backdrop-filter: blur(8px);
	-webkit-backdrop-filter: blur(8px);
	border: 1px solid rgba(226, 232, 240, 0.8);
	padding: 8px 16px;
	border-radius: 20px;
	cursor: pointer;
	box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.05), 0 2px 4px -2px rgba(0, 0, 0, 0.05);
	transition: all 0.2s ease-in-out;
}

.teknotok-ait-selected-lang:hover {
	background: #ffffff;
	transform: translateY(-1px);
	box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.08), 0 4px 6px -4px rgba(0, 0, 0, 0.08);
}

.teknotok-ait-arrow {
	width: 8px;
	height: 8px;
	border-right: 2px solid #64748b;
	border-bottom: 2px solid #64748b;
	transform: rotate(45deg);
	margin-left: 4px;
	transition: transform 0.2s ease;
}

.teknotok-ait-switcher-container.open .teknotok-ait-arrow {
	transform: rotate(-135deg);
}

.teknotok-ait-languages-dropdown {
	position: absolute;
	bottom: calc(100% + 8px);
	right: 0;
	background: rgba(255, 255, 255, 0.95);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	border: 1px solid rgba(226, 232, 240, 0.8);
	border-radius: 12px;
	padding: 6px;
	margin: 0;
	list-style: none;
	min-width: 150px;
	width: max-content;
	box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.1), 0 8px 10px -6px rgba(0, 0, 0, 0.1);
	display: none;
	opacity: 0;
	transform: translateY(10px);
	transition: opacity 0.2s ease, transform 0.2s ease;
}

.teknotok-ait-switcher-container.open .teknotok-ait-languages-dropdown {
	display: block;
	opacity: 1;
	transform: translateY(0);
}

.teknotok-ait-languages-dropdown li {
	display: flex;
	align-items: center;
	gap: 10px;
	padding: 8px 12px;
	border-radius: 8px;
	cursor: pointer;
	color: #334155;
	transition: all 0.15s ease;
}

.teknotok-ait-languages-dropdown li:hover {
	background: #f1f5f9;
	color: #6366f1;
}

.teknotok-ait-languages-dropdown li.active {
	background: #e0e7ff;
	color: #4f46e5;
	font-weight: 600;
}

/* Flag Icons */
.teknotok-ait-flag {
	width: 18px;
	height: 18px;
	border-radius: 50%;
	object-fit: cover;
	border: 1px solid rgba(0, 0, 0, 0.08);
	display: inline-block;
	flex-shrink: 0;
}

/* Referral Link Styling */
.teknotok-ait-languages-dropdown li.teknotok-ait-referral-item {
	border-top: 1px solid rgba(226, 232, 240, 0.8);
	margin-top: 6px;
	padding: 8px 12px 4px;
	border-radius: 0;
	cursor: default;
}

.teknotok-ait-languages-dropdown li.teknotok-ait-referral-item:hover {
	background: transparent;
}

.teknotok-ait-languages-dropdown li.teknotok-ait-referral-item a {
	display: flex;
	align-items: center;
	gap: 6px;
	color: #64748b;
	text-decoration: none;
	font-size: 11px;
	font-weight: 500;
	width: 100%;
	justify-content: center;
	transition: color 0.15s ease;
}

.teknotok-ait-languages-dropdown li.teknotok-ait-referral-item a:hover {
	color: #4f46e5;
}

.teknotok-ait-languages-dropdown li.teknotok-ait-referral-item .teknotok-ait-referral-icon {
	font-size: 12px;
	color: #eab308;
}

/* Floating alignments */
.teknotok-ait-floating-wrapper {
	position: fixed;
	bottom: 24px;
	z-index: 999999;
}
.teknotok-ait-floating-floating-bottom-right {
	right: 24px;
}
.teknotok-ait-floating-floating-bottom-left {
	left: 24px;
}

/* Redirection Banner styles */
.teknotok-ait-banner {
	position: fixed;
	bottom: 24px;
	left: 50%;
	transform: translateX(-50%);
	background: rgba(15, 23, 42, 0.95);
	backdrop-filter: blur(12px);
	-webkit-backdrop-filter: blur(12px);
	border: 1px solid rgba(255, 255, 255, 0.15);
	border-radius: 16px;
	padding: 16px 24px;
	box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.15), 0 10px 10px -5px rgba(0, 0, 0, 0.15);
	z-index: 9999999;
	color: #fff;
	max-width: 500px;
	width: 90%;
	animation: slideUp 0.3s ease;
}

.teknotok-ait-banner-content {
	display: flex;
	flex-direction: column;
	gap: 12px;
	align-items: center;
	text-align: center;
}

.teknotok-ait-banner-text {
	font-weight: 500;
	font-size: 14px;
	line-height: 1.5;
}

.teknotok-ait-banner-actions {
	display: flex;
	gap: 10px;
}

.teknotok-ait-banner-actions button {
	padding: 8px 16px;
	border-radius: 20px;
	font-size: 13px;
	font-weight: 600;
	cursor: pointer;
	border: none;
	transition: all 0.2s ease;
}

.teknotok-ait-banner-actions .button-primary {
	background: #6366f1;
	color: #fff;
}
.teknotok-ait-banner-actions .button-primary:hover {
	background: #4f46e5;
}

.teknotok-ait-banner-actions .button-secondary {
	background: rgba(255, 255, 255, 0.1);
	color: #fff;
}
.teknotok-ait-banner-actions .button-secondary:hover {
	background: rgba(255, 255, 255, 0.2);
}

@keyframes slideUp {
	from { transform: translate(-50%, 100px); opacity: 0; }
	to { transform: translate(-50%, 0); opacity: 1; }
}
