.wcp-widget {
	--wcp-primary-color: #25d366;
	--wcp-primary-rgb: 37, 211, 102;
	--wcp-surface-color: #ffffff;
	--wcp-border-color: #dde5ee;
	--wcp-heading-color: #1e293b;
	--wcp-text-color: #5b6777;
	--wcp-danger-color: #c62828;
	--wcp-floating-z-index: 110000;
	--wcp-modal-z-index: 110001;
}

.wcp-honeypot {
	position: absolute !important;
	left: -9999px !important;
	width: 1px !important;
	height: 1px !important;
	overflow: hidden !important;
	opacity: 0 !important;
	pointer-events: none !important;
}

.wcp-floating-button {
	position: fixed;
	right: 20px;
	bottom: 20px;
	z-index: var(--wcp-floating-z-index);
	display: inline-flex;
	align-items: center;
	justify-content: center;
	gap: 12px;
	min-height: 60px;
	max-width: min(420px, calc(100vw - 32px));
	padding: 0 18px;
	border: 0;
	border-radius: 999px;
	background: linear-gradient(135deg, var(--wcp-primary-color) 0%, rgba(var(--wcp-primary-rgb), 0.9) 100%);
	color: #ffffff;
	box-shadow: 0 18px 36px rgba(var(--wcp-primary-rgb), 0.28);
	cursor: pointer;
	font: inherit;
	transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.wcp-floating-button:hover,
.wcp-floating-button:focus-visible {
	transform: translateY(-2px);
	box-shadow: 0 22px 42px rgba(var(--wcp-primary-rgb), 0.32);
	outline: none;
}

.wcp-floating-button__icon {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: rgba(255, 255, 255, 0.16);
}

.wcp-floating-button__icon svg {
	display: block;
	width: 27px;
	height: 27px;
}

.wcp-floating-button__text {
	font-size: 17px;
	font-weight: 700;
	line-height: 1.15;
}

.wcp-modal[hidden] {
	display: none !important;
}

.wcp-modal {
	position: fixed;
	inset: 0;
	z-index: var(--wcp-modal-z-index);
	display: flex;
	align-items: flex-end;
	justify-content: flex-end;
	padding: 20px;
	pointer-events: none;
}

.wcp-modal.is-open {
	pointer-events: auto;
}

.wcp-modal__backdrop {
	position: absolute;
	inset: 0;
	background: transparent;
}

.wcp-modal__dialog {
	position: relative;
	z-index: 1;
	width: min(100%, 336px);
	margin-bottom: 74px;
	padding: 16px 14px 14px;
	border: 1px solid var(--wcp-border-color);
	border-radius: 18px;
	background: var(--wcp-surface-color);
	box-shadow: 0 22px 56px rgba(15, 23, 42, 0.16);
	transform: translateY(14px);
	opacity: 0;
	transition: transform 0.2s ease, opacity 0.2s ease;
}

.wcp-modal.is-open .wcp-modal__dialog {
	transform: translateY(0);
	opacity: 1;
}

.wcp-modal__close {
	position: absolute;
	top: 10px;
	right: 10px;
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 34px;
	height: 34px;
	border: 0;
	border-radius: 999px;
	background: rgba(15, 23, 42, 0.06);
	color: #475569;
	cursor: pointer;
	font-size: 22px;
	line-height: 1;
	transition: background-color 0.2s ease, color 0.2s ease;
}

.wcp-modal__close:hover,
.wcp-modal__close:focus-visible {
	background: rgba(15, 23, 42, 0.1);
	color: #0f172a;
	outline: none;
}

.wcp-modal__header {
	margin-bottom: 8px;
	padding-right: 28px;
}

.wcp-modal__eyebrow {
	margin: 0 0 4px;
	color: var(--wcp-primary-color);
	font-size: 10px;
	font-weight: 800;
	letter-spacing: 0.08em;
	text-transform: uppercase;
}

.wcp-modal__header h2 {
	margin: 0 0 4px;
	color: var(--wcp-heading-color);
	font-size: 17px;
	line-height: 1.15;
}

.wcp-modal__header p {
	margin: 0;
	color: var(--wcp-text-color);
	font-size: 12px;
	line-height: 1.4;
}

.wcp-form__grid {
	display: grid;
	grid-template-columns: 1fr;
	gap: 6px;
}

.wcp-field {
	display: flex;
	flex-direction: column;
}

.wcp-field label {
	display: flex;
	align-items: center;
	gap: 6px;
	margin-bottom: 2px;
	color: var(--wcp-heading-color);
	font-size: 12px;
	font-weight: 700;
}

.wcp-required {
	color: var(--wcp-danger-color);
}

.wcp-field input,
.wcp-field textarea {
	width: 100%;
	padding: 0 0 8px;
	border: 0;
	border-bottom: 1px solid var(--wcp-border-color);
	border-radius: 0;
	background: transparent;
	color: var(--wcp-heading-color);
	font: inherit;
	line-height: 1.35;
	box-sizing: border-box;
	box-shadow: none;
	transition: border-bottom-color 0.2s ease;
}

.wcp-field input {
	height: 36px;
	min-height: 36px;
	padding-top: 0;
	padding-bottom: 0;
}

.wcp-field input::placeholder,
.wcp-field textarea::placeholder {
	color: #91a1b6;
}

.wcp-field textarea {
	resize: vertical;
	min-height: 60px;
	padding-top: 4px;
}

.wcp-field input:hover,
.wcp-field textarea:hover,
.wcp-field input:focus,
.wcp-field textarea:focus {
	border-bottom-color: var(--wcp-primary-color);
	box-shadow: none;
	outline: none;
}

.wcp-field.is-invalid input,
.wcp-field.is-invalid textarea {
	border-bottom-color: var(--wcp-danger-color);
	box-shadow: none;
}

.wcp-field__error {
	margin: 2px 0 0;
	color: #b91c1c;
	font-size: 11px;
	font-weight: 600;
	line-height: 1.45;
}

.wcp-form__status {
	margin-top: 6px;
	padding: 8px 10px;
	border-radius: 14px;
	font-size: 11px;
	font-weight: 600;
	line-height: 1.4;
}

.wcp-form__status.is-error {
	background: #fef2f2;
	color: #b91c1c;
}

.wcp-form__status.is-success {
	background: #ecfdf5;
	color: #166534;
}

.wcp-submit-button {
	width: 100%;
	margin-top: 8px;
	padding: 12px 14px;
	border: 0;
	border-radius: 15px;
	background: linear-gradient(135deg, var(--wcp-primary-color) 0%, rgba(var(--wcp-primary-rgb), 0.88) 100%);
	color: #ffffff;
	cursor: pointer;
	font: inherit;
	font-size: 16px;
	font-weight: 800;
	box-shadow: 0 14px 30px rgba(var(--wcp-primary-rgb), 0.2);
	transition: transform 0.2s ease, box-shadow 0.2s ease, opacity 0.2s ease;
}

.wcp-submit-button:hover,
.wcp-submit-button:focus-visible {
	transform: translateY(-1px);
	box-shadow: 0 18px 34px rgba(var(--wcp-primary-rgb), 0.24);
	outline: none;
}

.wcp-submit-button:disabled {
	opacity: 0.76;
	cursor: wait;
	transform: none;
}

@media (max-width: 767px) {
	.wcp-floating-button {
		right: 16px;
		bottom: 16px;
		max-width: calc(100vw - 24px);
		padding: 0 16px;
	}

	.wcp-floating-button__text {
		font-size: 16px;
	}

	.wcp-modal {
		padding: 12px;
	}

	.wcp-modal__dialog {
		width: 100%;
		margin-bottom: 74px;
		padding: 16px 14px 14px;
		border-radius: 18px;
	}
}

@media (prefers-reduced-motion: reduce) {
	.wcp-floating-button,
	.wcp-modal__dialog,
	.wcp-modal__close,
	.wcp-field input,
	.wcp-field textarea,
	.wcp-submit-button {
		transition: none !important;
	}
}
