/* 基础样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "PingFang SC", "Helvetica Neue", Arial, sans-serif;
}

/* 角色隔离样式 */
.no-role .villager-role,
.no-role .enterprise-role,
.no-role .government-role {
    display: none !important;
}

/* 登录页面始终显示，不受角色影响 */
#loginPage {
    display: block !important;
}

body:not(.no-role) #loginPage {
    display: none !important;
}

/* 只显示当前角色的激活页面 */
body:not(.no-role) .page:not(#loginPage) {
    display: none !important;
}

/* 当角色为村民时，只显示激活的村民页面 */
body[data-current-role="villager"] .villager-role.page.active:not(#loginPage) {
    display: block !important;
}

/* 当角色为企业时，只显示激活的企业页面 */
body[data-current-role="enterprise"] .enterprise-role.page.active:not(#loginPage) {
    display: block !important;
}

/* 当角色为政府时，只显示激活的政府页面 */
body[data-current-role="government"] .government-role.page.active:not(#loginPage) {
    display: block !important;
}

/* 角色专属底部导航 */
.bottom-nav.villager-bottom-nav,
.bottom-nav.enterprise-bottom-nav,
.bottom-nav.government-bottom-nav {
    display: none !important;
}

body[data-current-role="villager"] .villager-bottom-nav {
    display: flex !important;
}

body[data-current-role="enterprise"] .enterprise-bottom-nav {
    display: flex !important;
}

body[data-current-role="government"] .government-bottom-nav {
    display: flex !important;
}

body {
    background-color: #f5f7fa;
    color: #333;
    line-height: 1.5;
    padding-bottom: 80px;
    overflow-x: hidden;
}

.page {
    display: none;
    max-width: 500px;
    margin: 0 auto;
    background: white;
    min-height: 100vh;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
    position: relative;
}

.page.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* 顶部导航栏 */
.top-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    background: linear-gradient(135deg, #2c8b4a 0%, #4caf7a 100%);
    color: white;
    border-radius: 0 0 20px 20px;
    box-shadow: 0 4px 12px rgba(44, 139, 74, 0.2);
    position: sticky;
    top: 0;
    z-index: 10;
}

