:root {
	--plc-primary: #006A94;
	--plc-primary-dark: #00516e;
	--plc-support: #ff9a2f;
	--plc-surface: #ffffff;
	--plc-text: #163047;
	--plc-muted: #5b6f82;
}

.plc-widget {
	font-family: inherit;
	color: var(--plc-text);
}

.plc-trigger {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 14px 24px;
	border: 0;
	border-radius: 999px;
	background: var(--plc-primary);
	color: #fff;
	font-weight: 700;
	box-shadow: 0 14px 30px rgba(0, 81, 110, 0.18);
	cursor: pointer;
}

.plc-overlay {
	position: fixed;
	inset: 0;
	background: rgba(9, 24, 38, 0.55);
	padding: 24px;
	z-index: 99999;
	display: grid;
	place-items: center;
}

.plc-modal {
	position: relative;
	width: min(980px, 100%);
	max-height: calc(100vh - 48px);
	overflow: auto;
	background: var(--plc-surface);
	border-radius: 28px;
	box-shadow: 0 30px 80px rgba(0, 0, 0, 0.22);
	border: 1px solid rgba(0, 81, 110, 0.12);
}

.plc-panel {
	padding: 28px;
}

.plc-header {
	margin-bottom: 18px;
}

.plc-eyebrow {
	display: inline-flex;
	padding: 8px 12px;
	border-radius: 999px;
	background: rgba(0, 106, 148, 0.1);
	color: var(--plc-primary-dark);
	font-weight: 700;
	font-size: 0.85rem;
	margin-bottom: 12px;
}

.plc-header h2 {
	margin: 0 0 10px;
	font-size: clamp(1.8rem, 3vw, 3rem);
	line-height: 1.1;
}

.plc-header p {
	margin: 0;
	color: var(--plc-muted);
}

.plc-form {
	display: grid;
	gap: 14px;
}

.plc-form-grid {
	display: grid;
	grid-template-columns: repeat(2, minmax(0, 1fr));
	gap: 14px;
}

.plc-field {
	display: flex;
	flex-direction: column;
	gap: 6px;
}

.plc-field label {
	font-weight: 700;
}

.plc-field input,
.plc-field select {
	width: 100%;
	padding: 14px 16px;
	border: 1px solid #d7e3ee;
	border-radius: 14px;
	font: inherit;
	background: #fff;
}

.plc-field-full {
	grid-column: 1 / -1;
}

.plc-submit {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 14px 22px;
	border: 0;
	border-radius: 999px;
	background: var(--plc-support);
	color: #fff;
	font-weight: 800;
	cursor: pointer;
}

.plc-message {
	min-height: 22px;
	font-weight: 700;
	color: var(--plc-primary-dark);
}

.plc-close {
	position: absolute;
	top: 14px;
	right: 14px;
	width: 36px;
	height: 36px;
	border: 0;
	border-radius: 50%;
	background: #fff;
	color: #1a2f45;
	font-size: 24px;
	line-height: 1;
	cursor: pointer;
	box-shadow: 0 8px 20px rgba(0,0,0,0.08);
}

.plc-split-layout {
	display: grid;
	grid-template-columns: 1fr 1.1fr;
	min-height: 520px;
}

.plc-visual {
	position: relative;
	display: grid;
	place-items: center;
	padding: 0;
	overflow: hidden;
	background: linear-gradient(180deg, rgba(0, 106, 148, 0.08), rgba(255, 154, 47, 0.08));
}

.plc-visual img {
	width: 100%;
	height: 100%;
	object-fit: cover;
	display: block;
}

.plc-visual-fallback {
	width: 180px;
	height: 180px;
	border-radius: 32px;
	background: var(--plc-primary);
	color: #fff;
	display: grid;
	place-items: center;
	font-size: 4rem;
	font-weight: 800;
}

.plc-success {
	padding: 14px 16px;
	border-radius: 14px;
	background: #eaf8ef;
	color: #0f6a32;
	font-weight: 700;
}

@media (max-width: 820px) {
	.plc-split-layout,
	.plc-form-grid {
		grid-template-columns: 1fr;
	}

	.plc-panel {
		padding: 20px;
	}
}
