/* 确认地址弹窗美化：仅替换视觉样式，不改任何交互逻辑（仅作用于 className 为 address-confirm-dialog 的弹窗）
   设计：白色圆角卡片 + 顶部粉色渐变过渡 + 卡片顶边悬浮红色感叹号徽标 + 标题加粗居中 + 距离数字标红 + 胶囊按钮 */
.van-dialog.address-confirm-dialog {
	width: 82% !important;
	max-width: 640px;
	border-radius: 24px;
	overflow: visible;
	background: linear-gradient(180deg, #ffe9ec 0%, #ffffff 36%);
	box-shadow: 0 16px 40px rgba(0, 0, 0, .22);
}

.address-confirm-dialog .van-dialog__header {
	position: relative;
	padding: 46px 20px 6px;
	font-size: 19px;
	font-weight: 700;
	color: #333;
	line-height: 28px;
}

/* 卡片顶边悬浮的红色感叹号徽标，纯 CSS 绘制 */
.address-confirm-dialog .van-dialog__header::before {
	content: "!";
	position: absolute;
	top: -27px;
	left: 50%;
	transform: translateX(-50%);
	width: 54px;
	height: 54px;
	line-height: 54px;
	border-radius: 50%;
	background: linear-gradient(180deg, #ff4462 5%, #e82040 100%);
	box-shadow: 0 8px 18px rgba(232, 32, 64, .4);
	color: #fff;
	font-size: 30px;
	font-weight: 700;
	text-align: center;
	box-sizing: border-box;
}

.address-confirm-dialog .van-dialog__message {
	padding: 8px 24px 20px;
	font-size: 15px;
	color: #444;
	line-height: 1.8;
	text-align: center;
	white-space: normal;
	max-height: none;
}

/* 距离数字标红（message 以 HTML 渲染，allowHtml 为该 Vant 版本默认开启） */
.address-confirm-dialog .address-confirm-num {
	color: #e82040;
	font-weight: 700;
	font-size: 17px;
}

.address-confirm-dialog .van-dialog__footer {
	padding: 2px 20px 20px;
}

.address-confirm-dialog .van-button {
	flex: 1;
	height: 46px;
	line-height: 46px;
	border-radius: 999px;
	font-size: 16px;
	border: none;
}

/* 去掉 Vant 按钮自带的 1px 描边线 */
.address-confirm-dialog .van-hairline--right::after {
	border-color: transparent;
}

.address-confirm-dialog .van-dialog__cancel {
	margin-right: 12px;
	color: #e82040 !important;
	background: #fff !important;
	border: 1px solid #ffb9c4;
}

.address-confirm-dialog .van-dialog__confirm {
	color: #fff !important;
	font-weight: 600;
	background: linear-gradient(to bottom, #ff4462 5%, #e82040 100%) !important;
}
