/* UniShelf Extras — 退款/退货面板（品牌：墨绿 #1A3A3A / 橙 #D2451F / 米白 #FAF8F5） */
.usx-refund {
	margin: 22px 0 6px;
	padding: 16px 18px;
	background: #FAF8F5;
	border: 1px solid #e6e2da;
	border-radius: 6px;
}

.usx-refund__title {
	margin: 0 0 10px;
	font-size: 17px;
	color: #1A3A3A;
}

.usx-refund__state {
	margin: 0 0 10px;
	font-size: 14.5px;
	color: #1A3A3A;
}

.usx-refund__flash {
	margin: 0 0 12px;
	padding: 9px 12px;
	border-radius: 6px;
	background: #eaf6ee;
	border-left: 4px solid #1A7F4B;
	color: #14532d;
	font-size: 14px;
}

.usx-refund__meta,
.usx-refund__text {
	margin: 0 0 10px;
	font-size: 14px;
	color: #44524d;
}

.usx-refund .usx-form {
	margin: 12px 0 0;
	display: flex;
	flex-wrap: wrap;
	align-items: center;
	gap: 10px;
}

.usx-refund .usx-label {
	flex: 0 0 100%;
	font-size: 13.5px;
	color: #44524d;
}

.usx-refund textarea,
.usx-refund input[type="text"] {
	flex: 1 1 260px;
	min-width: 0;
	padding: 9px 11px;
	border: 1px solid #cfd8d4;
	border-radius: 6px;
	background: #fff;
	font-size: 14px;
	box-sizing: border-box;
}

.usx-refund .usx-btn {
	appearance: none;
	border: 1px solid #1A3A3A;
	background: #1A3A3A;
	color: #fff;
	border-radius: 6px;
	padding: 9px 18px;
	font-size: 14px;
	font-weight: 600;
	line-height: 1.4;
	cursor: pointer;
}

.usx-refund .usx-btn:hover,
.usx-refund .usx-btn:focus {
	background: #12292a;
	border-color: #12292a;
}

.usx-refund .usx-btn--primary {
	background: #D2451F;
	border-color: #D2451F;
}

.usx-refund .usx-btn--primary:hover,
.usx-refund .usx-btn--primary:focus {
	background: #b63a19;
	border-color: #b63a19;
}

/* 取消订单（COD）—— 描边样式，区别于主行动按钮 */
.usx-refund .usx-btn--danger {
	background: #fff;
	border-color: #D2451F;
	color: #D2451F;
}

.usx-refund .usx-btn--danger:hover,
.usx-refund .usx-btn--danger:focus {
	background: #D2451F;
	border-color: #D2451F;
	color: #fff;
}

@media (max-width: 767.98px) {
	.usx-refund { padding: 13px 14px; border-radius: 6px; }
	.usx-refund .usx-form { gap: 8px; }
	.usx-refund .usx-btn { width: 100%; text-align: center; }
	.usx-refund textarea,
	.usx-refund input[type="text"] { flex: 1 1 100%; font-size: 15px; }
}

/* ---- 退款/退货 二次确认弹窗（#12） ---- */
.usx-modal {
	display: none;
	position: fixed;
	inset: 0;
	z-index: 99999;
	background: rgba(16, 20, 20, 0.55);
	align-items: center;
	justify-content: center;
	padding: 20px;
}

.usx-modal.is-open {
	display: flex;
}

.usx-modal__box {
	background: #fff;
	border-radius: 6px;
	max-width: 420px;
	width: 100%;
	padding: 24px;
	box-shadow: 0 18px 50px rgba(0, 0, 0, 0.28);
}

.usx-modal__msg {
	margin: 0 0 20px;
	font-size: 16px;
	line-height: 1.6;
	color: #1b1a17;
}

.usx-modal__acts {
	display: flex;
	gap: 12px;
	justify-content: flex-end;
}

.usx-modal__btn {
	border: 1px solid #c9c6bd;
	background: #fff;
	color: #1a3a3a;
	border-radius: 999px;
	padding: 10px 22px;
	cursor: pointer;
	font: inherit;
}

.usx-modal__btn--primary {
	background: #d2451f;
	border-color: #d2451f;
	color: #fff;
	font-weight: 700;
}

