/**
 * 平安银行信用卡 - 页脚组件样式（Footer）
 * 对应 Vue 版本 Footer/index.vue 的 SCSS 样式转换（纯 CSS）
 * 颜色变量：bg-dark #252525 / primary #ff5f16 / white #ffffff
 */
.creditcard-footer {
  width: 100%;
  min-width: 62.5vw;
  background: #252525;
  box-shadow: inset 0vw 0.052083vw 0vw 0vw rgba(229, 229, 229, 0.5);
  padding: 2.083333vw 0;
}

.creditcard-footer .footer-inner {
  width: 62.5vw;
  margin: 0 auto;
}

/* ===== 顶部动态区（链接列 + 联系区） ===== */
.creditcard-footer .footer-top::after {
  content: '';
  display: block;
  clear: both;
}

.creditcard-footer .footer-top .link-column + .link-column {
  margin-left: 1.666667vw;
}

.creditcard-footer .footer-top .link-column {
  float: left;
  display: flex;
  flex-direction: column;
  width: 6.770833vw;
}

.creditcard-footer .footer-top .link-column .col-title {
  font-size: 0.729167vw;
  font-weight: 500;
  line-height: 1.041667vw;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 0.833333vw;
}

.creditcard-footer .footer-top .link-column .link-item {
  font-size: 0.625vw;
  line-height: 0.885417vw;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  width: 6.770833vw;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  transition: color 0.3s ease;
  margin-bottom: 0.416667vw;
}

.creditcard-footer .footer-top .link-column .link-item:hover {
  color: #ff5f16;
}

.creditcard-footer .footer-top .contact-section {
  display: flex;
  flex-direction: column;
  float: right;
  width: 18.229167vw;
  flex-shrink: 0;
}

.creditcard-footer .footer-top .contact-section .col-title {
  font-size: 0.729167vw;
  font-weight: 500;
  line-height: 1.041667vw;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 0.833333vw;
}

.creditcard-footer .footer-top .contact-section .contact-desc {
  font-size: 0.625vw;
  line-height: 0.885417vw;
  color: rgba(255, 255, 255, 0.8);
  margin: 0.520833vw 0 0.885417vw;
}

.creditcard-footer .footer-top .contact-section .qr-row {
  display: flex;
  gap: 2.1875vw;
}

.creditcard-footer .footer-top .contact-section .qr-row .qr-box {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.208333vw;
}

.creditcard-footer .footer-top .contact-section .qr-row .qr-box .qr-image {
  width: 4.583333vw;
  height: 4.583333vw;
}

.creditcard-footer .footer-top .contact-section .qr-row .qr-box .qr-name {
  font-size: 0.625vw;
  line-height: 0.885417vw;
  color: rgba(255, 255, 255, 0.8);
  text-align: center;
}

.creditcard-footer .footer-top .contact-section .hotline-label {
  display: block;
  font-size: 0.625vw;
  line-height: 0.885417vw;
  color: rgba(255, 255, 255, 0.8);
  margin: 1.666667vw 0 0.104167vw;
}

.creditcard-footer .footer-top .contact-section .hotline-number {
  display: block;
  font-size: 0.9375vw;
  font-weight: 500;
  line-height: 1.302083vw;
  color: #ff5f16;
}

/* ===== 客服与投诉服务卡片 ===== */
.creditcard-footer .service-card {
  width: 100%;
  min-height: 11.614583vw;
  background: #1f1e1e;
  border-radius: 0.416667vw;
  margin-top: 2.083333vw;
  padding: 0.833333vw 1.25vw 1.041667vw;
  position: relative;
}

.creditcard-footer .service-card .service-card-title {
  display: block;
  font-size: 0.729167vw;
  font-weight: 500;
  line-height: 1.041667vw;
  color: rgba(255, 255, 255, 0.8);
  margin-bottom: 1.041667vw;
}

.creditcard-footer .service-card .service-grid {
  display: grid;
  grid-template-columns: repeat(5, auto);
  gap: 0.625vw 0;
}

.creditcard-footer .service-card .service-grid .service-grid-col {
  display: flex;
  flex-direction: column;
  min-width: 0;
  position: relative;
}

.creditcard-footer .service-card .service-grid .service-grid-col .col-header {
  display: flex;
  align-items: flex-start;
  gap: 0.3125vw;
  margin-bottom: 0.208333vw;
  min-height: 0.885417vw;
}

