/* 基础重置和移动端模拟 */
body { 
    font-family: 'PingFang SC', 'Helvetica Neue', Arial, sans-serif;
    margin: 0; 
    padding: 0; 
    background-color: #f0f2f5; 
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}
a{
    text-decoration: none;
    color: inherit;
    -webkit-tap-highlight-color: transparent; /* 兼容Webkit内核浏览器（Chrome、Safari等） */
    tap-highlight-color: transparent; /* 标准属性 */
    -webkit-touch-callout: none; /* 禁用长按菜单 */
    user-select: none; /* 可选：禁止文本选择 */
}
.app-container { 
    max-width: 450px; 
    margin: 0 auto; 
    background-color: #fff; 
    min-height: 100vh; 
    display: flex; 
    flex-direction: column; 
    box-shadow: 0 0 15px rgba(0,0,0,0.08); 
}

/* 顶部 Header - 统一设计 */
.header { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    padding: 12px 15px; /* 调整内边距 */
    background-color: #fff; 
    border-bottom: 1px solid #e0e0e0; 
    position: sticky; 
    top: 0; 
    z-index: 10; 
}
.header-left { /* 左侧 LOGO + 名称 容器 */
    display: flex;
    align-items: center;
}
.platform-logo { 
    width: 28px; /* LOGO 大小 */
    height: 28px;
    border-radius: 6px; /* 更圆润 */
    /* background-color: #1A73E8;  */
    margin-right: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white; 
    font-size: 14px; 
    font-weight: bold;
    flex-shrink: 0; /* 防止LOGO缩小 */
}
.header-left h1 { 
    font-size: 17px; 
    margin: 0; 
    font-weight: 700; 
    color: #333;
    white-space: nowrap; /* 确保不换行 */
}
.header-right { /* 右侧图标容器 */
    display: flex;
    align-items: center;
}
.header-right .icon {
    font-size: 22px; 
    color: #666; /* 统一颜色 */
    margin-left: 15px; /* 图标间距 */
}
.header-right .icon.customer-service { /* 客服图标 */
    color: #1A73E8; /* 客服图标颜色 */
    cursor: pointer;
}


.main-content { 
    padding: 15px; 
    flex-grow: 1; 
    overflow-y: auto; 
}

/* 通用卡片样式 */
.card { 
    background-color: #fff; 
    border-radius: 10px; 
    margin-bottom: 12px; 
    padding: 15px; 
    box-shadow: 0 4px 12px rgba(0,0,0,0.05); 
}
.title-row { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    margin-bottom: 12px; 
}
.title-row h3 { 
    font-size: 17px; 
    font-weight: 600; 
    margin: 0; 
    color: #333;
}
.title-row a { 
    font-size: 13px; 
    color: #1A73E8; 
    text-decoration: none; 
}

/* 底部 Tab 栏 - 对标图片 */
.footer-tab { 
    display: flex; 
    justify-content: space-around; 
    padding: 8px 0; 
    border-top: 1px solid #e0e0e0; 
    background-color: #fff; 
    position: sticky; 
    bottom: 0; 
    width: 100%;
    max-width: 450px; 
    box-shadow: 0 -2px 8px rgba(0,0,0,0.05);
}
.tab-item { 
    text-align: center; 
    color: #888; 
    font-size: 11px; 
    text-decoration: none; 
    padding: 5px;
    flex: 1; /* 均分空间 */
}
.tab-item.active { 
    color: #1A73E8; 
    font-weight: bold; 
}
.tab-icon { 
    font-size: 20px; 
    margin-bottom: 2px; 
    display: block; /* 确保图标独占一行 */
}

/* 首页特定样式 */

/* 图片轮播图样式 - 放在顶部 */
.image-carousel {
    position: relative;
    height: 180px; /* 固定高度 */
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.carousel-slides {
    display: flex;
    width: 400%; /* 4张图片，每张100% */
    height: 100%;
    transition: transform 0.5s ease-in-out;
}

.carousel-slide {
    width: 25%; /* 每张图片占1/4 */
    height: 100%;
    flex-shrink: 0;
    position: relative;
}

.carousel-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover; /* 保持图片比例，填充容器 */
}

