/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans SC', sans-serif;
    background: linear-gradient(135deg, #1e40af 0%, #1e3a8a 100%);
    min-height: 100vh;
    color: #333;
    overflow-x: hidden;
}

/* 页面切换 */
.page {
    display: none;
    min-height: 100vh;
}

.page.active {
    display: block;
}

/* 科技感背景 */
.tech-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    background: 
        linear-gradient(135deg, #0c0c0c 0%, #1a1a2e 25%, #16213e 50%, #0f3460 75%, #1e3a8a 100%);
}

.tech-grid {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(0, 255, 255, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridMove 20s linear infinite;
    opacity: 0.3;
    will-change: transform;
    transform: translateZ(0);
}

.tech-grid::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 80%, rgba(0, 255, 255, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(52, 152, 219, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(0, 191, 255, 0.15) 0%, transparent 50%);
    animation: subtleFloat 30s ease-in-out infinite;
    will-change: transform;
    transform: translateZ(0);
}

.floating-orbs {
    position: absolute;
    width: 100%;
    height: 100%;
}

.orb {
    position: absolute;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: gentleFloat 20s ease-in-out infinite;
    will-change: transform;
    transform: translateZ(0);
}

.orb-1 {
    width: 200px;
    height: 200px;
    top: 10%;
    left: 5%;
    animation-delay: 0s;
}

.orb-2 {
    width: 300px;
    height: 300px;
    top: 50%;
    right: 10%;
    animation-delay: 5s;
}

.orb-3 {
    width: 150px;
    height: 150px;
    top: 80%;
    left: 15%;
    animation-delay: 10s;
}

.orb-4 {
    width: 250px;
    height: 250px;
    top: 20%;
    right: 25%;
    animation-delay: 15s;
}

.orb-5 {
    width: 180px;
    height: 180px;
    top: 70%;
    left: 50%;
    animation-delay: 20s;
}

@keyframes gridMove {
    0% { transform: translate3d(0, 0, 0); }
    100% { transform: translate3d(50px, 50px, 0); }
}

@keyframes subtleFloat {
    0%, 100% { transform: translate3d(0, 0, 0) scale(1); }
    50% { transform: translate3d(-10px, -10px, 0) scale(1.02); }
}

@keyframes circuitFlow {
    0%, 100% { opacity: 0.3; transform: scaleX(0.8); }
    50% { opacity: 1; transform: scaleX(1.2); }
}

@keyframes dataFlow {
    0% { 
        transform: translate3d(0, -100px, 0);
        opacity: 0;
    }
    10% { 
        opacity: 1;
    }
    90% { 
        opacity: 1;
    }
    100% { 
        transform: translate3d(0, 100vh, 0);
        opacity: 0;
    }
}

@keyframes particleFloat {
    0%, 100% { 
        transform: translate3d(0, 100vh, 0) scale(0);
        opacity: 0;
    }
    10% { 
        opacity: 1;
        transform: translate3d(0, 90vh, 0) scale(1);
    }
    90% { 
        opacity: 1;
        transform: translate3d(0, 10vh, 0) scale(1);
    }
    100% { 
        transform: translate3d(0, -10vh, 0) scale(0);
        opacity: 0;
    }
}

@keyframes hologramScan {
    0% { transform: translate3d(-100%, 0, 0); }
    100% { transform: translate3d(100%, 0, 0); }
}

@keyframes gentleFloat {
    0%, 100% { transform: translate3d(0, 0, 0) scale(1); opacity: 0.3; }
    50% { transform: translate3d(0, -30px, 0) scale(1.05); opacity: 0.5; }
}

/* 电路线条效果 */
.circuit-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.circuit-lines::before {
    content: '';
    position: absolute;
    top: 20%;
    left: 10%;
    width: 200px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #00ffff, transparent);
    animation: circuitFlow 3s ease-in-out infinite;
}

.circuit-lines::after {
    content: '';
    position: absolute;
    top: 60%;
    right: 15%;
    width: 150px;
    height: 2px;
    background: linear-gradient(90deg, transparent, #3498db, transparent);
    animation: circuitFlow 4s ease-in-out infinite reverse;
}

/* 数据流效果 */
.data-streams {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.data-stream {
    position: absolute;
    width: 2px;
    background: linear-gradient(to bottom, transparent, #00ffff, transparent);
    animation: dataFlow 8s linear infinite;
    will-change: transform, opacity;
    transform: translateZ(0);
}

.stream-1 {
    left: 15%;
    height: 100px;
    animation-delay: 0s;
}

.stream-2 {
    left: 45%;
    height: 150px;
    animation-delay: 2s;
}

.stream-3 {
    left: 75%;
    height: 120px;
    animation-delay: 4s;
}

/* 科技粒子效果 */
.tech-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.tech-particles .particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: #00ffff;
    border-radius: 50%;
    box-shadow: 0 0 10px #00ffff;
    animation: particleFloat 6s ease-in-out infinite;
    will-change: transform, opacity;
    transform: translateZ(0);
}

.tech-particles .particle:nth-child(1) {
    left: 10%;
    animation-delay: 0s;
    animation-duration: 8s;
}

.tech-particles .particle:nth-child(2) {
    left: 20%;
    animation-delay: 1s;
    animation-duration: 7s;
}

.tech-particles .particle:nth-child(3) {
    left: 30%;
    animation-delay: 2s;
    animation-duration: 9s;
}

.tech-particles .particle:nth-child(4) {
    left: 40%;
    animation-delay: 3s;
    animation-duration: 6s;
}

.tech-particles .particle:nth-child(5) {
    left: 50%;
    animation-delay: 4s;
    animation-duration: 8s;
}

.tech-particles .particle:nth-child(6) {
    left: 60%;
    animation-delay: 5s;
    animation-duration: 7s;
}

.tech-particles .particle:nth-child(7) {
    left: 70%;
    animation-delay: 6s;
    animation-duration: 9s;
}

.tech-particles .particle:nth-child(8) {
    left: 80%;
    animation-delay: 7s;
    animation-duration: 6s;
}

.tech-particles .particle:nth-child(9) {
    left: 90%;
    animation-delay: 8s;
    animation-duration: 8s;
}

.tech-particles .particle:nth-child(10) {
    left: 95%;
    animation-delay: 9s;
    animation-duration: 7s;
}

/* 全息效果 */
.hologram-effect {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 2px,
            rgba(0, 255, 255, 0.1) 2px,
            rgba(0, 255, 255, 0.1) 4px
        );
    animation: hologramScan 10s linear infinite;
    opacity: 0.3;
    pointer-events: none;
}

/* 登录页面样式 */
.login-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 20px;
    position: relative;
    z-index: 1;
}

.login-header {
    text-align: center;
    margin-bottom: 40px;
    color: white;
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.logo-glow {
    position: relative;
    margin-right: 15px;
}

.logo-glow i {
    font-size: 4rem;
    color: #fff;
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.8);
    animation: logoPulse 3s ease-in-out infinite;
}

.logo-glow::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    animation: logoGlow 4s ease-in-out infinite;
}

