/* ── Wrapper ── */
.wplc-wrap {
	width: 100%;
	font-family: Arial, Helvetica, sans-serif;
	border: 1px solid #ddd;
	border-radius: 8px;
	overflow: hidden;
	box-shadow: 0 2px 8px rgba(0,0,0,.10);
}

/* ── Header bar ── */
.wplc-header {
	background: var(--brand-medium);
	padding: 16px 24px;
}

.wplc-title {
	margin: 0;
	color: #fff;
	font-size: 1.15rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .06em;
}

/* ── Body ── */
.wplc-body {
	background: #fff;
	padding: 24px;
	display: flex;
	flex-direction: column;
	gap: 0;
}

/* ── Fields ── */
.wplc-fields {
	display: flex;
	flex-direction: column;
	gap: 14px;
	margin-bottom: 24px;
}

.wplc-row {
	display: flex;
	gap: 14px;
}

.wplc-row .wplc-field {
	flex: 1;
	min-width: 0;
}

@media (max-width: 480px) {
	.wplc-row {
		flex-direction: column;
	}
}

.wplc-field {
	display: flex;
	flex-direction: column;
	gap: 5px;
}

.wplc-field label {
	font-size: 0.8rem;
	font-weight: 700;
	color: #444;
	text-transform: uppercase;
	letter-spacing: .04em;
}

/* ── Input row ── */
.wplc-input-wrap {
	display: flex;
	align-items: stretch;
	border: 1px solid #ccc;
	border-radius: 3px;
	background: #fff;
	overflow: hidden;
}

.wplc-input-wrap:focus-within {
	border-color: #999;
	outline: none;
}

.wplc-prefix,
.wplc-suffix {
	display: flex;
	align-items: center;
	padding: 0 11px;
	background: #f0f0f0;
	color: #666;
	font-size: 0.9rem;
	font-weight: 600;
	user-select: none;
	flex-shrink: 0;
}

.wplc-prefix {
	border-right: 1px solid #ccc;
}

.wplc-suffix {
	border-left: 1px solid #ccc;
}

.wplc-input-wrap input,
.wplc-input-wrap select {
	flex: 1;
	min-width: 0;
	border: none;
	outline: none;
	padding: 10px 12px;
	font-size: 0.95rem;
	color: #222;
	background: transparent;
	-moz-appearance: textfield;
}

.wplc-input-wrap input::-webkit-outer-spin-button,
.wplc-input-wrap input::-webkit-inner-spin-button {
	-webkit-appearance: none;
}

.wplc-select-wrap select {
	appearance: auto;
}

/* ── Result panel ── */
.wplc-result {
	background: #f5f5f5;
	border: 1px solid #e0e0e0;
	border-radius: 3px;
	padding: 20px 24px;
	text-align: center;
}

.wplc-result-label {
	font-size: 0.72rem;
	font-weight: 700;
	text-transform: uppercase;
	letter-spacing: .08em;
	color: #888;
	margin-bottom: 6px;
}

.wplc-result-amount {
	font-size: 2.8rem;
	font-weight: 700;
	color: #1a1a1a;
	line-height: 1;
	margin-bottom: 10px;
}

.wplc-result-meta {
	font-size: 0.75rem;
	color: #777;
	margin-bottom: 10px;
	min-height: 1em;
}

.wplc-disclaimer {
	font-size: 0.68rem;
	color: #bbb;
	margin: 0 auto;
	text-align: center;
}
