:root {
  --wct-btn-color: #2563eb;
  --wct-btn-hover: #1d4ed8;
  --wct-float-btn-color: #2563eb;
  --wct-float-btn-hover: #1d4ed8;
  --wct-popup-bg: #ffffff;
  --wct-text: #111827;
  --wct-text-secondary: #6b7280;
  --wct-muted: #9ca3af;
  --wct-border: #e5e7eb;
  --wct-border-focus: #3b82f6;
  --wct-success: #059669;
  --wct-error: #dc2626;
  --wct-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --wct-shadow-lg: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
}

/* floating button */
.wct-floating-btn {
	position: fixed !important;
	right: 24px !important;
	bottom: 24px !important;
	border: none !important;
	border-radius: 50px !important;
	background: var(--wct-float-btn-color) !important;
	box-shadow: var(--wct-shadow-lg) !important;
	cursor: pointer !important;
	display: flex !important;
	align-items: center !important;
	gap: 12px !important;
	z-index: 99999 !important;
	color: #fff !important;
	transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1) !important;
	animation: wct-pulse 3s infinite !important;
	padding: 12px 20px 12px 12px !important;
	margin: 0 !important;
	outline: none !important;
	text-decoration: none !important;
	font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif !important;
	line-height: 1 !important;
}

.wct-float-icon {
	width: 44px !important;
	height: 44px !important;
	border-radius: 50% !important;
	background: rgba(255, 255, 255, 0.2) !important;
	display: flex !important;
	align-items: center !important;
	justify-content: center !important;
	flex-shrink: 0 !important;
}

.wct-float-icon svg {
	color: #fff !important;
	stroke: currentColor !important;
}

.wct-float-text {
	display: flex !important;
	flex-direction: column !important;
	gap: 2px !important;
	text-align: left !important;
	color: #fff !important;
	text-transform: none!important;
}

.wct-float-main {
	font-size: 15px !important;
	font-weight: 700 !important;
	color: #fff !important;
	white-space: nowrap !important;
	line-height: 1.2 !important;
}

.wct-float-sub {
	font-size: 12px !important;
	color: rgba(255, 255, 255, 0.9) !important;
	white-space: nowrap !important;
	line-height: 1.2 !important;
	font-weight: 400 !important;
}

.wct-floating-btn:hover {
	transform: translateY(-2px) scale(1.02) !important;
	background: var(--wct-float-btn-hover) !important;
	box-shadow: 0 32px 64px -12px rgba(0, 0, 0, 0.35) !important;
}

.wct-floating-btn:active {
	transform: translateY(0) scale(0.98) !important;
}

/* popup */
.wct-popup {
	position: fixed;
	right: 15px;
	bottom: 15px;
	width: 400px;
	max-width: calc(100vw - 48px);
	border-radius: 16px;
	border: 1px solid var(--wct-border);
	box-shadow: var(--wct-shadow-lg);
	overflow: hidden;
	z-index: 99999;
	display: none;
	transform-origin: bottom right;
	animation: wct-zoom-in 0.3s cubic-bezier(0.4, 0, 0.2, 1);
	background: var(--wct-popup-bg);
}

.wct-header {
	padding: 24px 24px 16px;
	background: var(--wct-popup-bg);
	border-bottom: 1px solid var(--wct-border);
}

.wct-header-content {
	display: flex;
	align-items: flex-start;
	justify-content: space-between;
	margin-bottom: 8px;
}

.wct-header h3 {
	margin: 0;
	font-size: 20px!important;
	color: var(--wct-text);
	line-height: 1.3!important;
	padding-bottom: 7px!important;
}

.wct-header-subtitle {
	font-size: 14px;
	color: var(--wct-text-secondary);
	margin: 4px 0 0;
	line-height: 1.4;
}

.wct-body {
	padding: 24px;
	background: var(--wct-popup-bg);
	color: var(--wct-text);
}

.wct-field {
	margin-bottom: 20px;
}
.wct-field.submit-button{
	margin-bottom:0px;
}

.wct-field label {
	display: block;
	font-size: 14px;
	font-weight: 500;
	color: var(--wct-text);
	margin-bottom: 6px;
}

.wct-field input,
.wct-field textarea {
	width: 100% !important;
	padding: 12px 16px !important;
	border: 1px solid var(--wct-border) !important;
	border-radius: 8px !important;
	font-size: 14px !important;
	background: #fff !important;
	color: var(--wct-text) !important;
	transition: all 0.2s ease !important;
	box-sizing: border-box !important;
	font-family: inherit !important;
	line-height: 1.4 !important;
	margin: 0 !important;
	max-width: none !important;
	min-width: 0 !important;
}

.wct-field input:focus,
.wct-field textarea:focus {
	outline: none !important;
	border-color: var(--wct-border-focus) !important;
	box-shadow: 0 0 0 3px rgba(59, 130, 246, 0.1) !important;
}

.wct-field textarea {
	min-height: 100px !important;
	resize: vertical !important;
	font-family: inherit !important;
}

.wct-btn {
	display: inline-flex !important;
	align-items: center !important;
	justify-content: center !important;
	padding: 12px 20px !important;
	border-radius: 8px !important;
	border: none !important;
	font-size: 14px !important;
	font-weight: 500 !important;
	color: #fff !important;
	background: var(--wct-btn-color) !important;
	cursor: pointer !important;
	transition: all 0.2s ease !important;
	text-decoration: none !important;
	min-height: 44px !important;
	font-family: inherit !important;
	line-height: 1.4 !important;
	margin: 0 !important;
	max-width: none !important;
	width: auto !important;
	box-sizing: border-box !important;
}