@keyframes logoPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

@keyframes logoGlow {
    0%, 100% { opacity: 0.5; transform: translate(-50%, -50%) scale(1); }
    50% { opacity: 1; transform: translate(-50%, -50%) scale(1.2); }
}

.logo h1 {
    font-size: 3rem;
    font-weight: 700;
    text-shadow: 0 4px 8px rgba(0,0,0,0.3);
    letter-spacing: 2px;
}

.subtitle {
    font-size: 1.3rem;
    opacity: 0.95;
    font-weight: 300;
    margin-top: 10px;
    letter-spacing: 1px;
}

.login-form {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    padding: 50px 40px;
    border-radius: 24px;
    box-shadow: 
        0 25px 50px rgba(0,0,0,0.15),
        0 0 0 1px rgba(255, 255, 255, 0.1);
    width: 100%;
    max-width: 450px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.form-group {
    margin-bottom: 25px;
    position: relative;
}

.form-group label {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
    font-weight: 500;
    color: #555;
    font-size: 0.9rem;
    padding-left: 2px;
}

.form-group label i {
    color: #1e40af;
    font-size: 1rem;
}

.input-group {
    position: relative;
    display: flex;
    align-items: stretch;
    width: 100%;
    gap: 12px;
}

.input-border {
    position: relative;
    flex: 1;
}

.input-border input {
    width: 100%;
    padding: 18px 20px;
    border: 2px solid rgba(30, 64, 175, 0.2);
    border-radius: 12px;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    box-sizing: border-box;
}

.input-border input:focus {
    outline: none;
    border-color: #1e40af;
    background: rgba(255, 255, 255, 0.95);
    box-shadow: 0 0 0 4px rgba(30, 64, 175, 0.1);
    transform: translateY(-2px);
}

.input-border input::placeholder {
    color: rgba(30, 64, 175, 0.6);
    font-weight: 300;
}

.send-code-btn {
    background: linear-gradient(135deg, #1e40af 0%, #1e3a8a 100%);
    color: white;
    border: none;
    padding: 18px 20px;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(30, 64, 175, 0.3);
    white-space: nowrap;
    min-width: 120px;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.send-code-btn .btn-text {
    position: relative;
    z-index: 1;
}

.send-code-btn .btn-glow {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.send-code-btn:hover .btn-glow {
    left: 100%;
}

.send-code-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(30, 64, 175, 0.4);
}

.send-code-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
    transform: translateY(0);
    box-shadow: none;
}

.send-code-btn:disabled .btn-glow {
    display: none;
}

.login-btn {
    width: 100%;
    background: linear-gradient(135deg, #1e40af 0%, #1e3a8a 100%);
    color: white;
    border: none;
    padding: 18px;
    border-radius: 12px;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(30, 64, 175, 0.3);
    letter-spacing: 1px;
}

.login-btn .btn-content {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    position: relative;
    z-index: 1;
}

.login-btn .btn-glow {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.6s ease;
}

.login-btn .btn-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.login-btn:hover .btn-glow {
    left: 100%;
}

.login-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 30px rgba(30, 64, 175, 0.4);
}

.login-btn:active {
    transform: translateY(0);
}

.login-btn:active .btn-particles::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    animation: particleBurst 0.6s ease-out;
}

@keyframes particleBurst {
    0% {
        transform: translate(-50%, -50%) scale(0);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) scale(3);
        opacity: 0;
    }
}

