@charset "utf-8";
/* =========================================================
   佛罗伦萨小镇 · 持卡人服务 统一视觉样式
   适用页面：memberlogon / memberbalance / memberdetail / membermanage
   说明：纯 CSS，无外部依赖，兼容 IE9+ / 现代浏览器
   ========================================================= */

* { box-sizing: border-box; }

html, body { margin: 0; padding: 0; }

body.mv-body {
	min-height: 100vh;
	font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
	             "Hiragino Sans GB", "Microsoft YaHei", "微软雅黑", Arial, sans-serif;
	font-size: 14px;
	color: #2b2b33;
	background-color: #f1ece7;
	-webkit-font-smoothing: antialiased;
}

/* ---------------- 页面骨架 ---------------- */

.mv-wrap {
	max-width: 1080px;
	margin: 0 auto;
	padding: 16px 10px 24px;
}

/* =========================================================
   经典外壳：沿用佛罗伦萨小镇原有版式
   1_01 头图（1060×92）+ 1_02 建筑照片背景 + 1_03 页脚（1060×70）
   内容以白色卡片浮于照片之上
   ========================================================= */

.mv-shell {
	width: 1060px;
	max-width: 100%;
	margin: 0 auto;
	background: #fff;
	box-shadow: 0 6px 26px rgba(88, 58, 68, .20);
}

.mv-hd, .mv-ft { line-height: 0; }

.mv-hd img, .mv-ft img {
	display: block;
	width: 100%;
	height: auto;
	max-width: 100%;
	border: 0;
}

/* 主体：1_02.jpg 铺满（cover），内容居中 */
.mv-main {
	position: relative;
	display: flex;
	align-items: center;
	justify-content: center;
	min-height: 620px;
	padding: 44px 40px 52px;
	background-color: #e6ddcf;
	background-repeat: no-repeat;
	background-position: center center;
	background-size: cover;
}

/* 内容较多时从顶部开始排列（余额页 / 明细页 / 入口页） */
.mv-main--top { align-items: flex-start; }

/* 极淡的白色雾层，保证照片上的文字与卡片有层次 */
.mv-main::before {
	content: "";
	position: absolute;
	top: 0; right: 0; bottom: 0; left: 0;
	background: linear-gradient(180deg,
		rgba(255, 255, 255, .10) 0%,
		rgba(255, 255, 255, 0) 38%,
		rgba(255, 255, 255, .10) 100%);
	pointer-events: none;
}

.mv-main > * { position: relative; z-index: 1; }

/* 内容页（余额 / 明细 / 入口）的卡片撑满版心宽度 */
.mv-main--top > .mv-card {
	flex: 1 1 auto;
	min-width: 0;
}

.mv-topbar {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 14px;
	margin-bottom: 16px;
}

.mv-brand {
	display: flex;
	align-items: center;
	gap: 12px;
	text-decoration: none;
	color: inherit;
}

.mv-brand img {
	height: 42px;
	width: auto;
	display: block;
	background: #fff;
	padding: 3px 6px;
	border-radius: 8px;
	box-shadow: 0 1px 4px rgba(120, 30, 60, .10);
}

.mv-brand-text { line-height: 1.25; }

.mv-brand-text b {
	display: block;
	font-size: 16px;
	font-weight: 700;
	letter-spacing: 1px;
	color: #2b2b33;
}

.mv-brand-text span {
	display: block;
	margin-top: 3px;
	font-size: 12px;
	letter-spacing: 2px;
	color: #a0919a;
}

.mv-card {
	background: #fff;
	border: 1px solid rgba(190, 170, 180, .22);
	border-radius: 12px;
	box-shadow: 0 16px 40px rgba(74, 44, 54, .20), 0 2px 8px rgba(74, 44, 54, .10);
	overflow: hidden;
}

.mv-card--narrow { max-width: 460px; margin: 0 auto; }

/* 登录卡：浮在建筑照片中央 */
.mv-card--login { width: 420px; max-width: 100%; }