.carousel-controls {
    position: absolute;
    bottom: 15px;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

.carousel-dots-img {
    display: flex;
    gap: 8px;
    background-color: rgba(0, 0, 0, 0.4);
    padding: 5px 10px;
    border-radius: 20px;
    backdrop-filter: blur(5px);
}

.dot-img {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot-img.active {
    background-color: #1A73E8;
    transform: scale(1.2);
}

/* 添加图片轮播标题 */
.carousel-caption {
    position: absolute;
    bottom: 50px;
    left: 0;
    right: 0;
    text-align: center;
    color: white;
    padding: 0 15px;
}

.carousel-caption h4 {
    font-size: 16px;
    font-weight: 600;
    margin: 0 0 5px 0;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
}

.carousel-caption p {
    font-size: 12px;
    margin: 0;
    opacity: 0.9;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
}

.company-intro-card {
    background-color: #fff; 
    border-radius: 10px; 
    margin-bottom: 12px; 
    padding: 15px; 
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}

.company-intro-desc {
    font-size: 14px;
    color: #666;
    line-height: 1.5;
    margin: 0;
    display: -webkit-box;
    -webkit-line-clamp: 3; /* 限制显示三行 */
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-top: 12px; /* 与标题行保持间距 */
}

/* 活动轮播图 - 结构调整 */
.banner-carousel { 
    padding: 0; /* 移除容器内边距 */
    background: none; /* 移除容器背景 */
    box-shadow: none; /* 移除容器阴影 */
    margin-bottom: 15px;
    overflow: hidden; /* 隐藏溢出内容 */
    position: relative;
}

.carousel-track { /* 轮播内容的轨道 */
    display: flex; /* 让子元素水平排列 */
    width: max-content; /* 宽度适应所有轮播项 */
    transition: transform 0.5s ease-in-out; /* 模拟轮播时的平滑过渡 */
    padding: 0 15px; /* 左右内边距，让首尾能看到一点下一个/上一个 */
}

.banner-item-real { /* 真实的单个轮播项 */
    width: 300px; /* 设定每个轮播项的固定宽度 */
    flex-shrink: 0; /* 防止收缩 */
    margin-right: 15px; /* 轮播项之间的间距 */
    background: linear-gradient(45deg, #1A73E8, #4285F4); /* 渐变背景 */
    color: #fff;
    padding: 20px;
    border-radius: 10px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
}

.banner-item-real h3 {
    font-size: 18px;
    margin-top: 0;
    margin-bottom: 10px;
    font-weight: 600;
}
.banner-item-real p {
    font-size: 14px;
    margin: 5px 0;
    line-height: 1.5;
}
.banner-item-real .action-btn {
    display: inline-block;
    background-color: #fff;
    color: #1A73E8;
    padding: 6px 15px;
    border-radius: 20px;
    font-size: 13px;
    font-weight: 500;
    margin-top: 10px;
    text-decoration: none;
}

/* 轮播指示点 */
.carousel-dots {
    text-align: center;
    padding-top: 10px;
    margin-bottom: 5px;
}
.dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    margin: 0 4px;
    background-color: #ccc;
    border-radius: 50%;
    cursor: pointer;
}
.dot.active {
    background-color: #1A73E8; /* 活跃点的颜色 */
}

.news-list .news-item { 
    display: flex; 
    align-items: center; 
    padding: 12px 0; 
    border-bottom: 1px solid #f5f5f5; 
}
.news-list .news-item:last-child { border-bottom: none; }
.news-item img { width: 70px; height: 50px; border-radius: 6px; margin-right: 12px; background-color: #ddd; object-fit: cover; }
.news-info { flex: 1; }
.news-title { font-size: 14px; font-weight: 500; line-height: 1.4; color: #333; margin-bottom: 4px; }
.news-meta { font-size: 11px; color: #999; }

/* 产品页特定样式 */
.product-tabs { 
    display: flex; 
    overflow-x: auto; 
    padding: 5px 0; 
    margin-bottom: 15px; 
    -webkit-overflow-scrolling: touch; /* 移动端平滑滚动 */
    scrollbar-width: none; /* Firefox 隐藏滚动条 */
}
.product-tabs::-webkit-scrollbar { /* Chrome/Safari 隐藏滚动条 */
    display: none;
}
.product-tabs span { 
    white-space: nowrap; 
    padding: 7px 16px; 
    margin-right: 10px; 
    border-radius: 20px; 
    background-color: #e0e0e0; 
    font-size: 14px; 
    color: #555; 
    cursor: pointer; 
    transition: all 0.2s;
}
.product-tabs span.active { 
    background-color: #1A73E8; 
    color: #fff; 
    font-weight: 500; 
    box-shadow: 0 2px 8px rgba(26, 115, 232, 0.3);
}
.product-item { 
    padding: 18px; 
    border-radius: 10px; 
    background-color: #fff; 
    margin-bottom: 12px; 
    border: 1px solid #eee; 
    transition: all 0.2s; 
    display: flex;
    flex-direction: column;
}
.product-item:hover { box-shadow: 0 6px 15px rgba(0,0,0,0.1); }
.product-header { 
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    margin-bottom: 10px; 
}
.product-header h4 { 
    font-size: 17px; 
    margin: 0; 
    color: #333; /* 标题颜色 */
    font-weight: 600;
}
.product-header .risk-tag { /* 风险标签样式 */
    font-size: 12px;
    padding: 3px 8px;
    border-radius: 12px;
    background-color: #e0f2f7; /* 默认蓝色背景 */
    color: #2196f3;
}
.product-header .risk-tag.low { background-color: #e8f5e9; color: #4caf50; }
.product-header .risk-tag.high { background-color: #ffe0b2; color: #ff9800; }
.product-detail-row { 
    display: flex; 
    justify-content: space-between; 
    margin-bottom: 8px; 
    align-items: baseline;
}
.product-detail-row span { font-size: 14px; color: #666; }
.product-detail-row strong { font-size: 15px; color: #333; font-weight: 600; }
.highlight-rate { 
    color: #E53935; /* 红色突出收益 */
    font-weight: 700 !important; 
    font-size: 24px !important; /* 更大字号 */
} 
.invest-btn { 
    background-color: #1A73E8; 
    color: #fff; 
    padding: 10px 15px; 
    border-radius: 25px; 
    font-size: 15px; 
    text-align: center; 
    text-decoration: none; 
    margin-top: 10px; 
    display: block; 
    font-weight: 500; 
    transition: background-color 0.2s;
}
.invest-btn:active { background-color: #155cb8; }


/* 持仓页特定样式 */
.asset-overview { 
    text-align: center; 
    padding: 25px 0; 
    background: linear-gradient(135deg, #1A73E8, #4285F4); 
    color: #fff; 
    border-radius: 10px; 
    margin-bottom: 15px; 
    box-shadow: 0 6px 15px rgba(26, 115, 232, 0.4); 
}
.asset-overview h2 { font-size: 34px; margin: 5px 0; font-weight: 700; }
.asset-stats { 
    display: flex; 
    justify-content: space-around; 
    margin-top: 20px; 
}
.asset-stats div { text-align: center; }
.asset-stats strong { 
    font-size: 18px; 
    display: block; 
    margin-bottom: 3px;
    font-weight: 600;
}
.asset-stats span { font-size: 12px; display: block; opacity: 0.9; }

.position-item { 
    padding: 15px 0; 
    margin-left: 0px; /* 移除左边距 */
    border-bottom: 1px solid #f0f0f0; 
    display: flex;
    flex-direction: column;
}
.position-item:last-child { border-bottom: none; }
.position-header { 
    display: flex; 
    justify-content: space-between; 
    align-items: center;
    margin-bottom: 8px; 
}
.position-header h4 { 
    font-size: 16px; 
    margin: 0; 
    font-weight: 600; 
    color: #333;
}
.position-header .status-tag { /* 持仓状态标签 */
    font-size: 12px;
    padding: 3px 8px;
    border-radius: 12px;
    background-color: #e0f2f7;
    color: #2196f3;
}
.position-header .status-tag.holding { background-color: #e8f5e9; color: #4caf50; }
.position-header .status-tag.locked { background-color: #ffe0b2; color: #ff9800; }

.position-detail { 
    display: flex; 
    justify-content: space-between; 
    font-size: 13px; 
    color: #666; 
    margin-bottom: 4px;
}
.position-detail:last-child { margin-bottom: 0; }
.position-detail strong { font-weight: 500; color: #333; }


/* 我的页特定样式 */
.user-profile { /* 用户信息卡片 */
    text-align: center;
    padding: 25px 15px;
    margin-bottom: 15px;
}
.user-profile img { 
    width: 70px; 
    height: 70px; 
    border-radius: 50%; 
    margin: 0 auto 10px auto; 
    background-color: #ccc; 
    border: 3px solid #E8F0FE; 
    display: block;
    object-fit: cover;
}
.user-profile h3 { 
    margin: 0 0 5px 0; 
    font-size: 19px; 
    font-weight: 600; 
    color: #333;
}
.user-profile .status-tag { 
    font-size: 12px; 
    color: #1A73E8; 
    border: 1px solid #B3D1FF; 
    background-color: #E8F0FE; 
    padding: 3px 10px; 
    border-radius: 15px; 
    display: inline-block; /* 保持行内块级 */
    margin-bottom: 10px;
}
.user-profile .account-link {
    font-size: 14px; 
    color: #1A73E8; 
    text-decoration: none; 
    display: block; 
    margin-top: 10px;
    font-weight: 500;
}

/* 服务列表样式 - 一行一个 */
.service-list {
    padding: 0;
    margin: 15px 0;
}

.service-list-item {
    display: flex;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #f0f0f0;
    text-decoration: none;
    color: #333;
    transition: background-color 0.2s;
}

.service-list-item:last-child {
    border-bottom: none;
}

.service-list-item:active {
    background-color: #f5f5f5;
}

.service-list-item .icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    font-size: 22px;
}

.service-list-item .service-text {
    flex: 1;
    font-size: 15px;
    font-weight: 500;
}

.service-list-item .arrow {
    color: #bbb;
    font-size: 16px;
}

.setting-list { 
    list-style: none; 
    padding: 0; 
    margin: 15px 0; 
}
.setting-list li { 
    display: flex; 
    justify-content: space-between; 
    align-items: center;
    padding: 14px 0; 
    border-bottom: 1px solid #f0f0f0; 
    font-size: 15px; 
    color: #333; 
    cursor: pointer;
}
.setting-list li:last-child { border-bottom: none; }
.setting-list li .value { 
    color: #999; 
    font-size: 14px; 
    margin-right: 5px; /* 留出更多空间给箭头 */
}
.setting-list li .status {
    color: #34A853; 
    font-size: 14px;
}
.setting-list li .arrow { 
    font-size: 16px; 
    color: #bbb; 
    margin-left: auto;
}
.logout-btn { 
    background-color: #E53935; 
    color: #fff; 
    padding: 12px; 
    border-radius: 8px; 
    text-align: center; 
    margin-top: 25px; 
    font-weight: 500; 
    cursor: pointer; 
    transition: background-color 0.2s;
}
.logout-btn:active { background-color: #c62828; }

/* 团队页面样式 */
.back-arrow {
    margin-right: 12px;
    color: #333;
    font-size: 20px;
    cursor: pointer;
    flex-shrink: 0;
}

.team-overview {
    background-color: #f8f8f8;
    padding: 20px 15px;
    border-radius: 10px;
    margin-bottom: 15px;
    text-align: center;
}
.team-overview h2 {
    font-size: 28px;
    color: #1A73E8;
    margin: 5px 0 10px 0;
    font-weight: 700;
}
.team-overview span {
    font-size: 13px;
    color: #666;
    display: block;
}
.team-stats {
    display: flex;
    justify-content: space-around;
    margin-top: 15px;
}
.team-stats div strong {
    display: block;
    font-size: 16px;
    font-weight: 600;
    color: #333;
}
.team-stats div span {
    font-size: 12px;
    color: #999;
}

.member-list {
    padding: 0;
}
.member-item {
    display: flex;
    align-items: center;
    padding: 15px 0;
    border-bottom: 1px solid #eee;
}
.member-item:last-child {
    border-bottom: none;
}
.member-item img {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    margin-right: 12px;
    background-color: #ccc;
}
.member-info {
    flex-grow: 1;
}
.member-info h4 {
    margin: 0 0 4px 0;
    font-size: 15px;
    font-weight: 600;
}
.member-info p {
    margin: 0;
    font-size: 12px;
    color: #999;
}
.member-action {
    font-size: 14px;
    color: #1A73E8;
    cursor: pointer;
}

.invite-btn {
    background-color: #34A853; /* 绿色按钮 */
    color: #fff;
    padding: 12px;
    border-radius: 8px;
    text-align: center;
    margin-top: 15px;
    font-weight: 500;
    display: block;
    text-decoration: none;
}

/* 订单详情页面样式 */
.order-detail-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #e0e0e0;
}

.order-detail-title {
    font-size: 20px;
    font-weight: 700;
    color: #333;
    margin: 0;
}

.order-status-tag {
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 12px;
    font-weight: 500;
}

.order-status-tag.holding {
    background-color: #e8f5e9;
    color: #4caf50;
}

.order-status-tag.locked {
    background-color: #ffe0b2;
    color: #ff9800;
}

.order-status-tag.completed {
    background-color: #e8f0fe;
    color: #1A73E8;
}

.order-detail-section {
    margin-bottom: 25px;
}

.section-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
    margin: 0 0 12px 0;
    padding-bottom: 8px;
    border-bottom: 1px solid #f0f0f0;
}

.detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid #f8f8f8;
}

.detail-row:last-child {
    border-bottom: none;
}

.detail-label {
    font-size: 14px;
    color: #666;
}

.detail-value {
    font-size: 14px;
    color: #333;
    font-weight: 500;
}

.detail-value.highlight {
    color: #E53935;
    font-weight: 600;
}

.detail-value.success {
    color: #34A853;
    font-weight: 600;
}

.order-timeline {
    margin-top: 10px;
}

.timeline-item {
    display: flex;
    margin-bottom: 15px;
    position: relative;
}

.timeline-item:last-child {
    margin-bottom: 0;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 15px;
    top: 24px;
    width: 2px;
    height: calc(100% + 15px);
    background-color: #e0e0e0;
}

.timeline-item:last-child::before {
    display: none;
}

.timeline-icon {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    z-index: 1;
}

.timeline-icon.pending {
    background-color: #FFF3E0;
    color: #FF9800;
}

.timeline-icon.processing {
    background-color: #E3F2FD;
    color: #2196F3;
}

.timeline-icon.completed {
    background-color: #E8F5E9;
    color: #4CAF50;
}

.timeline-content {
    flex: 1;
}

.timeline-title {
    font-size: 14px;
    font-weight: 500;
    color: #333;
    margin: 0 0 4px 0;
}

.timeline-date {
    font-size: 12px;
    color: #999;
}

.order-actions {
    display: flex;
    gap: 10px;
    margin-top: 25px;
}

.action-btn {
    flex: 1;
    padding: 12px;
    border-radius: 8px;
    text-align: center;
    font-size: 15px;
    font-weight: 500;
    text-decoration: none;
    transition: all 0.2s;
}

.action-btn.primary {
    background-color: #1A73E8;
    color: #fff;
}

.action-btn.primary:active {
    background-color: #155cb8;
}

.action-btn.secondary {
    background-color: #f5f5f5;
    color: #333;
    border: 1px solid #e0e0e0;
}

.action-btn.secondary:active {
    background-color: #e0e0e0;
}
/* 资料修改页面 */
input, select {
    box-sizing: border-box;
    font-family: 'PingFang SC', 'Helvetica Neue', Arial, sans-serif;
}

/* 资金管理页面 */
.funds-actions {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.funds-action-btn {
    flex: 1;
    text-align: center;
    padding: 15px;
    color: white;
    border-radius: 10px;
    text-decoration: none;
    transition: all 0.2s;
}

.funds-action-btn:active {
    transform: translateY(2px);
}

/* 银行卡管理页面 */
.bank-card {
    position: relative;
    padding: 20px;
    border-radius: 10px;
    margin-bottom: 15px;
    color: white;
}

.bank-card-default {
    background: linear-gradient(45deg, #1A73E8, #4285F4);
}

.bank-card-other {
    background: linear-gradient(45deg, #FF7043, #FFCA28);
}

.bank-card-label {
    position: absolute;
    top: 20px;
    right: 20px;
    background: #FFD700;
    color: #333;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 500;
}

/* 交易记录页面 */
.transaction-type-tabs {
    display: flex;
    margin-bottom: 15px;
}

.transaction-tab {
    flex: 1;
    text-align: center;
    padding: 10px;
    border-bottom: 1px solid #f0f0f0;
    color: #666;
    font-weight: 500;
}

.transaction-tab.active {
    border-bottom: 2px solid #1A73E8;
    color: #1A73E8;
}

.transaction-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background-color: #f8f8f8;
    border-radius: 8px;
    margin-bottom: 10px;
}

.transaction-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 12px;
    font-size: 20px;
}

/* 代理签约页面 */
.agent-level-card {
    min-width: 200px;
    padding: 15px;
    border: 2px solid #9C27B0;
    border-radius: 10px;
    margin-right: 10px;
    background-color: white;
    flex-shrink: 0;
}

.agent-level-card.recommended {
    background: linear-gradient(45deg, #F3E5F5, #E1BEE7);
    border-color: #7B1FA2;
}

.agent-level-card.premium {
    background: linear-gradient(45deg, #E1BEE7, #CE93D8);
    border-color: #4A148C;
}

.agent-process-step {
    position: relative;
    padding-left: 30px;
    margin-bottom: 25px;
}

.agent-step-number {
    position: absolute;
    left: 0;
    top: 0;
    width: 24px;
    height: 24px;
    background-color: #9C27B0;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 500;
}

.agent-step-number.inactive {
    background-color: #E0E0E0;
    color: #666;
}

/* 投资详情页面样式 */
.invest-confirm-btn {
    background-color: #1A73E8;
    color: #fff;
    padding: 15px;
    border-radius: 10px;
    font-size: 16px;
    text-align: center;
    text-decoration: none;
    width: 100%;
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s;
    display: block;
}

.invest-confirm-btn:active {
    background-color: #155cb8;
}

.quick-amount {
    flex: 1;
    padding: 10px;
    border: 1px solid #e0e0e0;
    border-radius: 6px;
    background-color: #fff;
    color: #333;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s;
}

.quick-amount.active {
    background-color: #E8F0FE;
    border-color: #1A73E8;
    color: #1A73E8;
    font-weight: 500;
}

.quick-amount:active {
    transform: translateY(1px);
}

/* 数字输入框样式优化 */
input[type="number"] {
    -webkit-appearance: none;
    -moz-appearance: textfield;
    appearance: textfield;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
    -webkit-appearance: none;
    margin: 0;
}

/* 复选框样式优化 */
input[type="checkbox"] {
    accent-color: #1A73E8;
}

/* 投资记录样式 */
.invest-record {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
}

.invest-record:last-child {
    border-bottom: none;
}

/* 响应式调整 */
@media (max-width: 400px) {
    .quick-amount {
        font-size: 13px;
        padding: 8px 5px;
    }
    
    #investAmount {
        font-size: 20px;
        padding: 15px 15px 15px 35px;
    }
}

/* 登录注册页面特定样式 */

/* 登录页面背景容器 */
.app-container.login-bg {
    background: linear-gradient(135deg, #1A73E8, #4285F4);
}

.app-container.register-bg {
    background: linear-gradient(135deg, #34A853, #66BB6A);
}

/* 登录/注册页面透明头部 */
.header.transparent {
    background: transparent;
    border-bottom: none;
}

.header.transparent h1 {
    color: white;
}

.header.transparent .back-arrow {
    color: white;
}

.header.transparent .icon {
    color: white;
}

/* 登录/注册卡片样式 */
.login-card, .register-card {
    background-color: #fff;
    border-radius: 15px;
    padding: 30px 25px;
    margin-bottom: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
}

/* 表单输入框样式 */
.form-group {
    margin-bottom: 25px;
}

.form-label {
    display: block;
    font-size: 14px;
    color: #666;
    margin-bottom: 8px;
    font-weight: 500;
}

.form-input {
    position: relative;
}

.form-input input {
    width: 100%;
    padding: 15px 15px 15px 45px;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 15px;
    box-sizing: border-box;
    transition: border-color 0.2s;
}

.form-input input:focus {
    outline: none;
    border-color: #1A73E8;
    box-shadow: 0 0 0 2px rgba(26, 115, 232, 0.1);
}

.form-input .input-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    font-size: 18px;
}

.form-input .toggle-password {
    position: absolute;
    right: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #999;
    cursor: pointer;
    font-size: 18px;
}

/* 验证码输入区域 */
.sms-input-group {
    display: flex;
    gap: 10px;
}

.sms-input {
    flex: 1;
}

.sms-btn {
    padding: 0 15px;
    background-color: #f0f0f0;
    color: #666;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    font-size: 14px;
    white-space: nowrap;
    cursor: pointer;
    transition: all 0.2s;
}

.sms-btn:active {
    background-color: #e0e0e0;
}

.sms-btn:disabled {
    background-color: #f5f5f5;
    color: #999;
    cursor: not-allowed;
}

/* 记住我/忘记密码区域 */
.remember-forgot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.remember-me {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: #666;
    cursor: pointer;
}

.remember-me input {
    margin-right: 8px;
    width: 16px;
    height: 16px;
    accent-color: #1A73E8;
}

.forgot-password {
    font-size: 14px;
    color: #1A73E8;
    text-decoration: none;
}

/* 登录/注册按钮 */
.login-btn, .register-btn {
    width: 100%;
    padding: 15px;
    background-color: #1A73E8;
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: background-color 0.2s;
    margin-bottom: 20px;
}

.login-btn:active, .register-btn:active {
    background-color: #155cb8;
}

.register-btn {
    background-color: #34A853;
}

.register-btn:active {
    background-color: #2d8f47;
}

/* 第三方登录区域 */
.divider {
    position: relative;
    text-align: center;
    margin: 25px 0;
}

.divider-text {
    background-color: white;
    padding: 0 15px;
    font-size: 12px;
    color: #999;
}

.divider-line {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background-color: #e0e0e0;
    z-index: -1;
}

.social-login {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.social-icon {
    width: 50px;
    height: 50px;
    border-radius: 25px;
    background-color: #f8f8f8;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.2s;
}

.social-icon:active {
    transform: scale(0.95);
}

.social-icon.wechat i {
    font-size: 24px;
    color: #34A853;
}

.social-icon.qq i {
    font-size: 24px;
    color: #2196F3;
}

.social-icon.phone i {
    font-size: 24px;
    color: #FF7043;
}

/* 底部协议文字 */
.agreement-text {
    text-align: center;
    margin-top: 20px;
    font-size: 12px;
    color: rgba(255,255,255,0.7);
    line-height: 1.5;
}

.agreement-text a {
    color: white;
    text-decoration: underline;
}

/* 注册页面额外样式 */
.register-header {
    text-align: center;
    margin-bottom: 25px;
}

.register-icon {
    background-color: #E8F5E9;
    color: #34A853;
    width: 60px;
    height: 60px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px auto;
    font-size: 28px;
}

.register-title {
    margin: 0 0 8px 0;
    color: #333;
    font-size: 20px;
}

.register-subtitle {
    font-size: 14px;
    color: #666;
    margin: 0;
}

/* 密码强度提示 */
.password-hint {
    font-size: 12px;
    color: #999;
    margin-top: 5px;
}

/* 注册链接区域 */
.register-link, .login-link {
    text-align: center;
    margin-top: 20px;
}

.register-link p, .login-link p {
    font-size: 14px;
    color: #666;
}

.register-link a, .login-link a {
    color: #34A853;
    font-weight: 500;
    text-decoration: none;
}

/* 邀请码样式 */
.invite-code-note {
    font-size: 12px;
    color: #999;
    margin-top: 5px;
}

/* 错误提示样式 */
.error-message {
    color: #E53935;
    font-size: 12px;
    margin-top: 5px;
    display: none;
}

.form-input.error input {
    border-color: #E53935;
}

.form-input.error .input-icon {
    color: #E53935;
}

/* 成功提示样式 */
.success-message {
    color: #34A853;
    font-size: 12px;
    margin-top: 5px;
    display: none;
}

.form-input.success input {
    border-color: #34A853;
}

.form-input.success .input-icon {
    color: #34A853;
}

/* 加载状态 */
.btn-loading {
    position: relative;
    color: transparent !important;
}

.btn-loading::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid rgba(255,255,255,0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* 响应式调整 */
@media (max-width: 400px) {
    .login-card, .register-card {
        padding: 25px 20px;
    }
    
    .form-input input {
        padding: 14px 14px 14px 40px;
        font-size: 14px;
    }
    
    .social-icon {
        width: 45px;
        height: 45px;
    }
    
    .sms-btn {
        padding: 0 12px;
        font-size: 13px;
    }
}