/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: "Microsoft YaHei", "SimSun", Arial, sans-serif;
    background-color: #fff;
    color: #333;
    font-size: 14px;
    line-height: 1.5;
}

a {
    text-decoration: none;
    color: inherit;
}

ul {
    list-style: none;
}

.container {
    width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
}

/* Service Statistics Panel */
.service-stats-wrapper {
    padding: 40px 0;
    margin: 20px 0;
}

.service-stats-panel {
    padding: 0 20px;
}

.stats-title {
    color: #333;
    font-size: 24px;
    margin-bottom: 30px;
    font-weight: bold;
}

.stats-cards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.stat-card {
    background: #fff;
    border-radius: 8px;
    padding: 25px;
    display: flex;
    align-items: center;
    gap: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    border: 1px solid #f0f0f0;
}

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

.stat-icon {
    font-size: 40px;
    color: #3b6ea5;
    flex-shrink: 0;
}

.stat-content {
    flex: 1;
}

.stat-label {
    font-size: 14px;
    color: #999;
    margin-bottom: 8px;
}

.stat-value {
    font-size: 36px;
    font-weight: bold;
    color: #333;
    line-height: 1;
    margin-bottom: 5px;
    font-variant-numeric: tabular-nums;
}

.stat-unit {
    font-size: 12px;
    color: #999;
}

@media (max-width: 768px) {
    .stats-cards {
        grid-template-columns: 1fr;
    }
}

/* Top Bar */
.top-bar {
    background-color: #2d5a9e;
    /* Darker blue from screenshot header top part or just use image color */
    /* Actually screenshot shows a gradient or solid blue header background, but top bar is usually distinct. 
       Looking at the screenshot, the top bar seems to be part of the header background image or a dark overlay.
       Let's make it a dark blue bar. */
    background: #3b6ea5;
    color: #fff;
    height: 36px;
    line-height: 36px;
    font-size: 12px;
}

.top-bar .container {
    display: flex;
    justify-content: space-between;
}

.top-links a {
    margin-left: 15px;
    color: #fff;
}

.btn-access {
    background-color: #4caf50;
    padding: 2px 10px;
    border-radius: 2px;
    margin-left: 10px;
}

/* Header */
.site-header {
    height: 120px;
    /* Placeholder */
    background-color: #3b6ea5;
    /* Fallback */
    background-size: cover;
    position: relative;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 100%;
}

.logo {
    display: flex;
    align-items: center;
    color: #fff;
}

.logo img {
    margin-right: 15px;
}

.header-logo {
    height: 120px;
    width: auto;
    margin-right: 20px;
    object-fit: contain;
}

.logo-text h1 {
    font-size: 36px;
    font-weight: bold;
    letter-spacing: 2px;
    margin-bottom: 5px;
}

.logo-text p {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.8;
}

.search-box {
    display: flex;
    background-color: rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    padding: 5px;
    width: 350px;
}

.search-select {
    background: transparent;
    border: none;
    color: #fff;
    padding: 0 10px;
    border-right: 1px solid rgba(255, 255, 255, 0.3);
    outline: none;
}

.search-select option {
    color: #333;
}

.search-input {
    flex: 1;
    background: transparent;
    border: none;
    padding: 0 10px;
    color: #fff;
    outline: none;
}

.search-input::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.search-btn {
    background: transparent;
    border: none;
    color: #fff;
    cursor: pointer;
    padding: 0 10px;
    font-size: 18px;
}

/* Navigation */
.main-nav {
    background-color: #204077;
    /* Deep Blue */
    height: 50px;
}

.nav-list {
    display: flex;
}

.nav-item {
    flex: 1;
    text-align: center;
    position: relative;
}

.nav-item a {
    display: block;
    line-height: 50px;
    color: #fff;
    font-size: 18px;
    font-weight: bold;
    transition: background-color 0.3s;
}

.nav-item > a:hover,
.nav-item.active > a {
    background-color: #15305b;
}

/* Dropdown Menu */
.dropdown-menu {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    min-width: 160px;
    background-color: #fff !important;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
    z-index: 1000;
    border-top: 2px solid #204077;
    /* Match nav color */
}

.nav-item:hover .dropdown-menu {
    display: block;
}

.dropdown-menu li {
    border-bottom: 1px solid #f0f0f0;
    text-align: left;
}

.dropdown-menu li:last-child {
    border-bottom: none;
}

.dropdown-menu a {
    display: block;
    padding: 10px 20px;
    color: #333 !important;
    background-color: transparent !important;
    /* Override nav link white color */
    font-size: 14px !important;
    line-height: 1.5 !important;
    font-weight: normal !important;
    transition: all 0.2s;
}

.dropdown-menu a:hover {
    background-color: #f8f9fa !important;
    color: #204077 !important;
    padding-left: 25px;
    /* Slight movement effect */
}

/* Main Content */
.main-content {
    padding-top: 20px;
    background-color: #fff;
}

/* News Section */
.news-section {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.news-slider {
    width: 550px;
    height: 350px;
    position: relative;
    overflow: hidden;
}

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

.slider-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    padding: 10px 15px;
    font-size: 16px;
}

.slider-controls {
    position: absolute;
    bottom: 10px;
    right: 10px;
    display: flex;
    gap: 5px;
}

.slider-btn {
    width: 24px;
    height: 24px;
    background: rgba(255, 255, 255, 0.3);
    color: #fff;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    font-size: 12px;
}

.news-tabs-container {
    flex: 1;
    position: relative;
}

.news-tabs {
    display: flex;
    border-bottom: 2px solid #eee;
    margin-bottom: 15px;
}

.tab-link {
    padding: 10px 0;
    margin-right: 30px;
    font-size: 20px;
    font-weight: bold;
    color: #666;
    cursor: pointer;
    position: relative;
}

.tab-link.active {
    color: #204077;
}

.tab-link.active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #204077;
}

.headline-news {
    margin-bottom: 15px;
}

.headline-news h3 {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    margin-bottom: 5px;
}

.headline-news p {
    font-size: 13px;
    color: #888;
    line-height: 1.6;
}

.news-list li {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px dashed #eee;
    font-size: 14px;
}

.news-list li a {
    color: #333;
    max-width: 85%;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.news-list li a::before {
    content: '▪';
    color: #ccc;
    margin-right: 5px;
}

.news-list li span {
    color: #999;
}

.wechat-float {
    position: absolute;
    top: 0;
    right: 0;
    width: 40px;
    height: 40px;
    background-color: #cba36f;
    color: #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    border-radius: 4px;
}

/* Banners Row 1 */
.banners-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 20px;
    gap: 20px;
}

.banner-item {
    flex: 1;
    height: 100px;
    background-size: cover;
    background-position: center;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-size: 24px;
    font-weight: bold;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    border-radius: 4px;
    position: relative;
    overflow: hidden;
}

