/* 存款利率页面样式 */

/* 主容器 */


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


/* 主标签切换 */
.hkprime-main-tabs {
  display: flex;
  gap: 15px;
  margin-bottom: 50px;
  /* border-bottom: 1px solid #e0e0e0; */
}

.hkprime-main-tab-btn {
  padding: 16px 25px;
  font-size: 20px;
  font-weight: 330;
  color: #606266;
  background: #fff;
  border: 1px solid #606266;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
}

.hkprime-main-tab-btn:first-child {
  margin-right: 8px;
}

.hkprime-main-tab-btn.active {
  color: #fff;
  background: #4840BB;
  border: none;
  outline: none;
}

.hkprime-main-tab-btn:hover:not(.active) {
  background: #ebebeb;
  color: #333;
}

/* 主内容区 */
.hkprime-main-content {
  display: none;
  animation: fadeIn 0.4s ease;
}

.hkprime-main-content.active {
  display: block;
}

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

/* 区域标题 */
.hkprime-section-title {
  font-size: 24px;
  font-weight: 700;
  color: #000;
  margin-bottom: 30px;
  text-align: start;
}

/* 货币切换按钮 */
.hkprime-currency-tabs {
  display: flex;
  gap: 16px;
  padding-bottom: 20px;
  border-bottom: 1px solid #e0e0e0;
  margin-bottom: 85px;
}

.hkprime-currency-btn {
  padding: 10px 22px;
  font-size: 16px;
  font-weight: 330;
  color: #606266;
  background: #fff;
  border: 1px solid #606266;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.hkprime-currency-btn.active {
  color: #fff;
  background: #4E42C2;
  border: none;
  font-weight: 600;
  outline: none;
}

.hkprime-currency-btn:hover:not(.active) {
    background: #ebebeb;
    color: #333;
}

/* 货币内容区 */
.hkprime-currency-content {
  display: none;
  animation: fadeIn 0.4s ease;
}

.hkprime-currency-content.active {
  display: block;
}

/* 利率区域 */
.hkprime-rate-section {
  margin-bottom: 60px;
}

.hkprime-rate-section:last-child {
  margin-bottom: 0;
}

.hkprime-rate-title {
  font-size: 22px;
  font-weight: 600;
  color: #000;
  display: flex;
  align-items: center;
}

.hkprime-rate-title-timedeposit{
  justify-content: space-between;
}

.hkprime-update-time {
  font-size: 14px;
  font-weight: 400;
  color: #999;
}

/* 表格样式 */
.hkprime-table-wrapper {
  overflow-x: auto;
  margin-bottom: 24px;
  border-radius: 8px;
  border: 1px solid #e0e0e0;
}

.hkprime-table {
  width: 100%;
  border-collapse: collapse;
  background: #fff;
}

.hkprime-table thead {
  background: #f5f5f5;
}

.hkprime-table th {
  padding: 16px 12px;
  text-align: center;
  font-size: 16px;
  font-weight: 600;
  color: #333;
  border-bottom: 2px solid #e0e0e0;
  white-space: nowrap;
}

.hkprime-table tbody tr {
  border-bottom: 1px solid #f0f0f0;
}

.hkprime-table tbody tr:last-child {
  border-bottom: none;
}

.hkprime-table td {
  padding: 16px 12px;
  text-align: center;
  font-size: 16px;
  color: #333;
  white-space: nowrap;
}

.hkprime-table td:first-child {
  font-weight: 600;
  background: #fafafa;
}

/* .hkprime-table tbody tr:hover {
  background: #f9f9f9;
} */

/* 活期存款利率表格 - Web端竖向布局 */
.hkprime-saving-table .hkprime-table-header-cell {
  background: #f5f5f5;
  font-weight: 600;
}

/* 定期存款利率表格 - Web端竖向布局 */
.hkprime-timedeposit-table .hkprime-table-header-cell {
  background: #f5f5f5;
  font-weight: 600;
}


.hkprime-note {
  font-size: 14px;
  font-weight: 600;
  color: #333;
  margin-bottom: 8px;
}

.hkprime-notes p {
  font-size: 13px;
  color: #666;
  line-height: 1.8;
  margin-bottom: 6px;
}

.hkprime-notes p:last-child {
  margin-bottom: 0;
}

