/* 企业网上银行页面样式 */

/* 基础样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "SimHei", "Microsoft YaHei", "PingFang SC", "Hiragino Sans GB", "黑体", sans-serif;
    background-color: #f5f5f5;
    color: #333;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 企业网银头部样式 */
.enterprise-header {
    background: white;
    border-bottom: 1px solid #e0e0e0;
    box-shadow: 0 2px 4px rgba(0,0,0,0.1);
}

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

.bank-logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.bank-logo img {
    width: 40px;
    height: 40px;
}

.bank-name {
    display: flex;
    flex-direction: column;
}

.chinese-name {
    font-size: 18px;
    font-weight: bold;
    color: #1e3a8a;
}

.english-name {
    font-size: 12px;
    color: #666;
}

.header-center {
    flex: 1;
    display: flex;
    justify-content: center;
}

.search-bar {
    display: flex;
    align-items: center;
    background: #f8f9fa;
    border: 1px solid #ddd;
    border-radius: 20px;
    padding: 8px 15px;
    width: 300px;
}

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

.search-btn {
    background: none;
    border: none;
    cursor: pointer;
    font-size: 16px;
    color: #666;
}

.header-actions {
    display: flex;
    gap: 20px;
    align-items: center;
}

.action-link {
    text-decoration: none;
    color: #333;
    font-size: 14px;
    padding: 5px 10px;
    border-radius: 4px;
    transition: background-color 0.3s;
}

.action-link:hover {
    background-color: #f0f0f0;
}

.action-link.logout {
    color: #dc2626;
    font-weight: bold;
}

.welcome-message {
    padding: 15px 20px;
    font-size: 14px;
    color: #000000;
    background-color: #ffffff;
    border-bottom: 1px solid #f0f0f0;
    text-align: right;
    display: flex;
    justify-content: flex-end;
}



/* 主要内容区域 */
.enterprise-main {
    padding: 20px 0;
}