.wct-btn:hover {
	background: var(--wct-btn-hover) !important;
	transform: translateY(-1px) !important;
	color: #fff !important;
}

.wct-btn:active {
	transform: translateY(0) !important;
}


.wct-close {
	cursor: pointer;
	font-size: 20px;
	color: var(--wct-muted);
	padding: 4px;
	border-radius: 4px;
	transition: all 0.2s ease;
	display: flex;
	align-items: center;
	justify-content: center;
	width: 28px;
	height: 28px;
}

.wct-close:hover {
	background: rgba(107, 114, 128, 0.1);
	color: var(--wct-text);
}

.wct-msg {
	margin-top: 16px;
	padding: 12px 16px;
	border-radius: 8px;
	font-size: 14px;
	line-height: 1.4;
	display: none !important;
}

.wct-msg.error {
	background: rgba(220, 38, 38, 0.1);
	border: 1px solid rgba(220, 38, 38, 0.2);
	color: var(--wct-error);
	display: block !important;
}

.wct-msg.success {
	background: rgba(5, 150, 105, 0.1);
	border: 1px solid rgba(5, 150, 105, 0.2);
	color: var(--wct-success);
	font-weight: 500;
	display: block !important;
}

/* honeypot hidden visually (but present in DOM) */
.wct-hp { position:absolute !important; left:-9999px !important; top:auto !important; width:1px !important; height:1px !important; overflow:hidden !important; }

.wct-footer {
	padding: 16px 24px;
	background: rgba(0, 0, 0, 0.02);
	border-top: 1px solid var(--wct-border);
	font-size: 12px;
	color: var(--wct-muted);
	text-align: center;
	line-height: 1.2;
}

.wct-gdpr {
	margin: 16px 0 !important;
}

.wct-gdpr label {
	display: flex !important;
	align-items: flex-start;
	gap: 8px;
	font-size: 13px !important;
	color: var(--wct-text-secondary) !important;
	line-height: 1.4;
	cursor: pointer;
}

.wct-gdpr input[type="checkbox"] {
	margin: 0 !important;
	flex-shrink: 0;
	width: auto !important;
	height: auto !important;
}

.wct-captcha-field label {
	display: block !important;
	font-size: 14px !important;
	font-weight: 500 !important;
	color: var(--wct-text) !important;
	margin-bottom: 8px !important;
}

.wct-captcha-container {
	display: flex;
	align-items: center;
	gap: 12px;
	margin-bottom: 12px;
	padding: 12px 16px;
	background: #f8f9fa;
	border-radius: 8px;
	border: 1px solid var(--wct-border);
}

.wct-captcha-question {
	flex: 1;
	font-size: 16px;
	font-weight: 600;
	color: var(--wct-text);
	font-family: 'Courier New', monospace;
}

.wct-captcha-refresh {
	display: flex !important;
	align-items: center;
	justify-content: center;
	width: 36px !important;
	height: 36px !important;
	padding: 0 !important;
	border: 1px solid var(--wct-border) !important;
	border-radius: 6px !important;
	background: #fff !important;
	color: var(--wct-text-secondary) !important;
	cursor: pointer;
	transition: all 0.2s ease;
}

.wct-captcha-refresh:hover {
	background: #f0f0f0 !important;
	color: var(--wct-text) !important;
	border-color: var(--wct-border-focus) !important;
}

.wct-captcha-refresh.spinning {
	animation: wct-spin 0.5s ease-in-out;
}

.wct-captcha-field input[type="number"] {
	-moz-appearance: textfield;
}

.wct-captcha-field input[type="number"]::-webkit-outer-spin-button,
.wct-captcha-field input[type="number"]::-webkit-inner-spin-button {
	-webkit-appearance: none;
	margin: 0;
}

/* Responsive design */
@media (max-width: 480px) {
	.wct-popup {
		right: 16px;
		bottom: 90px;
		width: calc(100vw - 32px);
	}
	
	.wct-floating-btn {
		right: 16px;
		bottom: 16px;
		padding: 10px 16px 10px 10px !important;
	}
	
	.wct-float-icon {
		width: 40px !important;
		height: 40px !important;
	}
	
	.wct-float-main {
		font-size: 14px !important;
	}
	
	.wct-float-sub {
		font-size: 11px !important;
	}
	
	.wct-header,
	.wct-body,
	.wct-footer {
		padding-left: 20px;
		padding-right: 20px;
	}
	
	.wct-btn-group {
		flex-direction: column;
	}
	
	.wct-btn.secondary {
		margin-left: 0;
	}
}

/* Animations */
@keyframes wct-pulse {
	0% {
		box-shadow: var(--wct-shadow-lg);
		transform: scale(1);
	}
	50% {
		box-shadow: 0 32px 64px -12px rgba(0, 0, 0, 0.3);
		transform: scale(1.02);
	}
	100% {
		box-shadow: var(--wct-shadow-lg);
		transform: scale(1);
	}
}

@keyframes wct-zoom-in {
	from {
		opacity: 0;
		transform: scale(0.95) translateY(10px);
	}
	to {
		opacity: 1;
		transform: scale(1) translateY(0);
	}
}

@keyframes wct-spin {
	from {
		transform: rotate(0deg);
	}
	to {
		transform: rotate(360deg);
	}
}