.login-tips {
    margin-top: 25px;
    text-align: center;
    color: rgba(30, 64, 175, 0.8);
    font-size: 1rem;
    font-weight: 300;
}

.login-tips i {
    margin-right: 8px;
    color: #1e40af;
}

/* 科技指示器 */
.tech-indicators {
    display: flex;
    gap: 30px;
    margin-top: 30px;
    justify-content: center;
}

.indicator {
    display: flex;
    align-items: center;
    gap: 10px;
    color: white;
    font-size: 1rem;
    font-weight: 300;
}

.indicator-dot {
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    animation: indicatorPulse 3s ease-in-out infinite;
}

.indicator:nth-child(2) .indicator-dot {
    animation-delay: 1s;
}

.indicator:nth-child(3) .indicator-dot {
    animation-delay: 2s;
}

@keyframes indicatorPulse {
    0%, 100% { opacity: 0.6; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.1); }
}

/* 主页面样式 */
.main-header {
    background: white;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    position: sticky;
    top: 0;
    z-index: 100;
    transition: box-shadow 0.3s ease;
}

.main-header.scrolled {
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
    width: 100%;
    margin: 0 auto;
}

.header-content .logo {
    display: flex;
    align-items: center;
    color: #333;
    transition: color 0.3s ease;
}

.main-header.scrolled .header-content .logo {
    color: #333;
}

.header-content .logo i {
    font-size: 2rem;
    margin-right: 10px;
    color: #1e40af;
    transition: color 0.3s ease;
}