.main-layout {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

/* 左侧面板样式 */
.left-panel {
    display: flex;
    flex-direction: column;
    gap: 20px;
}





/* 科技金融专区样式 */
.tech-finance-banner {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    border-radius: 8px;
    margin: 15px 0;
}

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

.banner-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    text-align: center;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.banner-text h2 {
    font-size: 24px;
    margin-bottom: 10px;
}

.banner-text p {
    font-size: 16px;
}

/* 常用功能 */
.common-functions {
    background: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

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

.section-header h3 {
    font-size: 16px;
    color: #333;
}

.settings-btn {
    background: none;
    border: 1px solid #ddd;
    padding: 5px 10px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    color: #666;
}

.function-grid {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 10px;
    flex-wrap: nowrap;
}

.function-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    padding: 12px 8px;
    border: 1px solid #f0f0f0;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s;
    flex: 1;
    min-width: 0;
    text-align: center;
}

.function-item:hover {
    border-color: #1e3a8a;
    background-color: #f8f9ff;
}

.function-icon {
    font-size: 20px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8f9fa;
    border-radius: 50%;
}

.function-text {
    flex: 1;
}

.function-name {
    font-size: 12px;
    font-weight: bold;
    color: #333;
    margin-bottom: 2px;
    line-height: 1.2;
    word-break: break-word;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
}

.function-category {
    font-size: 10px;
    color: #666;
    line-height: 1.1;
}

/* 待办事项 */
.todo-section {
    background: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.todo-tabs {
    display: flex;
    border-bottom: 1px solid #f0f0f0;
    margin-bottom: 15px;
}

.todo-tab {
    padding: 10px 20px;
    border: none;
    background: none;
    cursor: pointer;
    font-size: 14px;
    color: #666;
    border-bottom: 2px solid transparent;
    transition: all 0.3s;
}

.todo-tab.active {
    color: #1e3a8a;
    border-bottom-color: #1e3a8a;
}

.todo-content {
    min-height: 100px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.todo-empty {
    text-align: center;
    color: #999;
}

.empty-icon {
    font-size: 30px;
    margin-bottom: 10px;
}

/* 扫码下载 */
.scan-download {
    background: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.qr-code-section {
    display: flex;
    align-items: center;
    gap: 15px;
}

.qr-code-section .qr-code {
    width: 60px;
    height: 60px;
    background: #f8f9fa;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.download-text p:first-child {
    font-weight: bold;
    margin-bottom: 5px;
}

.download-text p:last-child {
    font-size: 12px;
    color: #666;
}

/* 右侧面板样式 */
.right-panel {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

/* 消息中心 */
.message-center {
    background: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.view-all-link {
    color: #1e3a8a;
    text-decoration: none;
    font-size: 12px;
}

.message-content p {
    color: #666;
    font-size: 14px;
    margin-top: 10px;
}

/* 账户概览 */
.account-overview {
    background: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.refresh-link {
    color: #1e3a8a;
    text-decoration: none;
    font-size: 12px;
}

.account-info {
    margin-top: 15px;
}

.company-name {
    font-size: 14px;
    color: #333;
    margin-bottom: 5px;
}

.account-number {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    margin-bottom: 15px;
}

.account-actions {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.account-action, .balance-toggle {
    padding: 8px 15px;
    border: 1px solid #ddd;
    background: white;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    transition: all 0.3s;
}

.account-action:hover, .balance-toggle:hover {
    background-color: #f0f0f0;
}

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

.balance-amount {
    font-size: 24px;
    font-weight: bold;
    color: #000000;
}

.balance-info {
    font-size: 16px;
    color: #1e3a8a;
    cursor: pointer;
}

/* 业务专区 */
.business-zone {
    background: white;
    border-radius: 8px;
    padding: 20px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.zone-tabs {
    display: flex;
    border-bottom: 1px solid #f0f0f0;
    margin-bottom: 15px;
}

.zone-tab {
    padding: 10px 15px;
    border: none;
    background: none;
    cursor: pointer;
    font-size: 14px;
    color: #666;
    border-bottom: 2px solid transparent;
    transition: all 0.3s;
}

.zone-tab.active {
    color: #1e3a8a;
    border-bottom-color: #1e3a8a;
}

.sub-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
}

.sub-tab {
    padding: 8px 15px;
    border: 1px solid #ddd;
    background: white;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    transition: all 0.3s;
}

.sub-tab.active {
    background-color: #1e3a8a;
    color: white;
    border-color: #1e3a8a;
}

.tech-finance-banner {
    background: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    border-radius: 8px;
    padding: 20px;
    color: white;
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
}

.banner-bg {
    position: absolute;
    top: -10px;
    right: -10px;
    font-size: 60px;
    opacity: 0.1;
}

.banner-text h2 {
    font-size: 20px;
    margin-bottom: 5px;
}

.banner-text p {
    font-size: 14px;
    opacity: 0.9;
}

.service-icons {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 15px;
}

.service-item {
    text-align: center;
    cursor: pointer;
    transition: all 0.3s;
}

.service-item:hover {
    transform: translateY(-2px);
}

.service-icon {
    width: 50px;
    height: 50px;
    background: #f8f9fa;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin: 0 auto 8px;
}

.service-item p {
    font-size: 12px;
    color: #333;
}

/* 移动对账推广 */
.mobile-reconciliation {
    background: linear-gradient(135deg, #8b5cf6 0%, #a855f7 100%);
    border-radius: 8px;
    padding: 20px;
    color: white;
    position: relative;
}

.reconciliation-banner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.reconciliation-banner .banner-text {
    font-size: 16px;
    font-weight: bold;
}

.reconciliation-banner .qr-code {
    width: 60px;
    height: 60px;
    background: rgba(255,255,255,0.2);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}



/* 页脚样式 */
.enterprise-footer {
    background: #f8f9fa;
    border-top: 1px solid #e0e0e0;
    padding: 20px 0;
    margin-top: 40px;
}

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

.footer-left {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.copyright, .icp, .security {
    font-size: 12px;
    color: #666;
}

.footer-qr-codes {
    display: flex;
    gap: 10px;
}

.footer-qr-codes .qr-code {
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.footer-bottom {
    border-top: 1px solid #e0e0e0;
    padding-top: 15px;
}

.homepage-link {
    color: #666;
    text-decoration: none;
    font-size: 12px;
}

/* 响应式设计 */
@media (max-width: 1024px) {
    .main-layout {
        grid-template-columns: 1fr;
    }
    
    .header-top {
        flex-direction: column;
        gap: 15px;
    }
    
    .header-actions {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .nav-tabs {
        flex-wrap: wrap;
    }
    
    .function-grid {
        flex-wrap: wrap;
        gap: 8px;
    }
    
    .function-item {
        flex: 1 1 calc(50% - 4px);
        min-width: 120px;
    }
    
    .function-name {
        font-size: 11px;
    }
    
    .function-category {
        font-size: 9px;
    }
    
    .service-icons {
        grid-template-columns: repeat(3, 1fr);
    }
    
    .search-bar {
        width: 100%;
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 10px;
    }
    
    .service-icons {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        flex-direction: column;
        gap: 15px;
    }
}


