/* EU Withdrawal Form - Frontend Styles */
.euwf-wrapper {
	max-width: 760px;
	margin: 24px auto;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, sans-serif;
	color: #1f2937;
}

.euwf-header {
	margin-bottom: 20px;
}

.euwf-badge {
	display: inline-block;
	background: #eff6ff;
	color: #1d4ed8;
	font-size: 12px;
	font-weight: 600;
	padding: 4px 10px;
	border-radius: 999px;
	margin-bottom: 8px;
}

.euwf-title {
	margin: 0 0 6px;
	font-size: 24px;
	font-weight: 700;
	color: #111827;
}

.euwf-subtitle {
	margin: 0;
	font-size: 14px;
	color: #4b5563;
}

.euwf-steps {
	display: flex;
	list-style: none;
	padding: 0;
	margin: 0 0 20px;
	gap: 10px;
}

.euwf-step {
	flex: 1;
	display: flex;
	align-items: center;
	gap: 8px;
	padding: 10px 12px;
	background: #f3f4f6;
	border-radius: 8px;
	font-size: 13px;
	color: #6b7280;
	border: 1px solid #e5e7eb;
}

.euwf-step.is-active {
	background: #eff6ff;
	color: #1e40af;
	border-color: #93c5fd;
	font-weight: 600;
}

.euwf-step.is-done {
	background: #ecfdf5;
	color: #065f46;
	border-color: #a7f3d0;
}

.euwf-step-num {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 22px;
	height: 22px;
	border-radius: 50%;
	background: #ffffff;
	border: 1px solid currentColor;
	font-size: 12px;
	flex-shrink: 0;
}

.euwf-card {
	background: #ffffff;
	border: 1px solid #e5e7eb;
	border-radius: 10px;
	padding: 24px;
	box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.euwf-grid {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
}

@media (max-width: 640px) {
	.euwf-grid,
	.euwf-steps {
		grid-template-columns: 1fr;
		flex-direction: column;
	}
}

.euwf-field {
	margin-bottom: 16px;
}

.euwf-field label {
	display: block;
	font-size: 13px;
	font-weight: 600;
	margin-bottom: 6px;
	color: #374151;
}

.euwf-field .required {
	color: #dc2626;
}

.euwf-field input[type="text"],
.euwf-field input[type="email"],
.euwf-field input[type="number"],
.euwf-field input[type="tel"],
.euwf-field textarea {
	width: 100%;
	padding: 10px 12px;
	border: 1px solid #d1d5db;
	border-radius: 6px;
	font-size: 14px;
	box-sizing: border-box;
	background: #ffffff;
}

.euwf-field input:focus,
.euwf-field textarea:focus {
	outline: none;
	border-color: #2563eb;
	box-shadow: 0 0 0 3px rgba(37, 99, 235, 0.12);
}

.euwf-lookup-row {
	display: flex;
	align-items: center;
	gap: 12px;
	flex-wrap: wrap;
	margin-bottom: 18px;
}

.euwf-lookup-hint {
	font-size: 12px;
	color: #6b7280;
}

.euwf-items-box {
	background: #f9fafb;
	border: 1px solid #e5e7eb;
	border-radius: 8px;
	padding: 14px 16px;
	margin-bottom: 18px;
}

.euwf-items-header {
	display: flex;
	justify-content: space-between;
	align-items: baseline;
	flex-wrap: wrap;
	gap: 8px;
	margin-bottom: 10px;
}

.euwf-items-hint {
	font-size: 12px;
	color: #4b5563;
}

.euwf-items-list {
	list-style: none;
	margin: 0;
	padding: 0;
}

.euwf-item-row {
	padding: 8px 0;
	border-top: 1px solid #e5e7eb;
}

.euwf-item-row:first-child {
	border-top: none;
}

.euwf-item-row label {
	display: flex;
	align-items: center;
	gap: 8px;
	cursor: pointer;
	font-size: 14px;
}

.euwf-item-row.is-exempt {
	opacity: 0.65;
}

.euwf-exempt-tag {
	margin-left: auto;
	font-size: 11px;
	background: #fee2e2;
	color: #991b1b;
	padding: 2px 8px;
	border-radius: 999px;
}

.euwf-alert {
	padding: 12px 16px;
	border-radius: 8px;
	margin-bottom: 16px;
	font-size: 14px;
}

.euwf-alert-error {
	background: #fef2f2;
	color: #991b1b;
	border: 1px solid #fecaca;
}

.euwf-actions {
	margin-top: 20px;
	display: flex;
	justify-content: flex-end;
}

.euwf-actions-split {
	justify-content: space-between;
	gap: 12px;
	flex-wrap: wrap;
}

.euwf-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	padding: 11px 20px;
	border-radius: 6px;
	font-size: 14px;
	font-weight: 600;
	cursor: pointer;
	border: 1px solid transparent;
	text-decoration: none;
	transition: background-color 0.15s ease, opacity 0.15s ease;
}

.euwf-btn:disabled {
	opacity: 0.6;
	cursor: not-allowed;
}

.euwf-btn-primary {
	background: #111827;
	color: #ffffff;
}

.euwf-btn-primary:hover {
	background: #1f2937;
}

.euwf-btn-confirm {
	background: #dc2626;
	color: #ffffff;
}

.euwf-btn-confirm:hover {
	background: #b91c1c;
}

.euwf-btn-secondary {
	background: #f3f4f6;
	color: #111827;
	border-color: #d1d5db;
}

.euwf-btn-secondary:hover {
	background: #e5e7eb;
}

.euwf-btn-ghost {
	background: transparent;
	color: #374151;
	border-color: #d1d5db;
}

.euwf-summary-box,
.euwf-receipt-box {
	background: #f9fafb;
	border: 1px solid #e5e7eb;
	border-radius: 8px;
	padding: 16px;
	margin: 16px 0;
	font-size: 14px;
}

.euwf-summary-row {
	display: flex;
	justify-content: space-between;
	gap: 12px;
	padding: 6px 0;
	border-bottom: 1px solid #e5e7eb;
}

.euwf-summary-row:last-child {
	border-bottom: none;
}

.euwf-success-card {
	text-align: center;
}

.euwf-success-icon {
	width: 48px;
	height: 48px;
	margin: 0 auto 12px;
	border-radius: 50%;
	background: #ecfdf5;
	color: #059669;
	font-size: 24px;
	line-height: 48px;
	font-weight: 700;
}

.euwf-receipt-box {
	text-align: left;
}

/* Order Details CTA */
.euwf-order-cta-box {
	margin: 20px 0;
	padding: 16px;
	background: #f9fafb;
	border: 1px solid #e5e7eb;
	border-radius: 8px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 12px;
}

.euwf-order-cta-info {
	margin: 0;
	font-size: 14px;
	color: #374151;
}

.euwf-order-notice {
	margin: 16px 0;
	padding: 12px 16px;
	background: #ecfdf5;
	border: 1px solid #a7f3d0;
	border-radius: 6px;
	color: #065f46;
}
