* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Microsoft Yahei", sans-serif;
}
body {
    padding-bottom: 60px;
    background-color: #f5f5f5;
}
.tab-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 60px;
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: space-around;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.1);
    z-index: 999;
}
.tab-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex: 1;
    min-width: 0;
    color: #999;
    text-decoration: none;
    font-size: 12px;
}
.tab-item.active {
    color: #3f6dff;
}
.tab-item.trade {
    font-weight: bold;
    transform: scale(1.1);
}
.tab-item i {
    font-size: 20px;
    margin-bottom: 4px;
	font-style:normal;
	color:#999;
}
.tab-item.active i,
.tab-item.active .layui-icon {
    color: #3f6dff;
}
/* 轮播图 */
.banner-swiper {
    width: 100%;
    height: 200px;
    overflow: hidden;
    position: relative;
}
.banner-item {
    width: 100%;
    height: 100%;
}
.banner-item {
    position: relative;
}
.banner-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}
.banner-caption {
    position: absolute;
    left: 12px;
    bottom: 12px;
    right: 12px;
    color: #fff;
    font-size: 14px;
    text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}
.banner-swiper .swiper-pagination{
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
}
.swiper-pagination-bullet {
    width: 8px;
    height: 8px;
    background-color: rgba(255,255,255,0.6);
    opacity: 1;
}
.swiper-pagination-bullet-active {
    background-color: #3f6dff;
}
.deal-record {
    width: 100%;
    height: 40px;
    line-height: 40px;
    background-color: #fff;
    margin: 10px 0;
    padding: 0 15px;
    overflow: hidden;
    position: relative;
}
.record-list {
    display: flex;
    list-style: none;
    position: absolute;
    left: 0;
    top: 0;
    white-space: nowrap;
    height: 100%;
}
.record-item {
    margin-right: 20px;
}
.record-item a {
    color: #333;
    text-decoration: none;
    font-size: 14px;
    display: inline-block;
    height: 100%;
}
.record-item a:hover {
    color: #3f6dff;
}
/* 成交记录滚动 */
.deal-record {
    width: 100%;
    height: 40px;
    line-height: 40px;
    background-color: #fff;
    margin: 10px 0;
    padding: 0 15px;
    overflow: hidden;
}
.record-text {
    white-space: nowrap;
    animation: scroll 20s linear infinite;
    color: #333;
}
@keyframes scroll {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}
.category-cards {
    padding: 0 15px;
    margin: 0 0 10px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}
.category-card {
    background-color: #3f6dff;
    border-radius: 8px;
    padding: 18px 15px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}
