/* Shiwara Returns — frontend styles */

.swr-form-wrap {
	max-width: 640px;
}

.swr-order-meta {
	background: #fff8ec;
	border: 1px solid #f0d9b0;
	padding: 12px 16px;
	border-radius: 8px;
	margin-bottom: 18px;
}

.swr-edit-note {
	background: #eef6ff;
	border: 1px solid #bcd9f5;
	padding: 10px 14px;
	border-radius: 6px;
	margin-bottom: 16px;
	font-size: 0.95em;
}

.swr-return-form .swr-field {
	margin-bottom: 18px;
}

.swr-return-form label {
	display: block;
	font-weight: 600;
	margin-bottom: 6px;
}

.swr-return-form .req {
	color: #d6334a;
}

.swr-return-form input[type="text"],
.swr-return-form input[type="url"],
.swr-return-form input[type="number"],
.swr-return-form select,
.swr-return-form textarea {
	width: 100%;
	padding: 10px 12px;
	border: 1px solid #cfcfcf;
	border-radius: 6px;
	box-sizing: border-box;
}

.swr-return-form input[readonly] {
	background: #f3f4f6;
	font-weight: 700;
	color: #1a7f37;
}

.swr-note {
	display: block;
	margin-top: 6px;
	font-size: 0.85em;
	color: #555;
	background: #f7f7f9;
	padding: 8px 12px;
	border-radius: 6px;
	line-height: 1.5;
}

.swr-after-return,
.swr-extra {
	border: 1px dashed #d0d0d0;
	border-radius: 8px;
	padding: 14px 16px 4px;
	margin-bottom: 18px;
}

.swr-after-return legend,
.swr-extra legend {
	font-weight: 600;
	padding: 0 8px;
	font-size: 0.9em;
	color: #444;
}

.swr-submit-btn {
	background: #156a8c !important;
	color: #fff !important;
	padding: 12px 28px !important;
	font-size: 1.05em !important;
	border-radius: 6px !important;
}

/* Returns table */
.swr-returns-table .swr-status,
.swr-single-table .swr-status {
	display: inline-block;
	padding: 3px 10px;
	border-radius: 20px;
	font-size: 0.82em;
	font-weight: 600;
}

.swr-status--pending    { background: #fff3cd; color: #8a6d00; }
.swr-status--in_review  { background: #e0ecff; color: #1d4ed8; }
.swr-status--resolved   { background: #d8f3dd; color: #1a7f37; }
.swr-status--not_return  { background: #fde2e2; color: #b42318; }

.swr-single-table th {
	width: 180px;
	text-align: left;
	vertical-align: top;
}

.swr-thumb {
	max-width: 140px;
	height: auto;
	border-radius: 6px;
	border: 1px solid #ddd;
}

.swr-single h3 {
	margin-top: 0;
}

/* Return address block */
.swr-return-address {
	display: block;
	background: #f0f8f1;
	border: 1px solid #bfe3c6;
	border-left: 4px solid #1a7f37;
	border-radius: 8px;
	padding: 12px 16px;
	margin-top: 8px;
	line-height: 1.7;
}

.swr-return-address strong {
	display: block;
	margin-bottom: 4px;
	color: #1a7f37;
}

.swr-return-address .swr-ra-line {
	display: block;
}

.swr-ship-note {
	margin: 18px 0 6px;
	font-weight: 600;
}
