.wc-single-item-rma {
	margin-top: 36px;
}

.wc-rma-shell {
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 8px;
	box-shadow: 0 12px 28px rgba(17, 24, 39, 0.08);
	overflow: hidden;
}

.wc-rma-header {
	align-items: flex-start;
	background: #f8fafc;
	border-bottom: 1px solid #e5e7eb;
	display: flex;
	gap: 18px;
	justify-content: space-between;
	padding: 24px;
}

.wc-rma-header h2 {
	margin: 4px 0 8px;
}

.wc-rma-header p {
	color: #4b5563;
	margin: 0;
	max-width: 760px;
}

.wc-rma-kicker,
.wc-rma-order-pill span {
	color: #64748b;
	display: block;
	font-size: 12px;
	font-weight: 700;
	text-transform: uppercase;
}

.wc-rma-order-pill {
	background: #fff;
	border: 1px solid #e5e7eb;
	border-radius: 8px;
	min-width: 120px;
	padding: 12px 14px;
	text-align: right;
}

.wc-rma-order-pill strong {
	display: block;
	font-size: 18px;
}

.wc-rma-existing,
.wc-rma-form {
	padding: 24px;
}

.wc-rma-existing {
	border-bottom: 1px solid #e5e7eb;
}

.wc-rma-existing h3 {
	margin-top: 0;
}

.wc-rma-request-list {
	display: grid;
	gap: 10px;
}

.wc-rma-request-card {
	align-items: center;
	background: #f9fafb;
	border: 1px solid #e5e7eb;
	border-radius: 8px;
	display: grid;
	gap: 8px;
	grid-template-columns: 1fr auto auto;
	padding: 12px;
}

.wc-rma-request-card span {
	color: #4b5563;
}

.wc-rma-request-card mark {
	background: #e0f2fe;
	border-radius: 999px;
	color: #075985;
	font-weight: 700;
	padding: 4px 10px;
}

.wc-rma-form-grid {
	display: grid;
	gap: 16px;
	grid-template-columns: repeat(2, minmax(0, 1fr));
}

.wc-rma-field-card {
	background: #f9fafb;
	border: 1px solid #e5e7eb;
	border-radius: 8px;
	margin: 0;
	padding: 16px;
}

.wc-rma-form label {
	display: block;
	font-weight: 700;
	margin-bottom: 8px;
}

.wc-rma-form select,
.wc-rma-form input,
.wc-rma-form textarea {
	background: #fff;
	border: 1px solid #cbd5e1;
	border-radius: 6px;
	min-height: 42px;
	width: 100%;
}

.wc-rma-form textarea {
	min-height: 120px;
}

.wc-rma-form small {
	color: #64748b;
	display: block;
	margin-top: 8px;
}

.wc-rma-form .form-row-wide,
.wc-rma-reason-field,
.wc-rma-actions {
	grid-column: 1 / -1;
}

.wc-rma-exchange-options {
	display: grid;
	gap: 12px;
	grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
	margin-bottom: 10px;
}

.wc-rma-actions {
	margin: 0;
	text-align: right;
}

.wc-rma-actions .button {
	min-width: 180px;
}

@media (max-width: 720px) {
	.wc-rma-header,
	.wc-rma-request-card {
		display: block;
	}

	.wc-rma-order-pill {
		margin-top: 16px;
		text-align: left;
	}

	.wc-rma-form-grid {
		grid-template-columns: 1fr;
	}

	.wc-rma-request-card mark {
		display: inline-block;
		margin-top: 8px;
	}
}