.card-title {
    font-size: 18px;
    font-weight: bold;
    color: #fff;
}
.total-count {
    font-size: 14px;
    color: #fff;
}
.latest-deal {
    font-size: 14px;
    color: #fff;
    line-height: 1.5;
    display: flex;
    justify-content: space-between;
}
.latest-deal .time{
	color:#eee;
}
.company-intro {
    background-color: #fff;
    padding: 20px 15px;
    margin-bottom: 20px;
    border-radius: 8px;
    margin: 0 15px 10px;
}
.title-common.news h3{
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.title-common h3 span,
.title-common h3 {
    color: #3f6dff;
    margin-bottom: 10px;
    font-size: 18px;
}
.title-common h3 a{
    color:#999;
    font-size:14px;
}
.company-intro p {
    color: #666;
    line-height: 1.6;
    font-size: 14px;
}
/* 最新资讯 */
.news {
    background-color: #fff;
    padding: 20px 15px;
    border-radius: 8px;
    margin: 0 15px 15px 15px;
}
.news-list {
    list-style: none;
}
.news-item {
    padding: 10px 0;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
}
.news-item:last-child {
    border-bottom: none;
}
.news-item-date {
    font-size: 12px;
    color: #999;
    flex-shrink: 0;
}
.news-item a {
    color: #333;
    text-decoration: none;
    font-size: 14px;
    flex: 1;
    min-width: 0;
    line-height: 1.5;
}
.news-item a:hover {
    color: #3f6dff;
}


.page-title {
    height: 50px;
    line-height: 50px;
    padding: 0 15px;
    background-color: #fff;
    font-size: 18px;
    font-weight: bold;
    color: #333;
    border-bottom: 1px solid #eee;
    margin-bottom: 15px;
}
/* 交易卡片 */
.trade-cards {
    padding: 0 15px;
    display: flex;
    flex-direction: column;
    gap: 15px;
}
.trade-card {
    background-color: #fff;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.trade-card h3 {
    color: #3f6dff;
    font-size: 20px;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #eee;
}
.trade-list {
    list-style: none;
    max-height: 300px;
    overflow-y: auto;
}
.trade-item {
    padding: 10px 0;
    border-bottom: 1px solid #f5f5f5;
    font-size: 14px;
    color: #333;
}
.trade-item:last-child {
    border-bottom: none;
}
.trade-item span {
    display: inline-block;
    width: 25%;
}

.user-info {
    background-color: #3f6dff;
    color: #fff;
    padding: 20px 15px;
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}
.avatar-wrap {
    display: block;
    flex-shrink: 0;
    text-decoration: none;
    color: inherit;
}
.avatar, .avatar-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: block;
    object-fit: cover;
}
.avatar {
    background-color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #3f6dff;
}
.avatar .layui-icon { font-size: 28px; }
.user-detail .user-name,
.user-detail h3 {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 5px;
}
.user-detail p {
    font-size: 14px;
    opacity: 0.8;
}
.user-detail .btn-edit-profile {
    display: inline-block;
    margin-top: 8px;
    padding: 4px 12px;
    font-size: 13px;
    color: #fff;
    background: rgba(255,255,255,0.25);
    border-radius: 6px;
    text-decoration: none;
}
.user-detail .btn-edit-profile:hover {
    background: rgba(255,255,255,0.4);
}
/* 我的页：四个快捷入口（资产明细/交易记录/银行卡/客服咨询） */
.member-shortcuts {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin: 20px 15px 20px;
    padding: 0;
}
.member-shortcut-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #333;
}
.member-shortcut-icon {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: rgba(63, 109, 255, 0.1);
    color: #3f6dff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}
.member-shortcut-icon .layui-icon { font-size: 22px; }
.member-shortcut-label {
    font-size: 12px;
    color: #666;
    margin-top: 8px;
}
.member-shortcut-item:hover .member-shortcut-icon { background: rgba(63, 109, 255, 0.2); }
.member-shortcut-item:hover .member-shortcut-label { color: #3f6dff; }

.summary-container {
    margin: 0 15px 15px;
}
.summary-title {
    font-size: 18px;
    color: #333;
    margin-bottom: 10px;
    padding-left: 5px;
}
.summary-cards {
    gap: 10px;
    flex-wrap: wrap;
}
.summary-card-item {
	display: flex;
    flex: 1;
    align-items:center;
    min-width: 110px; /* 小屏最小宽度，避免挤压 */
    background-color: #fff;
    border-radius: 8px;
    padding: 15px 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    text-align: center;
    margin-bottom:10px;
    justify-content:space-between;
}
.summary-card-link {
    text-decoration: none;
    color: inherit;
    transition: transform 0.15s, box-shadow 0.15s;
}
.summary-card-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
}
.buy-card {
    border-left: 4px solid #ff4444; /* 红色标识买入（支出） */
}
.sell-card {
    border-left: 4px solid #00C851; /* 绿色标识卖出（收入） */
}
.total-card {
    border-left: 4px solid #1E90FF; /* 蓝色标识总交易 */
}
/* 卡片内文字样式 */
.card-label {
    font-size: 14px;
    color: #666;
}
.card-count {
    font-size: 18px;
    font-weight: bold;
    color: #333;
}
.card-amount {
    font-size: 14px;
    color: #333;
}
/* 不同卡片金额配色（可选，增强区分） */
.buy-card .card-amount {
    color: #ff4444;
}
.sell-card .card-amount {
    color: #00C851;
}
.total-card .card-amount {
    color: #1E90FF;
}
.bill-card {
    background-color: #fff;
    border-radius: 8px;
    padding: 20px 15px;
    margin: 0 15px 15px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.bill-card.scroll{
	height:30vh;
	overflow: scroll;
}

/* 交易中心：三块上下布局，总宽=屏幕宽，每块内滑动 */
.transaction-center-row {
    display: flex;
    flex-direction: column;
    width: 100%;
    box-sizing: border-box;
    padding: 0 15px 15px;
    gap: 12px;
}
.transaction-center-col {
    width: 100%;
    min-width: 0;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    display: flex;
    flex-direction: column;
}
.transaction-center-col-title-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 10px;
    border-bottom: 1px solid #eee;
    flex-shrink: 0;
}
.transaction-center-col-title {
    font-size: 16px;
    color: #3f6dff;
    margin: 0;
    flex-shrink: 0;
}
.transaction-center-btn-launch {
    font-size: 13px;
    padding: 4px 12px;
    background: #3f6dff;
    color: #fff;
    border-radius: 6px;
    text-decoration: none;
    flex-shrink: 0;
}
.transaction-center-btn-launch:hover { color: #fff; background: #2d5ae6; }
.transaction-center-col-scroll {
    min-height: 0;
    overflow-y: auto;
    overflow-x: hidden;
    -webkit-overflow-scrolling: touch;
    padding: 8px 10px;
    max-height: 40vh;
}
.transaction-center-col-scroll .bill-list { margin: 0; padding: 0; list-style: none; }
.transaction-center-col-scroll .bill-item {
    padding: 8px 0;
    border-bottom: 1px solid #f5f5f5;
    font-size: 13px;
}
.transaction-center-col-scroll .bill-item:last-child { border-bottom: none; }
.transaction-center-col-scroll .bill-type { font-size: 13px; color: #333; }
.transaction-center-col-scroll .bill-time { font-size: 12px; color: #999; margin-top: 2px; }
.transaction-center-col-scroll .bill-amount { font-size: 13px; color: #333; }
.transaction-center-col-scroll .bill-amount.amount-buy { color: #ff4444; }
.transaction-center-col-scroll .bill-amount.amount-sell { color: #00C851; }
.transaction-detail-page.bill-card.scroll { height: auto; overflow: visible; }
.detail-section { margin-bottom: 24px; }
.detail-section-title { font-size: 16px; color: #333; margin-bottom: 10px; }
.detail-note { font-size: 12px; color: #999; margin-bottom: 10px; }
.detail-list { list-style: none; margin: 0; padding: 0; }
.detail-list li { display: flex; padding: 8px 0; border-bottom: 1px solid #f0f0f0; }
.detail-list .label { flex: 0 0 100px; color: #666; }
.detail-id-photos { display: flex; flex-wrap: wrap; gap: 16px; margin-top: 12px; }
.id-photo-item { display: flex; flex-direction: column; gap: 6px; }
.id-photo-item .label { font-size: 12px; color: #666; }
.id-photo { max-width: 200px; max-height: 140px; object-fit: contain; border: 1px solid #eee; border-radius: 4px; }
.no-photo { color: #999; }

/* 资讯列表/详情 */
.news-page.bill-card { padding: 16px; }
.news-categories { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid #eee; }
.news-categories a { padding: 6px 12px; border-radius: 6px; color: #666; text-decoration: none; font-size: 14px; }
.news-categories a:hover, .news-categories a.active { background: #3f6dff; color: #fff; }
.news-article-list { list-style: none; margin: 0; padding: 0; }
.news-article-item { border-bottom: 1px solid #f0f0f0; }
.news-article-link { display: flex; align-items: flex-start; gap: 12px; padding: 12px 0; text-decoration: none; color: inherit; }
.news-article-thumb { width: 80px; height: 60px; object-fit: cover; border-radius: 6px; flex-shrink: 0; }
.news-article-meta { flex: 1; min-width: 0; }
.news-article-title { display: block; font-weight: 600; color: #333; margin-bottom: 4px; }
.news-article-intro { display: block; font-size: 13px; color: #666; margin-bottom: 4px; }
.news-article-time { font-size: 12px; color: #999; }
.news-article-empty { padding: 24px; text-align: center; color: #999; }
.news-pagination { display: flex; align-items: center; justify-content: center; gap: 16px; margin-top: 20px; padding-top: 16px; }
.news-pagination a { color: #3f6dff; text-decoration: none; }
.news-page-info { font-size: 14px; color: #666; }
.news-detail.bill-card { padding: 20px; }
.news-detail-title { font-size: 20px; margin-bottom: 12px; color: #333; }
.news-detail-meta { font-size: 13px; color: #999; margin-bottom: 16px; }
.news-detail-pic { margin-bottom: 16px; }
.news-detail-pic img { max-width: 100%; height: auto; border-radius: 8px; }
.news-detail-content { line-height: 1.7; color: #444; }
.news-detail-content img { max-width: 100%; height: auto; }
.news-detail-nav { margin-top: 24px; padding-top: 20px; border-top: 1px solid #eee; display: flex; flex-direction: column; gap: 16px; }
.news-detail-nav-prevnext { display: flex; justify-content: space-between; align-items: center; gap: 12px; }
.news-detail-nav-back { display: flex; flex-wrap: wrap; gap: 10px; justify-content: center; }
.news-nav-btn { display: inline-block; padding: 10px 18px; border-radius: 8px; font-size: 14px; text-decoration: none; text-align: center; transition: background .2s, color .2s; }
.news-nav-btn.prev, .news-nav-btn.next { min-width: 100px; background: #3f6dff; color: #fff; border: none; }
.news-nav-btn.prev:hover, .news-nav-btn.next:hover { background: #2d5ae6; color: #fff; }
.news-nav-btn.prev.disabled, .news-nav-btn.next.disabled { background: #e0e0e0; color: #999; cursor: not-allowed; }
.news-nav-btn.back { background: #f5f5f5; color: #333; border: 1px solid #e0e0e0; }
.news-nav-btn.back:hover { background: #eee; color: #3f6dff; }

.bill-card h3 {
    font-size: 18px;
    color: #3f6dff;
    margin-bottom: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.bill-card h3 a {
    font-size: 14px;
    color: #3f6dff;
    text-decoration: none;
}
.bill-list {
    list-style: none;
}
.bill-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #f5f5f5;
    font-size: 14px;
    align-items:center;
}
.bill-item:last-child {
    border-bottom: none;
}
.bill-type {
    color: #333;
}
.bill-amount {
    color: #333;
}
.bill-amount.amount-buy {
    color: #ff4444;
}
.bill-amount.amount-sell {
    color: #00C851;
}
.amount-buy { color: #ff4444; }
.amount-sell { color: #00C851; }
.bill-time {
    font-size: 12px;
    color: #999;
    margin-top: 4px;
}
.bill-time i{
	font-style:normal;
	padding-right:10px;
}
/* 实名认证 */
.auth-section {
    background-color: #fff;
    border-radius: 12px;
    padding: 20px 15px;
    margin: 0 15px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
}
.auth-section h3 {
    font-size: 18px;
    color: #3f6dff;
    margin-bottom: 15px;
}
/* 实名认证卡片：左右布局，已认证显示徽章+勾 */
.auth-card .auth-card-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.auth-card .auth-card-left {
    flex: 1;
    min-width: 0;
}
.auth-card .auth-card-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin: 0 0 4px 0;
}
.auth-card .auth-card-desc {
    font-size: 12px;
    color: #999;
    margin: 0;
}
.auth-card .auth-card-right {
    display: flex;
    align-items: center;
    flex-shrink: 0;
    margin-left: 12px;
}
.auth-card .auth-card-right .auth-btn {
    display: inline-block;
    width: auto;
    padding: 0 20px;
}
.auth-badge {
    display: inline-block;
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 6px;
    background: rgba(0, 200, 81, 0.1);
    color: #00c851;
    margin-right: 8px;
}
.auth-check-icon {
    font-size: 22px;
    color: #00c851;
}
.auth-btn {
    display: block;
    width: 100%;
    height: 45px;
    line-height: 45px;
    text-align: center;
    background-color: #3f6dff;
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
    text-decoration: none;
}
.auth-btn:hover {
    background-color: #0066CC;
    color: #fff;
}
.auth-tip {
    font-size: 12px;
    color: #999;
    margin-top: 10px;
    text-align: center;
}
.btn-logout{
    text-align: center;
}

/* 登录页 */
.login-page {
    min-height: 100vh;
    background: linear-gradient(160deg, #3f6dff 0%, #5a8cff 50%, #e8eeff 100%);
    padding: 40px 20px 80px;
}
.login-page .login-header {
    text-align: center;
    padding: 30px 0 40px;
    color: #fff;
}
.login-page .login-header h1 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 8px;
    letter-spacing: 1px;
}
.login-page .login-header p {
    font-size: 14px;
    opacity: 0.9;
}
.login-page .login-card {
    background: #fff;
    border-radius: 16px;
    padding: 28px 24px;
    box-shadow: 0 8px 32px rgba(63, 109, 255, 0.15);
    max-width: 400px;
    margin: 0 auto;
}
.login-page .form-group {
    margin-bottom: 20px;
}
.login-page .form-group label {
    display: block;
    font-size: 14px;
    color: #333;
    margin-bottom: 8px;
    font-weight: 500;
}
.login-page .form-control {
    width: 100%;
    height: 48px;
    padding: 0 16px;
    border: 1px solid #e0e0e0;
    border-radius: 10px;
    font-size: 15px;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.login-page .form-control:focus {
    outline: none;
    border-color: #3f6dff;
    box-shadow: 0 0 0 3px rgba(63, 109, 255, 0.15);
}
.login-page .form-row {
    display: flex;
    gap: 12px;
    align-items: stretch;
}
.login-page .form-row .form-control {
    flex: 1;
}
.login-page .btn-send-code {
    flex-shrink: 0;
    height: 48px;
    padding: 0 20px;
    background: #e8eeff;
    color: #3f6dff;
    border: none;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    white-space: nowrap;
    transition: background 0.2s, color 0.2s;
}
.login-page .btn-send-code:hover:not(:disabled) {
    background: #3f6dff;
    color: #fff;
}
.login-page .btn-send-code:disabled {
    cursor: not-allowed;
    opacity: 0.7;
}
.login-page .btn-login {
    width: 100%;
    height: 48px;
    margin-top: 8px;
    background: linear-gradient(135deg, #3f6dff 0%, #5a8cff 100%);
    color: #fff;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: opacity 0.2s, transform 0.1s;
}
.login-page .btn-login:hover {
    opacity: 0.95;
}
.login-page .btn-login:active {
    transform: scale(0.99);
}
.login-page .login-footer {
    text-align: center;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid #eee;
}
.login-page .login-footer a {
    color: #3f6dff;
    text-decoration: none;
    font-size: 14px;
}
.login-page .login-footer a:hover {
    text-decoration: underline;
}
.login-page .messages {
    list-style: none;
    margin-bottom: 20px;
    padding: 12px 16px;
    border-radius: 10px;
    font-size: 14px;
}
.login-page .messages li.error {
    background: #ffebee;
    color: #c62828;
}
.login-page .messages li.success {
    background: #e8f5e9;
    color: #2e7d32;
}
.login-page .dev-code-box {
    margin-top: 10px;
    padding: 10px 12px;
    background: #e8f5e9;
    border-radius: 8px;
    font-size: 13px;
    color: #2e7d32;
}
.login-page .dev-code-box strong {
    font-size: 16px;
    letter-spacing: 2px;
}

/* 通用：登录/注册页共用（注册页用 .auth-page 复用 .login-page 样式） */
.auth-page { min-height: 100vh; background: linear-gradient(160deg, #3f6dff 0%, #5a8cff 50%, #e8eeff 100%); padding: 40px 20px 80px; }
.auth-page .login-header { text-align: center; padding: 30px 0 40px; color: #fff; }
.auth-page .login-header h1 { font-size: 24px; font-weight: 600; margin-bottom: 8px; letter-spacing: 1px; }
.auth-page .login-header p { font-size: 14px; opacity: 0.9; }
.auth-page .login-card { background: #fff; border-radius: 16px; padding: 28px 24px; box-shadow: 0 8px 32px rgba(63, 109, 255, 0.15); max-width: 400px; margin: 0 auto; }
.auth-page .form-group { margin-bottom: 20px; }
.auth-page .form-group label { display: block; font-size: 14px; color: #333; margin-bottom: 8px; font-weight: 500; }
.auth-page .form-control { width: 100%; height: 48px; padding: 0 16px; border: 1px solid #e0e0e0; border-radius: 10px; font-size: 15px; transition: border-color 0.2s, box-shadow 0.2s; }
.auth-page .form-control:focus { outline: none; border-color: #3f6dff; box-shadow: 0 0 0 3px rgba(63, 109, 255, 0.15); }
.auth-page .form-row { display: flex; gap: 12px; align-items: stretch; }
.auth-page .form-row .form-control { flex: 1; }
.auth-page .btn-send-code { flex-shrink: 0; height: 48px; padding: 0 20px; background: #e8eeff; color: #3f6dff; border: none; border-radius: 10px; font-size: 14px; font-weight: 500; cursor: pointer; white-space: nowrap; transition: background 0.2s, color 0.2s; }
.auth-page .btn-send-code:hover:not(:disabled) { background: #3f6dff; color: #fff; }
.auth-page .btn-send-code:disabled { cursor: not-allowed; opacity: 0.7; }
.auth-page .btn-login, .auth-page .btn-primary { width: 100%; height: 48px; margin-top: 8px; background: linear-gradient(135deg, #3f6dff 0%, #5a8cff 100%); color: #fff; border: none; border-radius: 10px; font-size: 16px; font-weight: 600; cursor: pointer; transition: opacity 0.2s, transform 0.1s; }
.auth-page .btn-login:hover, .auth-page .btn-primary:hover { opacity: 0.95; }
.auth-page .btn-login:active, .auth-page .btn-primary:active { transform: scale(0.99); }
.auth-page .login-footer { text-align: center; margin-top: 24px; padding-top: 20px; border-top: 1px solid #eee; }
.auth-page .login-footer a { color: #3f6dff; text-decoration: none; font-size: 14px; }
.auth-page .login-footer a:hover { text-decoration: underline; }
.auth-page .messages { list-style: none; margin-bottom: 20px; padding: 12px 16px; border-radius: 10px; font-size: 14px; }
.auth-page .messages li.error { background: #ffebee; color: #c62828; }
.auth-page .messages li.success { background: #e8f5e9; color: #2e7d32; }
.auth-page .dev-code-box { margin-top: 10px; padding: 10px 12px; background: #e8f5e9; border-radius: 8px; font-size: 13px; color: #2e7d32; }
.auth-page .dev-code-box strong { font-size: 16px; letter-spacing: 2px; }

/* 前台通用表单页（编辑、实名认证、列表、注销等） */
.form-page { padding: 20px 15px 80px; background: #f5f5f5; min-height: 100vh; }
.form-page .page-card { background: #fff; border-radius: 12px; padding: 24px 20px; margin-bottom: 16px; box-shadow: 0 2px 12px rgba(0,0,0,0.06); }
.form-page .page-card h2 { font-size: 18px; color: #3f6dff; margin-bottom: 20px; padding-bottom: 10px; border-bottom: 1px solid #eee; }
.form-page .form-group { margin-bottom: 18px; }
.form-page .form-group label { display: block; font-size: 14px; color: #333; margin-bottom: 6px; font-weight: 500; }
.form-page .form-control, .form-page input[type="text"], .form-page input[type="number"], .form-page input[type="email"], .form-page input[type="tel"], .form-page input[type="url"], .form-page select, .form-page textarea { width: 100%; min-height: 44px; padding: 0 14px; border: 1px solid #e0e0e0; border-radius: 8px; font-size: 15px; box-sizing: border-box; }
.form-page input[type="file"] { min-height: 0; padding: 8px 0; }
.form-page textarea { height: auto; padding: 12px 14px; min-height: 80px; resize: vertical; }
.form-page .form-control:focus, .form-page input:focus, .form-page select:focus, .form-page textarea:focus { outline: none; border-color: #3f6dff; box-shadow: 0 0 0 2px rgba(63, 109, 255, 0.15); }
.form-page .form-actions { margin-top: 24px; display: flex; gap: 12px; align-items: center; flex-wrap: wrap; }
.form-page .btn-primary { height: 44px; padding: 0 24px; background: #3f6dff; color: #fff; border: none; border-radius: 8px; font-size: 15px; font-weight: 500; cursor: pointer; }
.form-page .btn-primary:hover { background: #2d5ae0; }
.form-page .btn-secondary { height: 44px; padding: 0 24px; background: #f0f0f0; color: #333; border: none; border-radius: 8px; font-size: 15px; text-decoration: none; display: inline-flex; align-items: center; }
.form-page .btn-danger { background: #b91c1c; color: #fff; }
.form-page .btn-danger:hover { background: #991b1b; }
.form-page .list-item { padding: 14px 0; border-bottom: 1px solid #f0f0f0; display: flex; justify-content: space-between; align-items: center; }
.form-page .list-item:last-child { border-bottom: none; }
.form-page .list-item .meta { font-size: 12px; color: #999; margin-top: 4px; }
.form-page .back-link { color: #3f6dff; text-decoration: none; font-size: 14px; margin-top: 16px; display: inline-block; }
.form-page .back-link:hover { text-decoration: underline; }
.form-page .field-error { font-size: 13px; color: #c62828; margin-top: 4px; }
.form-page .help-text { font-size: 12px; color: #999; margin-top: 4px; }
.form-page .form-control-static { margin: 0; padding: 8px 0; font-size: 15px; color: #333; }
.form-page .form-row { display: flex; gap: 12px; align-items: stretch; }
.form-page .form-row .form-control { flex: 1; }
.form-page .btn-send-code { flex-shrink: 0; height: 44px; padding: 0 16px; background: #e8eeff; color: #3f6dff; border: none; border-radius: 8px; font-size: 14px; font-weight: 500; cursor: pointer; white-space: nowrap; }
.form-page .btn-send-code:hover:not(:disabled) { background: #3f6dff; color: #fff; }
.form-page .btn-send-code:disabled { cursor: not-allowed; opacity: 0.7; }
.form-page .dev-code-box { margin-top: 8px; padding: 10px 12px; background: #e8f5e9; border-radius: 8px; font-size: 13px; color: #2e7d32; }
.form-page .dev-code-box strong { font-size: 16px; letter-spacing: 2px; }
.form-page .messages { list-style: none; margin-bottom: 16px; padding: 12px 16px; border-radius: 8px; font-size: 14px; }
.form-page .messages li.error { background: #ffebee; color: #c62828; }
.form-page .messages li.success { background: #e8f5e9; color: #2e7d32; }

/* 黄金业务页 */
.gold-page .page-card h2 { color: #b8860b; }
.gold-actions { display: flex; flex-direction: column; gap: 12px; margin-top: 24px; }
.gold-actions .gold-btn { width: 100%; box-sizing: border-box; display: flex; align-items: center; justify-content: center; gap: 10px; }
.gold-btn {
    display: flex; flex-direction: row; align-items: center; justify-content: center; gap: 8px;
    width: 140px; height: 60px; border-radius: 16px; text-decoration: none; color: #fff;
    box-shadow: 0 4px 16px rgba(0,0,0,0.12); transition: transform 0.2s, box-shadow 0.2s;
}
.gold-btn:hover { transform: translateY(-4px); box-shadow: 0 8px 24px rgba(0,0,0,0.15); }
.gold-btn-icon { font-size: 20px; display: inline-flex; align-items: center; }
.gold-btn-icon .layui-icon { font-size: 20px; }
.gold-btn-label { font-size: 18px; font-weight: 600; }
/* 采购：靛蓝渐变（现代蓝） */
.gold-btn-purchase { background: linear-gradient(135deg, #4f46e5 0%, #6366f1 100%); }
/* 入库：青绿渐变（正向/入库） */
.gold-btn-in { background: linear-gradient(135deg, #0d9488 0%, #14b8a6 100%); }
/* 出库：玫瑰红渐变（出库/警示） */
.gold-btn-out { background: linear-gradient(135deg, #e11d48 0%, #f43f5e 100%); }
.gold-btn-verified,
.gold-btn.gold-btn-verified.gold-btn-purchase,
.gold-btn.gold-btn-verified.gold-btn-in,
.gold-btn.gold-btn-verified.gold-btn-out { background: linear-gradient(135deg, #9e9e9e 0%, #bdbdbd 100%); color: #fff; cursor: pointer; }
.gold-btn-verified:hover { transform: translateY(-2px); box-shadow: 0 6px 16px rgba(0,0,0,0.12); }
.form-page .user-info-block {
    background: #f8f9fa; border-radius: 12px; padding: 16px 20px; margin-bottom: 24px;
    border-left: 4px solid #3f6dff;
}
.form-page .user-info-block h3 { font-size: 15px; color: #333; margin-bottom: 12px; }
.form-page .user-info-block p { margin: 6px 0; font-size: 14px; color: #555; }
.form-page .user-info-block a { color: #3f6dff; }
.form-page .total-row { background: #f0f4ff; padding: 12px 16px; border-radius: 8px; }
.form-page .total-row .total-value { font-size: 20px; font-weight: 600; color: #3f6dff; }

/* 图片上传区域：点击上传 / 显示图片 / 点击替换 */
.upload-wrap { position: relative; margin-top: 8px; }
.upload-input { position: absolute; left: 0; top: 0; width: 100%; height: 100%; opacity: 0; pointer-events: none; cursor: pointer; font-size: 0; }
.upload-box {
    display: flex; align-items: center; justify-content: center;
    min-height: 120px; background: #f8f9fa; border: 2px dashed #dee2e6; border-radius: 12px;
    cursor: pointer; transition: border-color 0.2s, background 0.2s; overflow: hidden;
}
.upload-box:hover { border-color: #3f6dff; background: #f0f4ff; }
.upload-placeholder {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 8px;
    color: #6c757d; font-size: 14px; padding: 16px;
}
.upload-placeholder .icon,
.upload-placeholder .layui-icon { font-size: 32px; opacity: 0.6; }
.upload-preview {
    display: none; max-width: 100%; max-height: 200px; width: auto; height: auto; object-fit: contain; border-radius: 8px;
}
.upload-box.has-image .upload-placeholder { display: none; }
.upload-box.has-image .upload-preview { display: block; }
.upload-mask {
    display: none; position: absolute; left: 0; top: 0; right: 0; bottom: 0;
    background: rgba(0,0,0,0.5); color: #fff; font-size: 14px;
    align-items: center; justify-content: center; border-radius: 12px;
}
.upload-box.has-image:hover .upload-mask { display: flex; }
.upload-box.upload-box-round { min-height: 100px; width: 100px; margin: 0 auto; border-radius: 50%; }
.upload-box.upload-box-round .upload-preview { border-radius: 50%; width: 100%; height: 100%; min-height: 100px; object-fit: cover; }
.upload-box.upload-box-round .upload-placeholder .icon,
.upload-box.upload-box-round .upload-placeholder .layui-icon { font-size: 28px; }

.card-section{
    margin-top:15px;
}
.last-card{
    margin-bottom:75px;
}