/* Gradients to simulate images */
.banner-accounting {
    background: linear-gradient(135deg, #6a85b6 0%, #bac8e0 100%);
}

.banner-budget {
    background: linear-gradient(135deg, #96deda 0%, #50c9c3 100%);
}

.banner-tax {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.banner-nav-btn {
    width: 40px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    color: #ccc;
    cursor: pointer;
}

/* Banners Row 2 */
.big-banner-item {
    flex: 1;
    height: 100px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    font-size: 24px;
    font-weight: bold;
    border-radius: 4px;
}

.banner-gov-service {
    background: linear-gradient(to right, #007adf, #00ecbc);
}

.banner-query-platform {
    background: linear-gradient(to right, #4facfe, #00f2fe);
}

.btn-outline {
    border: 1px solid #fff;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 14px;
    margin-left: 15px;
    font-weight: normal;
}

/* Info Section (Policy & Gov Open) */
.info-section {
    display: flex;
    gap: 30px;
    margin-bottom: 30px;
}

.info-col-left {
    width: 45%;
}

.info-col-right {
    width: 55%;
}

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

.section-title {
    padding: 10px 20px;
    background-color: #f5f5f5;
    font-size: 18px;
    font-weight: bold;
    color: #333;
    cursor: pointer;
}

.section-title.active {
    background-color: #204077;
    color: #fff;
}

.gov-open-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.gov-btn {
    border: 1px solid #e0e0e0;
    padding: 15px;
    text-align: center;
    background-color: #fff;
    transition: all 0.3s;
    color: #555;
}

.gov-btn:hover {
    border-color: #204077;
    color: #204077;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

/* Interaction Section */
.interaction-section {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
    border-top: 1px solid #eee;
    padding-top: 30px;
}

.interaction-left {
    width: 50%;
    display: flex;
    gap: 20px;
}

.icon-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    width: 240px;
}

.icon-box {
    text-align: center;
    padding: 15px 0;
    background-color: #f9f9f9;
    border-radius: 4px;
    cursor: pointer;
}

.icon-box:hover {
    background-color: #f0f0f0;
}

.icon-img {
    width: 40px;
    height: 40px;
    background-color: #204077;
    /* Placeholder */
    margin: 0 auto 10px;
    border-radius: 50%;
}

.message-list {
    flex: 1;
}

.interaction-right {
    width: 50%;
}

/* Footer */
.site-footer {
    background-color: #fff;
    border-top: 3px solid #204077;
    padding: 40px 0;
    font-size: 13px;
    color: #666;
}

.footer-content {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 20px;
}

.footer-column {
    text-align: left;
}

.footer-column-title {
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
    font-size: 14px;
}

.footer-row {
    display: flex;
    margin-bottom: 8px;
    line-height: 1.6;
}

.footer-row-label {
    flex-shrink: 0;
    font-weight: 500;
    color: #333;
    margin-right: 8px;
}

.footer-row-value {
    flex: 1;
    color: #666;
    word-break: break-word;
}

.footer-links {
    margin-bottom: 20px;
}

.footer-links span {
    margin: 0 10px;
}

.footer-badges {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.badge {
    padding: 2px 5px;
    background-color: #ddd;
    /* Placeholder */
}

.badge-red {
    background-color: #d9534f;
}

.badge-blue {
    background-color: #5bc0de;
}

/* Utility */
.text-date {
    float: right;
    color: #999;
    font-size: 12px;
}

/* --- Platform Specific Additions for index.html --- */

/* Full Width Banner Slider */
.full-banner-slider {
    width: 100%;
    height: 400px;
    position: relative;
    overflow: hidden;
}

.banner-wrapper {
    width: 100%;
    height: 100%;
    position: relative;
}

.banner-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #f5f7fa;
}

.banner-slide.active {
    opacity: 1;
    z-index: 1;
}

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

.banner-controls {
    position: absolute;
    top: 50%;
    width: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 50px;
    transform: translateY(-50%);
    z-index: 2;
    pointer-events: none;
}

.banner-btn {
    width: 50px;
    height: 50px;
    background: rgba(0, 0, 0, 0.3);
    color: #fff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    font-size: 24px;
    pointer-events: auto;
    transition: background 0.3s;
    user-select: none;
}

.banner-btn:hover {
    background: rgba(0, 0, 0, 0.6);
}

.banner-indicators {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 10px;
    z-index: 2;
}

.indicator {
    width: 12px;
    height: 12px;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.3s;
}

.indicator.active {
    background: #fff;
    transform: scale(1.2);
}

/* Platform Sections */
.platform-section {
    padding: 60px 0;
}

.bg-light {
    background-color: #f8f9fa;
}

.section-heading {
    text-align: center;
    margin-bottom: 50px;
}

.section-heading h2 {
    font-size: 32px;
    color: #333;
    font-weight: bold;
    position: relative;
    display: inline-block;
    padding-bottom: 15px;
}

.section-heading h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background-color: #204077;
}

/* Stats Cards */
.stats-grid {
    display: flex;
    justify-content: space-between;
    gap: 30px;
}

.stat-card {
    flex: 1;
    background: #fff;
    padding: 40px 20px;
    text-align: center;
    border: 1px solid #e0e0e0;
    border-top: 4px solid #204077;
    border-radius: 4px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s, box-shadow 0.3s;
}

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

.stat-title {
    font-size: 18px;
    color: #666;
    margin-bottom: 20px;
}

.stat-value {
    font-size: 42px;
    color: #204077;
    font-weight: bold;
    font-family: Arial, sans-serif;
    line-height: 1;
}

.stat-value span.unit {
    font-size: 16px;
    color: #999;
    margin-left: 5px;
    font-weight: normal;
}

/* Map Section */
.map-container {
    height: 600px;
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 24px;
    color: #ccc;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    position: relative;
}

/* Partners Scroll */
.partners-scroll-wrapper {
    width: 100%;
    overflow: hidden;
    position: relative;
    padding: 10px 0;
}

.partners-track {
    display: flex;
    width: max-content;
    animation: scroll 30s linear infinite;
}

.partners-track:hover {
    animation-play-state: paused;
}

@keyframes scroll {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(calc(-260px * 8));
    }

    /* 260px = 240px width + 20px margin */
}

.partner-item {
    width: 240px;
    height: 100px;
    background-color: #fff;
    border: 1px solid #eee;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #999;
    font-size: 16px;
    font-weight: bold;
    transition: all 0.3s;
    border-radius: 4px;
    padding: 5px;
    margin-right: 20px;
    flex-shrink: 0;
}

.partner-item img {
    max-width: 95%;
    max-height: 85%;
    object-fit: contain;
    /* filter: grayscale(100%); Removed grayscale */
    /* opacity: 0.7; Removed opacity */
    transition: all 0.3s;
}

/* Specific Logo Adjustments */
.partner-item .logo-jilin {
    max-height: 90%;
    max-width: 90%;
    transform: scale(0.8);
    /* Zhaoshang logo often appears smaller due to text */
}

.partner-item .logo-zhaoshang {
    max-height: 95%;
    max-width: 95%;
    transform: scale(2.5);
    /* Zhaoshang logo often appears smaller due to text */
}

.partner-item .logo-boc {
    transform: scale(0.8);
}

.partner-item .logo-bankcomm {
    transform: scale(2.5);
}

.partner-item .logo-citic {
    transform: scale(0.8);
    /* Citic logo is extremely small in the SVG */
}

.partner-item:hover {
    border-color: #204077;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.partner-item:hover img {
    /* filter: grayscale(0%); */
    /* opacity: 1; */
    /* transform: scale(1.05); Removed to prevent conflict with specific logo scaling */
}

/* --- Inner Page Styles (Ported & Adapted from style.css) --- */

/* Breadcrumb & Banner */
.page-banner {
    padding: 20px 0;
}

.breadcrumb {
    font-size: 14px;
    color: #666;
    margin-bottom: 15px;
}

.fund-carousel {
    height: 200px;
    background: linear-gradient(135deg, #204077 0%, #3b6ea5 100%);
    /* Adapted to Blue Theme */
    border-radius: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #fff;
    text-align: center;
}

.fund-carousel h2 {
    font-size: 32px;
    margin-bottom: 10px;
}

/* Search Section (Inner) */
.search-section {
    margin-top: 20px;
    margin-bottom: 20px;
}

.search-box-inner {
    /* Renamed to avoid conflict if needed, or reuse .search-box but style.css used .search-box differently */
    display: flex;
    border: 1px solid #204077;
    border-radius: 4px;
    overflow: hidden;
    max-width: 800px;
    margin: 0 auto;
}

.search-section .search-box {
    /* Specific override for inner page search box structure */
    display: flex;
    border: 1px solid #204077;
    border-radius: 4px;
    overflow: hidden;
    max-width: 800px;
    margin: 0 auto;
    background-color: #fff;
    padding: 0;
    /* Reset padding from header search box */
    width: auto;
    /* Reset width */
}

.search-section .search-input {
    flex: 1;
    padding: 12px 15px;
    border: none;
    outline: none;
    font-size: 14px;
    color: #333;
    /* Reset color */
}

.search-section .search-input::placeholder {
    color: #999;
}

.search-section .search-btn {
    background-color: #204077;
    color: #fff;
    border: none;
    padding: 0 30px;
    cursor: pointer;
    font-size: 16px;
}

.search-section .search-btn:hover {
    background-color: #15305b;
}

/* Service Lists (Accounting, Agency) */
.service-list-section {
    margin-bottom: 40px;
}

.service-table {
    width: 100%;
    border-collapse: collapse;
    background-color: #fff;
    border: 1px solid #e0e0e0;
}

.service-table th,
.service-table td {
    padding: 15px;
    text-align: center;
    border: 1px solid #eee;
    font-size: 14px;
}

.service-table th {
    background-color: #f8f9fa;
    font-weight: bold;
    color: #333;
    border-bottom: 2px solid #204077;
}

.service-table td {
    color: #666;
}

.btn-apply {
    color: #204077;
    text-decoration: none;
    border: 1px solid #204077;
    padding: 4px 12px;
    border-radius: 4px;
    transition: all 0.3s;
}

.btn-apply:hover {
    background-color: #204077;
    color: #fff;
}

.text-red {
    color: #d9534f !important;
    font-weight: bold;
}

/* Fund Stats */
.fund-stats-section {
    margin-top: 30px;
}

.fund-stats-grid {
    display: flex;
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
}

.fund-stat-item {
    flex: 1;
    text-align: center;
    padding: 25px 0;
    border-right: 1px solid #eee;
}

.fund-stat-item:last-child {
    border-right: none;
}

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

.fund-stat-item .value {
    font-size: 28px;
    color: #204077;
    font-weight: bold;
}

.fund-stat-item .value span:not(.counter) {
    font-size: 14px;
    color: #999;
    font-weight: normal;
}

/* Industry Products */
.industry-products-section {
    margin-top: 30px;
}

.industry-grid {
    border: 1px solid #e0e0e0;
    background-color: #fff;
}

.industry-row {
    display: flex;
    border-bottom: 1px solid #eee;
}

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

.industry-label {
    width: 100px;
    background-color: #f9f9f9;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 18px;
    font-weight: bold;
    color: #333;
    border-right: 1px solid #eee;
}

.product-cards {
    flex: 1;
    display: flex;
    flex-wrap: wrap;
    padding: 15px;
    gap: 15px;
}

.bank-product-card {
    width: 300px;
    border: 1px solid #eee;
    padding: 15px;
    display: flex;
    align-items: center;
    background-color: #fff;
    transition: box-shadow 0.3s;
}

.bank-product-card:hover {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.bank-logo {
    width: 60px;
    height: 60px;
    background-color: #f0f0f0;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 12px;
    color: #999;
    margin-right: 15px;
    border-radius: 4px;
}

.product-info {
    flex: 1;
}

.product-info h4 {
    font-size: 16px;
    color: #333;
    margin-bottom: 5px;
}

.product-meta p {
    font-size: 12px;
    color: #666;
    margin-bottom: 2px;
}

.product-meta span {
    color: #ff6600;
    font-weight: bold;
}

.btn-detail {
    font-size: 12px;
    color: #204077;
    border: 1px solid #204077;
    padding: 2px 8px;
    border-radius: 2px;
    transition: all 0.3s;
}

.btn-detail:hover {
    background-color: #204077;
    color: #fff;
}

/* Online Products */
.online-products-section {
    margin-top: 30px;
}

.bank-row {
    background-color: #fff;
    border: 1px solid #e0e0e0;
    margin-bottom: 15px;
    padding: 15px;
}

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

.bank-name {
    font-size: 18px;
    font-weight: bold;
    color: #333;
}

.bank-stats {
    font-size: 14px;
    color: #666;
}

.bank-stats span {
    margin-left: 20px;
}

.bank-stats b {
    color: #333;
}

.product-slider {
    display: flex;
    align-items: center;
}

.slider-btn {
    width: 30px;
    height: 60px;
    background-color: #f0f0f0;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    color: #999;
}

.slider-btn:hover {
    background-color: #e0e0e0;
    color: #333;
}

.slider-content {
    flex: 1;
    display: flex;
    gap: 15px;
    overflow: hidden;
    padding: 0 15px;
}

.slider-item {
    min-width: 200px;
    height: 80px;
    background-color: #f9f9f9;
    border: 1px solid #eee;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #666;
}

.view-more-bar {
    text-align: center;
    padding: 10px;
    background-color: #fff;
    border: 1px solid #e0e0e0;
    margin-top: -1px;
}

.view-more-bar a {
    color: #666;
    font-size: 14px;
}

/* General Products */
.general-products-section {
    margin-top: 30px;
}

.general-products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.general-product-card {
    background-color: #fff;
    border: 1px solid #e0e0e0;
}

.gp-name {
    text-align: center;
    padding: 15px;
    font-size: 16px;
    color: #333;
    border-bottom: 1px solid #eee;
}

.gp-meta {
    display: flex;
    border-bottom: 1px solid #eee;
}

.gp-meta-item {
    flex: 1;
    padding: 10px;
    font-size: 14px;
    color: #666;
    text-align: center;
}

.gp-meta-item .label {
    color: #999;
    margin-right: 5px;
}

.gp-meta-item .value {
    color: #ff6600;
    font-weight: bold;
    font-size: 16px;
}

.gp-meta-item.border-right {
    border-right: 1px solid #eee;
}

.gp-bank {
    padding: 10px 15px;
    color: #999;
    font-size: 14px;
}

/* Publicity Table */
.publicity-section {
    margin-top: 30px;
    margin-bottom: 40px;
}

.publicity-table {
    width: 100%;
    border-collapse: collapse;
    background-color: #fff;
    border: 1px solid #e0e0e0;
}

.publicity-table th,
.publicity-table td {
    padding: 12px 15px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.publicity-table th {
    background-color: #f8f9fa;
    font-weight: bold;
    color: #333;
}

.publicity-table td {
    color: #666;
    font-size: 14px;
}

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

/* Policy Page */
.policy-section {
    margin-bottom: 40px;
}

.policy-category-tabs {
    display: flex;
    border-bottom: 2px solid #204077;
    margin-bottom: 20px;
}

.category-tab {
    padding: 12px 30px;
    font-size: 16px;
    cursor: pointer;
    color: #666;
    background-color: #f8f9fa;
    border: 1px solid #ddd;
    border-bottom: none;
    margin-right: 5px;
    border-radius: 4px 4px 0 0;
    transition: all 0.3s;
}

.category-tab.active {
    background-color: #204077;
    color: #fff;
    border-color: #204077;
}

.category-tab:hover:not(.active) {
    background-color: #e9ecef;
}

.policy-layout {
    display: flex;
    gap: 20px;
}

.policy-sidebar {
    width: 200px;
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    height: fit-content;
}

.policy-sidebar ul {
    list-style: none;
}

.policy-sidebar li {
    padding: 15px 20px;
    border-bottom: 1px solid #eee;
    cursor: pointer;
    color: #666;
    transition: all 0.2s;
    position: relative;
}

.policy-sidebar li:last-child {
    border-bottom: none;
}

.policy-sidebar li:hover {
    background-color: #f8f9fa;
    color: #204077;
}

.policy-sidebar li.active {
    background-color: #e7f1ff;
    color: #204077;
    font-weight: bold;
    border-left: 3px solid #204077;
}

.policy-list-container {
    flex: 1;
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    padding: 20px;
    min-height: 500px;
}

.policy-table {
    width: 100%;
    border-collapse: collapse;
}

.policy-table th {
    text-align: left;
    padding: 15px 10px;
    border-bottom: 2px solid #eee;
    color: #333;
    font-weight: bold;
}

.policy-table td {
    padding: 15px 10px;
    border-bottom: 1px solid #eee;
    color: #666;
    font-size: 14px;
}

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

.policy-table a {
    color: #333;
    transition: color 0.2s;
}

.policy-table a:hover {
    color: #204077;
    text-decoration: underline;
}

.level-tag {
    display: inline-block;
    padding: 2px 0;
    width: 60px;
    text-align: center;
    border-radius: 2px;
    font-size: 12px;
    color: #fff;
}

.level-national {
    background-color: #d9534f;
}

.level-provincial {
    background-color: #fd7e14;
}

.level-city {
    background-color: #28a745;
}

/* Policy Detail */
.policy-detail-section {
    padding: 40px 0;
    min-height: 600px;
}

.detail-header {
    text-align: center;
    border-bottom: 1px solid #eee;
    padding-bottom: 20px;
    margin-bottom: 30px;
}

.detail-meta {
    color: #999;
    font-size: 14px;
}

.detail-content {
    line-height: 1.8;
    color: #444;
    font-size: 16px;
}

.detail-footer {
    margin-top: 50px;
    padding-top: 20px;
    border-top: 1px solid #eee;
    text-align: right;
}

/* User Center */
.user-center-container {
    display: flex;
    gap: 20px;
    margin-top: 30px;
    margin-bottom: 50px;
    min-height: 600px;
}

.uc-sidebar {
    width: 250px;
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    height: fit-content;
}

.uc-user-info {
    padding: 30px 20px;
    text-align: center;
    border-bottom: 1px solid #eee;
    background-color: #f8f9fa;
}

.uc-user-info .avatar {
    width: 80px;
    height: 80px;
    background-color: #204077;
    color: #fff;
    font-size: 36px;
    line-height: 80px;
    border-radius: 50%;
    margin: 0 auto 15px;
    font-weight: bold;
}

.uc-user-info h3 {
    font-size: 18px;
    color: #333;
}

.uc-menu {
    padding: 10px 0;
}

.uc-menu li {
    padding: 15px 25px;
    cursor: pointer;
    color: #666;
    transition: all 0.2s;
    border-left: 3px solid transparent;
}

.uc-menu li:hover {
    background-color: #f8f9fa;
    color: #204077;
}

.uc-menu li.active {
    background-color: #e7f1ff;
    color: #204077;
    font-weight: bold;
    border-left-color: #204077;
}

.uc-content {
    flex: 1;
    background-color: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    padding: 30px;
}

.uc-section {
    display: none;
}

.uc-section.active {
    display: block;
}

.uc-section .section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    border-bottom: 1px solid #eee;
    padding-bottom: 15px;
}

.uc-section .section-header h3 {
    font-size: 20px;
    color: #333;
    border: none;
    padding: 0;
    margin: 0;
}

.btn-primary {
    background-color: #204077;
    color: #fff;
    border: none;
    padding: 8px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: background-color 0.3s;
}

.btn-primary:hover {
    background-color: #15305b;
}

.uc-table {
    width: 100%;
    border-collapse: collapse;
}

.uc-table th,
.uc-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #eee;
    white-space: nowrap;
}

.uc-table th {
    background-color: #f8f9fa;
    font-weight: bold;
    color: #333;
}

.uc-table td {
    color: #666;
    font-size: 14px;
}

/* Normalize table action buttons */
.uc-table .btn-primary,
.uc-table .btn-detail {
    padding: 6px 14px;
    font-size: 13px;
    line-height: 1.2;
    border-radius: 4px;
}

/* Status Badges */
.status-success {
    color: #28a745;
    background-color: #e6f4ea;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 12px;
}

.status-warning {
    color: #fd7e14;
    background-color: #fff0e6;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 12px;
}

.status-pending {
    color: #204077;
    background-color: #e7f1ff;
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 12px;
}

.status-processing {
    color: #6b4e0a;
    background-color: #ffce51;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 12px;
}

/* Form Styles in User Center */
.form-container {
    max-width: 600px;
}

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

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

.form-control {
    width: 100%;
    padding: 10px 15px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    outline: none;
    transition: border-color 0.3s;
}

.form-control:focus {
    border-color: #204077;
}

/* Login Page */
.login-wrapper {
    background: url('image/bg.png') no-repeat center center;
    background-size: cover;
    padding: 60px 0;
    min-height: 600px;
    display: flex;
    align-items: center;
}

.login-box {
    width: 400px;
    background-color: #fff;
    padding: 30px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    margin: 0 auto;
    float: right;
}

.login-header h2 {
    text-align: center;
    color: #204077;
    margin-bottom: 20px;
    font-size: 22px;
}

.login-tabs {
    display: flex;
    border-bottom: 1px solid #eee;
    margin-bottom: 20px;
}

.tab-item {
    flex: 1;
    text-align: center;
    padding: 10px 0;
    cursor: pointer;
    font-size: 14px;
    color: #666;
    border-bottom: 2px solid transparent;
}

.tab-item.active {
    color: #204077;
    border-bottom-color: #204077;
    font-weight: bold;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.verify-code-group {
    display: flex;
    gap: 10px;
}

.btn-code {
    padding: 0 15px;
    background-color: #f8f9fa;
    border: 1px solid #ddd;
    border-radius: 4px;
    color: #666;
    cursor: pointer;
    white-space: nowrap;
    font-size: 12px;
}

.form-actions {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    font-size: 12px;
    color: #666;
}

.checkbox-label {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.checkbox-label input {
    margin-right: 5px;
}

.forgot-password {
    color: #204077;
}

.btn-submit {
    width: 100%;
    padding: 12px;
    background-color: #204077;
    color: #fff;
    border: none;
    border-radius: 4px;
    font-size: 16px;
    cursor: pointer;
    transition: background-color 0.3s;
}

.btn-submit:hover {
    background-color: #15305b;
}

.form-footer {
    text-align: center;
    margin-top: 15px;
    font-size: 14px;
    color: #666;
}

.register-link {
    color: #204077;
    font-weight: bold;
}

/* Fund Filter Section */
.fund-filter-section {
    margin-top: 20px;
    margin-bottom: 20px;
}

.filter-box {
    background-color: #fff;
    border: 1px solid #e0e0e0;
    padding: 20px;
    border-radius: 4px;
}

.filter-row {
    display: flex;
    border-bottom: 1px dashed #eee;
    padding: 10px 0;
}

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

.filter-label {
    width: 100px;
    color: #999;
    font-weight: bold;
}

.filter-options {
    flex: 1;
}

.filter-options a {
    display: inline-block;
    margin-right: 20px;
    color: #333;
    padding: 2px 8px;
    border-radius: 2px;
    font-size: 14px;
}

.filter-options a:hover {
    color: #204077;
}

.filter-options a.active {
    background-color: #204077;
    color: #fff;
}

/* Product Detail Page Specifics */
.btn-apply-now:hover {
    background-color: #c9302c !important;
}

/* Certification Page Styles */
.cert-tab.active {
    background-color: #fff;
    color: #204077;
    border-bottom-color: #204077;
}

.cert-tab:hover:not(.active) {
    background-color: #f0f0f0;
    color: #204077;
}

.upload-area:hover {
    border-color: #204077 !important;
    background-color: #f0f8ff !important;
}

.mini-upload:hover {
    border-color: #204077 !important;
    background-color: #f0f8ff;
}

/* Animation for auto-fill */
@keyframes highlightField {
    0% {
        background-color: #fff;
    }

    50% {
        background-color: #e6f4ea;
    }

    100% {
        background-color: #fff;
    }
}

.field-autofilled {
    animation: highlightField 1s ease-in-out;
    border-color: #28a745 !important;
}

/* Financial Market Page Styles */
.market-container {
    padding-bottom: 40px;
}

.market-layout {
    display: flex;
    gap: 20px;
}

/* Sidebar */
.market-sidebar {
    width: 200px;
    flex-shrink: 0;
    background: #f5f7fa;
    min-height: 600px;
}

.market-sidebar ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.market-sidebar li a {
    display: block;
    padding: 15px 20px;
    color: #333;
    text-decoration: none;
    border-left: 4px solid transparent;
    transition: all 0.3s;
    font-size: 15px;
}

.market-sidebar li.active a,
.market-sidebar li a:hover {
    background: #e6f0fa;
    color: #1e50a2;
    border-left-color: #1e50a2;
    font-weight: bold;
}

/* Content Area */
.market-content {
    flex-grow: 1;
}

/* Policy Products */
.policy-products h2,
.product-list-section h2 {
    font-size: 24px;
    margin-bottom: 20px;
    font-weight: bold;
    color: #333;
}

.policy-cards {
    display: flex;
    gap: 20px;
    margin-bottom: 40px;
}

.policy-card {
    flex: 1;
    height: 100px;
    border-radius: 4px;
    padding: 15px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
    transition: transform 0.2s;
    overflow: hidden;
    position: relative;
}

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

.policy-card .text h3 {
    font-size: 18px;
    color: #1e50a2;
    margin-bottom: 5px;
}

.policy-card .icon {
    font-size: 40px;
    opacity: 0.8;
}

/* Search Bar */
.market-search-bar {
    display: flex;
    align-items: center;
    background: #fff;
    padding: 20px 0;
    border-bottom: 1px solid #eee;
    margin-bottom: 20px;
}

.market-search-bar .form-group {
    display: flex;
    align-items: center;
    margin-right: 20px;
}

.market-search-bar label {
    margin-right: 10px;
    font-weight: bold;
}

.market-search-bar input {
    padding: 8px 10px;
    border: 1px solid #ddd;
    border-radius: 2px;
    width: 200px;
}

.btn-search {
    background: #1e50a2;
    color: #fff;
    border: none;
    padding: 8px 25px;
    border-radius: 2px;
    cursor: pointer;
    margin-right: 10px;
}

.btn-smart-search {
    background: #2196f3;
    color: #fff;
    border: none;
    padding: 8px 15px;
    border-radius: 2px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Filters */
.market-filters {
    background: #fff;
    border: 1px solid #eee;
    padding: 15px;
    margin-bottom: 20px;
}

.filter-row {
    display: flex;
    margin-bottom: 15px;
    align-items: flex-start;
    /* Changed from baseline to handle multi-line better */
}

.filter-label {
    width: 100px;
    /* Slightly wider */
    color: #333;
    font-weight: normal;
    padding-top: 8px;
    /* Align with buttons */
    font-size: 14px;
}

.filter-options {
    flex: 1;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.filter-options a {
    display: inline-block;
    padding: 6px 20px;
    color: #333;
    border: 1px solid #eee;
    border-radius: 2px;
    background-color: #fff;
    transition: all 0.2s;
    font-size: 14px;
    min-width: 80px;
    text-align: center;
}

.filter-options a:hover {
    color: #1e50a2;
    border-color: #1e50a2;
}

.filter-options a.active {
    background: #e6f0fa;
    color: #1e50a2;
    border-color: #b3d7ff;
}

.filter-more {
    text-align: center;
    border-top: 1px dashed #eee;
    padding-top: 10px;
}

.filter-more a {
    color: #999;
    font-size: 12px;
}

/* List Header */
.list-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    font-size: 14px;
}

.sort-options a {
    margin-left: 20px;
    color: #666;
}

.sort-options a.active {
    color: #1e50a2;
    font-weight: bold;
}

/* Product Items */
.product-item {
    display: flex;
    background: #fff;
    border: 1px solid #eee;
    padding: 20px;
    margin-bottom: 20px;
    position: relative;
    transition: box-shadow 0.3s;
}

.product-item:hover {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
}

.hot-ribbon {
    position: absolute;
    top: 0;
    right: 0;
    background: #ff6600;
    color: #fff;
    font-size: 12px;
    padding: 2px 10px;
    border-bottom-left-radius: 4px;
}

.bank-logo-col {
    width: 150px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border-right: 1px solid #eee;
    padding-right: 20px;
    margin-right: 20px;
}

.logo-placeholder {
    font-size: 24px;
    font-weight: bold;
    color: #c00;
    margin-bottom: 10px;
}

.product-info {
    flex-grow: 1;
}

.product-title {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.product-title h3 {
    font-size: 18px;
    margin-right: 10px;
    color: #333;
}

.tag {
    border: 1px solid #ff9800;
    color: #ff9800;
    font-size: 12px;
    padding: 1px 5px;
    border-radius: 2px;
    margin-right: 5px;
}

.product-details {
    display: flex;
    margin-bottom: 20px;
}

.detail-col {
    margin-right: 50px;
}

.detail-col .value {
    font-size: 24px;
    font-weight: bold;
    color: #333;
    margin-bottom: 5px;
}

.detail-col .label {
    font-size: 12px;
    color: #999;
}

.product-meta {
    font-size: 12px;
    color: #666;
}

.product-meta span {
    margin-right: 20px;
}

.product-meta .highlight {
    color: #ff6600;
}

.product-actions {
    width: 150px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    gap: 10px;
    padding-left: 20px;
    border-left: 1px solid #eee;
}

.btn-apply {
    background: #1e50a2;
    color: #fff;
    border: none;
    padding: 8px 0;
    border-radius: 2px;
    cursor: pointer;
    width: 100%;
}

.btn-collect {
    background: #e6f0fa;
    color: #1e50a2;
    border: none;
    padding: 8px 0;
    border-radius: 2px;
    cursor: pointer;
    width: 100%;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 40px;
    gap: 5px;
}

.pagination a {
    display: inline-block;
    width: 32px;
    height: 32px;
    line-height: 32px;
    text-align: center;
    border: 1px solid #ddd;
    color: #666;
    border-radius: 2px;
}

.pagination a.active,
.pagination a:hover {
    background: #1e50a2;
    color: #fff;
    border-color: #1e50a2;
}

.pagination .jump {
    margin-left: 10px;
    color: #666;
}

.pagination input {
    width: 40px;
    text-align: center;
    padding: 4px;
    margin: 0 5px;
    border: 1px solid #ddd;
}

/* Supervision Data Statistics */
.supervision-data-section {
    margin: 30px 0;
    padding: 30px 0;
}

.stats-filter-bar {
    background: #fff;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 4px;
    border: 1px solid #e0e0e0;
}

.stats-filter-bar label {
    font-weight: bold;
    margin-right: 10px;
}

.stats-filter-bar select {
    padding: 6px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

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

.stats-card {
    background: #fff;
    padding: 20px;
    border-radius: 4px;
    border: 1px solid #e0e0e0;
}

.stats-card h4 {
    font-size: 16px;
    color: #333;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 2px solid #204077;
}

.stats-item {
    display: flex;
    justify-content: space-between;
    padding: 10px 0;
    border-bottom: 1px solid #f0f0f0;
}

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

.stats-value {
    font-weight: bold;
    color: #204077;
    font-size: 16px;
}

.stats-value.warning {
    color: #ff6600;
}

/* Evaluation Management */
.evaluation-management-section {
    margin: 30px 0;
    padding-bottom: 50px;
}

.eval-filter-panel {
    background: #fff;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 4px;
    border: 1px solid #e0e0e0;
}

.filter-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 10px;
}

.filter-row label {
    font-weight: bold;
}

.filter-row input[type="text"] {
    padding: 6px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
    width: 200px;
}

.filter-row select {
    padding: 6px 12px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.eval-table-container {
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    overflow-x: auto;
    margin-bottom: 30px;
}

.eval-table {
    width: 100%;
    border-collapse: collapse;
}

.eval-table th,
.eval-table td {
    padding: 10px 8px;
    text-align: center;
    border: 1px solid #eee;
    font-size: 14px;
    vertical-align: middle;
}

.eval-table th {
    background-color: #f8f9fa;
    font-weight: bold;
    color: #333;
    border-bottom: 2px solid #204077;
}

.eval-table td {
    color: #666;
}

.eval-table td .action-buttons {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 5px;
}

.indicator-excellent {
    color: #28a745;
    font-weight: bold;
}

.indicator-good {
    color: #28a745;
    font-weight: bold;
}

.indicator-average {
    color: #ffc107;
    font-weight: bold;
}

.indicator-poor {
    color: #dc3545;
    font-weight: bold;
}

.score-excellent {
    color: #28a745;
    font-weight: bold;
    font-size: 16px;
}

.score-good {
    color: #17a2b8;
    font-weight: bold;
    font-size: 16px;
}

.score-average {
    color: #ffc107;
    font-weight: bold;
    font-size: 16px;
}

.badge {
    display: inline-block;
    padding: 3px 8px;
    border-radius: 3px;
    font-size: 12px;
    font-weight: bold;
    line-height: 1.5;
}

.badge-excellent {
    background-color: #d4edda;
    color: #155724;
}

.badge-good {
    background-color: #d1ecf1;
    color: #0c5460;
}

.badge-average {
    background-color: #fff3cd;
    color: #856404;
}

.badge-poor {
    background-color: #f8d7da;
    color: #721c24;
}

.btn-detail {
    background: #17a2b8;
    color: #fff;
    border: none;
    padding: 5px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    white-space: nowrap;
}

.btn-detail:hover {
    background: #138496;
}

.btn-edit {
    background: #ffc107;
    color: #333;
    border: none;
    padding: 5px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    white-space: nowrap;
}

.btn-red {
    background: #dc3545;
    color: #fff;
    border: none;
    padding: 5px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    white-space: nowrap;
}

.btn-red:hover {
    background: #c82333;
}

.btn-edit:hover {
    background: #e0a800;
}

/* Tab Button Group Styles */
.tab-button-group {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.tab-button-group .btn {
    position: relative;
    transition: all 0.3s ease;
}

.tab-button-group .btn.active {
    background-color: #204077 !important;
    color: #fff !important;
    border-color: #204077 !important;
}

.tab-button-group .btn-primary.active {
    background-color: #204077;
    box-shadow: 0 2px 8px rgba(32, 64, 119, 0.3);
}

.tab-button-group .btn-detail.active {
    background-color: #204077;
    color: #fff;
    border-color: #204077;
}

.eval-dimension-panel {
    background: #fff;
    padding: 25px;
    border-radius: 4px;
    border: 1px solid #e0e0e0;
}

.eval-dimension-panel h4 {
    font-size: 18px;
    color: #333;
    margin-bottom: 10px;
}

.dimension-config {
    margin-top: 20px;
}

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

.config-item label {
    min-width: 150px;
    font-weight: bold;
}

.config-item input[type="number"] {
    padding: 5px 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin-right: 5px;
}

.config-desc {
    margin-left: 15px;
    color: #666;
    font-size: 12px;
}

.config-rules {
    margin-top: 25px;
    padding: 20px;
    background: #f8f9fa;
    border-radius: 4px;
}

.config-rules h5 {
    font-size: 16px;
    margin-bottom: 15px;
    color: #333;
}

.rule-item {
    display: flex;
    align-items: center;
    padding: 8px 0;
}

.rule-item label {
    min-width: 100px;
    font-weight: bold;
}

.rule-item input[type="number"] {
    padding: 5px 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    margin: 0 5px;
}

.btn-primary {
    background: #204077;
    color: #fff;
    border: none;
    padding: 10px 25px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
}

.btn-primary:hover {
    background: #183361;
}

.btn-secondary {
    background: #6c757d;
    color: #fff;
    border: none;
    padding: 10px 25px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
}

.btn-secondary:hover {
    background: #5a6268;
}
/* Enterprise Center Styles */
.user-center-container {
    display: flex;
    gap: 20px;
    padding: 30px 0;
    min-height: 600px;
}

.uc-sidebar {
    flex: 0 0 200px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    overflow: hidden;
}

.uc-user-info {
    background: linear-gradient(135deg, #204077 0%, #2d5a9e 100%);
    color: #fff;
    padding: 20px;
    text-align: center;
}

.uc-user-info .avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    margin: 0 auto 10px;
    font-weight: bold;
}

.uc-user-info h3 {
    font-size: 16px;
    margin: 0;
}

.uc-menu {
    list-style: none;
    padding: 0;
    margin: 0;
}

.uc-menu li {
    padding: 15px 20px;
    border-bottom: 1px solid #f0f0f0;
    cursor: pointer;
    color: #666;
    transition: all 0.3s;
}

.uc-menu li:hover {
    background: #f8f9fa;
    color: #204077;
}

.uc-menu li.active {
    background: #e8f0f8;
    color: #204077;
    font-weight: bold;
    border-left: 3px solid #204077;
    padding-left: 17px;
}

.uc-menu li i {
    margin-right: 8px;
    width: 16px;
}

.uc-content {
    flex: 1;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    padding: 30px;
}

.uc-section {
    display: none;
}

.uc-section.active {
    display: block;
}

.uc-table {
    width: 100%;
    border-collapse: collapse;
    margin-top: 20px;
}

.uc-table th,
.uc-table td {
    padding: 12px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.uc-table th {
    background: #f8f9fa;
    font-weight: bold;
    color: #333;
    border-top: 2px solid #204077;
    border-bottom: 2px solid #204077;
}

.uc-table td {
    color: #666;
}

.uc-form {
    max-width: 600px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 0;
}

.form-col {
    display: flex;
    flex-direction: column;
}

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

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

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

.form-control {
    width: 100%;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 14px;
}

.form-control:focus {
    outline: none;
    border-color: #204077;
    box-shadow: 0 0 5px rgba(32, 64, 119, 0.2);
}

.form-control:disabled {
    background: #f5f5f5;
    cursor: not-allowed;
}

.btn-submit {
    background: #204077;
    color: #fff;
    border: none;
    padding: 12px 25px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    width: 100%;
    font-weight: bold;
}

.btn-submit:hover {
    background: #183361;
}

.btn-reset {
    background: #6c757d;
    color: #fff;
    border: none;
    padding: 10px 25px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    margin-top: 10px;
    width: 100%;
    display: block;
}

.btn-reset:hover {
    background: #5a6268;
}

/* Status Badges */
.status-pending {
    background: #fff3cd;
    color: #856404;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 12px;
}

.status-success {
    background: #d4edda;
    color: #155724;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 12px;
}

.status-danger {
    background: #f8d7da;
    color: #721c24;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 12px;
}

.status-draft {
    background: #e2e3e5;
    color: #383d41;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 12px;
}

.auth-valid {
    background: #d4edda;
    color: #155724;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 12px;
}

.auth-invalid {
    background: #f8d7da;
    color: #721c24;
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 12px;
}

.auth-warning {
    background: #fff3cd;
    border: 1px solid #ffc107;
    color: #856404;
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.auth-warning i {
    font-size: 18px;
}

.auth-warning a {
    color: #856404;
    text-decoration: underline;
    margin-left: auto;
}

.auth-expire-warning {
    background: #fff3cd;
    border: 1px solid #ffc107;
    color: #856404;
    padding: 15px;
    border-radius: 4px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.auth-expire-warning i {
    font-size: 18px;
}

.auth-action-bar {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.auth-action-bar .btn-primary,
.auth-action-bar .btn-secondary {
    padding: 8px 15px;
    font-size: 12px;
}

.valid-days {
    color: #28a745;
    font-weight: bold;
}

.expired-days {
    color: #dc3545;
    font-weight: bold;
}

/* Buttons */
.btn-view {
    background: #17a2b8;
    color: #fff;
    border: none;
    padding: 6px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    margin-right: 5px;
}

.btn-view:hover {
    background: #138496;
}

.btn-edit {
    background: #ffc107;
    color: #333;
    border: none;
    padding: 6px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    margin-right: 5px;
}

.btn-edit:hover {
    background: #e0a800;
}

.btn-delete {
    background: #dc3545;
    color: #fff;
    border: none;
    padding: 6px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    margin-right: 5px;
}

.btn-delete:hover {
    background: #c82333;
}

.btn-download {
    background: #6c757d;
    color: #fff;
    border: none;
    padding: 6px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    margin-right: 5px;
}

.btn-download:hover {
    background: #5a6268;
}

.btn-confirm {
    background: #28a745;
    color: #fff;
    border: none;
    padding: 6px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    margin-right: 5px;
}

.btn-confirm:hover {
    background: #218838;
}

.btn-upload {
    background: #007bff;
    color: #fff;
    border: none;
    padding: 6px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    margin-right: 5px;
}

.btn-upload:hover {
    background: #0056b3;
}

.btn-rate {
    background: #fd7e14;
    color: #fff;
    border: none;
    padding: 6px 12px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 12px;
    margin-right: 5px;
}

.btn-rate:hover {
    background: #e96b00;
}

.btn-primary {
    background: #204077;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
}

.btn-primary:hover {
    background: #183361;
}

.btn-secondary {
    background: #6c757d;
    color: #fff;
    border: none;
    padding: 10px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
}

.btn-secondary:hover {
    background: #5a6268;
}

/* Data Upload & Supplement Sections */
.data-upload-section,
.data-supplement-section {
    margin-bottom: 30px;
}

.data-upload-section h4,
.data-supplement-section h4 {
    font-size: 16px;
    margin-bottom: 15px;
    color: #333;
}

.rating-score {
    color: #fd7e14;
    font-weight: bold;
}

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

.section-header h3 {
    font-size: 20px;
    color: #333;
    margin: 0;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    overflow: auto;
}

.modal-content {
    background-color: #fff;
    margin: 5% auto;
    padding: 0;
    border-radius: 8px;
    width: 90%;
    max-width: 600px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    animation: modalSlideIn 0.3s ease-out;
}

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

.modal-header {
    padding: 20px 25px;
    border-bottom: 1px solid #e0e0e0;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.modal-close {
    color: #999;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
    transition: color 0.3s;
}

.modal-close:hover {
    color: #333;
}

.modal-body {
    padding: 25px;
}

/* Role Selection */
.role-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.role-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    transition: all 0.3s;
}

.role-item:hover {
    border-color: #204077;
    background-color: #f8f9fa;
}

.role-info h4 {
    margin: 0 0 8px 0;
    font-size: 16px;
    color: #333;
}

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

.btn-select {
    background: #204077;
    color: #fff;
    border: none;
    padding: 8px 20px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    white-space: nowrap;
}

.btn-select:hover {
    background: #183361;
}

/* Forgot Password Form */
#forgotPasswordForm .form-group {
    margin-bottom: 20px;
}

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

.verify-code-group-inline {
    display: flex;
    align-items: center;
    gap: 10px;
}

.verify-code-group-inline label {
    margin-bottom: 0 !important;
    min-width: 60px;
    flex-shrink: 0;
}

.verify-code-group-inline .form-control {
    flex: 1;
}

.verify-code-group-inline .btn-code {
    white-space: nowrap;
    padding: 10px 15px;
    font-size: 14px;
    flex-shrink: 0;
}

/* Font Size Control */
.font-size-btn {
    background: #fff;
    color: #666;
    border: 1px solid #ddd;
    padding: 6px 15px;
    margin: 0 3px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s;
}

.font-size-btn:hover {
    border-color: #204077;
    color: #204077;
}

.font-size-btn.active {
    background: #204077;
    color: #fff;
    border-color: #204077;
}

.detail-content.font-small {
    font-size: 14px !important;
}

.detail-content.font-medium {
    font-size: 16px !important;
}

.detail-content.font-large {
    font-size: 18px !important;
}

/* 消息列表样式 */
.message-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.message-item {
    padding: 15px;
    background: #fff;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s;
}

.message-item:hover {
    border-color: #204077;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.message-item.unread {
    background: #f0f7ff;
    border-left: 4px solid #204077;
}

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

.message-type {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    border-radius: 3px;
    font-size: 12px;
    font-weight: 500;
}

.message-type.system {
    background: #e3f2fd;
    color: #1976d2;
}

.message-type.reminder {
    background: #fff3cd;
    color: #856404;
}

.message-time {
    font-size: 13px;
    color: #999;
}

.message-title {
    font-size: 15px;
    font-weight: 600;
    color: #333;
    margin-bottom: 8px;
}

.message-content {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
}

/* Badge 样式 */
.badge-count {
    display: inline-block;
    min-width: 18px;
    padding: 2px 6px;
    background: #dc3545;
    color: #fff;
    font-size: 12px;
    border-radius: 10px;
    text-align: center;
    margin-left: 5px;
}

.badge-info {
    display: inline-block;
    padding: 3px 8px;
    background: #17a2b8;
    color: #fff;
    font-size: 12px;
    border-radius: 3px;
    white-space: nowrap;
}

.badge-warning {
    display: inline-block;
    padding: 3px 8px;
    background: #ffc107;
    color: #333;
    font-size: 12px;
    border-radius: 3px;
}

/* 撤回按钮样式 */
.withdraw-disabled {
    display: inline-block;
    padding: 8px 12px;
    background: #e0e0e0;
    color: #999;
    font-size: 13px;
    border-radius: 3px;
    cursor: not-allowed;
    text-decoration: none;
}

#forgotPasswordForm .verify-code-group > div {
    display: flex;
    gap: 10px;
}

#forgotPasswordForm .verify-code-group .form-control {
    flex: 1;
}

#forgotPasswordForm .btn-code {
    white-space: nowrap;
    padding: 10px 15px;
    font-size: 14px;
}

/* 消息列表样式 - 代账公司中心 */
.message-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.message-item {
    padding: 20px;
    background: #f9f9f9;
    border: 1px solid #e0e0e0;
    border-radius: 4px;
    transition: all 0.3s;
}

.message-item.unread {
    background: #fff8e6;
    border-left: 4px solid #ffc107;
}

.message-item:hover {
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

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

.message-type {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    border-radius: 3px;
    font-size: 12px;
    font-weight: 500;
}

.message-type.business {
    background: #e6f7ff;
    color: #1890ff;
}

.message-type.system {
    background: #f0f0f0;
    color: #666;
}

.message-type.reminder {
    background: #fff8e6;
    color: #d4940d;
}

.message-time {
    font-size: 12px;
    color: #999;
}

.message-title {
    font-size: 15px;
    font-weight: 600;
    color: #333;
    margin-bottom: 10px;
}

.message-content {
    font-size: 13px;
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
}

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

/* 模态框样式 */
.modal-backdrop {
    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;
}

.modal-backdrop.show {
    display: flex;
}

.modal-content {
    background: white;
    border-radius: 8px;
    padding: 0;
    max-width: 600px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 4px 20px rgba(0,0,0,0.3);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    border-bottom: 1px solid #e0e0e0;
}

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

.modal-close {
    background: none;
    border: none;
    font-size: 28px;
    color: #999;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: color 0.3s;
}

.modal-close:hover {
    color: #333;
}

.modal-body {
    padding: 25px;
}

.modal-footer {
    display: flex;
    gap: 10px;
    justify-content: flex-end;
    padding: 20px 25px;
    border-top: 1px solid #e0e0e0;
    background: #fafafa;
}

/* 徽章计数 */
.badge-count {
    display: inline-block;
    padding: 2px 6px;
    background: #ff4d4f;
    color: white;
    font-size: 11px;
    border-radius: 10px;
    font-weight: 600;
    min-width: 18px;
    text-align: center;
    line-height: 1.2;
}

/* --- New Financial Market Styles --- */

/* Lending Ticker */
.lending-ticker-section {
    background: #fff;
    border: 1px solid #e0e0e0;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    padding: 10px 15px;
    border-radius: 4px;
}
.ticker-header {
    font-weight: bold;
    color: #d9534f;
    margin-right: 15px;
    white-space: nowrap;
}
.ticker-container {
    flex: 1;
    overflow: hidden;
    height: 24px;
    position: relative;
    line-height: 24px;
}
.ticker-content {
    display: flex;
    white-space: nowrap;
    position: absolute;
    animation: tickerMove 25s linear infinite;
}
.ticker-content:hover { animation-play-state: paused; }

.ticker-item {
    margin-right: 50px;
    color: #666;
    font-size: 13px;
    display: inline-block;
}
.ticker-item span { margin-right: 8px; }
.ticker-item .money { color: #d9534f; font-weight: bold; }

@keyframes tickerMove {
    0% { transform: translateX(50px); }
    100% { transform: translateX(-100%); }
}

/* Hui Yi Dai Section */
.huiyidai-section {
    background: #fff;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 4px;
}
.huiyidai-section .section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
}
.huiyidai-section h2 {
    font-size: 18px;
    color: #204077;
    border-left: 4px solid #d9534f;
    padding-left: 10px;
}
.sector-tabs button {
    background: #f5f5f5;
    border: 1px solid #ddd;
    padding: 6px 15px;
    cursor: pointer;
    font-size: 14px;
    color: #666;
    border-radius: 20px;
    margin-left: 8px;
    transition: all 0.2s;
}
.sector-tabs button:hover, .sector-tabs button.active {
    background: #204077;
    color: #fff;
    border-color: #204077;
}
.sector-content { display: none; }
.sector-content.active { display: block; animation: fadeIn 0.5s; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }

.sector-product-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}
.sector-card {
    border: 1px solid #eee;
    padding: 20px;
    border-radius: 4px;
    text-align: center;
    transition: all 0.3s;
    background: #fff;
}
.sector-card:hover {
    box-shadow: 0 5px 15px rgba(0,0,0,0.08);
    transform: translateY(-2px);
    border-color: #bcd;
}
.sector-card img { height: 32px; margin-bottom: 15px; }
.sector-card h3 { font-size: 16px; margin-bottom: 15px; color: #333; font-weight: bold; }

.card-data-row {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    border-top: 1px dashed #eee;
    border-bottom: 1px dashed #eee;
    padding: 10px 0;
}
.card-data-item { flex: 1; }
.card-data-item .val { color: #d9534f; font-size: 16px; font-weight: bold; display: block; }
.card-data-item .lbl { color: #999; font-size: 12px; }

.sector-card .btn-detail {
    display: inline-block;
    background: #fff;
    border: 1px solid #204077;
    color: #204077;
    padding: 6px 25px;
    border-radius: 20px;
    cursor: pointer;
    text-decoration: none;
    font-size: 13px;
    transition: all 0.2s;
}
.sector-card .btn-detail:hover { background: #204077; color: #fff; }

/* Online Products Section */
.online-products-section {
    background: #fff;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 4px;
}
.online-products-section h2 {
    font-size: 18px;
    color: #204077;
    border-left: 4px solid #d9534f;
    padding-left: 10px;
    margin-bottom: 20px;
}
.online-products-section h2 .subtitle {
    font-size: 12px; color: #999; font-weight: normal; margin-left: 10px;
    background: #f0f0f0; padding: 2px 8px; border-radius: 4px;
}
.online-list { margin-bottom: 15px; }

/* Online Bank Group */
.online-bank-group {
    margin-bottom: 30px;
    border: 1px solid #f0f0f0;
    border-radius: 6px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.online-bank-group:hover {
    border-color: #3b6ea5;
    box-shadow: 0 4px 12px rgba(59, 110, 165, 0.1);
}

.bank-header {
    background: #f9fafb;
    padding: 20px;
    border-bottom: 1px solid #f0f0f0;
}

.bank-info {
    display: flex;
    align-items: center;
    gap: 25px;
}

.bank-logo-img {
    height: 45px;
    width: auto;
    flex-shrink: 0;
}

.bank-details {
    flex: 1;
}

.bank-name {
    font-size: 16px;
    font-weight: bold;
    color: #333;
    margin-bottom: 10px;
}

.bank-stats {
    font-size: 13px;
    color: #666;
    line-height: 1.6;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 8px;
}

.bank-stats strong {
    color: #d9534f;
    font-weight: bold;
    font-family: Arial, sans-serif;
    margin: 0 2px;
}

.bank-stats .divider {
    color: #ccc;
    margin: 0 4px;
}

/* Products Group */
.products-group {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 15px;
    padding: 20px;
}

.product-item {
    padding: 15px;
    border: 1px solid #f0f0f0;
    border-radius: 4px;
    background: #fff;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.product-item:hover {
    border-color: #3b6ea5;
    background: #f9fafb;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.product-item h4 {
    font-size: 15px;
    color: #333;
    font-weight: bold;
    margin-bottom: 12px;
    margin-top: 0;
}

.product-attrs {
    font-size: 13px;
    color: #666;
    margin-bottom: 12px;
    flex: 1;
    line-height: 1.6;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 6px;
}

.product-attrs strong {
    color: #d9534f;
    font-weight: bold;
    font-family: Arial, sans-serif;
}

.product-attrs .divider {
    color: #ccc;
}

.product-item .btn-detail {
    background: #d9534f;
    color: #fff;
    border: none;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 13px;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    transition: background 0.3s ease;
}

.product-item .btn-detail:hover {
    background: #c9302c;
}

@media (max-width: 1024px) {
    .products-group {
        grid-template-columns: 1fr;
    }
    
    .bank-stats {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }
    
    .bank-stats .divider {
        display: none;
    }
}

.section-footer {
    text-align: center;
}
.section-footer .view-more {
    color: #666;
    font-size: 13px;
    display: inline-block;
    padding: 5px 15px;
    border: 1px solid #ddd;
    border-radius: 20px;
    background: #f9f9f9;
}
.section-footer .view-more:hover { color: #204077; border-color: #204077; }

/* General Products Section (Non-Direct) */
.general-products-section {
    background: #fff;
    padding: 20px;
    border-radius: 4px;
}
.general-products-section h2 {
    font-size: 18px;
    color: #204077;
    border-left: 4px solid #d9534f;
    padding-left: 10px;
    margin-bottom: 20px;
}
.general-list { display: flex; flex-direction: column; gap: 15px; }

.general-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px;
    border: 1px solid #eee;
    border-radius: 4px;
    transition: all 0.2s;
}
.general-item:hover {
    border-color: #204077;
    box-shadow: 0 4px 12px rgba(0,0,0,0.05);
}
.general-item-info {
    flex: 1;
    display: flex;
    align-items: center;
}
.general-item-logo {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #fff;
    border: 1px solid #eee;
    border-radius: 50%;
    margin-right: 20px;
    box-shadow: 0 2px 5px rgba(0,0,0,0.05);
}
.general-item-logo img { width: 30px; height: auto; }

.general-item-text h3 {
    font-size: 16px;
    color: #333;
    margin-bottom: 0;
    font-weight: bold;
}
.general-item-text {
    flex: 0 0 220px;
    width: 220px;
}
.general-item-text .bank-name { font-size: 12px; color: #999; margin-top: 5px; }

.general-item-data {
    display: grid;
    grid-template-columns: 120px 120px;
    gap: 40px;
    margin: 0 40px;
    align-items: center;
    justify-items: center;
}
.gen-data-col { text-align: center; width: 120px; }
.gen-data-col .val { font-size: 18px; color: #d9534f; font-weight: bold; display: block; margin-bottom: 5px; }
.gen-data-col .lbl { font-size: 12px; color: #999; }

/* Loan Scroll Section */
.loan-scroll-section {
    background: #fff;
    padding: 20px;
    margin-bottom: 20px;
    border-radius: 4px;
}

.loan-scroll-section .section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    border-bottom: 2px solid #eee;
    padding-bottom: 10px;
}

.loan-scroll-section h2 {
    font-size: 18px;
    color: #204077;
    border-left: 4px solid #d9534f;
    padding-left: 10px;
}

.scroll-container {
    background: #fff;
    border: 1px solid #e8eef5;
    border-radius: 6px;
    overflow: hidden;
    max-height: 400px;
    position: relative;
}

.scroll-content {
    overflow: hidden;
    height: 100%;
}

@keyframes autoScroll {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(-100%);
    }
}

.loan-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.loan-table thead,
.loan-table tbody {
    display: block;
}

.loan-table thead {
    background: #f5f7fa;
    position: sticky;
    top: 0;
    z-index: 5;
}

.loan-table thead th {
    padding: 15px;
    text-align: left;
    color: #333;
    font-weight: bold;
    border-bottom: 2px solid #3b6ea5;
}

.loan-table th,
.loan-table td {
    box-sizing: border-box;
    white-space: nowrap;
}

.loan-table th:nth-child(1),
.loan-table td:nth-child(1) { width: 15%; }
.loan-table th:nth-child(2),
.loan-table td:nth-child(2) { width: 25%; }
.loan-table th:nth-child(3),
.loan-table td:nth-child(3) { width: 15%; }
.loan-table th:nth-child(4),
.loan-table td:nth-child(4) { width: 20%; }
.loan-table th:nth-child(5),
.loan-table td:nth-child(5) { width: 15%; }

.loan-table tbody {
    height: 320px;
    overflow: hidden;
    animation: autoScroll 30s linear infinite;
    position: relative;
    z-index: 1;
}

.scroll-content:hover .loan-table tbody {
    animation-play-state: paused;
}

.loan-table tbody tr {
    border-bottom: 1px solid #f0f0f0;
    transition: background-color 0.3s ease;
}

.loan-table tbody tr:hover {
    background-color: #f9fafb;
}

.loan-table thead tr,
.loan-table tbody tr {
    display: table;
    width: 100%;
    table-layout: fixed;
}

.loan-table tbody td {
    padding: 15px;
    color: #333;
    line-height: 1.5;
}

.loan-table td:first-child {
    color: #3b6ea5;
    font-weight: 500;
}

.loan-table td:last-child {
    color: #d9534f;
    font-weight: bold;
    text-align: right;
    padding-right: 20px;
}

@media (max-width: 1024px) {
    .loan-table {
        font-size: 12px;
    }
    
    .loan-table thead th,
    .loan-table tbody td {
        padding: 10px;
    }
}

.general-item .btn-detail {
    border: 1px solid #204077;
    color: #204077;
    background: transparent;
    padding: 6px 15px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 14px;
    text-decoration: none;
    transition: all 0.2s;
}
.general-item .btn-detail:hover {
    background: #204077;
    color: #fff;
}

/* Floating Window */
.float-window {
    position: fixed;
    top: 150px;
    z-index: 9999;
    width: 260px;
}

.float-window img {
    width: 100%;
    display: block;
    /* 去掉圆角和阴影，保留图片原样，或者轻微装饰 */
    /* border-radius: 4px; */
    /* box-shadow: 0 4px 12px rgba(0,0,0,0.2); */
}

.close-float {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 20px;
    height: 20px;
    background: rgba(0,0,0,0.3);
    color: #fff;
    border-radius: 50%;
    text-align: center;
    line-height: 18px;
    cursor: pointer;
    font-size: 14px;
    z-index: 10000;
}

.close-float:hover {
    background: #d9534f;
}
/* Rating Modal Styles */
.close-btn {
    color: #999;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
    transition: color 0.3s;
}

.close-btn:hover {
    color: #333;
}

.rating-star {
    transition: color 0.2s, transform 0.2s;
}

.rating-star:hover {
    transform: scale(1.1);
}

/* Modal Display as Flex */
.modal {
    display: flex !important;
    align-items: center;
    justify-content: center;
}

.modal[style*="display: flex"] {
    display: flex !important;
}

.modal[style*="display: none"] {
    display: none !important;
}