.main-header.scrolled .header-content .logo i {
    color: #1e40af;
}

.header-content .logo h2 {
    font-size: 1.5rem;
    font-weight: 600;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.user-info span {
    color: #666;
    font-weight: 500;
    transition: color 0.3s ease;
}

.main-header.scrolled .user-info span {
    color: #666;
}

.change-role-btn {
    background: #1e40af;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.9rem;
}

.change-role-btn:hover {
    background: #1e3a8a;
    transform: scale(1.05);
}

.logout-btn {
    background: #ff4757;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.9rem;
}

.logout-btn:hover {
    background: #ff3742;
    transform: scale(1.05);
}

#mainPage {
    background: white;
}

.main-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 30px;
    background: white;
}

.welcome-section {
    text-align: left;
    margin-bottom: 50px;
    color: #333;
}

.welcome-section h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #333;
    display: flex;
    align-items: center;
    gap: 15px;
}

.welcome-section h1 i {
    color: #333;
    font-size: 2.2rem;
}

.welcome-section p {
    font-size: 1.2rem;
    color: #666;
}

.systems-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    margin-top: 30px;
}

.system-card {
    background: white;
    border-radius: 20px;
    padding: 30px;
    border: 1px solid #e5e7eb;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.system-card:hover {
    transform: translateY(-5px);
    border-color: #d1d5db;
}

.system-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #1e40af 0%, #1e3a8a 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.system-card:hover .system-icon {
    transform: scale(1.1) rotate(5deg);
}

.system-icon i {
    font-size: 2.5rem;
    color: white;
}

.system-card h3 {
    font-size: 1.4rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #333;
}

.system-card p {
    color: #666;
    margin-bottom: 0;
    line-height: 1.6;
}

/* 系统卡片右上角进入图标 */
.system-entry-icon {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    background: #e5e7eb;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transform: scale(0.8);
    transition: all 0.3s ease;
    z-index: 10;
}

.system-entry-icon i {
    color: white;
    font-size: 1.2rem;
}

.system-card:hover .system-entry-icon {
    opacity: 1;
    transform: scale(1);
}

.system-features {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 25px;
}

.system-features span {
    background: #f8f9fa;
    color: #555;
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: all 0.3s ease;
}

.system-card:hover .system-features span {
    background: #1e40af;
    color: white;
}

.enter-btn {
    width: 100%;
    background: linear-gradient(135deg, #1e40af 0%, #1e3a8a 100%);
    color: white;
    border: none;
    padding: 12px;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.enter-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(30, 64, 175, 0.3);
}

/* 分析报告模块区域样式 */
.reports-section {
    margin-top: 60px;
    padding-top: 40px;
    border-top: 1px solid #e5e7eb;
}

.section-header {
    text-align: left;
    margin-bottom: 30px;
    color: #333;
}

.section-header h2 {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 10px;
    color: #333;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
}

.section-header h2 i {
    color: #333;
    font-size: 1.8rem;
}

.section-header p {
    font-size: 1.1rem;
    color: #666;
}

/* 报告分类样式 */
.report-category {
    margin-bottom: 40px;
}

.report-category:last-child {
    margin-bottom: 0;
}

.category-header {
    margin-bottom: 20px;
    padding-bottom: 12px;
    border-bottom: 1px solid #e5e7eb;
}

.category-header h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #1e293b;
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 0;
    padding-left: 0;
}

.category-header h3 i {
    color: #1e40af;
    font-size: 1.1rem;
    opacity: 0.8;
}

/* 报告网格布局 */
.reports-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
    margin-top: 0;
}

/* 报告卡片样式 */
.report-card {
    background: white;
    border-radius: 8px;
    padding: 0;
    border: 1px solid #d1d5db;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
}

.report-card:hover {
    transform: translateY(-3px);
    border-color: #1e40af;
    box-shadow: 0 4px 12px rgba(30, 64, 175, 0.15);
}

/* 报表头部 */
.report-header {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 12px 20px;
    border-bottom: 1px solid #d1d5db;
    display: flex;
    align-items: center;
}

