﻿/* ===== 全局容器基础 ===== */
.cmcc-promo-box,
.cmcc-pricing-table-wrapper,
.cmcc-notice-box {
  margin: 25px auto; /* 仅上下外边距 + 水平居中 */
  max-width: 100%;
  width: 100%; /* 关键：撑满 body padding 内部 */
  box-sizing: border-box;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "PingFang SC", "Microsoft YaHei", sans-serif;
}

/* ===== 活动通知 ===== */
.cmcc-promo-box {
  background-color: #fff;
  border: 1px solid #e0e7ff;
  border-radius: 8px;
  padding: 20px;
  position: relative;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}
.cmcc-promo-tag {
  position: absolute;
  top: -12px;
  left: 50%;
  transform: translateX(-50%);
  background: #1a73e8;
  color: white;
  font-size: 14px;
  font-weight: bold;
  padding: 4px 12px;
  border-radius: 20px;
  letter-spacing: 1px;
  box-shadow: 0 2px 4px rgba(0,0,0,0.1);
  z-index: 2;
}
.cmcc-promo-content {
  margin-top: 12px;
  font-size: 14px;
  line-height: 1.7;
  color: #333;
  text-align: justify;
  letter-spacing: 0.3px;
}
.cmcc-promo-content p { margin: 8px 0; }
.cmcc-promo-highlight { color: #d32f2f; font-weight: bold; }

/* ===== 资费表格 ===== */
.cmcc-pricing-title {
  text-align: center;
  font-size: 24px;
  color: #1a73e8;
  margin: 0 0 20px;
  font-weight: bold;
}
.cmcc-pricing-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 16px;
  line-height: 1.5;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
}
.cmcc-pricing-table th {
  background-color: #e6f4ff;
  color: #1a73e8;
  font-weight: bold;
  padding: 14px 12px;
  text-align: center;
  border-bottom: 2px solid #b3d9ff;
}
.cmcc-pricing-table td {
  padding: 14px 12px;
  text-align: center;
  border-bottom: 1px solid #eee;
  color: #333;
}
.cmcc-pricing-table tr:last-child td { border-bottom: none; }
.cmcc-pricing-table tr:hover { background-color: #f9fbfd; }
.cmcc-pricing-price { color: #d32f2f; font-weight: bold; }

/* ===== 温馨提示 ===== */
.cmcc-notice-box {
  background-color: #f9fbfd;
  border: 1px solid #e0e7ff;
  border-radius: 8px;
  padding: 18px;
  position: relative;
}
.cmcc-notice-box::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: #1a73e8;
  border-radius: 4px 0 0 4px;
}
.cmcc-notice-header {
  font-weight: bold;
  color: #1a73e8;
  font-size: 16px;
  margin: 0 0 12px 10px;
}
.cmcc-notice-content p {
  margin: 8px 0;
  text-align: justify;
  letter-spacing: 0.3px;
  word-wrap: break-word;
}
.cmcc-notice-emphasis { color: #d32f2f; font-weight: bold; }

/* ===== 移动端响应式（仅调整间距/字体，不设左右 margin） ===== */
@media (max-width: 600px) {
  .cmcc-promo-box,
  .cmcc-pricing-table-wrapper,
  .cmcc-notice-box {
    margin: 20px auto; /* ← 只改上下，左右 auto（由 body padding 控制） */
  }

  /* 活动通知 */
  .cmcc-promo-box { padding: 16px; }
  .cmcc-promo-tag {
    top: -10px;
    font-size: 13px;
    padding: 3px 10px;
  }
  .cmcc-promo-content { font-size: 14px; line-height: 1.65; }

  /* 表格标题 */
  .cmcc-pricing-title { font-size: 20px; margin-bottom: 18px; }

  /* 表格移动端堆叠 */
  .cmcc-pricing-table,
  .cmcc-pricing-table thead,
  .cmcc-pricing-table tbody,
  .cmcc-pricing-table th,
  .cmcc-pricing-table td,
  .cmcc-pricing-table tr {
    display: block;
  }
  .cmcc-pricing-table thead tr {
    position: absolute;
    top: -9999px;
    left: -9999px;
  }
  .cmcc-pricing-table tr {
    border: 1px solid #ddd;
    margin-bottom: 15px;
    padding: 15px 0;
    border-radius: 8px;
    background: #fafafa;
  }
  .cmcc-pricing-table td {
    border: none;
    position: relative;
    padding-left: 50% !important;
    text-align: right;
    font-size: 15px;
  }
  .cmcc-pricing-table td::before {
    content: attr(data-label) ": ";
    position: absolute;
    left: 12px;
    width: 48%;
    font-weight: bold;
    color: #1a73e8;
    text-align: left;
    white-space: nowrap;
  }

  /* 温馨提示 */
  .cmcc-notice-box { padding: 16px; }
  .cmcc-notice-content p { font-size: 14px; line-height: 1.65; }
}