.mv-card-head {
	padding: 22px 28px 20px;
	border-bottom: 1px solid #f3edf0;
	background: linear-gradient(135deg, #fff8fb 0%, #ffffff 70%);
}

.mv-card-head h1 {
	margin: 0;
	font-size: 20px;
	font-weight: 700;
	letter-spacing: .5px;
	color: #2b2b33;
}

.mv-card-head p {
	margin: 7px 0 0;
	font-size: 13px;
	line-height: 1.6;
	color: #8d8590;
}

.mv-card-head .mv-rule {
	width: 38px;
	height: 3px;
	margin-top: 12px;
	border-radius: 2px;
	background: linear-gradient(90deg, #c2185b, #e8749f);
}

/* 标题行内的账户余额摘要（交易明细页）：余额紧跟在标题后面 */
.mv-head-main {
	display: flex;
	align-items: baseline;
	flex-wrap: wrap;
	gap: 4px 18px;
	min-width: 0;
}

.mv-head-sum {
	display: flex;
	align-items: baseline;
	flex-wrap: wrap;
	gap: 4px 16px;
}

.mv-head-sum-item {
	display: inline-flex;
	align-items: baseline;
	gap: 6px;
	font-size: 13px;
	color: #8d8590;
	white-space: nowrap;
}

.mv-head-sum-item em {
	font-style: normal;
	color: #6d6570;
}

.mv-head-sum-item b {
	font-size: 19px;
	font-weight: 700;
	line-height: 1.1;
	color: #b4004e;
	font-variant-numeric: tabular-nums;
	font-feature-settings: "tnum";
}

.mv-head-sum-item b small {
	margin-right: 1px;
	font-size: 12px;
	font-weight: 500;
}

.mv-head-sum-meta {
	font-size: 12px;
	color: #a49aa2;
}

.mv-body-inner { padding: 24px 28px 26px; }

.mv-footer {
	margin-top: 18px;
	text-align: center;
	font-size: 12px;
	line-height: 1.8;
	color: #a49aa2;
}

/* ---------------- 表单 ---------------- */

.mv-field { margin-bottom: 15px; }

.mv-field label {
	display: block;
	margin-bottom: 7px;
	font-size: 13px;
	color: #6d6570;
}

.mv-input {
	width: 100%;
	height: 44px;
	padding: 0 13px;
	font-size: 15px;
	font-family: inherit;
	color: #2b2b33;
	background: #fff;
	border: 1px solid #e5dee2;
	border-radius: 10px;
	transition: border-color .16s ease, box-shadow .16s ease;
}

.mv-input:focus {
	outline: none;
	border-color: #c2185b;
	box-shadow: 0 0 0 3px rgba(194, 24, 91, .12);
}

.mv-input::placeholder { color: #b9b0b6; }

.mv-input[type="password"] { letter-spacing: 2px; }

.mv-hint {
	margin: 6px 0 0;
	font-size: 12px;
	line-height: 1.6;
	color: #a49aa2;
}

.mv-hint--brand { color: #b4004e; }

/* 表单内联消息：位于“登录”按钮上方，错误与提示共用同一位置 */
.mv-hint--error,
.mv-hint--ok {
	margin: 0 0 2px;
	padding: 0 2px;
	font-size: 13px;
	font-weight: 600;
	line-height: 1.55;
	word-break: break-all;
}

.mv-hint--error { color: #c0302b; }

.mv-hint--ok { color: #1c6b46; }

.mv-captcha { display: flex; align-items: center; gap: 10px; }

.mv-captcha .mv-input { flex: 1 1 auto; }

.mv-captcha img {
	height: 44px;
	width: auto;
	min-width: 86px;
	display: block;
	cursor: pointer;
	border: 1px solid #e5dee2;
	border-radius: 10px;
	background: #fff;
}

.mv-check-row {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 4px 0 16px;
	font-size: 13px;
	color: #6d6570;
}

.mv-btn {
	display: inline-block;
	height: 46px;
	padding: 0 22px;
	font-size: 15px;
	font-family: inherit;
	font-weight: 600;
	letter-spacing: 2px;
	color: #fff;
	background: linear-gradient(135deg, #c2185b 0%, #9c1450 100%);
	border: 0;
	border-radius: 10px;
	cursor: pointer;
	box-shadow: 0 8px 18px rgba(178, 23, 82, .22);
	transition: transform .14s ease, box-shadow .14s ease, opacity .14s ease;
}

.mv-btn:hover { transform: translateY(-1px); box-shadow: 0 10px 22px rgba(178, 23, 82, .28); }
.mv-btn:active { transform: translateY(0); box-shadow: 0 4px 12px rgba(178, 23, 82, .22); }
.mv-btn--block { display: block; width: 100%; }

.mv-btn--ghost {
	color: #a2144f;
	background: #fff;
	border: 1px solid #ecdbe3;
	box-shadow: none;
	font-weight: 500;
	letter-spacing: 1px;
}

.mv-btn--ghost:hover { background: #fff7fa; border-color: #e3c6d3; box-shadow: none; }

.mv-btn--sm { height: 36px; padding: 0 14px; font-size: 13px; letter-spacing: .5px; }

/* 锚点按钮需要自己垂直居中（input 由浏览器处理） */
a.mv-btn {
	display: inline-flex;
	align-items: center;
	justify-content: center;
	text-decoration: none;
}

/* 错误提示横幅 */
.mv-banner {
	display: none;
	margin: 0 0 16px;
	padding: 10px 12px;
	font-size: 13px;
	line-height: 1.55;
	color: #b42318;
	background: #fff2f1;
	border: 1px solid #ffd0ca;
	border-left: 3px solid #e5484d;
	border-radius: 8px;
	word-break: break-all;
}

.mv-banner b { font-weight: 700; }

/* 中性/成功提示（例如“已经退出”） */
.mv-banner--ok {
	color: #1c6b46;
	background: #f2faf6;
	border-color: #cbe8da;
	border-left-color: #2f9e6a;
}

/* ---------------- 账户信息 ---------------- */

.mv-section-title {
	display: flex;
	align-items: center;
	gap: 8px;
	margin: 0 0 14px;
	font-size: 15px;
	font-weight: 700;
	color: #2b2b33;
}

.mv-section-title::before {
	content: "";
	width: 3px;
	height: 15px;
	border-radius: 2px;
	background: linear-gradient(180deg, #c2185b, #e8749f);
}

.mv-section { margin-bottom: 26px; }
.mv-section:last-child { margin-bottom: 0; }

.mv-accounts {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(238px, 1fr));
	gap: 14px;
}

.mv-account {
	position: relative;
	padding: 17px 18px 16px;
	background: linear-gradient(135deg, #fffafc 0%, #ffffff 72%);
	border: 1px solid #f2e6ec;
	border-radius: 14px;
	overflow: hidden;
}

.mv-account::after {
	content: "";
	position: absolute;
	right: -26px;
	top: -26px;
	width: 76px;
	height: 76px;
	border-radius: 50%;
	background: radial-gradient(circle, rgba(233, 160, 192, .28) 0%, rgba(233, 160, 192, 0) 70%);
}

.mv-account-name {
	font-size: 13px;
	color: #8d8590;
	letter-spacing: .3px;
}

.mv-account-name em {
	font-style: normal;
	color: #b4004e;
	font-weight: 600;
}

.mv-account-balance {
	margin: 9px 0 8px;
	font-size: 26px;
	font-weight: 700;
	color: #b4004e;
	font-variant-numeric: tabular-nums;
	font-feature-settings: "tnum";
	line-height: 1.1;
}

.mv-account-balance small { font-size: 15px; font-weight: 500; margin-right: 2px; }

.mv-account-meta { font-size: 12px; color: #a49aa2; }

.mv-empty-tip {
	padding: 18px;
	text-align: center;
	font-size: 13px;
	color: #a49aa2;
	background: #fbf9fa;
	border: 1px dashed #ecdde4;
	border-radius: 12px;
}

/* ---------------- 查询条件 ---------------- */

.mv-query {
	display: flex;
	align-items: flex-end;
	flex-wrap: wrap;
	gap: 14px;
	padding: 18px;
	background: #fbf9fa;
	border: 1px solid #f1e9ed;
	border-radius: 14px;
}

.mv-query .mv-field { margin-bottom: 0; flex: 0 1 200px; min-width: 150px; }

.mv-query-sep { padding-bottom: 12px; color: #b9b0b6; }

.mv-query-action { flex: 0 0 auto; }

/* ---------------- 表格 ---------------- */

.mv-table-wrap {
	border: 1px solid #f1e9ed;
	border-radius: 14px;
	overflow: hidden;
	background: #fff;
}

.mv-table {
	width: 100%;
	border-collapse: separate;
	border-spacing: 0;
	font-size: 13.5px;
}

.mv-table th {
	padding: 12px;
	font-size: 12.5px;
	font-weight: 600;
	text-align: left;
	color: #7c7480;
	background: #faf6f8;
	border-bottom: 1px solid #efe6ea;
	white-space: nowrap;
}

.mv-table td {
	padding: 12px;
	color: #3d3d47;
	border-bottom: 1px solid #f4eff2;
	vertical-align: middle;
}

.mv-table tbody tr:last-child td { border-bottom: 0; }
.mv-table tbody tr:hover td { background: #fffafc; }

.mv-table .mv-col-no { width: 46px; color: #a49aa2; }
.mv-table .mv-col-num { text-align: right; white-space: nowrap; font-variant-numeric: tabular-nums; }
.mv-table .mv-col-date { white-space: nowrap; color: #5e5e6b; }

.mv-amt-in { color: #c0302b; font-weight: 600; }
.mv-amt-out { color: #0f8a5f; font-weight: 600; }

.mv-table .mv-empty { padding: 30px 12px; text-align: center; color: #a49aa2; }

/* ---------------- 分页 ---------------- */

.mv-pager {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 12px;
	padding: 14px 2px 0;
}

.mv-pager-btns { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }

.mv-pager-btns a {
	display: inline-block;
	padding: 7px 13px;
	font-size: 13px;
	color: #6d6570;
	text-decoration: none;
	background: #fff;
	border: 1px solid #ece1e6;
	border-radius: 8px;
	transition: all .14s ease;
}

.mv-pager-btns a:hover { color: #a2144f; border-color: #e3c6d3; background: #fff7fa; }

.mv-pager-info { font-size: 12.5px; color: #a49aa2; }
.mv-pager-info b { color: #b4004e; font-weight: 700; }

/* ---------------- 工具类 ---------------- */

.mv-row-between {
	display: flex;
	align-items: center;
	justify-content: space-between;
	flex-wrap: wrap;
	gap: 12px;
}

.mv-mt-18 { margin-top: 18px; }
.mv-mt-24 { margin-top: 24px; }
.mv-text-center { text-align: center; }
.mv-muted { color: #a49aa2; }

/* ---------------- 会员管理入口页 ---------------- */

.mv-menu {
	display: grid;
	grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
	gap: 14px;
}

.mv-menu a {
	display: block;
	padding: 20px 18px;
	text-decoration: none;
	color: #2b2b33;
	background: linear-gradient(135deg, #fffafc 0%, #ffffff 75%);
	border: 1px solid #f1e6eb;
	border-radius: 14px;
	transition: transform .16s ease, box-shadow .16s ease, border-color .16s ease;
}

.mv-menu a:hover {
	transform: translateY(-2px);
	border-color: #e7cddb;
	box-shadow: 0 12px 24px rgba(120, 30, 60, .10);
}

.mv-menu a strong { display: block; font-size: 15px; font-weight: 700; }
.mv-menu a span { display: block; margin-top: 6px; font-size: 12.5px; color: #a49aa2; }

/* ---------------- 响应式 ---------------- */

@media (max-width: 1080px) {
	.mv-wrap { padding: 0; }
	.mv-shell { box-shadow: none; }
	.mv-main { min-height: 520px; padding: 32px 24px 40px; }
}

@media (max-width: 640px) {
	.mv-wrap { padding: 0; }
	.mv-main { min-height: 440px; padding: 22px 14px 28px; }
	.mv-card--login { width: 100%; }
	.mv-card-head { padding: 18px 18px 16px; }
	.mv-card-head h1 { font-size: 18px; }
	.mv-head-main { gap: 2px 10px; }
	.mv-head-sum { gap: 2px 12px; }
	.mv-head-sum-item { white-space: normal; }
	.mv-head-sum-item b { font-size: 17px; }
	.mv-body-inner { padding: 18px 16px 20px; }
	.mv-account-balance { font-size: 23px; }
	.mv-query { padding: 14px; }
	.mv-query .mv-field { flex: 1 1 100%; }
	.mv-table-wrap { overflow-x: auto; }
	.mv-table { min-width: 640px; }
	.mv-btn { width: 100%; }
	.mv-btn--sm { width: auto; }
}