.report-type {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    color: #495057;
    font-weight: 500;
}

.report-type i {
    color: #1e40af;
    font-size: 0.85rem;
}

.report-date {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 0.75rem;
    color: #6c757d;
}

.report-date i {
    font-size: 0.85rem;
}

/* 报表内容区域 */
.report-content {
    padding: 20px;
    flex: 1;
}

/* 报告图标 */
.report-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #1e40af 0%, #1e3a8a 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.report-card:hover .report-icon {
    transform: scale(1.05);
}

.report-icon i {
    font-size: 1.5rem;
    color: white;
}

/* 报告标题和描述 */
.report-card h3 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: #212529;
    line-height: 1.4;
}

.report-card p {
    color: #666;
    margin-bottom: 15px;
    line-height: 1.5;
    font-size: 0.9rem;
}

/* 报表统计信息 */
.report-stats {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 12px;
    padding-top: 12px;
    border-top: 1px solid #e9ecef;
}

.stat-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.8rem;
    color: #6c757d;
}

.stat-item i {
    color: #1e40af;
    font-size: 0.85rem;
    width: 16px;
}

/* 报告功能特性 */
.report-features {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 20px;
}

.report-features span {
    background: #f8f9fa;
    color: #555;
    padding: 3px 8px;
    border-radius: 12px;
    font-size: 0.7rem;
    display: flex;
    align-items: center;
    gap: 3px;
    transition: all 0.3s ease;
    font-weight: 500;
}

.report-card:hover .report-features span {
    background: #1e40af;
    color: white;
    transform: scale(1.05);
}

/* 查看报告按钮 */
.view-report-btn {
    width: 100%;
    background: #1e40af;
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 0;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    margin-top: auto;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    border-top: 1px solid #d1d5db;
}

.view-report-btn:hover {
    background: #1e3a8a;
}

.view-report-btn:active {
    background: #1e3a8a;
}

.view-report-btn i {
    font-size: 0.85rem;
}

