.wpfl-btn-bot {
	background: #0d9488;
	color: #ffffff;
}

.wpfl-btn-bot:hover {
	background: #0f766e;
	color: #ffffff;
}

.wpfl-bot-overlay {
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	background: rgba(0, 0, 0, 0.65);
	z-index: 100000;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 20px;
	-webkit-overflow-scrolling: touch;
}

.wpfl-bot-overlay[hidden] {
	display: none;
}

.wpfl-bot-modal {
	position: relative;
	background: #fff;
	width: min(720px, 100%);
	max-height: 90vh;
	border-radius: 12px;
	overflow: hidden;
	display: flex;
	flex-direction: column;
	box-shadow: 0 20px 60px rgba(0, 0, 0, 0.4);
}

.wpfl-bot-close {
	position: absolute;
	top: 8px;
	right: 10px;
	background: none;
	border: none;
	font-size: 26px;
	line-height: 1;
	color: #64748b;
	cursor: pointer;
	z-index: 2;
	padding: 4px 8px;
}

.wpfl-bot-close:hover {
	color: #1e293b;
}

.wpfl-bot-choice {
	padding: 36px 30px;
	text-align: center;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

.wpfl-bot-choice h3 {
	margin: 0 0 6px;
	color: #1e293b;
	font-size: 18px;
	word-break: break-word;
}

.wpfl-bot-choice p {
	margin: 0 0 22px;
	color: #64748b;
	font-size: 14px;
}

.wpfl-bot-choice-buttons {
	display: flex;
	gap: 14px;
	flex-wrap: wrap;
	justify-content: center;
}

.wpfl-bot-choice-btn {
	flex: 1 1 240px;
	max-width: 300px;
	background: #f8fafc;
	border: 2px solid #e2e8f0;
	border-radius: 10px;
	padding: 18px 16px;
	cursor: pointer;
	display: flex;
	flex-direction: column;
	gap: 6px;
	text-align: left;
	font-family: inherit;
	transition: border-color 0.15s, background 0.15s;
}

.wpfl-bot-choice-btn:hover {
	border-color: #0d9488;
	background: #f0fdfa;
}

.wpfl-bot-choice-btn strong {
	color: #1e293b;
	font-size: 15px;
}

.wpfl-bot-choice-btn span {
	color: #64748b;
	font-size: 13px;
	line-height: 1.4;
}

.wpfl-bot-loading {
	padding: 60px 30px;
	text-align: center;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
	color: #64748b;
}

.wpfl-bot-spinner {
	width: 36px;
	height: 36px;
	margin: 0 auto 16px;
	border: 4px solid #e2e8f0;
	border-top-color: #0d9488;
	border-radius: 50%;
	animation: wpfl-spin 0.8s linear infinite;
}

@keyframes wpfl-spin {
	to {
		transform: rotate(360deg);
	}
}

.wpfl-bot-error {
	margin: 0 30px 20px;
	padding: 12px 16px;
	background: #fee2e2;
	color: #991b1b;
	border-radius: 8px;
	font-size: 13px;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Arial, sans-serif;
}

.wpfl-bot-iframe {
	border: none;
	width: 100%;
	height: 80vh;
	flex: 1 1 auto;
}

.wpfl-bot-iframe[hidden] {
	display: none;
}

@media (max-width: 600px) {
	.wpfl-bot-choice {
		padding: 26px 18px;
	}

	.wpfl-bot-choice-buttons {
		flex-direction: column;
	}

	.wpfl-bot-choice-btn {
		max-width: none;
	}
}
