/* ==========================================================================
   赤峰市中小微企业金融服务信用信息共享平台 —— bank-products.jsp 专属样式
   说明：已从页面内联 <style> 中抽出，并剔除与 website.css 重复的规则。
         website.css 需先加载，本文件在其后加载（同选择器时以本文件为准）。
   ========================================================================== */
body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
  line-height: 1.6; color: #333; background: #f0f2f5; min-height: 100vh; font-size: 14px;
}

.top-bar .container { max-width: 1200px; margin: 0 auto; padding: 0 15px; display: flex; justify-content: space-between; align-items: center; }

.nav-bar .container { max-width: 1200px; margin: 0 auto; padding: 0 15px; width: 100%; }

.page-header .container { max-width: 1200px; margin: 0 auto; padding: 0 15px; }

/* 筛选标签 */
.filter-tabs { display: flex; gap: 0; margin-bottom: 24px; background: white; border-radius: 8px; overflow: hidden; box-shadow: 0 1px 3px rgba(0,0,0,0.08); }

.filter-tab { flex: 1; text-align: center; padding: 14px 20px; font-size: 15px; font-weight: 600; color: #666; cursor: pointer; transition: all 0.25s; border-bottom: 3px solid transparent; position: relative; }

.filter-tab:hover { background: #f5f8fc; color: #2d6098; }

.filter-tab.active { color: #2d6098; background: #f0f6fc; border-bottom-color: #2d6098; }

.filter-tab .tab-icon { margin-right: 6px; font-size: 16px; }

.filter-tab .tab-count { display: inline-block; background: #e8f4fd; color: #2d6098; font-size: 11px; font-weight: 700; padding: 1px 8px; border-radius: 10px; margin-left: 6px; }

.filter-tab.active .tab-count { background: #2d6098; color: white; }

/* 产品面板 */
.product-panel { background: white; border-radius: 8px; box-shadow: 0 1px 3px rgba(0,0,0,0.08); overflow: hidden; }

.product-panel-header { background: linear-gradient(90deg, #2d6098, #3a72a8); color: white; padding: 14px 20px; font-weight: 600; font-size: 15px; display: flex; justify-content: space-between; align-items: center; }

.product-list { list-style: none; }

.product-item { padding: 20px; border-bottom: 1px solid #f0f0f0; transition: background 0.2s; }

.product-item:hover { background: #f8f9fa; }

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

.product-item-top { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 10px; }

.product-item-name { font-size: 16px; font-weight: 600; color: #2d6098; }

.product-item-bank { display: flex; align-items: center; gap: 6px; font-size: 13px; color: #666; flex-shrink: 0; }

.bank-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; }

.bank-ccb { background: #0051a5; }

.bank-icbc { background: #c41230; }

.bank-psbc { background: #007e00; }

.bank-abc { background: #00a0e9; }

.bank-boc { background: #c41230; }

/* 未匹配到具体银行时的默认色点 */
.bank-other { background: #7a8ba3; }

/* 列表色点：按行序循环点缀，与银行名称无关 */
.bank-red { background: #e02020; }

.bank-green { background: #2e9e5b; }

.bank-blue { background: #2d6098; }

.product-item-desc { font-size: 13px; color: #666; line-height: 1.7; margin-bottom: 14px; }

.product-item-info { display: flex; gap: 24px; align-items: center; flex-wrap: wrap; }

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

.product-info-label { font-size: 11px; color: #999; }

.product-info-value { font-size: 13px; color: #333; font-weight: 500; }

.product-info-value.rate { color: #e65100; font-weight: 700; font-size: 15px; }

.product-item-btn { margin-left: auto; }

.btn-apply { display: inline-block; padding: 7px 20px; background: #2d6098; color: white; border-radius: 4px; font-size: 13px; transition: background 0.2s; }

.btn-apply:hover { background: #2560a0; }

.no-results { text-align: center; padding: 60px 20px; color: #999; font-size: 15px; display: none; }

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

@media (max-width: 1240px) { .nav-logo-text { font-size: 0.95rem; } .nav-links { gap: 0; } .nav-link { padding: 23px 10px; font-size: 13px; } }

@media (max-width: 1080px) { .nav-content { gap: 20px; } .nav-logo-text { font-size: 0.9rem; } .nav-logo { max-width: 200px; } .nav-link { padding: 23px 5px; font-size: 12px; } .nav-search input { width: 100px; } }

@media (max-width: 900px) { .nav-content { flex-wrap: wrap; gap: 10px; height: auto; padding: 10px 0; } .nav-logo { justify-content: center; } .nav-links { justify-content: center; flex-wrap: wrap; } .nav-search { justify-content: center; } .product-item-info { gap: 16px; } .filter-tab { padding: 12px 10px; font-size: 13px; } }

@media (max-width: 600px) { .footer-content { flex-direction: column; gap: 15px; text-align: center; } .footer-links { flex-wrap: wrap; justify-content: center; gap: 15px; } .filter-tabs { flex-direction: column; } .filter-tab { border-bottom: none; border-left: 3px solid transparent; } .filter-tab.active { border-left-color: #2d6098; } }