.creditcard-footer .service-card .service-grid .service-grid-col .col-header .col-icon {
  width: 0.729167vw;
  height: 0.729167vw;
  flex-shrink: 0;
  margin-top: 0.104167vw;
}

.creditcard-footer .service-card .service-grid .service-grid-col .col-header .col-header-title {
  font-size: 0.625vw;
  font-weight: 500;
  line-height: 0.885417vw;
  color: rgba(255, 255, 255, 0.8);
}

.creditcard-footer .service-card .service-grid .service-grid-col .col-value {
  position: relative;
  font-size: 0.625vw;
  line-height: 0.885417vw;
  color: rgba(255, 255, 255, 0.8);
  margin: 0 0 0.104167vw 1.041667vw;
  white-space: pre-wrap;
}

.creditcard-footer .service-card .service-grid .service-grid-col .col-value.has-qr {
  cursor: pointer;
}

.creditcard-footer .service-card .service-grid .service-grid-col .col-value-link {
  display: block;
  font-size: 0.625vw;
  line-height: 0.885417vw;
  color: rgba(255, 255, 255, 0.8);
  text-decoration: none;
  margin: 0 0 0.104167vw 1.041667vw;
}

.creditcard-footer .service-card .service-grid .service-grid-col .col-value-link:hover {
  color: #ff5f16;
}

/* 二维码悬浮弹层 */
.creditcard-footer .service-card .service-grid .service-grid-col .col-value.has-qr:hover .qr-popup {
  opacity: 1;
  visibility: visible;
}

.creditcard-footer .service-card .service-grid .service-grid-col .qr-popup {
  position: absolute;
  bottom: calc(100% + 0.416667vw);
  left: 0;
  z-index: 10;
  width: 7.083333vw;
  background: #ffffff;
  box-shadow: 0vw 0vw 0.3125vw 0vw rgba(0, 0, 0, 0.2);
  border-radius: 0.416667vw;
  padding: 0.520833vw;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
  box-sizing: border-box;
}

.creditcard-footer .service-card .service-grid .service-grid-col .qr-popup .qr-code {
  width: 5.833333vw;
  height: 5.833333vw;
}

.creditcard-footer .service-card .service-grid .service-grid-col .qr-popup .qr-code img {
  width: 100%;
  height: 100%;
  display: block;
}

/* ===== 分割线 ===== */
.creditcard-footer .footer-divider {
  border: 0.052083vw solid rgba(241, 241, 241, 0.1);
  margin: 2.083333vw 0;
}

/* ===== 底部版权备案 + Logo ===== */
.creditcard-footer .footer-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.creditcard-footer .footer-bottom .bottom-left {
  flex: 1;
}

.creditcard-footer .footer-bottom .bottom-left .copyright-lines {
  margin-bottom: 1.302083vw;
}

.creditcard-footer .footer-bottom .bottom-left .copyright-lines .copyright-line {
  font-size: 0.625vw;
  line-height: 0.885417vw;
  color: rgba(255, 255, 255, 0.6);
  margin: 0;
}

.creditcard-footer .footer-bottom .bottom-left .bottom-info {
  display: flex;
  align-items: center;
  gap: 1.302083vw;
}

.creditcard-footer .footer-bottom .bottom-left .bottom-info .info-link {
  font-size: 0.625vw;
  line-height: 0.885417vw;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  white-space: nowrap;
}

.creditcard-footer .footer-bottom .bottom-left .bottom-info .info-link:hover {
  color: #ff5f16;
  text-decoration: underline;
}

.creditcard-footer .footer-bottom .bottom-left .bottom-info .info-text {
  font-size: 0.625vw;
  line-height: 0.885417vw;
  color: rgba(255, 255, 255, 0.6);
  white-space: nowrap;
}

.creditcard-footer .footer-bottom .bottom-left .bottom-info .info-text .ipv6-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 1.666667vw;
  height: 0.833333vw;
  border: 0.026042vw solid #979797;
  border-radius: 0.104167vw;
  vertical-align: middle;
}

.creditcard-footer .footer-bottom .bottom-right {
  flex-shrink: 0;
  margin-left: 2.083333vw;
}

.creditcard-footer .footer-bottom .bottom-right .footer-logo {
  width: 13.229167vw;
  height: 2.1875vw;
  object-fit: contain;
}