/* 特殊样式 - 不同报告类型的颜色主题 */
.report-card[data-report="auto-business-development"] .report-icon {
    background: linear-gradient(135deg, #1e40af 0%, #1e3a8a 100%);
}

.report-card[data-report="auto-daily-underwriting"] .report-icon {
    background: linear-gradient(135deg, #1e40af 0%, #1e3a8a 100%);
}

.report-card[data-report="auto-pricing-factor"] .report-icon {
    background: linear-gradient(135deg, #1e40af 0%, #1e3a8a 100%);
}

.report-card[data-report="auto-remaining-business"] .report-icon {
    background: linear-gradient(135deg, #1e40af 0%, #1e3a8a 100%);
}

.report-card[data-report="auto-cross-province"] .report-icon {
    background: linear-gradient(135deg, #1e40af 0%, #1e3a8a 100%);
}

.report-card[data-report="auto-closed-agencies"] .report-icon {
    background: linear-gradient(135deg, #1e40af 0%, #1e3a8a 100%);
}

.report-card[data-report="motorcycle-insurance"] .report-icon {
    background: linear-gradient(135deg, #1e40af 0%, #1e3a8a 100%);
}

.report-card[data-report="auto-claims-indicators"] .report-icon {
    background: linear-gradient(135deg, #1e40af 0%, #1e3a8a 100%);
}

.report-card[data-report="commercial-auto-settlement"] .report-icon {
    background: linear-gradient(135deg, #1e40af 0%, #1e3a8a 100%);
}

.report-card[data-report="tech-insurance"] .report-icon {
    background: linear-gradient(135deg, #1e40af 0%, #1e3a8a 100%);
}

.report-card[data-report="liability-insurance"] .report-icon {
    background: linear-gradient(135deg, #1e40af 0%, #1e3a8a 100%);
}

.report-card[data-report="peer-exchange"] .report-icon {
    background: linear-gradient(135deg, #1e40af 0%, #1e3a8a 100%);
}

.report-card[data-report="manpower-analysis"] .report-icon {
    background: linear-gradient(135deg, #1e40af 0%, #1e3a8a 100%);
}

/* 特殊样式 - 不同系统类型的颜色主题 */
.system-card[data-system="property-data-sharing"] .system-icon {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
}

.system-card[data-system="agricultural-data-sharing"] .system-icon {
    background: linear-gradient(135deg, #27ae60 0%, #229954 100%);
}

.system-card[data-system="auto-fee-data"] .system-icon {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
}

.system-card[data-system="non-auto-fee-data"] .system-icon {
    background: linear-gradient(135deg, #9b59b6 0%, #8e44ad 100%);
}

.system-card[data-system="jilin-claims-management"] .system-icon {
    background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
}

.system-card[data-system="life-data-sharing"] .system-icon {
    background: linear-gradient(135deg, #e91e63 0%, #c2185b 100%);
}

.system-card[data-system="manpower-data-analysis"] .system-icon {
    background: linear-gradient(135deg, #00bcd4 0%, #0097a7 100%);
}

.system-card[data-system="bank-insurance-data-sharing"] .system-icon {
    background: linear-gradient(135deg, #16a085 0%, #138d75 100%);
}

.system-card[data-system="jilin-dispute-mediation"] .system-icon {
    background: linear-gradient(135deg, #1e40af 0%, #1e3a8a 100%);
}

.system-card[data-system="jilin-sales-practitioner-management"] .system-icon {
    background: linear-gradient(135deg, #e67e22 0%, #d35400 100%);
}

/* 加载动画 */
.loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.5);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    color: white;
}

.loading.hidden {
    display: none;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(255,255,255,0.3);
    border-top: 4px solid white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-bottom: 20px;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* 提示框 */
.login-error {
    margin-top: 16px;
    padding: 12px 14px;
    border: 1px solid #f5b7b1;
    border-radius: 8px;
    background: #fff1f0;
    color: #a61d24;
    font-size: 14px;
    line-height: 1.6;
    overflow-wrap: anywhere;
}

.login-error[hidden] {
    display: none;
}

.toast {
    position: fixed;
    top: 20px;
    right: 20px;
    background: white;
    padding: 15px 20px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.2);
    display: flex;
    align-items: center;
    gap: 10px;
    z-index: 1001;
    max-width: min(420px, calc(100vw - 40px));
    box-sizing: border-box;
    overflow-wrap: anywhere;
    transform: translateX(400px);
    transition: transform 0.3s ease;
}

.toast.show {
    transform: translateX(0);
}

.toast.hidden {
    display: none;
}

.toast.success {
    border-left: 4px solid #2ed573;
}

.toast.error {
    border-left: 4px solid #ff4757;
}

.toast-icon {
    font-size: 1.2rem;
}

.toast.success .toast-icon::before {
    content: '✓';
    color: #2ed573;
}

.toast.error .toast-icon::before {
    content: '✗';
    color: #ff4757;
}

/* 角色选择页面样式 */
#roleSelectionPage {
    background: linear-gradient(135deg, #1e40af 0%, #1e3a8a 100%);
    min-height: 100vh;
}

.role-selection-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 40px 20px;
    position: relative;
    z-index: 1;
}

.role-selection-header {
    text-align: center;
    margin-bottom: 50px;
    color: white;
}

.role-selection-header .logo {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.role-selection-header .logo h1 {
    font-size: 2.5rem;
    font-weight: 700;
    text-shadow: 0 4px 8px rgba(0,0,0,0.3);
    letter-spacing: 2px;
    margin-left: 15px;
}

.role-selection-header .subtitle {
    font-size: 1.2rem;
    opacity: 0.95;
    font-weight: 300;
    margin-top: 10px;
    letter-spacing: 1px;
}

.demo-notice {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: 20px;
    padding: 12px 20px;
    background: rgba(255, 193, 7, 0.15);
    border: 1px solid rgba(255, 193, 7, 0.3);
    border-radius: 12px;
    color: #ffc107;
    font-size: 0.9rem;
    font-weight: 400;
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(255, 193, 7, 0.1);
}

.demo-notice i {
    font-size: 1rem;
}

.demo-notice span {
    letter-spacing: 0.5px;
}

.roles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 25px;
    width: 100%;
    max-width: 1400px;
}

.role-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    border: 2px solid transparent;
    text-align: center;
}

.role-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #1e40af 0%, #1e3a8a 100%);
    transform: scaleX(0);
    transition: transform 0.3s ease;
}

.role-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
    border-color: #1e40af;
}

.role-card:hover::before {
    transform: scaleX(1);
}

.role-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #1e40af 0%, #1e3a8a 100%);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    transition: all 0.3s ease;
}

.role-card:hover .role-icon {
    transform: scale(1.1) rotate(5deg);
}

.role-icon i {
    font-size: 2.5rem;
    color: white;
}

.role-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 12px;
    color: #333;
    line-height: 1.4;
}

.role-card p {
    color: #666;
    margin-bottom: 25px;
    line-height: 1.6;
    font-size: 0.95rem;
}

.select-role-btn {
    width: 100%;
    background: linear-gradient(135deg, #1e40af 0%, #1e3a8a 100%);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.select-role-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.select-role-btn:hover::before {
    width: 300px;
    height: 300px;
}

.select-role-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(30, 64, 175, 0.3);
}

.select-role-btn:active {
    transform: translateY(0);
}

/* 不同角色的图标颜色主题 */
.role-card[data-role="association-admin"] .role-icon {
    background: linear-gradient(135deg, #1e40af 0%, #1e3a8a 100%);
}

.role-card[data-role="association-property-admin"] .role-icon {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
}

.role-card[data-role="association-life-admin"] .role-icon {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
}

.role-card[data-role="property-executive"] .role-icon {
    background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
}

.role-card[data-role="life-executive"] .role-icon {
    background: linear-gradient(135deg, #9b59b6 0%, #8e44ad 100%);
}

.role-card[data-role="sales-system-admin"] .role-icon {
    background: linear-gradient(135deg, #00b894 0%, #00cec9 100%);
}

.role-card[data-role="sales-system-company-staff"] .role-icon {
    background: linear-gradient(135deg, #fd79a8 0%, #fdcb6e 100%);
}

.user-role {
    color: #1e40af;
    font-weight: 600;
    margin-right: 10px;
    padding: 4px 12px;
    background: rgba(30, 64, 175, 0.1);
    border-radius: 12px;
    font-size: 0.9rem;
    transition: color 0.3s ease, background 0.3s ease;
}

.main-header.scrolled .user-role {
    color: #1e40af;
    background: rgba(30, 64, 175, 0.1);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .login-container {
        padding: 10px;
    }
    
    .logo h1 {
        font-size: 2rem;
    }
    
    .login-form {
        padding: 30px 20px;
    }
    
    .header-content {
        padding: 15px 20px;
        flex-direction: column;
        gap: 15px;
    }
    
    .main-content {
        padding: 20px 15px;
    }
    
    .welcome-section h1 {
        font-size: 2rem;
    }
    
    .systems-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .reports-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .system-card {
        padding: 25px;
    }
}

@media (max-width: 1200px) {
    .systems-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .reports-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 900px) {
    .systems-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .reports-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 480px) {
    .logo h1 {
        font-size: 1.5rem;
    }
    
    .logo i {
        font-size: 2rem;
    }
    
    .welcome-section h1 {
        font-size: 1.5rem;
    }
    
    .system-card h3 {
        font-size: 1.2rem;
    }
    
    .section-header h2 {
        font-size: 1.5rem;
    }
    
    .systems-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .reports-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .report-card {
        padding: 20px;
    }
    
    .report-card h3 {
        font-size: 1.1rem;
    }
    
    .role-selection-header .logo h1 {
        font-size: 2rem;
    }
    
    .roles-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .role-card {
        padding: 25px;
    }
    
    .role-card h3 {
        font-size: 1.1rem;
    }
}
