.ocwfw-form-wrap,
.ocwfw-confirm-wrap,
.ocwfw-success-wrap {
	margin: 1.5em 0;
	padding: 1.25em 1.25em 1.1em;
	border: 1px solid #dcdcde;
	border-radius: 8px;
	background: #fff;
	box-shadow: 0 1px 2px rgba(16, 24, 40, 0.04);
}

.ocwfw-form-wrap h3,
.ocwfw-confirm-wrap h3,
.ocwfw-success-wrap h3 {
	margin-top: 0;
	margin-bottom: 0.7em;
}

.ocwfw-form-wrap p,
.ocwfw-confirm-wrap p,
.ocwfw-success-wrap p {
	margin: 0 0 0.9em;
}

.ocwfw-form-wrap form:last-child,
.ocwfw-confirm-wrap form:last-child {
	margin-bottom: 0;
}

.ocwfw-products {
	margin-bottom: 1em;
	border-collapse: collapse;
	border: 1px solid #e2e4e7;
	border-radius: 6px;
	overflow: hidden;
	min-width: 780px;
}

.ocwfw-products th,
.ocwfw-products td {
	vertical-align: top;
}

.ocwfw-form-wrap input[type="text"],
.ocwfw-form-wrap input[type="email"],
.ocwfw-form-wrap input[type="number"],
.ocwfw-form-wrap textarea {
	max-width: 100%;
	width: 100%;
	box-sizing: border-box;
}

.ocwfw-form-wrap .button {
	margin-top: 0.25em;
}

.ocwfw-withdrawal-total {
	margin: 0.5em 0 1em;
	padding: 0.75em 1em;
	border: 1px solid #e2e4e7;
	background: #f9f9fa;
	border-radius: 6px;
}

.ocwfw-error {
	color: #b32d2e;
	font-weight: 600;
	padding: 0.65em 0.8em;
	border: 1px solid #f0c7c8;
	border-radius: 6px;
	background: #fff4f4;
}

.ocwfw-excluded-row {
	opacity: 0.75;
	background: #fbfbfb;
}

.ocwfw-fully-requested-row {
	background: #fff5f0;
}

.ocwfw-returned-badge {
	display: inline-block;
	margin-top: 4px;
	padding: 2px 7px;
	border-radius: 999px;
	background: #fff1e8;
	color: #a33a00;
	font-size: 12px;
	font-weight: 600;
}

.ocwfw-excluded-reason {
	display: inline-block;
	line-height: 1.2;
}

.ocwfw-policy-acknowledgements {
	margin: 0.7em 0 0.85em;
	padding: 0.65em 0.9em;
	border: 1px solid #e2e4e7;
	border-radius: 6px;
	background: #f9f9fa;
}

.ocwfw-policy-acknowledgements p {
	margin: 0 0 0.35em;
}

.ocwfw-policy-acknowledgements p:last-child {
	margin-bottom: 0;
}

.ocwfw-checkbox-label {
	display: block;
	line-height: 1.3;
}

.ocwfw-checkbox-label input[type="checkbox"] {
	margin: 3px 10px 0 0;
	vertical-align: top;
}

.ocwfw-checkbox-label .ocwfw-checkbox-text {
	display: inline;
}

.ocwfw-required-mark {
	color: #b32d2e;
	font-weight: 600;
}

.ocwfw-policy-acknowledgements a {
	margin-left: 0.3em;
}

.ocwfw-requested-qty-note {
	display: inline-block;
	margin-top: 4px;
	margin-left: 8px;
	padding: 2px 8px;
	border-radius: 999px;
	background: #fff2d6;
	color: #7a4b00;
	font-size: 12px;
	font-weight: 600;
}

.ocwfw-success-wrap {
	border-color: #b7dfc4;
	background: #f7fcf8;
}

.ocwfw-success-hero {
	display: flex;
	gap: 12px;
	align-items: flex-start;
}

.ocwfw-success-icon {
	width: 32px;
	height: 32px;
	border-radius: 999px;
	background: #1f9d55;
	display: inline-block;
	position: relative;
	flex: 0 0 auto;
	margin-top: 2px;
}

.ocwfw-success-icon::after {
	content: "";
	position: absolute;
	left: 10px;
	top: 7px;
	width: 9px;
	height: 14px;
	border-right: 3px solid #fff;
	border-bottom: 3px solid #fff;
	transform: rotate(40deg);
}

.ocwfw-success-content h3 {
	margin-top: 0;
	margin-bottom: 0.4em;
}

.ocwfw-success-content p {
	margin-bottom: 0.55em;
}

.ocwfw-success-reference {
	margin: 0;
	padding: 0.55em 0.7em;
	border-radius: 6px;
	background: #eaf7ee;
	border: 1px solid #c7e8d0;
}

.ocwfw-table-scroll {
	width: 100%;
	max-width: 100%;
	overflow-x: auto;
	-webkit-overflow-scrolling: touch;
}

.ocwfw-requests-table {
	margin-top: 0.8em;
}

.ocwfw-status-badge {
	display: inline-block;
	padding: 2px 8px;
	border-radius: 999px;
	font-size: 12px;
	font-weight: 600;
	line-height: 1.6;
	border: 1px solid currentColor;
}

.ocwfw-status-new {
	background: #e8f2ff;
	color: #1f4f8a;
}

.ocwfw-status-in-progress {
	background: #fff5e6;
	color: #8a4b00;
}

.ocwfw-status-closed {
	background: #eaf7ee;
	color: #1f6a3b;
}

@media (max-width: 782px) {
	.ocwfw-form-wrap,
	.ocwfw-confirm-wrap,
	.ocwfw-success-wrap {
		padding: 1em 0.85em;
	}

	.ocwfw-table-scroll {
		overflow: visible;
		border: 0;
		background: transparent;
	}

	.ocwfw-products {
		min-width: 0;
		border: 0 !important;
		box-shadow: none;
		background: transparent;
	}

	.ocwfw-products thead {
		display: none;
	}

	.ocwfw-products tbody,
	.ocwfw-products tr,
	.ocwfw-products td {
		display: block;
		width: 100%;
		box-sizing: border-box;
	}

	.ocwfw-products tr {
		margin: 0 0 0.8em;
		padding: 0.65em 0.7em;
		border: 1px solid #e2e4e7;
		border-radius: 6px;
		background: #fff;
	}

	.ocwfw-products tr:last-child {
		margin-bottom: 0;
	}

	.ocwfw-products td {
		display: flex;
		align-items: flex-start;
		justify-content: space-between;
		gap: 12px;
		padding: 0.28em 0;
		border: 0 !important;
		border-bottom: 1px solid #eceff2 !important;
		text-align: right;
	}

	.ocwfw-products td:last-child {
		border-bottom: 0 !important;
	}

	.ocwfw-products td::before {
		content: attr(data-title);
		display: block;
		text-align: left;
		font-weight: 600;
		color: #3c434a;
		flex: 0 0 48%;
	}

	.ocwfw-products td:first-child {
		display: block;
		text-align: left;
		padding-top: 0;
	}

	.ocwfw-products td:first-child::before {
		margin-bottom: 0.18em;
	}

	.ocwfw-products td input[type="number"] {
		max-width: 120px;
	}
}