.usx-modal__btn--primary:hover {
	background: #b93a19;
}

@media (max-width: 479.98px) {
	.usx-modal__acts { flex-direction: column-reverse; }
	.usx-modal__btn { width: 100%; }
}
﻿
/* ---- v30（2026-09-18）：精致二次确认弹窗（替代朴素版） ---- */
.usx-modal {
	backdrop-filter: blur(2px);
	animation: usx-modal-fade 0.18s ease;
}
@keyframes usx-modal-fade { from { opacity: 0; } to { opacity: 1; } }

.usx-modal__box {
	max-width: 400px;
	border-radius: 16px;
	padding: 26px 24px 22px;
	text-align: center;
	box-shadow: 0 24px 60px rgba(0, 0, 0, 0.32);
	animation: usx-modal-pop 0.24s cubic-bezier(0.2, 0.9, 0.3, 1.2);
}
@keyframes usx-modal-pop {
	from { opacity: 0; transform: translateY(14px) scale(0.96); }
	to { opacity: 1; transform: none; }
}

.usx-modal__icon {
	width: 56px;
	height: 56px;
	margin: 0 auto 14px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	background: #fdeceb;
	color: #d63638;
}
.usx-modal__title {
	margin: 0 0 8px;
	font-size: 18px;
	font-weight: 800;
	color: #1A3A3A;
	line-height: 1.35;
}
.usx-modal__msg {
	margin: 0 0 14px;
	font-size: 15px;
	line-height: 1.6;
	color: #44524d;
}
.usx-modal__warn {
	display: flex;
	align-items: flex-start;
	gap: 8px;
	margin: 0 0 22px;
	padding: 10px 12px;
	border-radius: 10px;
	background: #fff7ed;
	border: 1px solid #ffe0c2;
	text-align: left;
}
.usx-modal__warn-ic {
	flex: 0 0 auto;
	display: inline-flex;
	color: #d2451f;
	margin-top: 1px;
}
.usx-modal__warn-ic svg { width: 16px; height: 16px; }
.usx-modal__warn-txt {
	font-size: 12.5px;
	line-height: 1.5;
	color: #9a4b1e;
	font-weight: 600;
}

.usx-modal__acts {
	display: flex;
	gap: 12px;
	justify-content: stretch;
}
.usx-modal__btn {
	flex: 1 1 0;
	border: 1.5px solid #d8d4cb;
	background: #fff;
	color: #1a3a3a;
	border-radius: 999px;
	padding: 12px 20px;
	font-size: 15px;
	font-weight: 700;
	line-height: 1.2;
	cursor: pointer;
	transition: background 0.15s ease, border-color 0.15s ease, transform 0.1s ease;
}
.usx-modal__btn:hover { border-color: #b9b4a8; }
.usx-modal__btn:active { transform: translateY(1px); }
.usx-modal__btn--primary {
	background: #d2451f;
	border-color: #d2451f;
	color: #fff;
}
.usx-modal__btn--primary:hover {
	background: #b93a19;
	border-color: #b93a19;
}

@media (max-width: 479.98px) {
	.usx-modal__box { padding: 22px 18px 18px; }
	.usx-modal__acts { flex-wrap: wrap; }
}

/* 确认后的 loading 态（0919）：按钮上转圈，文字隐藏，禁止重复点击 */
.usx-modal__btn.is-loading {
	position: relative;
	color: transparent !important;
	pointer-events: none;
	cursor: default;
}
.usx-modal__btn.is-loading::after {
	content: "";
	position: absolute;
	top: 50%;
	left: 50%;
	width: 18px;
	height: 18px;
	margin: -9px 0 0 -9px;
	border: 2px solid rgba(255, 255, 255, .45);
	border-top-color: #fff;
	border-radius: 50%;
	box-sizing: border-box;
	animation: usx-modal-spin .7s linear infinite;
}
.usx-modal__btn:not(.usx-modal__btn--primary).is-loading::after {
	border-color: rgba(26, 58, 58, .25);
	border-top-color: #1a3a3a;
}
.usx-modal__btn.is-loading:active { transform: none; }

@keyframes usx-modal-spin {
	to { transform: rotate(360deg); }
}
