.wtsm-rma-form-wrap,
.wtsm-rma-status-wrap {
	max-width: 560px;
	margin: 0 0 2em;
}

.wtsm-field {
	margin-bottom: 1.2em;
}

.wtsm-field label {
	display: block;
	font-weight: 600;
	margin-bottom: 0.35em;
}

.wtsm-field input[type="text"],
.wtsm-field input[type="email"],
.wtsm-field textarea {
	width: 100%;
	max-width: 100%;
	padding: 0.55em 0.7em;
	border: 1px solid #ccd0d4;
	border-radius: 4px;
	box-sizing: border-box;
	font-size: 1em;
}

.wtsm-field .required {
	color: #d63638;
}

.wtsm-honeypot {
	position: absolute !important;
	left: -9999px !important;
	top: -9999px !important;
	height: 0;
	overflow: hidden;
}

.wtsm-submit button {
	background: #2271b1;
	color: #fff;
	border: none;
	border-radius: 4px;
	padding: 0.7em 1.6em;
	font-size: 1em;
	cursor: pointer;
}

.wtsm-submit button:hover {
	background: #135e96;
}

.wtsm-notice {
	padding: 1em 1.2em;
	border-radius: 4px;
	margin-bottom: 1.5em;
	border-left: 4px solid;
}

.wtsm-notice-success {
	background: #edfaef;
	border-color: #00a32a;
}

.wtsm-notice-info {
	background: #f0f6fc;
	border-color: #2271b1;
}

.wtsm-mail-in-fields {
	border: 1px solid #dcdcde;
	border-radius: 4px;
	padding: 1em 1.2em 0.2em;
	margin-bottom: 1.2em;
}

.wtsm-field-label {
	display: block;
	font-weight: 600;
	margin-bottom: 0.5em;
}

.wtsm-return-method-options {
	display: flex;
	flex-direction: column;
	gap: 0.6em;
}

.wtsm-return-method-option {
	display: flex;
	align-items: flex-start;
	gap: 0.7em;
	border: 1px solid #ccd0d4;
	border-radius: 6px;
	padding: 0.8em 1em;
	cursor: pointer;
	font-weight: normal;
	margin: 0;
	transition: border-color .1s ease, background .1s ease;
}

.wtsm-return-method-option:hover {
	border-color: #2271b1;
}

.wtsm-return-method-option input[type="radio"] {
	margin-top: 0.25em;
	flex-shrink: 0;
}

.wtsm-return-method-option:has(input:checked) {
	border-color: #2271b1;
	background: #f0f6fc;
}

.wtsm-return-method-option-body {
	display: flex;
	flex-direction: column;
	gap: 0.2em;
}

.wtsm-return-method-option-title {
	font-weight: 600;
}

.wtsm-return-method-option-desc {
	color: #646970;
	font-size: 0.92em;
}

.wtsm-notice-error {
	background: #fcf0f1;
	border-color: #d63638;
}

.wtsm-badge {
	display: inline-block;
	padding: 0.2em 0.7em;
	border-radius: 12px;
	font-size: 0.85em;
	font-weight: 600;
	background: #f0f0f1;
	color: #1d2327;
}

.wtsm-badge-tone-neutral { background: #f0f0f1; color: #3c434a; }
.wtsm-badge-tone-info    { background: #f0f6fc; color: #0a4b78; }
.wtsm-badge-tone-success { background: #eefaf0; color: #1a7a34; }
.wtsm-badge-tone-warning { background: #fff4e5; color: #8a5a00; }
.wtsm-badge-tone-danger  { background: #fcf0f1; color: #a02127; }

.wtsm-ticket-summary {
	margin-top: 2em;
	padding: 1.2em 1.4em;
	border: 1px solid #dcdcde;
	border-radius: 6px;
}

.wtsm-rma-board-empty {
	color: #646970;
}

.wtsm-rma-board {
	list-style: none;
	margin: 0;
	padding: 0;
}

.wtsm-rma-board-item {
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 0.8em;
	padding: 0.7em 0;
	border-bottom: 1px solid #dcdcde;
}

.wtsm-rma-board-item:last-child {
	border-bottom: none;
}

.wtsm-rma-board-ticket {
	font-weight: 600;
	color: #1d2327;
}

.wtsm-rma-board-title {
	flex: 1 1 auto;
	min-width: 8em;
}

.wtsm-rma-board-date {
	color: #646970;
	font-size: 0.9em;
}

.wtsm-history-timeline {
	list-style: none;
	margin: 0;
	padding: 0;
}

.wtsm-history-timeline li {
	padding: 0.7em 0;
	border-bottom: 1px solid #f0f0f1;
}

.wtsm-history-timeline li:last-child {
	border-bottom: none;
}

.wtsm-history-date {
	display: block;
	font-size: 0.85em;
	color: #646970;
	margin-bottom: 0.3em;
}

.wtsm-history-note {
	margin: 0.4em 0 0;
	color: #3c434a;
}
