/* ==========================================================================
   QZC 邀请制登录 — 一行折叠条 + 登录 / 我的面板
   配色沿用站点蓝 #1e73be；所有选择器带 .qzc-mem* 前缀，避免影响主题其它部分。
   ========================================================================== */

.qzc-membar {
	margin: 0 0 14px;
	font-size: 13px;
	line-height: 1.6;
}

.qzc-membar__details {
	background: #f3f8fd;
	border: 1px solid #dce9f6;
	border-radius: 8px;
}

.qzc-membar__details > summary {
	cursor: pointer;
	padding: 8px 12px;
	color: #1e73be;
	list-style: none;
	outline: none;
}

.qzc-membar__details > summary::-webkit-details-marker { display: none; }
.qzc-membar__details > summary::before {
	content: '+';
	display: inline-block;
	width: 16px;
	font-weight: 700;
}
.qzc-membar__details[open] > summary::before { content: '-'; }
.qzc-membar__details > summary strong { color: #0c447c; }
.qzc-membar__details > summary:hover { color: #0c447c; }

.qzc-membar__panel {
	background: #fff;
	border-top: 1px solid #dce9f6;
	border-radius: 0 0 8px 8px;
}

.qzc-mem { padding: 12px; font-size: 13px; line-height: 1.6; }
.qzc-mem__hint,
.qzc-mem__note { margin: 0 0 10px; color: #777; font-size: 12px; }
.qzc-mem__note { margin: 10px 0 0; }
.qzc-mem__hint { margin-bottom: 10px; color: #555; }

.qzc-mem__msg {
	margin: 0 0 10px;
	padding: 7px 12px;
	border-radius: 6px;
	font-size: 13px;
}
.qzc-mem__msg--ok { background: #e8f6ec; border: 1px solid #b7e0c2; color: #1a7f37; }
.qzc-mem__msg--err { background: #fdecec; border: 1px solid #f3c1c1; color: #a32d2d; }

.qzc-mem__row,
.qzc-mem__form {
	display: flex;
	flex-wrap: wrap;
	align-items: flex-end;
	gap: 10px;
	margin: 0;
}
.qzc-mem__row { align-items: center; }
.qzc-mem__who { color: #555; }
.qzc-mem__who strong { color: #1e73be; font-size: 14px; }

.qzc-mem__field {
	display: flex;
	flex-direction: column;
	gap: 4px;
	font-size: 12px;
	color: #666;
}
.qzc-mem input.qzc-mem__input {
	width: 148px;
	max-width: 100%;
	padding: 7px 10px;
	font-size: 13px;
	line-height: 1.4;
	color: #333;
	background: #fff;
	border: 1px solid #c9d6e2;
	border-radius: 5px;
}
.qzc-mem input.qzc-mem__input:focus {
	border-color: #1e73be;
	outline: none;
}
.qzc-mem__remember {
	display: flex;
	align-items: center;
	gap: 4px;
	font-size: 12px;
	color: #666;
	margin: 0 0 7px;
}
.qzc-mem__remember input { margin: 0; }

/* 用 button 而非 input[type=submit]，避开父主题 input[type=submit] 的高特异性灰底样式。 */
.qzc-mem button.qzc-mem__submit,
.qzc-mem button.qzc-mem__save {
	background: #1e73be;
	background-image: none;
	color: #fff !important;
	border: 0;
	border-radius: 6px;
	font-size: 14px;
	font-weight: 700;
	line-height: 1.4;
	padding: 8px 20px;
	cursor: pointer;
	box-shadow: 0 1px 2px rgba(0, 0, 0, .12);
}
.qzc-mem button.qzc-mem__submit:hover,
.qzc-mem button.qzc-mem__save:hover { background: #155d99; }
.qzc-mem button.qzc-mem__save { font-size: 13px; padding: 7px 16px; }

.qzc-mem__out { font-size: 12px; color: #999; text-decoration: none; }
.qzc-mem__out:hover { color: #a32d2d; }

@media screen and (max-width: 599px) {
	.qzc-mem__form,
	.qzc-mem__row { flex-direction: column; align-items: stretch; }
	.qzc-mem input.qzc-mem__input { width: 100%; }
	.qzc-mem button.qzc-mem__submit,
	.qzc-mem button.qzc-mem__save { width: 100%; }
	.qzc-mem__out { text-align: center; }
}
