.wh-withdrawal-wrapper {
	--wh-primary: #4f46e5;
	--wh-primary-hover: #4338ca;
	--wh-primary-soft: #eef2ff;
	--wh-primary-border: #c7d2fe;
	max-width: 980px; margin: 0 auto; padding: 16px;
}
.wh-page-intro { margin: 0 0 20px; }
.wh-withdrawal-wrapper * { box-sizing: border-box; }

.wh-alert { padding: 12px 16px; border-radius: 8px; margin-bottom: 16px; }
.wh-alert-error { background: #fef2f2; border: 1px solid #fecaca; color: #7f1d1d; }
.wh-alert ul { margin: 8px 0 0 20px; padding: 0; }

.wh-card { background: #fff; border: 1px solid #e5e7eb; border-radius: 12px; padding: 20px; margin-bottom: 16px; box-shadow: 0 1px 2px rgba(0,0,0,0.04); }
.wh-card h2 { margin: 0 0 16px; font-size: 18px; }
.wh-card h3 { margin: 0 0 12px; font-size: 16px; }

.wh-grid { display: grid; gap: 12px; }
.wh-grid-2 { grid-template-columns: 1fr 1fr; }
.wh-grid-3 { grid-template-columns: 1fr 1fr auto; align-items: end; }
@media (max-width: 640px) { .wh-grid-2, .wh-grid-3 { grid-template-columns: 1fr; } }

.wh-field { display: flex; flex-direction: column; }
.wh-field label { font-size: 14px; font-weight: 500; color: #374151; margin-bottom: 4px; }
.wh-field input[type="text"],
.wh-field input[type="email"],
.wh-field input[type="number"],
.wh-field textarea {
	width: 100%; padding: 10px 12px; border: 1px solid #d1d5db; border-radius: 8px;
	font-size: 14px; background: #fff; color: #111827;
}
.wh-field input:focus, .wh-field textarea:focus { outline: 2px solid var(--wh-primary); outline-offset: -1px; border-color: transparent; }
.wh-field-button { display: flex; align-items: flex-end; }
.wh-required { color: #dc2626; }

.wh-btn { display: inline-flex; align-items: center; justify-content: center; gap: 6px; padding: 10px 16px; border-radius: 8px; font-weight: 500; cursor: pointer; border: 1px solid transparent; transition: background .15s; font-size: 14px; }
.wh-btn-primary { background: var(--wh-primary); color: #fff; }
.wh-btn-primary:hover { background: var(--wh-primary-hover); }
.wh-btn-secondary { background: #fff; color: var(--wh-primary); border-color: var(--wh-primary-border); }
.wh-btn-secondary:hover { background: var(--wh-primary-soft); }
.wh-btn-lg { padding: 12px 24px; font-size: 16px; }
.wh-btn:disabled { opacity: 0.5; cursor: not-allowed; }

.wh-radio-group { display: grid; gap: 8px; grid-template-columns: 1fr 1fr; }
@media (max-width: 640px) { .wh-radio-group { grid-template-columns: 1fr; } }
.wh-radio { display: flex; align-items: center; gap: 10px; padding: 12px 14px; border: 1px solid #e5e7eb; border-radius: 8px; cursor: pointer; }
.wh-radio:has(input:checked) { border-color: var(--wh-primary); background: var(--wh-primary-soft); }
.wh-radio input[type="radio"] { accent-color: var(--wh-primary); }

.wh-checkbox { display: flex; align-items: flex-start; gap: 10px; padding: 14px; background: #f9fafb; border-radius: 8px; margin: 16px 0; cursor: pointer; font-size: 14px; }
.wh-checkbox input[type="checkbox"] { accent-color: var(--wh-primary); }

.wh-lookup-message { margin-top: 10px; padding: 10px 14px; border-radius: 8px; font-size: 14px; }
.wh-lookup-success { background: #ecfdf5; border: 1px solid #a7f3d0; color: #065f46; }
.wh-lookup-warning { background: #fffbeb; border: 1px solid #fde68a; color: #78350f; }

.wh-info { background: #fffbeb; border: 1px solid #fde68a; color: #78350f; padding: 12px 16px; border-radius: 8px; font-size: 14px; }

[data-wh-items] { margin-top: 12px; }
[data-wh-iban-wrap] { margin-top: 12px; }
.wh-items-list { display: flex; flex-direction: column; gap: 8px; }
.wh-item { display: flex; align-items: center; gap: 14px; padding: 12px 14px; border: 1px solid #e5e7eb; border-radius: 8px; background: #fff; cursor: pointer; transition: border-color .15s, background .15s; }
.wh-item-selected { border-color: var(--wh-primary); background: var(--wh-primary-soft); }
.wh-item input[type="checkbox"] { width: 18px; height: 18px; flex-shrink: 0; accent-color: var(--wh-primary); }
.wh-item-info { flex: 1; min-width: 0; }
.wh-item-name { font-weight: 500; color: #111827; font-size: 14px; }
.wh-item-meta { font-size: 12px; color: #6b7280; margin-top: 2px; }

.wh-stepper { display: inline-flex; align-items: center; }
.wh-stepper button { width: 32px; height: 32px; border: 1px solid #d1d5db; background: #fff; cursor: pointer; }
.wh-stepper button:first-child { border-radius: 8px 0 0 8px; }
.wh-stepper button:last-child { border-radius: 0 8px 8px 0; border-left: 0; border-right: 1px solid #d1d5db; }
.wh-stepper button:disabled { opacity: 0.4; cursor: not-allowed; }
.wh-stepper input { width: 48px; height: 32px; text-align: center; border: 1px solid #d1d5db; border-left: 0; border-right: 0; }
.wh-stepper input[type="number"]::-webkit-outer-spin-button,
.wh-stepper input[type="number"]::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; }
.wh-stepper input[type="number"] { -moz-appearance: textfield; }

/* Confirmation */
.wh-confirmation { text-align: left; }
.wh-success-header { text-align: center; margin-bottom: 24px; }
.wh-check-circle { width: 64px; height: 64px; line-height: 64px; border-radius: 50%; background: #ecfdf5; color: #10b981; font-size: 32px; display: inline-block; margin-bottom: 12px; }
.wh-summary { display: flex; flex-direction: column; gap: 8px; margin: 0; }
.wh-summary div { display: flex; justify-content: space-between; padding: 8px 0; border-bottom: 1px solid #f3f4f6; }
.wh-summary div:last-child { border-bottom: 0; }
.wh-summary dt { color: #6b7280; font-size: 14px; }
.wh-summary dd { margin: 0; font-weight: 500; }

.wh-status { display: inline-block; padding: 3px 10px; border-radius: 999px; font-size: 12px; font-weight: 500; }
.wh-status-received { background: #dbeafe; color: #1e40af; }
.wh-status-processing { background: #fef3c7; color: #92400e; }
.wh-status-accepted { background: #d1fae5; color: #065f46; }
.wh-status-rejected { background: #fee2e2; color: #991b1b; }
.wh-status-refunded { background: #a7f3d0; color: #064e3b; }

.wh-center { text-align: center; margin-top: 20px; }

/* Footer link — discreet */
.wh-withdrawal-footer-link { color: #6b7280; }
.wh-withdrawal-footer-link a { color: inherit; text-decoration: underline; }
