/* ==========================================================================
   B2 账户自助注销 —— 前台样式
   配色尽量贴近 B2 默认（主色 #10a5e8 / #268df7，文字 #1f2d38 / #8590a6）
   ========================================================================== */

.b2ad-page {
	padding: 32px 16px 64px;
	display: flex;
	justify-content: center;
}

.b2ad-card {
	width: 100%;
	max-width: 760px;
	background: #fff;
	border-radius: 12px;
	box-shadow: 0 2px 16px rgba(0, 0, 0, .05);
	padding: 34px 34px 30px;
	box-sizing: border-box;
	color: #1f2d38;
	font-size: 14px;
	line-height: 1.85;
}

/* 短代码嵌入时不要外层的白底阴影重复 */
.entry-content .b2ad-card,
.post-content .b2ad-card {
	box-shadow: none;
	padding: 6px 0 0;
}

/* ── 标题 ── */
.b2ad-title {
	font-size: 21px;
	font-weight: 700;
	margin: 0 0 8px;
	text-align: center;
}
.b2ad-sub {
	color: #8590a6;
	text-align: center;
	margin: 0 0 24px;
	font-size: 13.5px;
}

/* ── 步骤条 ── */
.b2ad-steps {
	display: flex;
	justify-content: center;
	gap: 6px;
	list-style: none;
	margin: 0 0 26px;
	padding: 0;
	flex-wrap: wrap;
}
.b2ad-step {
	display: flex;
	align-items: center;
	gap: 7px;
	padding: 6px 14px;
	border-radius: 20px;
	background: #f5f7f9;
	color: #9aa7b1;
	font-size: 13px;
}
.b2ad-step b {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	width: 18px;
	height: 18px;
	border-radius: 50%;
	background: #d8dee4;
	color: #fff;
	font-size: 11px;
	font-weight: 700;
}
.b2ad-step.is-current {
	background: #eaf5fd;
	color: #10a5e8;
	font-weight: 600;
}
.b2ad-step.is-current b { background: #10a5e8; }
.b2ad-step.is-done { color: #2b8a4a; }
.b2ad-step.is-done b { background: #52c07a; }

/* ── 内容块 ── */
.b2ad-block {
	background: #f8fafc;
	border: 1px solid #eef2f6;
	border-radius: 10px;
	padding: 18px 20px;
	margin: 0 0 20px;
}
.b2ad-block h2 {
	font-size: 14.5px;
	font-weight: 700;
	margin: 0 0 12px;
	padding: 0;
	border: 0;
}

/* ── 列表 ── */
.b2ad-list {
	margin: 0;
	padding: 0;
	list-style: none;
}
.b2ad-list li {
	position: relative;
	padding: 0 0 0 22px;
	margin: 0 0 12px;
	line-height: 1.9;
}
.b2ad-list li:last-child { margin-bottom: 0; }
.b2ad-list li::before {
	content: '';
	position: absolute;
	left: 6px;
	top: 11px;
	width: 6px;
	height: 6px;
	border-radius: 50%;
	background: #c3ccd4;
}
.b2ad-list li.b2ad-li-danger::before { background: #e6594a; }
.b2ad-list li.b2ad-li-keep::before { background: #52c07a; }
.b2ad-li-danger b { color: #d0453a; }
.b2ad-li-keep b { color: #2b8a4a; }

/* ── 资产明细 ── */
.b2ad-asset-grid {
	display: grid;
	grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
	gap: 10px;
}
.b2ad-asset {
	position: relative;
	background: #fff;
	border: 1px solid #e9eef3;
	border-radius: 9px;
	padding: 12px 14px;
}
.b2ad-asset.is-lost { border-left: 3px solid #e6594a; }
.b2ad-asset.is-keep { border-left: 3px solid #52c07a; }
.b2ad-asset-label {
	color: #8590a6;
	font-size: 12.5px;
	margin-bottom: 4px;
}
.b2ad-asset-value {
	font-size: 17px;
	font-weight: 700;
	color: #1f2d38;
	word-break: break-all;
}
.b2ad-asset-tag {
	position: absolute;
	right: 10px;
	top: 10px;
	font-size: 11px;
	padding: 1px 7px;
	border-radius: 9px;
}
.b2ad-asset.is-lost .b2ad-asset-tag { background: #fdecea; color: #c0392b; }
.b2ad-asset.is-keep .b2ad-asset-tag { background: #e8f6ec; color: #2b8a4a; }

/* ── 表单 ── */
.b2ad-form { margin: 0; }
.b2ad-field {
	display: block;
	margin: 0 0 18px;
}
.b2ad-field > span {
	display: block;
	color: #6a7580;
	font-size: 13px;
	margin-bottom: 6px;
}
.b2ad-field textarea {
	width: 100%;
	box-sizing: border-box;
	border: 1px solid #dfe5ea;
	border-radius: 8px;
	padding: 10px 12px;
	font-size: 14px;
	font-family: inherit;
	resize: vertical;
	outline: none;
	transition: border-color .2s;
}
.b2ad-field textarea:focus { border-color: #10a5e8; }

.b2ad-agree {
	display: flex;
	align-items: flex-start;
	gap: 10px;
	background: #f8fafc;
	border: 1px solid #eef2f6;
	border-radius: 9px;
	padding: 14px 16px;
	margin: 0 0 20px;
	cursor: pointer;
	font-size: 13.5px;
	line-height: 1.85;
	color: #3c4a54;
}
.b2ad-agree input {
	margin: 5px 0 0;
	flex: 0 0 auto;
	width: 16px;
	height: 16px;
	accent-color: #10a5e8;
	cursor: pointer;
}

/* ── 按钮 ── */
.b2ad-actions {
	display: flex;
	gap: 12px;
	justify-content: center;
	flex-wrap: wrap;
	margin-top: 4px;
}
.b2ad-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	min-width: 132px;
	padding: 10px 24px;
	border-radius: 22px;
	border: 1px solid #dfe5ea;
	background: #fff;
	color: #5a6a76;
	font-size: 14px;
	font-family: inherit;
	line-height: 1.4;
	cursor: pointer;
	text-decoration: none;
	transition: all .2s;
	box-sizing: border-box;
}
.b2ad-btn:hover { border-color: #10a5e8; color: #10a5e8; }
.b2ad-btn-primary {
	background: linear-gradient(135deg, #59c3fb 10%, #268df7 100%);
	border-color: transparent;
	color: #fff !important;
}
.b2ad-btn-primary:hover { opacity: .9; color: #fff; }
.b2ad-btn-danger {
	background: linear-gradient(135deg, #ff7b72 0%, #e6594a 100%);
	border-color: transparent;
	color: #fff !important;
}
.b2ad-btn-danger:hover { opacity: .9; color: #fff; }
.b2ad-btn[disabled],
.b2ad-btn[disabled]:hover {
	opacity: .45;
	cursor: not-allowed;
	border-color: #dfe5ea;
	color: #9aa7b1 !important;
	background: #f5f7f9;
}
.b2ad-btn-primary[disabled],
.b2ad-btn-danger[disabled] {
	background: #dfe5ea;
	border-color: transparent;
}

.b2ad-linkbtn {
	background: none;
	border: 0;
	padding: 0;
	color: #10a5e8;
	font-size: 13.5px;
	font-family: inherit;
	cursor: pointer;
	text-decoration: none;
}
.b2ad-linkbtn:hover { text-decoration: underline; }
.b2ad-linkbtn[disabled] { color: #b9c2ca; cursor: not-allowed; text-decoration: none; }

/* ── 验证码 ── */
.b2ad-mail-line {
	margin: 0 0 16px;
	line-height: 1.9;
}
.b2ad-hint { color: #9aa7b1; font-size: 12.5px; }
.b2ad-code-row {
	display: flex;
	gap: 12px;
	align-items: center;
}
.b2ad-code-input {
	flex: 1 1 auto;
	min-width: 0;
	border: 1px solid #dfe5ea;
	border-radius: 22px;
	padding: 11px 20px;
	font-size: 18px;
	letter-spacing: 6px;
	text-align: center;
	font-family: inherit;
	outline: none;
	transition: border-color .2s;
}
.b2ad-code-input:focus { border-color: #10a5e8; }
.b2ad-resend {
	margin: 14px 0 0;
	text-align: center;
	font-size: 13px;
	color: #8590a6;
}
.b2ad-countdown { margin-left: 6px; color: #9aa7b1; }

/* ── 冷静期 ── */
.b2ad-pending {
	background: linear-gradient(135deg, #fff8f0 0%, #fff3e6 100%);
	border: 1px solid #ffe4c7;
	border-radius: 12px;
	padding: 26px 20px;
	text-align: center;
	margin: 0 0 22px;
}
.b2ad-pending-label { color: #b98a4e; font-size: 13px; margin-bottom: 8px; }
.b2ad-countdown-big {
	font-size: 30px;
	font-weight: 700;
	color: #d9822b;
	letter-spacing: 1px;
	font-variant-numeric: tabular-nums;
	line-height: 1.4;
}
.b2ad-pending-time { color: #b98a4e; font-size: 13px; margin-top: 8px; }

/* ── 提示框 ── */
.b2ad-notice {
	border-radius: 10px;
	padding: 22px 24px;
	text-align: center;
	margin-bottom: 22px;
}
.b2ad-notice-title { font-size: 17px; font-weight: 700; margin-bottom: 8px; }
.b2ad-notice-desc { font-size: 13.5px; line-height: 1.9; }
.b2ad-notice-info { background: #eaf5fd; color: #1a6fa0; }
.b2ad-notice-success { background: #e8f6ec; color: #2b7a4a; }
.b2ad-notice-error { background: #fdecea; color: #b3392c; }

.b2ad-flash {
	border-radius: 9px;
	padding: 12px 18px;
	margin-bottom: 20px;
	font-size: 13.5px;
	line-height: 1.8;
}
.b2ad-flash-success { background: #e8f6ec; color: #2b7a4a; border: 1px solid #cbe9d6; }
.b2ad-flash-error { background: #fdecea; color: #b3392c; border: 1px solid #f6d5d1; }
.b2ad-flash-info { background: #eaf5fd; color: #1a6fa0; border: 1px solid #cfe7f7; }

/* ── 手机端 ── */
@media screen and (max-width: 768px) {
	.b2ad-page { padding: 16px 10px 40px; }
	.b2ad-card { padding: 22px 18px 20px; border-radius: 10px; }
	.b2ad-title { font-size: 18px; }
	.b2ad-countdown-big { font-size: 23px; }
	.b2ad-actions { flex-direction: column-reverse; }
	.b2ad-btn { width: 100%; }
	.b2ad-code-row { flex-direction: column; align-items: stretch; }
	.b2ad-code-row .b2ad-btn { width: 100%; }
	.b2ad-asset-grid { grid-template-columns: repeat(auto-fill, minmax(120px, 1fr)); }
	.b2ad-steps { gap: 4px; }
	.b2ad-step { padding: 5px 10px; font-size: 12px; }
}
