/* 订单列表页专属样式（orders.blade.php 引用），公共骨架在 account.css */
.ost-account {
	max-width: 720px;
}

.ost-account-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}

.ost-account-head h1 {
	margin: 0;
}

.ost-hint {
	color: #667085;
	margin: 18px 0;
}

.ost-hint a {
	color: #0088cc;
}

/* 加载蒙层：整屏半透明 + 居中转圈（首屏用） */
.ost-loading {
	position: fixed;
	top: 0;
	right: 0;
	bottom: 0;
	left: 0;
	z-index: 2000;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	gap: 14px;
	background: rgba(255, 255, 255, .74);
	-webkit-backdrop-filter: blur(2px);
	backdrop-filter: blur(2px);
	color: #667085;
	font-size: 14px;
}

/* 首屏加载失败：不再挡页面，退化成列表上方的一行提示 */
.ost-loading.is-error {
	position: static;
	display: block;
	gap: 0;
	margin: 18px 0;
	background: none;
	-webkit-backdrop-filter: none;
	backdrop-filter: none;
}

.ost-loading.is-error .ost-spinner {
	display: none;
}

.ost-spinner {
	width: 30px;
	height: 30px;
	border: 3px solid rgba(0, 136, 204, .22);
	border-top-color: #0088cc;
	border-radius: 50%;
	animation: ost-spin .8s linear infinite;
}

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

.ost-order {
	background: #fff;
	border-radius: 14px;
	box-shadow: 0 2px 18px rgba(16, 24, 40, .09);
	padding: 16px 18px;
	margin-top: 14px;
}

.ost-order-head {
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
}

.ost-order-no {
	font-family: ui-monospace, SFMono-Regular, Menlo, monospace;
	font-size: .88em;
	color: #667085;
}

.ost-order-status {
	padding: 3px 10px;
	border-radius: 999px;
	font-size: .82em;
	font-weight: 600;
	background: #eef2f7;
	color: #475467;
	white-space: nowrap;
}

.ost-order-status.is-ok {
	background: #e7f8ef;
	color: #067647;
}

.ost-order-status.is-bad {
	background: #feeceb;
	color: #b42318;
}

.ost-order-status.is-wait {
	background: #fff6e8;
	color: #b54708;
}

.ost-order-meta {
	display: flex;
	flex-wrap: wrap;
	gap: 8px 18px;
	margin-top: 10px;
	font-size: .92em;
	color: #475467;
}

.ost-order-meta b {
	font-weight: 600;
	color: #101828;
}

.ost-order-content {
	margin-top: 10px;
	padding-top: 10px;
	border-top: 1px dashed #e4e7ec;
	color: #344054;
	white-space: pre-wrap;
	word-break: break-word;
}

.ost-order-time {
	margin-top: 8px;
	font-size: .84em;
	color: #98a2b3;
}

/* 状态筛选：登录且有订单时显示（见 orders.js） */
.ost-orders-filter {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-top: 18px;
}

.ost-orders-filter label {
	color: #667085;
	font-size: .92em;
}

/* 主题的 select 是「深色背景 + mask 箭头」兜底，mask 会把整个下拉连边框遮掉，
   这里还原成普通下拉框（与首页 .field select 的处理一致） */
.ost-orders-filter select {
	width: auto;
	min-width: 170px;
	padding: 9px 40px 9px 14px;
	border: 1px solid #d0d5dd;
	border-radius: 10px;
	background-color: #fff;
	color: #101828;
	font-family: inherit;
	font-size: .95em;
	cursor: pointer;
	mask: none;
	-webkit-mask: none;
	background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath d='M1 1l5 5 5-5' fill='none' stroke='%236b7280' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
	background-repeat: no-repeat;
	background-position: right 15px center;
	background-size: 12px 8px;
}

.ost-orders-filter select:focus {
	outline: 2px solid #0af;
	outline-offset: -2px;
}