/* 角色专属顶部导航 */
.enterprise-role .top-nav {
    background: linear-gradient(135deg, #1890ff 0%, #40a9ff 100%);
    box-shadow: 0 4px 12px rgba(24, 144, 255, 0.2);
}

.government-role .top-nav {
    background: linear-gradient(135deg, #722ed1 0%, #9254de 100%);
    box-shadow: 0 4px 12px rgba(114, 46, 209, 0.2);
}

.nav-left {
    display: flex;
    align-items: center;
}

.back-btn {
    background: none;
    border: none;
    color: white;
    font-size: 18px;
    margin-right: 10px;
    cursor: pointer;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.back-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

.user-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    font-size: 18px;
}

.user-info h3 {
    font-size: 16px;
    margin-bottom: 3px;
}

.user-info p {
    font-size: 12px;
    opacity: 0.9;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.nav-icon {
    font-size: 20px;
    cursor: pointer;
    position: relative;
}

.badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #ff4757;
    color: white;
    font-size: 10px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* 搜索栏 */
.search-bar {
    padding: 15px;
    background: white;
}

.search-box {
    display: flex;
    align-items: center;
    background: #f5f7fa;
    border-radius: 25px;
    padding: 10px 15px;
    border: 1px solid #e0e0e0;
}

.search-box i {
    color: #999;
    margin-right: 10px;
}

.search-box input {
    flex: 1;
    border: none;
    background: none;
    outline: none;
    font-size: 14px;
}

/* 快捷功能入口 */
.quick-actions {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    padding: 15px;
    border-bottom: 10px solid #f5f7fa;
}

.quick-action {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 15px 5px;
    border-radius: 10px;
    background: white;
    text-decoration: none;
    color: #333;
    transition: all 0.3s;
    border: 1px solid #f0f0f0;
    cursor: pointer;
}

.quick-action:hover {
    background: #f5f7fa;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.quick-action i {
    font-size: 22px;
    margin-bottom: 8px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
}

.action-report i {
    background: linear-gradient(135deg, #ff7e5f 0%, #feb47b 100%);
}

.action-rights i {
    background: linear-gradient(135deg, #6a89cc 0%, #4a69bd 100%);
}

.action-village i {
    background: linear-gradient(135deg, #2c8b4a 0%, #4caf7a 100%);
}

.action-message i {
    background: linear-gradient(135deg, #8e44ad 0%, #9b59b6 100%);
}

.action-health i {
    background: linear-gradient(135deg, #ff6b81 0%, #ff8fa3 100%);
}

.action-ai i {
    background: linear-gradient(135deg, #9b59b6 0%, #8e44ad 100%);
}

/* 角色专属快捷功能主题色 */
.enterprise-role .quick-action i {
    background: linear-gradient(135deg, #1890ff 0%, #40a9ff 100%);
}

.government-role .quick-action i {
    background: linear-gradient(135deg, #722ed1 0%, #9254de 100%);
}

.quick-action span {
    font-size: 12px;
    text-align: center;
    line-height: 1.3;
}

/* 资产卡片 */
.asset-card {
    margin: 15px;
    background: linear-gradient(135deg, #2c8b4a 0%, #4caf7a 100%);
    border-radius: 15px;
    padding: 20px;
    color: white;
    box-shadow: 0 5px 15px rgba(44, 139, 74, 0.2);
}

/* 角色专属资产卡片 */
.enterprise-role .asset-card {
    background: linear-gradient(135deg, #1890ff 0%, #40a9ff 100%);
    box-shadow: 0 5px 15px rgba(24, 144, 255, 0.2);
}

.government-role .asset-card {
    background: linear-gradient(135deg, #722ed1 0%, #9254de 100%);
    box-shadow: 0 5px 15px rgba(114, 46, 209, 0.2);
}

.asset-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.asset-title {
    font-size: 16px;
    font-weight: 600;
}

.asset-detail-btn {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    padding: 5px 12px;
    border-radius: 15px;
    font-size: 12px;
    cursor: pointer;
}

.asset-detail-btn:hover {
    background: rgba(255, 255, 255, 0.3);
}

.asset-stats {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.stat-item {
    background: rgba(255, 255, 255, 0.1);
    padding: 12px;
    border-radius: 10px;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
}

.stat-item:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.stat-value {
    font-size: 20px;
    font-weight: 600;
    margin-bottom: 3px;
}

.stat-label {
    font-size: 12px;
    opacity: 0.9;
}

/* 村务通知 */
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding: 0 15px;
}

.section-title {
    font-size: 16px;
    font-weight: 600;
    color: #2c8b4a;
    display: flex;
    align-items: center;
}

.section-title i {
    margin-right: 8px;
}

.view-all {
    font-size: 12px;
    color: #666;
    text-decoration: none;
    padding: 5px 10px;
    border-radius: 15px;
    background: #f5f7fa;
}

.view-all:hover {
    background: #e9ecef;
}

.notice-list, .message-list, .menu-list {
    padding: 0 15px 15px;
}

.notice-item, .message-item, .menu-item {
    background: white;
    border-radius: 10px;
    padding: 15px;
    border-left: 4px solid #2c8b4a;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    margin-bottom: 10px;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
}

.notice-item:hover, .message-item:hover, .menu-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.menu-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f0f9f4;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2c8b4a;
    font-size: 18px;
    margin-right: 15px;
}

.enterprise-role .menu-icon {
    background: #e6f7ff;
    color: #1890ff;
}

.government-role .menu-icon {
    background: #f9f0ff;
    color: #722ed1;
}

.menu-content {
    flex: 1;
}

.menu-text {
    font-weight: 500;
    margin-bottom: 5px;
    font-size: 14px;
}

.menu-arrow {
    color: #ccc;
    font-size: 14px;
}

.notice-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 8px;
}

.notice-title {
    font-weight: 500;
    font-size: 14px;
}

.notice-time {
    font-size: 11px;
    color: #999;
}

.notice-content {
    font-size: 13px;
    color: #666;
    line-height: 1.4;
    margin-bottom: 10px;
}

.notice-tag {
    display: inline-block;
    padding: 2px 8px;
    background: #f0f9f4;
    color: #2c8b4a;
    border-radius: 10px;
    font-size: 11px;
    margin-right: 5px;
    cursor: pointer;
}

.notice-tag:hover {
    background: #e1f5e9;
}

/* 角色专属标签颜色 */
.enterprise-role .notice-tag {
    background: #e6f7ff;
    color: #1890ff;
}

.enterprise-role .notice-tag:hover {
    background: #d4edff;
}

.government-role .notice-tag {
    background: #f9f0ff;
    color: #722ed1;
}

.government-role .notice-tag:hover {
    background: #f2e4ff;
}

/* 底部导航 */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    max-width: 500px;
    margin: 0 auto;
    background: white;
    border-top: 1px solid #eee;
    display: none; /* 默认隐藏 */
    justify-content: space-around;
    padding: 10px 0;
    z-index: 100;
    box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.05);
}

/* 只有登录后（有角色时）才显示底部导航 */
body:not(.no-role) .bottom-nav {
    display: flex;
}

/* 确保登录页面不显示底部导航 */
#loginPage {
    position: relative;
    z-index: 1;
}

#loginPage.active ~ .bottom-nav,
#loginPage.active + .bottom-nav {
    display: none !important;
}

.nav-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: #666;
    flex: 1;
    padding: 8px 0;
    border-radius: 8px;
    transition: all 0.2s;
    cursor: pointer;
}

.nav-item:hover {
    background: #f5f7fa;
}

.nav-item.active {
    color: #2c8b4a;
}

.nav-item i {
    font-size: 20px;
    margin-bottom: 4px;
}

.nav-item span {
    font-size: 11px;
}

/* 通用内容区域 */
.content {
    padding: 15px;
    min-height: calc(100vh - 180px);
}

.content-header {
    margin-bottom: 20px;
}

.content-header h2 {
    font-size: 18px;
    color: #2c8b4a;
    margin-bottom: 5px;
}

.content-header p {
    font-size: 13px;
    color: #666;
}

/* 卡片网格 */
.card-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 20px;
}

.card {
    background: white;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    border: 1px solid #f0f0f0;
    cursor: pointer;
    transition: all 0.3s;
    text-align: center;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.card-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2c8b4a 0%, #4caf7a 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 22px;
    margin: 0 auto 15px;
}

.card-title {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 5px;
}

.card-desc {
    font-size: 12px;
    color: #666;
}

/* 列表样式 */
.list-item {
    display: flex;
    align-items: center;
    padding: 15px;
    background: white;
    border-radius: 10px;
    margin-bottom: 10px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    cursor: pointer;
    transition: all 0.3s;
}

.list-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.list-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f0f9f4;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2c8b4a;
    font-size: 18px;
    margin-right: 15px;
}

.list-content {
    flex: 1;
}

.list-title {
    font-weight: 500;
    margin-bottom: 5px;
    font-size: 14px;
}

.list-desc {
    font-size: 12px;
    color: #666;
    margin-bottom: 5px;
}

.list-status {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 11px;
    background: #f0f0f0;
    color: #666;
}

.list-status.success {
    background: #f0f9f4;
    color: #2c8b4a;
}

.list-status.warning {
    background: #fff9e6;
    color: #ff9900;
}

.list-status.processing {
    background: #e6f7ff;
    color: #1890ff;
}

/* 表单样式 */
.form-group {
    margin-bottom: 20px;
}

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

.form-input, .form-select, .form-textarea {
    width: 100%;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 14px;
    background: #f9f9f9;
    transition: all 0.3s;
}

.form-input:focus, .form-select:focus, .form-textarea:focus {
    border-color: #2c8b4a;
    background: white;
    box-shadow: 0 0 0 3px rgba(44, 139, 74, 0.1);
}

.form-textarea {
    resize: vertical;
    min-height: 100px;
}

.form-upload {
    border: 2px dashed #ddd;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    cursor: pointer;
    background: #f9f9f9;
    margin-bottom: 15px;
    transition: all 0.3s;
}

.form-upload:hover {
    border-color: #2c8b4a;
    background: #f0f9f4;
}

.form-upload i {
    font-size: 32px;
    color: #999;
    margin-bottom: 10px;
}

.form-upload:hover i {
    color: #2c8b4a;
}

/* 按钮样式 */
.btn {
    padding: 12px 20px;
    border: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    display: block;
    width: 100%;
    text-align: center;
    transition: all 0.3s;
}

.btn-primary {
    background: linear-gradient(135deg, #2c8b4a 0%, #4caf7a 100%);
    color: white;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #267a3e 0%, #3d9e68 100%);
    box-shadow: 0 5px 15px rgba(44, 139, 74, 0.3);
}

/* 角色专属按钮主题色 */
.enterprise-role .btn-primary {
    background: linear-gradient(135deg, #1890ff 0%, #40a9ff 100%);
}

.enterprise-role .btn-primary:hover {
    background: linear-gradient(135deg, #1677ff 0%, #3390ff 100%);
    box-shadow: 0 5px 15px rgba(24, 144, 255, 0.3);
}

.government-role .btn-primary {
    background: linear-gradient(135deg, #722ed1 0%, #9254de 100%);
}

.government-role .btn-primary:hover {
    background: linear-gradient(135deg, #641fbf 0%, #8344d0 100%);
    box-shadow: 0 5px 15px rgba(114, 46, 209, 0.3);
}

.btn-secondary {
    background: #f0f0f0;
    color: #333;
}

.btn-secondary:hover {
    background: #e0e0e0;
}

.btn-sm {
    padding: 8px 15px;
    font-size: 14px;
    width: auto;
}

.btn-outline {
    background: transparent;
    border: 1px solid #2c8b4a;
    color: #2c8b4a;
}

.btn-outline:hover {
    background: #f0f9f4;
}

/* 状态指示器 */
.status-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 500;
}

.status-pending {
    background: #fff9e6;
    color: #ff9900;
}

.status-approved {
    background: #f0f9f4;
    color: #2c8b4a;
}

.status-rejected {
    background: #ffe6e6;
    color: #ff4757;
}

.status-completed {
    background: #e6f7ff;
    color: #1890ff;
}

/* 响应式调整 */
@media (max-width: 400px) {
    .quick-action i {
        width: 40px;
        height: 40px;
        font-size: 18px;
    }
    
    .quick-action span {
        font-size: 11px;
    }
    
    .stat-value {
        font-size: 18px;
    }
}

/* 语音助手样式 */
.voice-assistant {
    position: fixed;
    bottom: 90px;
    right: 20px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff7e5f 0%, #feb47b 100%);
    display: none;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(255, 126, 95, 0.3);
    z-index: 99;
    transition: all 0.3s;
}

/* 只在非登录状态显示语音助手 */
body:not(.no-role) .voice-assistant {
    display: flex;
}

.voice-assistant:hover {
    transform: scale(1.1);
}

.voice-assistant.active {
    background: linear-gradient(135deg, #ff4757 0%, #ff6b81 100%);
    animation: pulse 1s infinite;
}

/* 角色专属语音助手 */
.enterprise-role .voice-assistant {
    background: linear-gradient(135deg, #1890ff 0%, #40a9ff 100%);
    box-shadow: 0 5px 15px rgba(24, 144, 255, 0.3);
}

.enterprise-role .voice-assistant.active {
    background: linear-gradient(135deg, #096dd9 0%, #1890ff 100%);
}

.government-role .voice-assistant {
    background: linear-gradient(135deg, #722ed1 0%, #9254de 100%);
    box-shadow: 0 5px 15px rgba(114, 46, 209, 0.3);
}

.government-role .voice-assistant.active {
    background: linear-gradient(135deg, #531dab 0%, #722ed1 100%);
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(255, 126, 95, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(255, 126, 95, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 126, 95, 0); }
}

/* 空状态 */
.empty-state {
    text-align: center;
    padding: 50px 20px;
    color: #999;
}

.empty-state i {
    font-size: 48px;
    margin-bottom: 15px;
    color: #ddd;
}

.empty-state h3 {
    font-size: 16px;
    margin-bottom: 10px;
    color: #666;
}

.empty-state p {
    font-size: 13px;
    margin-bottom: 20px;
}

/* 选项卡 */
.tabs {
    display: flex;
    background: #f5f7fa;
    border-radius: 10px;
    padding: 5px;
    margin-bottom: 20px;
}

.tab {
    flex: 1;
    text-align: center;
    padding: 10px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s;
}

.tab.active {
    background: white;
    color: #2c8b4a;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

/* AI功能样式 */
.ai-feature {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 15px;
    padding: 20px;
    color: white;
    margin-bottom: 20px;
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.2);
}

/* 角色专属AI功能样式 */
.villager-role .ai-feature {
    background: linear-gradient(135deg, #2c8b4a 0%, #4caf7a 100%);
    box-shadow: 0 5px 15px rgba(44, 139, 74, 0.2);
}

.enterprise-role .ai-feature {
    background: linear-gradient(135deg, #1890ff 0%, #40a9ff 100%);
    box-shadow: 0 5px 15px rgba(24, 144, 255, 0.2);
}

.government-role .ai-feature {
    background: linear-gradient(135deg, #722ed1 0%, #9254de 100%);
    box-shadow: 0 5px 15px rgba(114, 46, 209, 0.2);
}

.ai-feature h3 {
    font-size: 18px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.ai-feature h3 i {
    margin-right: 10px;
}

.ai-feature p {
    font-size: 14px;
    opacity: 0.9;
    margin-bottom: 15px;
}

/* 文件上传预览 */
.file-preview {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 15px;
}

.file-item {
    width: 80px;
    height: 80px;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
}

.file-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.file-item .remove {
    position: absolute;
    top: 5px;
    right: 5px;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    cursor: pointer;
}

/* AI识别结果 */
.ai-result {
    background: #f8f9fa;
    border-radius: 10px;
    padding: 20px;
    margin-top: 20px;
    border: 1px solid #e9ecef;
}

.ai-result-title {
    font-weight: 600;
    color: #2c8b4a;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
}

.ai-result-title i {
    margin-right: 8px;
}

.ai-result-content {
    font-size: 14px;
    line-height: 1.6;
    color: #333;
}

.ai-result-details {
    background: white;
    border-radius: 8px;
    padding: 15px;
    margin-top: 15px;
}

.ai-result-details h4 {
    font-size: 14px;
    margin-bottom: 10px;
    color: #555;
}

.ai-result-details ul {
    padding-left: 20px;
    font-size: 13px;
    color: #666;
}

.ai-result-details li {
    margin-bottom: 5px;
}

/* 健康自查步骤 */
.health-step {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s;
}

.health-step:hover {
    background: #e9ecef;
}

.health-step-number {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #2c8b4a;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    margin-right: 15px;
}

.health-step-content {
    flex: 1;
}

.health-step-title {
    font-weight: 500;
    margin-bottom: 5px;
}

.health-step-desc {
    font-size: 12px;
    color: #666;
}

/* 海报预览 */
.poster-preview {
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
    margin: 20px 0;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.poster-preview img {
    width: 100%;
    height: auto;
    display: block;
}

/* 服务列表 */
.service-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 20px;
}

.service-item {
    background: white;
    border-radius: 10px;
    padding: 15px;
    text-align: center;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    cursor: pointer;
    transition: all 0.3s;
}

.service-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.service-item i {
    font-size: 24px;
    color: #2c8b4a;
    margin-bottom: 10px;
}

.service-item span {
    font-size: 12px;
    display: block;
}

/* AI功能区域内的服务按钮样式 */
.ai-feature .service-item {
    background: rgba(255, 255, 255, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.ai-feature .service-item:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.ai-feature .service-item i {
    color: white;
}

.ai-feature .service-item span {
    color: white;
}

/* 角色专属AI功能按钮样式 */
.enterprise-role .ai-feature .service-item i {
    color: white;
}

.enterprise-role .ai-feature .service-item span {
    color: white;
}

.government-role .ai-feature .service-item i {
    color: white;
}

.government-role .ai-feature .service-item span {
    color: white;
}

/* 角色专属内容标题颜色 */
.enterprise-role .content-header h2,
.enterprise-role .section-title {
    color: #1890ff;
}

.government-role .content-header h2,
.government-role .section-title {
    color: #722ed1;
}

/* 角色专属表单焦点颜色 */
.enterprise-role .form-input:focus,
.enterprise-role .form-select:focus,
.enterprise-role .form-textarea:focus {
    border-color: #1890ff;
    box-shadow: 0 0 0 3px rgba(24, 144, 255, 0.1);
}

.government-role .form-input:focus,
.government-role .form-select:focus,
.government-role .form-textarea:focus {
    border-color: #722ed1;
    box-shadow: 0 0 0 3px rgba(114, 46, 209, 0.1);
}

/* 角色专属列表图标颜色 */
.enterprise-role .list-icon {
    background: #e6f7ff;
    color: #1890ff;
}

.government-role .list-icon {
    background: #f9f0ff;
    color: #722ed1;
}

/* 角色专属卡片图标背景 */
.enterprise-role .card-icon {
    background: linear-gradient(135deg, #1890ff 0%, #40a9ff 100%);
}

.government-role .card-icon {
    background: linear-gradient(135deg, #722ed1 0%, #9254de 100%);
}

/* 模态框 */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 1000;
    align-items: center;
    justify-content: center;
    padding: 20px;
    animation: fadeIn 0.3s ease;
}

.modal.active {
    display: flex;
}

.modal-content {
    background: white;
    border-radius: 20px;
    width: 100%;
    max-width: 450px;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    animation: slideInUp 0.4s ease;
}

@keyframes slideInUp {
    from { transform: translateY(50px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

.modal-header {
    padding: 20px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
  position: sticky;
    top: 0;
    z-index: 999;
        background: #fff;
}

.modal-title {
    font-size: 18px;
    font-weight: 600;
    color: #2c8b4a;
}

/* 角色专属模态框标题 */
.enterprise-role .modal-title {
    color: #1890ff;
}

.government-role .modal-title {
    color: #722ed1;
}

.modal-close {
    background: none;
    border: none;
    font-size: 24px;
    color: #999;
    cursor: pointer;
}

.modal-body {
    padding: 20px;
}

/* 聊天机器人样式 */
.chat-container {
    height: 400px;
    display: flex;
    flex-direction: column;
}

.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 10px;
    margin-bottom: 15px;
}

.chat-message {
    margin-bottom: 15px;
    max-width: 80%;
}

.chat-message.user {
    margin-left: auto;
}

.chat-message.bot {
    margin-right: auto;
}

.chat-message-content {
    padding: 10px 15px;
    border-radius: 15px;
    font-size: 14px;
    line-height: 1.4;
}

.chat-message.user .chat-message-content {
    background: #2c8b4a;
    color: white;
    border-bottom-right-radius: 5px;
}

.chat-message.bot .chat-message-content {
    background: white;
    color: #333;
    border: 1px solid #e9ecef;
    border-bottom-left-radius: 5px;
}

.chat-input-container {
    display: flex;
    gap: 10px;
}

.chat-input {
    flex: 1;
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 25px;
    font-size: 14px;
    background: #f9f9f9;
}

.chat-send {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #2c8b4a 0%, #4caf7a 100%);
    color: white;
    border: none;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    cursor: pointer;
}
/* 在style.css末尾添加以下内容 */

/* 角色选择页面样式 */
.role-selection {
    padding: 0 20px;
}

.role-card {
    background: white;
    border-radius: 15px;
    padding: 20px;
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
    border: 2px solid transparent;
    transition: all 0.3s;
}

.role-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.1);
    border-color: #2c8b4a;
}

.role-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-right: 15px;
    flex-shrink: 0;
}

.role-icon.villager {
    background: linear-gradient(135deg, #52c41a 0%, #73d13d 100%);
    color: white;
}

.role-icon.enterprise {
    background: linear-gradient(135deg, #1890ff 0%, #40a9ff 100%);
    color: white;
}

.role-icon.government {
    background: linear-gradient(135deg, #722ed1 0%, #9254de 100%);
    color: white;
}

.role-details h3 {
    font-size: 16px;
    margin-bottom: 5px;
    color: #333;
}

.role-details p {
    font-size: 13px;
    color: #666;
}

/* 数据表格样式 */
.data-table-container {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.data-table-container table {
    width: 100%;
    border-collapse: collapse;
    font-size: 12px;
}

.data-table-container th {
    padding: 10px;
    text-align: left;
    font-weight: 600;
    background: #f5f7fa;
    color: #333;
}

.data-table-container td {
    padding: 10px;
    border-bottom: 1px solid #f0f0f0;
}

.data-table-container tr:last-child td {
    border-bottom: none;
}

/* 角色专属底部导航 */
.bottom-nav.villager-role .nav-item.active {
    color: #52c41a;
}

.bottom-nav.enterprise-role .nav-item.active {
    color: #1890ff;
}

.bottom-nav.government-role .nav-item.active {
    color: #722ed1;
}

/* 角色专属按钮 */
.btn-villager {
    background: linear-gradient(135deg, #52c41a 0%, #73d13d 100%);
    color: white;
}

.btn-enterprise {
    background: linear-gradient(135deg, #1890ff 0%, #40a9ff 100%);
    color: white;
}

.btn-government {
    background: linear-gradient(135deg, #722ed1 0%, #9254de 100%);
    color: white;
}

/* 政策卡片样式 */
.policy-card {
    background: white;
    border-radius: 12px;
    padding: 18px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    margin-bottom: 15px;
    border-left: 4px solid #2c8b4a;
    transition: all 0.3s;
    cursor: pointer;
}

.policy-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}

.policy-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 10px;
}

.policy-title {
    font-weight: 600;
    font-size: 15px;
    color: #333;
    flex: 1;
}

.policy-deadline {
    font-size: 12px;
    color: #ff4757;
    background: #ffe6e6;
    padding: 3px 8px;
    border-radius: 12px;
    white-space: nowrap;
    margin-left: 10px;
}

.policy-category {
    display: inline-block;
    font-size: 12px;
    color: #2c8b4a;
    background: #f0f9f4;
    padding: 3px 10px;
    border-radius: 12px;
    margin-bottom: 8px;
}

.policy-desc {
    font-size: 13px;
    color: #666;
    line-height: 1.5;
    margin-bottom: 12px;
}

.policy-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: #999;
}
/* 政策申报流程时间线 */
.process-timeline {
    margin: 15px 0;
}

.process-step {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    position: relative;
}

.process-step:not(:last-child)::after {
    content: '';
    position: absolute;
    left: 15px;
    top: 30px;
    width: 2px;
    height: 15px;
    background: #e9ecef;
}

.step-number {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #1890ff;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 600;
    margin-right: 12px;
    flex-shrink: 0;
}

.step-content {
    font-size: 14px;
    color: #333;
}

/* 所需材料列表 */
.required-docs {
    display: grid;
    gap: 10px;
    margin-top: 10px;
}

.doc-item {
    display: flex;
    align-items: center;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 8px;
    font-size: 14px;
    color: #666;
}

.doc-item i {
    margin-right: 10px;
    color: #1890ff;
}

/* 政策优势列表 */
.benefits-list {
    display: grid;
    gap: 10px;
    margin-top: 10px;
}

.benefit-item {
    display: flex;
    align-items: center;
    font-size: 14px;
    color: #333;
}

.benefit-item i {
    margin-right: 10px;
}

/* 常见问题列表 */
.faqs-list {
    margin-top: 10px;
}

.faq-item {
    margin-bottom: 15px;
}

.faq-question {
    display: flex;
    align-items: center;
    font-weight: 600;
    color: #1890ff;
    margin-bottom: 5px;
    font-size: 14px;
}

.faq-question i {
    margin-right: 8px;
}

.faq-answer {
    display: flex;
    align-items: flex-start;
    color: #666;
    font-size: 13px;
    padding-left: 22px;
}

.faq-answer i {
    margin-right: 8px;
    margin-top: 3px;
    color: #999;
}

/* 申报表单样式 */
.application-form {
    font-size: 14px;
}

.application-form .form-group {
    margin-bottom: 20px;
}

.application-form label {
    display: block;
    margin-bottom: 8px;
    font-weight: 500;
    color: #333;
}

.upload-area {
    border: 2px dashed #ddd;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    cursor: pointer;
    background: #f9f9f9;
    transition: all 0.3s;
}

.upload-area:hover {
    border-color: #1890ff;
    background: #e6f7ff;
}

.upload-area i {
    font-size: 32px;
    color: #999;
    margin-bottom: 10px;
}

.uploaded-files {
    margin-top: 15px;
}

.uploaded-files .file-item {
    display: flex;
    align-items: center;
    padding: 8px 12px;
    background: #f8f9fa;
    border-radius: 6px;
    margin-bottom: 8px;
}

.uploaded-files .file-item i:first-child {
    margin-right: 10px;
    color: #1890ff;
}

.uploaded-files .file-item i:last-child {
    margin-left: auto;
    color: #999;
    cursor: pointer;
}

.uploaded-files .file-item span {
    flex: 1;
    font-size: 14px;
}

/* 材料模板下载 */
.materials-download h4 {
    margin-bottom: 15px;
    color: #333;
}

.template-files {
    display: grid;
    gap: 10px;
    margin-bottom: 20px;
}

.template-item {
    display: flex;
    align-items: center;
    padding: 12px;
    background: #f8f9fa;
    border-radius: 8px;
}

.template-item i:first-child {
    margin-right: 12px;
    /*color: #1890ff;*/
    font-size: 20px;
}

.template-item span {
    flex: 1;
    font-size: 14px;
    color: #333;
}

/* 申报记录列表 */
.applications-list {
    display: grid;
    gap: 15px;
}

.application-item {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 15px;
    border: 1px solid #e9ecef;
}

.app-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.app-title {
    font-weight: 600;
    font-size: 15px;
    color: #333;
}

.app-status {
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
}

.app-status.processing {
    background: #e6f7ff;
    color: #1890ff;
}

.app-status.approved {
    background: #f0f9f4;
    color: #52c41a;
}

.app-details {
    margin-bottom: 15px;
}

.app-details p {
    font-size: 13px;
    color: #666;
    margin-bottom: 5px;
}

.app-actions {
    display: flex;
    gap: 10px;
}

/* 复选框样式优化 */
input[type="checkbox"] {
    width: 16px;
    height: 16px;
    margin-right: 8px;
    vertical-align: middle;
}
/* 培训课程样式 */
.course-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 12px;
    margin-bottom: 20px;
}

.course-item {
    background: white;
    border-radius: 10px;
    padding: 15px 12px;
    text-align: center;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.06);
    transition: all 0.3s;
    cursor: pointer;
}

.course-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 12px rgba(0, 0, 0, 0.1);
}

.course-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #6a89cc 0%, #4a69bd 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 20px;
    margin: 0 auto 10px;
}

.course-title {
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 5px;
    color: #333;
}

.course-duration {
    font-size: 11px;
    color: #999;
}

/* 课程详情样式 */
.course-detail {
    font-size: 14px;
}

.course-header {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #e9ecef;
}

.course-meta {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.course-level {
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
}

.course-level.初级 {
    background: #f0f9f4;
    color: #2c8b4a;
}

.course-level.中级 {
    background: #e6f7ff;
    color: #1890ff;
}

.course-level.高级 {
    background: #f9f0ff;
    color: #722ed1;
}

.course-category {
    background: #f8f9fa;
    color: #666;
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 12px;
}

.course-stats {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    font-size: 13px;
    color: #666;
}

.course-stats span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.course-stats i {
    color: #1890ff;
}

/* 学习进度样式 */
.course-progress {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 20px;
}

.progress-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 10px;
}

.progress-header h4 {
    margin: 0;
    color: #333;
}

.progress-text {
    font-weight: 600;
    color: #1890ff;
}

.progress-bar {
    height: 8px;
    background: #e9ecef;
    border-radius: 4px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(135deg, #1890ff 0%, #40a9ff 100%);
    transition: width 0.3s ease;
}

/* 章节列表样式 */
.course-content {
    margin-bottom: 20px;
}

.course-content h4 {
    margin-bottom: 15px;
    color: #333;
}

.chapter-list {
    display: grid;
    gap: 10px;
}

.chapter-item {
    display: flex;
    align-items: center;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    border: 1px solid transparent;
}

.chapter-item:hover {
    background: #e6f7ff;
    border-color: #1890ff;
}

.chapter-item.completed {
    background: #f0f9f4;
    border-color: #2c8b4a;
}

.chapter-number {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #1890ff;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
    margin-right: 15px;
    flex-shrink: 0;
}

.chapter-item.completed .chapter-number {
    background: #2c8b4a;
}

.chapter-info {
    flex: 1;
}

.chapter-info h5 {
    margin: 0 0 5px 0;
    font-size: 14px;
    color: #333;
}

.chapter-info p {
    margin: 0;
    font-size: 12px;
    color: #666;
}

.chapter-status {
    margin-left: 15px;
}

.chapter-status i {
    font-size: 20px;
    color: #1890ff;
}

.chapter-item.completed .chapter-status i {
    color: #2c8b4a;
}

/* 技能标签样式 */
.course-skills {
    margin-bottom: 20px;
}

.course-skills h4 {
    margin-bottom: 15px;
    color: #333;
}

.skills-list {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.skill-tag {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 5px 12px;
    background: #e6f7ff;
    color: #1890ff;
    border-radius: 15px;
    font-size: 13px;
}

.skill-tag i {
    font-size: 12px;
}

/* 证书预览样式 */
.course-certificate {
    margin-bottom: 20px;
}

.course-certificate h4 {
    margin-bottom: 15px;
    color: #333;
}

.certificate-preview {
    display: flex;
    align-items: center;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.certificate-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, #faad14 0%, #ffc53d 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    margin-right: 15px;
}

.certificate-info h5 {
    margin: 0 0 5px 0;
    color: #333;
}

.certificate-info p {
    margin: 0;
    font-size: 13px;
    color: #666;
}

/* 在线学习播放器样式 */
.learning-player {
    font-size: 14px;
}

.video-container {
    background: #000;
    border-radius: 8px;
    overflow: hidden;
    margin-bottom: 20px;
    position: relative;
}

.video-placeholder {
    height: 200px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: #666;
}

.video-placeholder i {
    font-size: 48px;
    margin-bottom: 10px;
}

.video-controls {
    background: rgba(0, 0, 0, 0.8);
    padding: 10px 15px;
}

.control-buttons {
    display: flex;
    gap: 15px;
    margin-top: 10px;
}

.control-btn {
    background: none;
    border: none;
    color: white;
    font-size: 16px;
    cursor: pointer;
    padding: 5px;
    border-radius: 4px;
    transition: background 0.3s;
}

.control-btn:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* 决策支持系统样式 */
.decision-support {
    font-size: 14px;
}

.decision-description {
    background: #f9f0ff;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    border-left: 4px solid #722ed1;
}

.decision-description p {
    margin: 0;
    color: #666;
    line-height: 1.6;
}

.model-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 10px;
    margin-top: 10px;
}

.model-option {
    display: flex;
    align-items: center;
    padding: 15px;
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s;
    text-align: center;
}

.model-option:hover {
    background: #f9f0ff;
    border-color: #722ed1;
}

.model-option.selected {
    background: #f9f0ff;
    border-color: #722ed1;
    color: #722ed1;
}

.model-option i {
    font-size: 20px;
    margin-right: 8px;
    color: #722ed1;
}

.model-option span {
    font-size: 13px;
    font-weight: 500;
}

.indicator-select, .data-sources {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 10px;
    margin-top: 10px;
}

.checkbox-label {
    display: flex;
    align-items: center;
    padding: 8px 12px;
    background: #f8f9fa;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s;
}

.checkbox-label:hover {
    background: #f9f0ff;
    border-color: #722ed1;
}

.checkbox-label input[type="checkbox"] {
    margin-right: 8px;
}

.checkbox-label span {
    font-size: 13px;
    color: #333;
}

.time-options {
    display: flex;
    gap: 10px;
    margin-top: 10px;
    flex-wrap: wrap;
}

.time-option {
    padding: 8px 16px;
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 13px;
    font-weight: 500;
}

.time-option:hover {
    background: #f9f0ff;
    border-color: #722ed1;
}

.time-option.selected {
    background: #f9f0ff;
    border-color: #722ed1;
    color: #722ed1;
}

/* 决策分析结果样式 */
.decision-preview {
    margin-top: 30px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 12px;
    border: 1px solid #e9ecef;
}

.decision-preview h4 {
    margin-bottom: 20px;
    color: #722ed1;
    text-align: center;
}

.analysis-results {
    display: grid;
    gap: 20px;
}

.result-section {
    background: white;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.result-section h5 {
    margin-bottom: 15px;
    color: #722ed1;
    display: flex;
    align-items: center;
}

.result-section h5 i {
    margin-right: 8px;
}

.trend-chart {
    text-align: center;
    padding: 10px;
    background: #f9f9f9;
    border-radius: 6px;
}

.metrics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 15px;
}

.metric-card {
    text-align: center;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.metric-value {
    font-size: 24px;
    font-weight: 600;
    color: #722ed1;
    margin-bottom: 5px;
}

.metric-label {
    font-size: 13px;
    color: #666;
    margin-bottom: 5px;
}

.metric-trend {
    font-size: 12px;
    font-weight: 500;
}

.metric-trend.up {
    color: #52c41a;
}

.metric-trend.down {
    color: #ff4757;
}

.ai-suggestions {
    display: grid;
    gap: 12px;
}

.suggestion-item {
    display: flex;
    align-items: flex-start;
    padding: 12px;
    background: #f9f0ff;
    border-radius: 8px;
    border-left: 3px solid #722ed1;
}

.suggestion-priority {
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 500;
    margin-right: 12px;
    flex-shrink: 0;
    min-width: 60px;
    text-align: center;
}

.suggestion-priority.high {
    background: #ffe6e6;
    color: #ff4757;
}

.suggestion-priority.medium {
    background: #fff9e6;
    color: #ff9900;
}

.suggestion-priority.low {
    background: #e6f7ff;
    color: #1890ff;
}

.suggestion-content {
    flex: 1;
    font-size: 14px;
    color: #333;
    line-height: 1.5;
}

.analysis-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 20px;
    flex-wrap: wrap;
}

/* 决策历史样式 */
.decision-history {
    margin-bottom: 20px;
}

.history-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 25px;
}

.history-list {
    display: grid;
    gap: 15px;
}

.history-item {
    display: flex;
    align-items: center;
    padding: 15px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    border: 1px solid #e9ecef;
    cursor: pointer;
    transition: all 0.3s;
}

.history-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.decision-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f9f0ff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    color: #722ed1;
    font-size: 18px;
}

.decision-info {
    flex: 1;
}

.decision-info h5 {
    margin: 0 0 5px 0;
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

.decision-info p {
    margin: 0 0 5px 0;
    font-size: 12px;
    color: #666;
}

.accuracy-badge {
    display: inline-block;
    padding: 2px 8px;
    background: #f9f0ff;
    color: #722ed1;
    border-radius: 10px;
    font-size: 11px;
    font-weight: 500;
}

.decision-actions {
    display: flex;
    gap: 8px;
}

/* 政府角色专属样式增强 */
.government-role .model-option i,
.government-role .checkbox-label:hover,
.government-role .time-option.selected {
    color: #722ed1;
}

.government-role .model-option.selected,
.government-role .model-option:hover,
.government-role .time-option.selected,
.government-role .time-option:hover {
    background: #f9f0ff;
    border-color: #722ed1;
}

.government-role .result-section h5,
.government-role .decision-preview h4,
.government-role .metric-value {
    color: #722ed1;
}

/* 产业规划样式 */
.industry-planning {
    font-size: 14px;
}

.planning-description {
    background: #f9f0ff;
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
    border-left: 4px solid #722ed1;
}

.planning-description p {
    margin: 0;
    color: #666;
    line-height: 1.6;
}

.planning-types {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-top: 10px;
}

.planning-type {
    display: flex;
    align-items: center;
    padding: 15px;
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s;
    text-align: center;
}

.planning-type:hover {
    background: #f9f0ff;
    border-color: #722ed1;
}

.planning-type.selected {
    background: #f9f0ff;
    border-color: #722ed1;
    color: #722ed1;
}

.planning-type i {
    font-size: 20px;
    margin-right: 8px;
    color: #722ed1;
}

.planning-type span {
    font-size: 13px;
    font-weight: 500;
}

.planning-periods, .investment-scales {
    display: flex;
    gap: 10px;
    margin-top: 10px;
    flex-wrap: wrap;
}

.period-option, .scale-option {
    padding: 8px 16px;
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 13px;
    font-weight: 500;
}

.period-option:hover, .scale-option:hover {
    background: #f9f0ff;
    border-color: #722ed1;
}

.period-option.selected, .scale-option.selected {
    background: #f9f0ff;
    border-color: #722ed1;
    color: #722ed1;
}

.target-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 10px;
    margin-top: 10px;
}

/* 产业规划预览样式 */
.planning-preview {
    margin-top: 30px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 12px;
    border: 1px solid #e9ecef;
}

.planning-preview h4 {
    margin-bottom: 20px;
    color: #722ed1;
    text-align: center;
}

.layout-map {
    background: white;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.map-legend {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
    justify-content: center;
}

.legend-item {
    display: flex;
    align-items: center;
    font-size: 13px;
}

.legend-color {
    width: 16px;
    height: 16px;
    border-radius: 3px;
    margin-right: 6px;
}

.area-map {
    position: relative;
    height: 200px;
    background: #f0f4f8;
    border-radius: 8px;
    border: 1px solid #d9d9d9;
}

.zone {
    position: absolute;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 500;
    color: white;
    text-align: center;
    padding: 5px;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.zone.modern-agriculture {
    background: rgba(82, 196, 26, 0.8);
}

.zone.rural-tourism {
    background: rgba(24, 144, 255, 0.8);
}

.zone.special-industry {
    background: rgba(250, 173, 20, 0.8);
}

.development-targets {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
}

.target-item {
    text-align: center;
    padding: 15px;
    background: #f9f0ff;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.target-number {
    font-size: 24px;
    font-weight: 600;
    color: #722ed1;
    margin-bottom: 5px;
}

.target-desc {
    font-size: 13px;
    color: #666;
}

.project-list {
    display: grid;
    gap: 15px;
}

.project-item {
    display: flex;
    align-items: flex-start;
    padding: 15px;
    background: white;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.project-priority {
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 500;
    margin-right: 12px;
    flex-shrink: 0;
    min-width: 40px;
    text-align: center;
}

.project-priority.high {
    background: #ffe6e6;
    color: #ff4757;
}

.project-priority.medium {
    background: #fff9e6;
    color: #ff9900;
}

.project-priority.normal {
    background: #e6f7ff;
    color: #1890ff;
}

.project-info {
    flex: 1;
}

.project-info h6 {
    margin: 0 0 5px 0;
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

.project-info p {
    margin: 0 0 5px 0;
    font-size: 13px;
    color: #666;
}

.project-period {
    font-size: 12px;
    color: #999;
}

.benefit-analysis {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 20px;
    align-items: center;
}

.benefit-chart {
    background: white;
    padding: 15px;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    text-align: center;
}

.benefit-summary {
    display: grid;
    gap: 15px;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    background: #f9f0ff;
    border-radius: 6px;
    border: 1px solid #e9ecef;
}

.summary-label {
    font-size: 13px;
    color: #666;
}

.summary-value {
    font-size: 14px;
    font-weight: 600;
    color: #722ed1;
}

.planning-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
    margin-top: 20px;
    flex-wrap: wrap;
}

/* 产业规划历史样式 */
.planning-history {
    margin-bottom: 20px;
}

.planning-list {
    display: grid;
    gap: 15px;
}

.planning-item {
    display: flex;
    align-items: center;
    padding: 15px;
    background: white;
    border-radius: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    border: 1px solid #e9ecef;
    cursor: pointer;
    transition: all 0.3s;
}

.planning-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.planning-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f9f0ff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    color: #722ed1;
    font-size: 18px;
}

.planning-info {
    flex: 1;
}

.planning-info h5 {
    margin: 0 0 5px 0;
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

.planning-info p {
    margin: 0 0 5px 0;
    font-size: 12px;
    color: #666;
}

.status-badge.implemented {
    background: #f0f9f4;
    color: #52c41a;
}

.status-badge.approved {
    background: #e6f7ff;
    color: #1890ff;
}

.status-badge.draft {
    background: #fff9e6;
    color: #ff9900;
}

.planning-actions {
    display: flex;
    gap: 8px;
}

/* 政府角色产业规划专属样式 */
.government-role .planning-type i,
.government-role .planning-type.selected,
.government-role .period-option.selected,
.government-role .scale-option.selected {
    color: #722ed1;
}

.government-role .planning-type.selected,
.government-role .planning-type:hover,
.government-role .period-option.selected,
.government-role .period-option:hover,
.government-role .scale-option.selected,
.government-role .scale-option:hover {
    background: #f9f0ff;
    border-color: #722ed1;
}

.government-role .planning-preview h4,
.government-role .target-number,
.government-role .summary-value {
    color: #722ed1;
}

/* 响应式调整 */
@media (max-width: 600px) {
    .planning-types {
        grid-template-columns: 1fr;
    }
    
    .target-options {
        grid-template-columns: 1fr;
    }
    
    .development-targets {
        grid-template-columns: 1fr;
    }
    
    .benefit-analysis {
        grid-template-columns: 1fr;
    }
    
    .map-legend {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
    
    .planning-actions {
        flex-direction: column;
    }
    
    .planning-actions .btn {
        width: 100%;
    }
}

/* 数据可视化样式 */
.data-visualization {
    font-size: 14px;
}

.viz-tabs {
    display: flex;
    border-bottom: 1px solid #e9ecef;
    margin-bottom: 20px;
    gap: 2px;
}

.viz-tab {
    flex: 1;
    padding: 12px;
    background: #f8f9fa;
    border: none;
    border-bottom: 3px solid transparent;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 13px;
    color: #666;
}

.viz-tab:hover {
    background: #e9ecef;
}

.viz-tab.active {
    background: white;
    border-bottom-color: #722ed1;
    color: #722ed1;
    font-weight: 500;
}

.viz-content {
    min-height: 400px;
}

.viz-panel {
    display: none;
}

.viz-panel.active {
    display: block;
    animation: fadeInUp 0.3s ease;
}

/* 概览统计样式 */
.overview-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 30px;
}

.stat-card {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    border: 1px solid #e9ecef;
    display: flex;
    align-items: center;
    transition: all 0.3s;
}

.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.stat-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: #f9f0ff;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    color: #722ed1;
    font-size: 20px;
}

.stat-info {
    flex: 1;
}

.stat-number {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 13px;
    color: #666;
    margin-bottom: 5px;
}

.stat-change {
    font-size: 12px;
    font-weight: 500;
}

.stat-change.positive {
    color: #52c41a;
}

.stat-change.negative {
    color: #ff4757;
}

/* 图表容器样式 */
.chart-container {
    background: white;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    border: 1px solid #e9ecef;
}

.chart-container h5 {
    margin-bottom: 20px;
    color: #333;
    font-size: 16px;
    font-weight: 600;
}

.chart-container canvas {
    max-width: 100%;
    height: auto;
}

/* 数据表格样式 */
.comparison-table {
    margin-top: 20px;
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 13px;
}

.data-table th {
    background: #f8f9fa;
    padding: 12px;
    text-align: left;
    font-weight: 600;
    color: #333;
    border-bottom: 1px solid #e9ecef;
}

.data-table td {
    padding: 12px;
    border-bottom: 1px solid #f0f0f0;
    color: #666;
}

.data-table tr:last-child td {
    border-bottom: none;
}

/* 地图容器样式 */
.map-container {
    background: white;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    border: 1px solid #e9ecef;
}

.village-map {
    position: relative;
    height: 300px;
    background: #f0f4f8;
    border-radius: 8px;
    border: 1px solid #d9d9d9;
    margin-bottom: 20px;
}

.village-dot {
    position: absolute;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #722ed1;
    border: 2px solid white;
    transform: translate(-50%, -50%);
    cursor: pointer;
    transition: all 0.3s;
}

.village-dot.large {
    width: 24px;
    height: 24px;
    background: #1890ff;
}

.village-dot.medium {
    width: 20px;
    height: 20px;
    background: #52c41a;
}

.village-dot.small {
    width: 16px;
    height: 16px;
    background: #faad14;
}

.village-dot:hover {
    transform: translate(-50%, -50%) scale(1.2);
}

.dot-label {
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.8);
    color: white;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 11px;
    white-space: nowrap;
    pointer-events: none;
}

.map-legend {
    display: flex;
    gap: 20px;
    align-items: center;
    justify-content: center;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
}

.legend-title {
    font-weight: 600;
    color: #333;
    margin-right: 15px;
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: #666;
}

.legend-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    border: 1px solid rgba(0, 0, 0, 0.2);
}

.legend-dot.large {
    width: 16px;
    height: 16px;
    background: #1890ff;
}

.legend-dot.medium {
    width: 14px;
    height: 14px;
    background: #52c41a;
}

.legend-dot.small {
    width: 12px;
    height: 12px;
    background: #faad14;
}

/* 政府角色数据可视化专属样式 */
.government-role .viz-tab.active {
    border-bottom-color: #722ed1;
    color: #722ed1;
}

.government-role .stat-icon {
    background: #f9f0ff;
    color: #722ed1;
}

.government-role .village-dot {
    background: #722ed1;
}

/* 动画效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 响应式调整 */
@media (max-width: 768px) {
    .overview-stats {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .viz-tabs {
        flex-wrap: wrap;
    }
    
    .viz-tab {
        flex: none;
        min-width: 100px;
    }
    
    .map-legend {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .overview-stats {
        grid-template-columns: 1fr;
    }
    
    .data-table {
        font-size: 12px;
    }
    
    .data-table th,
    .data-table td {
        padding: 8px;
    }
    
    .chart-container canvas {
        height: 250px;
    }
}

/* 响应式调整 */
@media (max-width: 600px) {
    .model-options {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .indicator-select,
    .data-sources {
        grid-template-columns: 1fr;
    }
    
    .time-options {
        flex-direction: column;
    }
    
    .metrics-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .history-stats {
        grid-template-columns: 1fr;
    }
    
    .analysis-actions {
        flex-direction: column;
    }
    
    .analysis-actions .btn {
        width: 100%;
    }
}

.course-materials {
    margin-bottom: 20px;
}

.course-materials h4 {
    margin-bottom: 15px;
    color: #333;
}

.materials-list {
    display: grid;
    gap: 10px;
}

.material-item {
    display: flex;
    align-items: center;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.material-item i {
    margin-right: 10px;
    color: #1890ff;
    font-size: 16px;
}

.material-item span {
    flex: 1;
    font-size: 14px;
    color: #333;
}

.course-notes {
    margin-bottom: 20px;
}

.course-notes h4 {
    margin-bottom: 10px;
    color: #333;
}

/* 证书列表样式 */
.certificates-container {
    display: grid;
    gap: 15px;
    margin-bottom: 20px;
}

.certificate-card {
    display: flex;
    align-items: center;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.certificate-card.earned {
    border-color: #faad14;
    background: #fffbe6;
}

.certificate-card.in-progress {
    border-color: #1890ff;
    background: #e6f7ff;
}

.certificate-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    font-size: 18px;
}

.certificate-card.earned .certificate-icon {
    background: #faad14;
    color: white;
}

.certificate-card.in-progress .certificate-icon {
    background: #1890ff;
    color: white;
}

.certificate-details {
    flex: 1;
}

.certificate-details h5 {
    margin: 0 0 5px 0;
    font-size: 14px;
    color: #333;
}

.certificate-details p {
    margin: 0 0 5px 0;
    font-size: 13px;
    color: #666;
}

.issue-date, .progress-text {
    font-size: 12px;
    color: #999;
}

.certificate-actions {
    display: flex;
    gap: 8px;
}

/* 响应式调整 */
@media (max-width: 600px) {
    .course-stats {
        flex-direction: column;
        gap: 8px;
    }
    
    .course-meta {
        flex-direction: column;
        gap: 8px;
    }
    
    .chapter-item {
        padding: 12px;
    }
    
    .control-buttons {
        justify-content: center;
    }
    
    .certificate-card {
        flex-direction: column;
        text-align: center;
    }
    
    .certificate-actions {
        justify-content: center;
        margin-top: 10px;
    }
}

/* ====================
在style.css中添加以下样式
==================== */

/* 政策详情样式 */
.policy-detail {
    font-size: 14px;
    line-height: 1.6;
}

.policy-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 15px 0;
    align-items: center;
}

.policy-category {
    background: #e6f7ff;
    color: #1890ff;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 12px;
}

.policy-deadline {
    color: #666;
    font-size: 13px;
}

.policy-section {
    margin: 15px 0;
    padding-left: 15px;
    border-left: 3px solid #1890ff;
}

.policy-section h4 {
    margin-bottom: 8px;
    color: #333;
}

.policy-section ul, .policy-section ol {
    padding-left: 20px;
    margin-bottom: 10px;
}

.policy-section li {
    margin-bottom: 5px;
}

/* 课程详情样式 */
.course-detail {
    font-size: 14px;
    line-height: 1.6;
}

.course-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin: 15px 0;
    color: #666;
}

.course-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.course-level {
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
}

.course-level.初级 {
    background: #f0f9f4;
    color: #2c8b4a;
}

.course-level.中级 {
    background: #e6f7ff;
    color: #1890ff;
}

.course-level.高级 {
    background: #f9f0ff;
    color: #722ed1;
}

.course-content h4 {
    margin: 15px 0 8px;
    color: #333;
}

/* 土地详情样式 */
.land-detail {
    font-size: 14px;
    line-height: 1.6;
}

.land-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin: 15px 0;
    align-items: center;
}

.land-meta span {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #666;
}

.info-row {
    margin: 10px 0;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 8px;
}

.analysis-section {
    margin: 15px 0;
    padding: 15px;
    background: #f8f9fa;
    border-radius: 8px;
}

.analysis-section h4 {
    margin-bottom: 10px;
    color: #333;
}

.analysis-section ul {
    padding-left: 20px;
}

.analysis-section li {
    margin-bottom: 5px;
}

/* 设计助手样式 */
.design-assistant, .data-analysis {
    font-size: 14px;
}

.design-assistant h3, .data-analysis h3 {
    margin-bottom: 10px;
    color: #333;
}

.design-assistant p, .data-analysis p {
    color: #666;
    margin-bottom: 15px;
}
/* AI设计工具样式 */
.design-form {
    max-width: 100%;
}

.design-options, .style-options, .color-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 10px;
    margin-top: 10px;
}

.design-option, .style-option {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 15px 10px;
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s;
    text-align: center;
}

.design-option:hover, .style-option:hover {
    background: #e6f7ff;
    border-color: #1890ff;
}

.design-option.selected, .style-option.selected {
    background: #e6f7ff;
    border-color: #1890ff;
    color: #1890ff;
}

.design-option i, .style-option i {
    font-size: 24px;
    margin-bottom: 8px;
    color: #1890ff;
}

.design-option span, .style-option span {
    font-size: 13px;
    font-weight: 500;
}

.color-option {
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px;
    background: #f8f9fa;
    border: 2px solid #e9ecef;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s;
}

.color-option:hover {
    border-color: #1890ff;
}

.color-option.selected {
    border-color: #1890ff;
    box-shadow: 0 0 0 2px rgba(24, 144, 255, 0.2);
}

/* 设计预览样式 */
.design-preview {
    margin-top: 30px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 12px;
    border: 1px solid #e9ecef;
}

.design-preview h4 {
    margin-bottom: 15px;
    color: #333;
    text-align: center;
}

.preview-container {
    text-align: center;
}

.preview-container img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    margin-bottom: 15px;
}

.preview-actions {
    display: flex;
    gap: 10px;
    justify-content: center;
    flex-wrap: wrap;
}

/* 设计作品集样式 */
.design-gallery {
    margin-bottom: 20px;
}

.gallery-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 25px;
}

.stat-card {
    text-align: center;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 12px;
    border: 1px solid #e9ecef;
}

.stat-card i {
    font-size: 24px;
    color: #1890ff;
    margin-bottom: 10px;
}

.stat-number {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
}

.stat-label {
    font-size: 13px;
    color: #fff;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 15px;
}

.gallery-item {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08);
    cursor: pointer;
    transition: all 0.3s;
    border: 1px solid #e9ecef;
}

.gallery-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.12);
}

.design-thumbnail {
    position: relative;
    padding-top: 75%;
    overflow: hidden;
}

.design-thumbnail img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.design-status {
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
}

.design-status.completed {
    background: #f0f9f4;
    color: #52c41a;
}

.design-status.generating {
    background: #e6f7ff;
    color: #1890ff;
}

.design-info {
    padding: 12px;
}

.design-info h5 {
    font-size: 14px;
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
}

.design-info p {
    font-size: 12px;
    color: #666;
    margin-bottom: 5px;
}

.design-info span {
    font-size: 11px;
    color: #999;
}

/* 选中状态样式增强 */
.design-option.selected i, .style-option.selected i {
    color: #1890ff;
}

.design-option.selected span, .style-option.selected span {
    color: #1890ff;
}

/* 上传区域增强 */
.upload-area {
    border: 2px dashed #ddd;
    border-radius: 8px;
    padding: 30px;
    text-align: center;
    cursor: pointer;
    background: #f9f9f9;
    transition: all 0.3s;
}

.upload-area:hover {
    border-color: #1890ff;
    background: #e6f7ff;
}

.upload-area i {
    font-size: 32px;
    color: #999;
    margin-bottom: 10px;
}

.upload-area:hover i {
    color: #1890ff;
}

/* 设计选项响应式调整 */
@media (max-width: 600px) {
    .design-options, .style-options, .color-options {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .gallery-stats {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .preview-actions {
        flex-direction: column;
    }
    
    .preview-actions .btn {
        width: 100%;
    }
}
/* 角色专属样式增强 */
.enterprise-role .policy-card {
    border-left-color: #1890ff;
}

.enterprise-role .course-item {
    border: 1px solid #e6f7ff;
}

.enterprise-role .course-item:hover {
    border-color: #1890ff;
    box-shadow: 0 5px 15px rgba(24, 144, 255, 0.1);
}

.government-role .land-item {
    border: 1px solid #f9f0ff;
}

.government-role .land-item:hover {
    border-color: #722ed1;
    box-shadow: 0 5px 15px rgba(114, 46, 209, 0.1);
}

/* 企业角色政策项样式 */
.policy-item {
    border-left-color: #1890ff;
}

.policy-item .notice-tag {
    background: #e6f7ff;
    color: #1890ff;
}

/* 政府角色土地项样式 */
.land-item {
    border-left-color: #722ed1;
}

.land-item .notice-tag {
    background: #f9f0ff;
    color: #722ed1;
}

/* 角色专属模态框 */
.villager-modal .modal-header {
    background: linear-gradient(135deg, #2c8b4a 0%, #4caf7a 100%);
}

.enterprise-modal .modal-header {
    background: linear-gradient(135deg, #1890ff 0%, #40a9ff 100%);
}

.government-modal .modal-header {
    background: linear-gradient(135deg, #722ed1 0%, #9254de 100%);
}
/* 补充样式 - 添加到style.css末尾 */

/* 数据表格样式增强 */
.data-table-container {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
    margin-bottom: 20px;
}

.data-table-container table {
    width: 100%;
    border-collapse: collapse;
    font-size: 12px;
}

.data-table-container th {
    padding: 10px;
    text-align: left;
    font-weight: 600;
    background: #f5f7fa;
    color: #333;
    border-bottom: 1px solid #e0e0e0;
}

.data-table-container td {
    padding: 10px;
    border-bottom: 1px solid #f0f0f0;
}

.data-table-container tr:last-child td {
    border-bottom: none;
}

.data-table-container tr:hover td {
    background: #f9f9f9;
}

/* 设计图库样式 */
.design-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    margin-bottom: 20px;
}

.design-item {
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 3px 8px rgba(0, 0, 0, 0.1);
    cursor: pointer;
    transition: all 0.3s;
}

.design-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15);
}

.design-item img {
    width: 100%;
    height: 100px;
    object-fit: cover;
}

.design-info {
    padding: 8px;
    background: white;
}

.design-title {
    font-size: 11px;
    font-weight: 500;
    margin-bottom: 3px;
    color: #333;
}

.design-desc {
    font-size: 10px;
    color: #666;
}

/* 价格趋势样式 */
.price-trend {
    background: white;
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 20px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.trend-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.trend-title {
    font-weight: 500;
    color: #333;
}

.trend-period {
    font-size: 12px;
    color: #666;
    background: #f5f7fa;
    padding: 3px 10px;
    border-radius: 12px;
}

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

.trend-stat {
    text-align: center;
    padding: 10px;
    background: #f8f9fa;
    border-radius: 8px;
}

.trend-stat .stat-value {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 5px;
}

.trend-stat .stat-label {
    font-size: 11px;
    color: #666;
}

/* 预测分析样式 */
.ai-prediction {
    background: white;
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 20px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.prediction-item {
    display: flex;
    align-items: center;
    padding: 15px;
    border-bottom: 1px solid #f0f0f0;
}

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

.prediction-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    flex-shrink: 0;
}

.prediction-content {
    flex: 1;
}

.prediction-title {
    font-weight: 500;
    margin-bottom: 5px;
    font-size: 14px;
}

.prediction-desc {
    font-size: 12px;
    color: #666;
}

.prediction-value {
    font-weight: 600;
    font-size: 16px;
}

/* 地图容器样式 */
.map-container {
    background: white;
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 20px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.map-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.map-title {
    font-weight: 500;
    color: #333;
}

.map-legend {
    display: flex;
    gap: 10px;
    font-size: 11px;
}

.legend-item {
    display: flex;
    align-items: center;
}

.legend-item i {
    margin-right: 3px;
    font-size: 10px;
}

.map-controls {
    display: flex;
    justify-content: center;
    margin-top: 15px;
}

/* 推荐项样式 */
.recommendation-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 8px;
}

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

.recommendation-icon {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    flex-shrink: 0;
    color: white;
}

.recommendation-content {
    flex: 1;
}

.recommendation-title {
    font-weight: 500;
    margin-bottom: 5px;
    color: white;
    font-size: 14px;
}

.recommendation-desc {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.4;
}

/* 数据看板样式 */
.filter-bar {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    flex-wrap: wrap;
    gap: 10px;
}

.kpi-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 15px;
    margin-bottom: 20px;
}

.kpi-card {
    background: white;
    border-radius: 10px;
    padding: 15px;
    text-align: center;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.kpi-title {
    font-size: 12px;
    color: #666;
    margin-bottom: 8px;
}

.kpi-value {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    margin-bottom: 5px;
}

.kpi-change {
    font-size: 12px;
    font-weight: 500;
    margin-bottom: 5px;
}

.kpi-label {
    font-size: 10px;
    color: #999;
}

.dashboard-card {
    background: white;
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 20px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.card-header h4 {
    font-size: 14px;
    font-weight: 600;
    color: #333;
}

.card-actions {
    display: flex;
    gap: 5px;
}

.chart-container {
    margin: 15px 0;
}

.chart-legend {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-top: 10px;
}

.legend-item {
    font-size: 11px;
    color: #666;
}

/* 甘特图样式 */
.gantt-chart {
    background: white;
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 20px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.05);
}

.gantt-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    font-size: 12px;
    color: #666;
    font-weight: 500;
}

.gantt-body {
    margin-bottom: 20px;
}

.gantt-item {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.gantt-project {
    width: 120px;
    font-size: 12px;
    color: #333;
    flex-shrink: 0;
}

.gantt-bar {
    height: 25px;
    border-radius: 12px;
    position: relative;
    min-width: 30px;
}

.gantt-label {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 10px;
    color: white;
    font-weight: 500;
}

.gantt-timeline {
    display: flex;
    justify-content: space-between;
    font-size: 10px;
    color: #999;
    padding-top: 10px;
    border-top: 1px solid #f0f0f0;
}

/* 分析项样式 */
.analysis-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
    padding: 10px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 8px;
}

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

.analysis-icon {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    flex-shrink: 0;
    color: white;
}

.analysis-content {
    flex: 1;
}

.analysis-title {
    font-weight: 500;
    margin-bottom: 5px;
    color: white;
    font-size: 14px;
}

.analysis-desc {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.4;
}

/* 响应式调整 */
@media (max-width: 400px) {
    .design-gallery {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .kpi-grid {
        grid-template-columns: 1fr;
    }
    
    .trend-stats {
        grid-template-columns: 1fr;
    }
    
    .filter-bar {
        flex-direction: column;
        align-items: stretch;
    }
    
    .filter-bar .form-select {
        width: 100%;
        margin-right: 0;
        margin-bottom: 10px;
    }
}

/* 响应式调整 */
@media (max-width: 480px) {
    .policy-meta, .course-meta, .land-meta {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .analysis-section {
        padding: 10px;
    }
}

/* 房屋详情样式 */
.house-info {
    padding: 0;
}

.info-section {
    margin-bottom: 25px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f0f0f0;
}

.info-section:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.info-section h4 {
    color: #2c8b4a;
    margin-bottom: 15px;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.info-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.info-item {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.info-item label {
    color: #666;
    font-size: 13px;
    font-weight: 500;
}

.info-item span {
    color: #333;
    font-size: 14px;
}

.status-badge {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
}

.status-badge.valid {
    background-color: #f6ffed;
    color: #52c41a;
    border: 1px solid #b7eb8f;
}

.valuation-card {
    background: linear-gradient(135deg, #2c8b4a 0%, #4caf7a 100%);
    color: white;
    padding: 20px;
    border-radius: 12px;
    text-align: center;
}

.valuation-amount {
    margin-bottom: 10px;
}

.amount-label {
    display: block;
    font-size: 14px;
    opacity: 0.9;
    margin-bottom: 5px;
}

.amount-value {
    font-size: 28px;
    font-weight: bold;
}

.valuation-trend {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-size: 14px;
}

.trend-up {
    color: #95de64;
    font-weight: 500;
}

.trend-text {
    opacity: 0.9;
}

/* 收益明细样式 */
.income-summary {
    margin-bottom: 25px;
}

.summary-card {
    background: #f8f9fa;
    border-radius: 12px;
    padding: 20px;
    border: 1px solid #e9ecef;
}

.summary-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.summary-item:last-child {
    margin-bottom: 0;
    padding-top: 12px;
    border-top: 2px solid #dee2e6;
}

.summary-item.total .label {
    font-weight: bold;
    font-size: 16px;
}

.amount {
    font-weight: 600;
    font-size: 16px;
}

.amount.positive {
    color: #52c41a;
}

.amount.negative {
    color: #ff4d4f;
}

.income-details, .expense-details {
    margin-bottom: 20px;
}

.income-details h4, .expense-details h4 {
    color: #2c8b4a;
    margin-bottom: 15px;
    font-size: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.income-list, .expense-list {
    background: #fff;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    overflow: hidden;
}

.income-item, .expense-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    border-bottom: 1px solid #f0f0f0;
}

.income-item:last-child, .expense-item:last-child {
    border-bottom: none;
}

.income-info, .expense-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.income-name, .expense-name {
    font-size: 14px;
    color: #333;
    font-weight: 500;
}

.income-date, .expense-date {
    font-size: 12px;
    color: #666;
}

.income-amount.positive {
    color: #52c41a;
    font-weight: 600;
}

.expense-amount.negative {
    color: #ff4d4f;
    font-weight: 600;
}

/* 合同详情样式 */
.contract-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.contract-item {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 20px;
}

.contract-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.contract-header h4 {
    color: #333;
    font-size: 16px;
    margin: 0;
}

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

.contract-status.valid {
    background-color: #f6ffed;
    color: #52c41a;
    border: 1px solid #b7eb8f;
}

.contract-info {
    margin-bottom: 15px;
}

.info-row {
    display: flex;
    margin-bottom: 8px;
    align-items: flex-start;
}

.info-row:last-child {
    margin-bottom: 0;
}

.info-row .label {
    min-width: 80px;
    color: #666;
    font-size: 14px;
}

.info-row span:not(.label) {
    color: #333;
    font-size: 14px;
    flex: 1;
}

.contract-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

.btn-sm {
    padding: 6px 12px;
    font-size: 13px;
}

.btn-outline {
    background-color: transparent;
    border: 1px solid #2c8b4a;
    color: #2c8b4a;
}

.btn-outline:hover {
    background-color: #f6ffed;
}

/* 上报功能样式 */
.form-group {
    margin-bottom: 20px;
}

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

.required {
    color: #ff4d4f;
}

.form-control {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #d9d9d9;
    border-radius: 6px;
    font-size: 14px;
    transition: border-color 0.3s;
}

.form-control:focus {
    outline: none;
    border-color: #2c8b4a;
    box-shadow: 0 0 0 2px rgba(44, 139, 74, 0.1);
}

.form-select {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #d9d9d9;
    border-radius: 6px;
    font-size: 14px;
    background-color: #fff;
    cursor: pointer;
    transition: border-color 0.3s;
}

.form-select:focus {
    outline: none;
    border-color: #2c8b4a;
    box-shadow: 0 0 0 2px rgba(44, 139, 74, 0.1);
}

textarea.form-control {
    resize: vertical;
    min-height: 80px;
}

.radio-group {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.radio-item {
    display: flex;
    align-items: center;
    gap: 6px;
    cursor: pointer;
    font-size: 14px;
    color: #333;
}

.radio-item input[type="radio"] {
    margin: 0;
    cursor: pointer;
}

.checkbox-group {
    margin-top: 8px;
}

.checkbox-item {
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-size: 14px;
    color: #333;
}

.checkbox-item input[type="checkbox"] {
    margin: 0;
    cursor: pointer;
}

.upload-area {
    border: 2px dashed #d9d9d9;
    border-radius: 8px;
    padding: 20px;
    text-align: center;
    background-color: #fafafa;
    transition: border-color 0.3s;
}

.upload-area:hover {
    border-color: #2c8b4a;
}

.upload-btn {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    color: #666;
    transition: color 0.3s;
}

.upload-btn:hover {
    color: #2c8b4a;
}

.upload-btn i {
    font-size: 24px;
}

.upload-btn span {
    font-size: 14px;
}

.upload-tips {
    margin-top: 10px;
    font-size: 12px;
    color: #999;
}

/* 响应式调整 */
@media (max-width: 480px) {
    .info-grid {
        grid-template-columns: 1fr;
    }
    
    .summary-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
    
    .income-item, .expense-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 8px;
    }
    
    .contract-actions {
        flex-direction: column;
    }
    
    .contract-actions .btn {
        width: 100%;
    }
    
    .info-row {
        flex-direction: column;
        gap: 4px;
    }
    
    .info-row .label {
        min-width: auto;
    }
    
    .radio-group {
        flex-direction: column;
        gap: 10px;
    }
    
    .modal-footer {
        flex-direction: column;
    }
    
    .modal-footer .btn {
        width: 100%;
    }
}

/* 农业功能样式 */
.identify-section {
    padding: 0;
}

.identify-result {
    margin: 25px 0;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 12px;
    border: 1px solid #e9ecef;
}

.identify-result h4 {
    color: #2c8b4a;
    margin-bottom: 15px;
    font-size: 16px;
}

.result-card {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    border: 1px solid #e9ecef;
}

.result-header {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.result-image img {
    width: 80px;
    height: 80px;
    object-fit: cover;
    border-radius: 8px;
}

.result-info h5 {
    margin: 0 0 10px 0;
    color: #333;
    font-size: 18px;
}

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

.confidence span {
    font-size: 14px;
    color: #666;
    min-width: 80px;
}

.confidence-bar {
    flex: 1;
    height: 8px;
    background: #f0f0f0;
    border-radius: 4px;
    overflow: hidden;
}

.confidence-fill {
    height: 100%;
    background: linear-gradient(90deg, #52c41a 0%, #73d13d 100%);
    transition: width 0.3s ease;
}

.result-details {
    border-top: 1px solid #f0f0f0;
    padding-top: 15px;
}

.detail-item {
    display: flex;
    margin-bottom: 8px;
    align-items: flex-start;
}

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

.detail-item label {
    min-width: 80px;
    color: #666;
    font-size: 14px;
}

.detail-item span {
    color: #333;
    font-size: 14px;
    flex: 1;
}

.identify-history {
    margin-top: 25px;
}

.identify-history h4 {
    color: #2c8b4a;
    margin-bottom: 15px;
    font-size: 16px;
}

.history-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.history-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 10px;
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
}

.history-item:hover {
    border-color: #2c8b4a;
    box-shadow: 0 2px 8px rgba(44, 139, 74, 0.1);
}

.history-item img {
    width: 40px;
    height: 40px;
    object-fit: cover;
    border-radius: 6px;
}

.history-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.history-name {
    font-size: 14px;
    color: #333;
    font-weight: 500;
}

.history-date {
    font-size: 12px;
    color: #666;
}

/* 农事提醒样式 */
.reminder-calendar {
    padding: 0;
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 1px solid #f0f0f0;
}

.calendar-header h4 {
    margin: 0;
    color: #333;
    font-size: 18px;
}

.weather-info {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #666;
    font-size: 14px;
}

.reminder-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 20px;
}

.reminder-item {
    display: flex;
    gap: 15px;
    padding: 15px;
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    align-items: flex-start;
    transition: all 0.3s;
}

.reminder-item:hover {
    border-color: #2c8b4a;
    box-shadow: 0 2px 8px rgba(44, 139, 74, 0.1);
}

.reminder-item.urgent {
    border-left: 4px solid #ff4d4f;
}

.reminder-item.completed {
    opacity: 0.6;
    background: #f8f9fa;
}

.reminder-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    min-width: 60px;
    padding: 8px;
    background: #f8f9fa;
    border-radius: 8px;
    border: 1px solid #e9ecef;
}

.reminder-date .day {
    font-size: 20px;
    font-weight: bold;
    color: #2c8b4a;
}

.reminder-date .month {
    font-size: 12px;
    color: #666;
}

.reminder-content {
    flex: 1;
}

.reminder-content h5 {
    margin: 0 0 8px 0;
    color: #333;
    font-size: 16px;
}

.reminder-content p {
    margin: 0 0 10px 0;
    color: #666;
    font-size: 14px;
    line-height: 1.4;
}

.reminder-tags {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.tag {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
    background: #f0f0f0;
    color: #666;
}

.tag.urgent {
    background: #fff2f0;
    color: #ff4d4f;
    border: 1px solid #ffccc7;
}

.reminder-actions {
    display: flex;
    align-items: center;
}

.add-reminder {
    text-align: center;
    padding-top: 15px;
    border-top: 1px solid #f0f0f0;
}

.add-reminder .btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

/* 响应式调整 */
@media (max-width: 480px) {
    .result-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .reminder-item {
        flex-direction: column;
        gap: 10px;
    }
    
    .reminder-date {
        align-self: flex-start;
    }
    
    .calendar-header {
        flex-direction: column;
        gap: 10px;
        align-items: flex-start;
    }
}

/* 健康功能样式 */
.medicine-search {
    padding: 0;
}

.search-section {
    margin-bottom: 25px;
}

.medicine-search .search-bar {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.medicine-search .search-bar .form-control {
    flex: 1;
}

.quick-symptoms h4 {
    color: #2c8b4a;
    margin-bottom: 12px;
    font-size: 16px;
}

.symptom-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.symptom-tag {
    display: inline-block;
    padding: 6px 12px;
    background: #f0f8ff;
    color: #2c8b4a;
    border: 1px solid #b7eb8f;
    border-radius: 16px;
    font-size: 13px;
    cursor: pointer;
    transition: all 0.3s;
}

.symptom-tag:hover {
    background: #2c8b4a;
    color: white;
}

.medicine-results, .pharmacy-nearby {
    margin-bottom: 25px;
}

.medicine-results h4, .pharmacy-nearby h4 {
    color: #2c8b4a;
    margin-bottom: 15px;
    font-size: 16px;
}

.medicine-list, .pharmacy-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.medicine-item, .pharmacy-item {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 15px;
    transition: all 0.3s;
}

.medicine-item:hover, .pharmacy-item:hover {
    border-color: #2c8b4a;
    box-shadow: 0 2px 8px rgba(44, 139, 74, 0.1);
}

.medicine-info, .pharmacy-info {
    margin-bottom: 12px;
}

.medicine-info h5, .pharmacy-info h5 {
    margin: 0 0 8px 0;
    color: #333;
    font-size: 16px;
}

.medicine-desc, .pharmacy-address {
    color: #666;
    font-size: 14px;
    margin-bottom: 6px;
}

.medicine-spec, .medicine-price, .pharmacy-distance, .pharmacy-phone {
    color: #666;
    font-size: 13px;
    margin-bottom: 4px;
}

.medicine-price {
    color: #ff4d4f;
    font-weight: 600;
}

.medicine-actions, .pharmacy-actions, .hospital-actions {
    display: flex;
    gap: 8px;
    justify-content: flex-end;
}

/* 医疗资源样式 */
.resource-tabs {
    display: flex;
    gap: 0;
    margin-bottom: 20px;
    border-bottom: 1px solid #e9ecef;
}

.tab {
    padding: 12px 20px;
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    color: #666;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
}

.tab.active {
    color: #2c8b4a;
    border-bottom-color: #2c8b4a;
}

.tab:hover {
    color: #2c8b4a;
}

.hospital-list, .doctor-list, .facility-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.hospital-item, .doctor-item, .facility-item {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 15px;
    transition: all 0.3s;
}

.hospital-item:hover, .doctor-item:hover, .facility-item:hover {
    border-color: #2c8b4a;
    box-shadow: 0 2px 8px rgba(44, 139, 74, 0.1);
}

.hospital-info h5, .doctor-info h5, .facility-info h5 {
    margin: 0 0 8px 0;
    color: #333;
    font-size: 16px;
}

.hospital-level, .doctor-title {
    color: #2c8b4a;
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 6px;
}

.hospital-address, .hospital-departments, .doctor-hospital, .doctor-specialty, .facility-location, .facility-desc {
    color: #666;
    font-size: 14px;
    margin-bottom: 4px;
}

.doctor-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    margin-right: 15px;
}

.doctor-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.doctor-status {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
}

.doctor-status.online {
    background: #f6ffed;
    color: #52c41a;
    border: 1px solid #b7eb8f;
}

.doctor-item {
    display: flex;
    align-items: flex-start;
}

.doctor-info {
    flex: 1;
}

.facility-icon {
    width: 50px;
    height: 50px;
    background: #f0f8ff;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2c8b4a;
    font-size: 20px;
    margin-right: 15px;
}

.facility-item {
    display: flex;
    align-items: flex-start;
}

/* 急救指南样式 */
.firstaid-guide {
    padding: 0;
}

.emergency-contacts {
    margin-bottom: 25px;
    padding: 20px;
    background: #fff2f0;
    border: 1px solid #ffccc7;
    border-radius: 12px;
}

.emergency-contacts h4 {
    color: #ff4d4f;
    margin-bottom: 15px;
    font-size: 16px;
}

.contact-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.contact-item {
    display: flex;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: white;
    border: 1px solid #e9ecef;
    border-radius: 8px;
}

.contact-item.emergency {
    border-color: #ff4d4f;
    background: #fff;
}

.contact-number {
    font-size: 24px;
    font-weight: bold;
    color: #2c8b4a;
    min-width: 80px;
    text-align: center;
}

.contact-item.emergency .contact-number {
    color: #ff4d4f;
    font-size: 28px;
}

.contact-desc {
    flex: 1;
    color: #666;
    font-size: 14px;
}

.firstaid-categories h4 {
    color: #2c8b4a;
    margin-bottom: 15px;
    font-size: 16px;
}

.category-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

.category-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 15px;
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s;
}

.category-item:hover {
    border-color: #2c8b4a;
    box-shadow: 0 2px 8px rgba(44, 139, 74, 0.1);
}

.category-icon {
    width: 50px;
    height: 50px;
    background: #f0f8ff;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2c8b4a;
    font-size: 20px;
}

.category-info h5 {
    margin: 0 0 4px 0;
    color: #333;
    font-size: 15px;
}

.category-info p {
    margin: 0;
    color: #666;
    font-size: 13px;
}

.firstaid-steps {
    margin-top: 20px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 12px;
    border: 1px solid #e9ecef;
}

.firstaid-steps h4 {
    color: #2c8b4a;
    margin-bottom: 15px;
    font-size: 16px;
}

.step-item {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

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

.step-number {
    width: 30px;
    height: 30px;
    background: #2c8b4a;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
}

.step-content {
    flex: 1;
}

.step-content h5 {
    margin: 0 0 6px 0;
    color: #333;
    font-size: 15px;
}

.step-content p {
    margin: 0;
    color: #666;
    font-size: 14px;
    line-height: 1.4;
}

.btn-danger {
    background-color: #ff4d4f;
    border-color: #ff4d4f;
    color: white;
}

.btn-danger:hover {
    background-color: #ff7875;
    border-color: #ff7875;
}

/* 响应式调整 */
@media (max-width: 480px) {
    .search-bar {
        flex-direction: column;
    }
    
    .search-bar .btn {
        width: 100%;
    }
    
    .resource-tabs {
        flex-direction: column;
    }
    
    .tab {
        border-bottom: 1px solid #e9ecef;
        border-right: none;
    }
    
    .tab.active {
        border-bottom-color: #2c8b4a;
    }
    
    .category-list {
        grid-template-columns: 1fr;
    }
    
    .contact-item {
        flex-direction: column;
        text-align: center;
        gap: 10px;
    }
    
    .medicine-actions, .pharmacy-actions, .hospital-actions {
        flex-direction: column;
    }
    
    .medicine-actions .btn, .pharmacy-actions .btn, .hospital-actions .btn {
        width: 100%;
    }
}

/* 营销功能样式 */
.video-script-form, .copywriter-form, .price-form {
    padding: 0;
    margin-bottom: 25px;
}

.style-options, .channel-options {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 10px;
}

.style-option, .channel-option {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    border: 1px solid #e9ecef;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 14px;
}

.style-option:hover, .channel-option:hover {
    border-color: #2c8b4a;
    background: #f6ffed;
}

.style-option input, .channel-option input {
    margin: 0;
    cursor: pointer;
}

.form-range {
    width: 100%;
    margin: 10px 0;
}

.profit-display {
    text-align: center;
    font-size: 14px;
    color: #666;
    margin-top: 5px;
}

.profit-display span {
    color: #2c8b4a;
    font-weight: bold;
}

.cost-inputs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 10px;
}

/* 脚本结果样式 */
.script-result, .copywriter-result, .price-result {
    padding: 20px;
    background: #f8f9fa;
    border-radius: 12px;
    border: 1px solid #e9ecef;
}

.script-result h4, .copywriter-result h4, .price-result h4 {
    color: #2c8b4a;
    margin-bottom: 20px;
    font-size: 16px;
}

.script-content {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    border: 1px solid #e9ecef;
}

.script-section {
    margin-bottom: 20px;
    padding-bottom: 20px;
    border-bottom: 1px solid #f0f0f0;
}

.script-section:last-child {
    margin-bottom: 0;
    padding-bottom: 0;
    border-bottom: none;
}

.script-section h5 {
    color: #2c8b4a;
    margin-bottom: 10px;
    font-size: 15px;
}

.script-text {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.script-text p {
    margin: 0;
    padding: 8px 12px;
    border-radius: 6px;
    font-size: 14px;
    line-height: 1.4;
}

.scene {
    background: #e6f7ff;
    border-left: 3px solid #1890ff;
}

.narration {
    background: #f6ffed;
    border-left: 3px solid #52c41a;
}

.music {
    background: #fff7e6;
    border-left: 3px solid #faad14;
}

.script-actions, .copywriter-actions, .price-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    margin-top: 20px;
}

/* 文案结果样式 */
.copywriter-content {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    border: 1px solid #e9ecef;
}

.copywriter-text {
    line-height: 1.6;
}

.copywriter-text h5 {
    color: #2c8b4a;
    margin-bottom: 15px;
    font-size: 18px;
    text-align: center;
}

.copywriter-text p {
    margin-bottom: 15px;
    color: #333;
    font-size: 15px;
    text-indent: 2em;
}

.copywriter-tags {
    margin-top: 20px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.copywriter-tags .tag {
    background: #f0f8ff;
    color: #2c8b4a;
    padding: 4px 12px;
    border-radius: 16px;
    font-size: 13px;
}

/* 定价分析样式 */
.price-analysis {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.analysis-section {
    background: #fff;
    border-radius: 8px;
    padding: 20px;
    border: 1px solid #e9ecef;
}

.analysis-section h5 {
    color: #2c8b4a;
    margin-bottom: 15px;
    font-size: 15px;
}

.cost-breakdown {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.cost-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 8px 12px;
    background: #f8f9fa;
    border-radius: 6px;
    font-size: 14px;
}

.cost-item.total {
    background: #2c8b4a;
    color: white;
    font-weight: bold;
}

.price-recommendations {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 15px;
}

.price-card {
    text-align: center;
    padding: 20px;
    border-radius: 8px;
    border: 1px solid #e9ecef;
    transition: all 0.3s;
}

.price-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.price-card h6 {
    margin: 0 0 10px 0;
    color: #333;
    font-size: 14px;
}

.price-card .price {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 8px;
}

.price-card .margin {
    font-size: 13px;
    color: #666;
    margin-bottom: 10px;
}

.price-card .desc {
    font-size: 12px;
    color: #999;
    line-height: 1.3;
}

.price-card.premium {
    border-color: #d4af37;
    background: linear-gradient(135deg, #fff9e6 0%, #fff 100%);
}

.price-card.premium .price {
    color: #d4af37;
}

.price-card.recommended {
    border-color: #2c8b4a;
    background: linear-gradient(135deg, #f6ffed 0%, #fff 100%);
}

.price-card.recommended .price {
    color: #2c8b4a;
}

.price-card.standard {
    border-color: #1890ff;
    background: linear-gradient(135deg, #e6f7ff 0%, #fff 100%);
}

.price-card.standard .price {
    color: #1890ff;
}

.suggestion-text {
    line-height: 1.6;
}

.suggestion-text p {
    margin-bottom: 15px;
    color: #333;
    font-size: 14px;
}

.suggestion-text ul {
    margin: 0;
    padding-left: 20px;
}

.suggestion-text li {
    margin-bottom: 8px;
    color: #666;
    font-size: 14px;
}

/* 响应式调整 */
@media (max-width: 480px) {
    .style-options, .channel-options, .cost-inputs {
        grid-template-columns: 1fr;
    }
    
    .price-recommendations {
        grid-template-columns: 1fr;
    }
    
    .script-actions, .copywriter-actions, .price-actions {
        flex-direction: column;
    }
    
    .script-actions .btn, .copywriter-actions .btn, .price-actions .btn {
        width: 100%;
    }
}

/* 设置功能样式 */
.personal-info {
    padding: 0;
}

.avatar-section {
    text-align: center;
    margin-bottom: 30px;
}

.avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    margin: 0 auto 15px;
    border: 3px solid #e9ecef;
}

.avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.info-form {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* 土地功能样式 */
.land-summary {
    margin-bottom: 25px;
}

.land-summary .summary-card {
    background: linear-gradient(135deg, #2c8b4a 0%, #4caf7a 100%);
    color: white;
    padding: 20px;
    border-radius: 12px;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.land-summary .summary-item {
    text-align: center;
}

.land-summary .label {
    display: block;
    font-size: 14px;
    opacity: 0.9;
    margin-bottom: 5px;
}

.land-summary .value {
    font-size: 24px;
    font-weight: bold;
}

.land-list h4 {
    color: #2c8b4a;
    margin-bottom: 15px;
    font-size: 16px;
}

.land-item {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 15px;
    transition: all 0.3s;
}

.land-item:hover {
    border-color: #2c8b4a;
    box-shadow: 0 2px 8px rgba(44, 139, 74, 0.1);
}

.land-info h5 {
    color: #333;
    margin-bottom: 12px;
    font-size: 16px;
}

.land-details {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.detail-row {
    display: flex;
    font-size: 14px;
}

.detail-row span:first-child {
    color: #666;
    min-width: 80px;
}

.detail-row span:last-child {
    color: #333;
    flex: 1;
}

.land-actions {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    margin-top: 15px;
}

/* 补贴功能样式 */
.subsidy-tabs {
    display: flex;
    gap: 0;
    margin-bottom: 20px;
    border-bottom: 1px solid #e9ecef;
}

.subsidy-tabs .tab {
    padding: 12px 20px;
    background: none;
    border: none;
    border-bottom: 2px solid transparent;
    color: #666;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
    flex: 1;
    text-align: center;
}

.subsidy-tabs .tab.active {
    color: #2c8b4a;
    border-bottom-color: #2c8b4a;
}

.subsidy-tabs .tab:hover {
    color: #2c8b4a;
}

.subsidy-list, .application-list, .received-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.subsidy-item, .application-item, .received-item {
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 12px;
    padding: 20px;
    transition: all 0.3s;
}

.subsidy-item:hover, .application-item:hover {
    border-color: #2c8b4a;
    box-shadow: 0 2px 8px rgba(44, 139, 74, 0.1);
}

.subsidy-info h5, .application-info h5, .received-info h5 {
    color: #333;
    margin-bottom: 8px;
    font-size: 16px;
}

.subsidy-desc, .application-date, .received-date {
    color: #666;
    font-size: 14px;
    margin-bottom: 6px;
}

.subsidy-amount {
    color: #ff4d4f;
    font-weight: 600;
    font-size: 14px;
    margin-bottom: 6px;
}

.subsidy-deadline {
    color: #999;
    font-size: 13px;
}

.application-status {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
}

.application-status.processing {
    background: #fff7e6;
    color: #faad14;
}

.subsidy-actions, .application-actions {
    display: flex;
    justify-content: flex-end;
    margin-top: 15px;
}

.received-amount {
    color: #52c41a;
    font-weight: bold;
    font-size: 18px;
    margin-bottom: 6px;
}

/* 安全功能样式 */
.security-items {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-bottom: 30px;
}

.security-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px;
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    transition: all 0.3s;
}

.security-item:hover {
    border-color: #2c8b4a;
    box-shadow: 0 2px 8px rgba(44, 139, 74, 0.1);
}

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

.security-icon {
    width: 40px;
    height: 40px;
    background: #f0f8ff;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #2c8b4a;
    font-size: 16px;
}

.security-details h5 {
    margin: 0 0 4px 0;
    color: #333;
    font-size: 15px;
}

.security-details p {
    margin: 0 0 4px 0;
    color: #666;
    font-size: 14px;
}

.status {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 12px;
    font-size: 12px;
    font-weight: 500;
}

.status.verified {
    background: #f6ffed;
    color: #52c41a;
}

.status.not-set {
    background: #fff2f0;
    color: #ff4d4f;
}

.btn.disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.security-tips {
    background: #f8f9fa;
    border-radius: 8px;
    padding: 20px;
    border: 1px solid #e9ecef;
}

.security-tips h4 {
    color: #2c8b4a;
    margin-bottom: 12px;
    font-size: 15px;
}

.security-tips ul {
    margin: 0;
    padding-left: 20px;
}

.security-tips li {
    margin-bottom: 6px;
    color: #666;
    font-size: 14px;
}

/* 设置页面样式 */
.settings-sections {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.settings-section h4 {
    color: #2c8b4a;
    margin-bottom: 15px;
    font-size: 15px;
    border-bottom: 1px solid #e9ecef;
    padding-bottom: 8px;
}

.setting-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid #f0f0f0;
}

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

.setting-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.setting-info span {
    color: #333;
    font-size: 14px;
}

.setting-info small {
    color: #666;
    font-size: 12px;
}

/* 开关样式 */
.switch {
    position: relative;
    display: inline-block;
    width: 50px;
    height: 24px;
}

.switch input {
    opacity: 0;
    width: 0;
    height: 0;
}

.slider {
    position: absolute;
    cursor: pointer;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: #ccc;
    transition: .4s;
    border-radius: 24px;
}

.slider:before {
    position: absolute;
    content: "";
    height: 18px;
    width: 18px;
    left: 3px;
    bottom: 3px;
    background-color: white;
    transition: .4s;
    border-radius: 50%;
}

input:checked + .slider {
    background-color: #2c8b4a;
}

input:checked + .slider:before {
    transform: translateX(26px);
}

/* 帮助中心样式 */
.help-search {
    margin-bottom: 25px;
}

.help-categories {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.help-category h4 {
    color: #2c8b4a;
    margin-bottom: 15px;
    font-size: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.help-items {
    display: flex;
    flex-direction: column;
    gap: 2px;
    background: #fff;
    border: 1px solid #e9ecef;
    border-radius: 8px;
    overflow: hidden;
}

.help-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 15px;
    color: #333;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s;
    border-bottom: 1px solid #f0f0f0;
}

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

.help-item:hover {
    background: #f6ffed;
    color: #2c8b4a;
}

.help-item i {
    color: #999;
    transition: color 0.3s;
}

.help-item:hover i {
    color: #2c8b4a;
}

/* 响应式调整 */
@media (max-width: 480px) {
    .land-summary .summary-card {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .subsidy-tabs {
        flex-direction: column;
    }
    
    .subsidy-tabs .tab {
        border-bottom: 1px solid #e9ecef;
        border-right: none;
    }
    
    .subsidy-tabs .tab.active {
        border-bottom-color: #2c8b4a;
    }
    
    .security-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }
    
    .security-item .btn {
        width: 100%;
    }
    
    .setting-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
    
    .setting-item .btn {
        width: 100%;
    }
    .role-selection{padding:0;}
}