/* 占位符 */
.hkprime-placeholder {
  color: #999;
  font-size: 18px;
}

.hk-prime-content-text{
  display: flex;
  align-items: center;
  line-height: 44px;
  gap:2px
}
.hk-prime-content-text-title{
  font-size: 16px;
  color: #fff;
  background-color: #4E42C2;
  padding: 0px 5px;
}
.hk-prime-content-text-value{
  font-size: 16px;
  color: #000;
  padding: 0px 5px;
  background-color: #EDEBFF;
}

.hk-prime-content-update-time{
  display: flex;
  align-items: center;
  line-height: 44px;
  gap:10px;
  font-size: 16px;
  color: #212529;
}

.hk-prime-content-notes{
  margin-top: 180px;
}
.hk-prime-content-note{
  color: rgba(0,0,0,0.4);
  font-weight: 400;
}
.hk-prime-content-notes p{
  font-size: 14px;
}

/* 响应式设计 - 平板 */
@media (max-width: 1099px) {

  .hkprime-container {
    padding: 40px;
  }

  .hkprime-main-tab-btn {
    padding: 14px 20px;
    font-size: 18px;
  }

  .hkprime-section-title {
    font-size: 22px;
  }

  .hkprime-currency-btn {
    padding: 8px 15px;
    font-size: 16px;
    min-width: 100px;
  }

  .hkprime-rate-title {
    font-size: 20px;
    align-items: flex-start;
    gap: 8px;
  }


  .hkprime-table th,
  .hkprime-table td {
    padding: 12px 8px;
    font-size: 14px;
  }
}

/* 响应式设计 - 手机 */
@media (max-width: 575.98px) {

  .hkprime-container {
    padding: 24px 16px;
  }

  .hkprime-main-tabs {
    margin-bottom: 30px;
  }

  .hkprime-main-tab-btn {
    padding: 12px 15px;
    font-size: 16px;
  }

  .hkprime-main-tab-btn:first-child {
    margin-right: 4px;
  }

  .hkprime-table td:first-child {
    background: none;
  }

  .hkprime-table tr:first-child {
    background-color: #f5f5f5 !important;
  }

  .hkprime-section-title {
    font-size: 20px;
    margin-bottom: 24px;
  }

  .hkprime-currency-tabs {
    gap: 12px;
    margin-bottom: 30px;
  }

  .hkprime-currency-btn {
    padding: 8px 10px;
    font-size: 16px;
  }

  .hkprime-rate-section {
    margin-bottom: 40px;
  }

  .hkprime-rate-title {
    font-size: 18px;
    margin-bottom: 16px;
  }

  .hkprime-rate-title-timedeposit{
    flex-direction: column;
    align-items: flex-start;
  }

  .hkprime-update-time {
    font-size: 12px;
  }

  .hkprime-table-wrapper {
    margin-bottom: 16px;
  }

  .hkprime-table th,
  .hkprime-table td {
    padding: 10px 6px;
    font-size: 13px;
  }

  .hkprime-table th {
    font-size: 12px;
  }


  .hkprime-notes p {
    font-size: 12px;
  }

  .hkprime-placeholder {
    font-size: 16px;
  }

  /* 移动端表格布局转换 */
  .hkprime-table-mobile .hkprime-table-header-cell {
    background: #f5f5f5;
    font-weight: 600;
    text-align: center;
    padding: 10px 6px;
  }

  .hk-prime-content-text{
    display: flex;
    align-items: center;
    line-height: 44px;
    gap:2px
  }
  .hk-prime-content-text-title{
    font-size: 12px;
    color: #fff;
    background-color: #4E42C2;
    padding: 0px 5px;
  }
  .hk-prime-content-text-value{
    font-size: 12px;
    color: #000;
    padding: 0px 5px;
    background-color: #EDEBFF;
  }
  
  .hk-prime-content-update-time{
    display: flex;
    align-items: center;
    line-height: 44px;
    gap:10px;
    font-size: 12px;
    color: #212529;
  }
  
  .hk-prime-content-notes{
    margin-top: 100px;
  }
  .hk-prime-content-note{
    color: rgba(0,0,0,0.4);
    font-weight: 400;
  }
  .hk-prime-content-notes p{
    font-size: 12px;
  }
}



