/* 清除默认样式 */
body, ol, ul, h1, h2, h3, h4, h5, h6, p, th, td, dl, dd, form, fieldset, legend, input, textarea, select {
  margin: 0;
  padding: 0;
}

fieldset, img {
  border: 0 none;
}

fieldset p {
  margin: 0;
  padding: 0 0 0 8px;
}

address, caption, em, strong, th, i {
  font-style: normal;
  font-weight: 400;
}

ol, ul {
  list-style-image: none;
  list-style-position: outside;
  list-style-type: none;
}

* {
  box-sizing: border-box;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "Noto Sans", sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
  font-size: 14px;
  line-height: 1.5;
  color: #333;
  background: #F9FAFB;
}

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

a:hover {
  color: #CC2131;
}

/* 主题色变量 */
:root {
  --base-color: #CC2131;
  --page-color: #F5F5F5;
  --warning: #FFAF1A;
  --error: #F33A3A;
  --primary: #10A1AE;
  --content-width: 1400px;
}

/* 图标字体 */
@font-face {
  font-family: "iconfont";
  src: url('//at.alicdn.com/t/c/font_4666264_b50owp1ulhh.woff2?t=1725529191232') format('woff2'),
       url('//at.alicdn.com/t/c/font_4666264_b50owp1ulhh.woff?t=1725529191232') format('woff'),
       url('//at.alicdn.com/t/c/font_4666264_b50owp1ulhh.ttf?t=1725529191232') format('truetype');
}

.iconfont {
  font-family: "iconfont" !important;
  font-size: 16px;
  font-style: normal;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* 通用容器 */
.container {
  width: var(--content-width);
  margin: 0 auto;
}

/* 按钮样式 */
.btn {
  display: inline-block;
  padding: 10px 24px;
  font-size: 14px;
  text-align: center;
  border-radius: 4px;
  cursor: pointer;
  transition: all 0.3s;
  border: none;
}

.btn-primary {
  background: var(--base-color);
  color: #fff;
}

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

.btn-secondary {
  background: #000;
  color: #fff;
}

.btn-secondary:hover {
  background: #333;
}

.btn-outline {
  background: #fff;
  color: var(--base-color);
  border: 1px solid var(--base-color);
}

.btn-outline:hover {
  background: var(--base-color);
  color: #fff;
}

/* 卡片样式 */
.card {
  background: #fff;
  border-radius: 8px;
  padding: 20px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

/* 页头样式 */
.page-header {
  position: sticky;
  top: 0;
  left: 0;
  padding-top: 10px;
  background: #FFF;
  box-shadow: 0px 0px 3px rgba(0, 0, 0, 0.34);
  z-index: 10;
}

.page-header .header-container {
  width: var(--content-width);
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 60px;
  box-sizing: border-box;
  line-height: 1;
}

.page-header .logo {
  display: flex;
  align-items: center;
}

.page-header .logo_img {
  margin-right: 12px;
  width: 36px;
  height: 36px;
}

.page-header .logo_text {
  font-size: 18px;
  font-weight: bold;
  color: var(--base-color);
}

.page-header .menu {
  display: flex;
  align-items: center;
}

.page-header .menu_item {
  display: flex;
  align-items: center;
  margin-left: 30px;
  font-weight: 700;
  height: 60px;
  cursor: pointer;
  transition: all 0.3s;
}

.page-header .menu_item:hover,
.page-header .menu_item.active {
  color: var(--base-color);
  box-shadow: 0px -2px 0px 0px var(--base-color) inset;
}

.page-header .user {
  display: flex;
  align-items: center;
  cursor: pointer;
}

.page-header .user_img {
  margin-right: 12px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  border: 1px solid #CCC;
}

.page-header .user_login,
.page-header .user_name {
  color: #909399;
}

.page-header .user_login .tip,
.page-header .user_name .tip {
  color: var(--base-color);
}

/* 页脚样式 */
.page-footer {
  padding: 16px 80px;
  background: rgba(38, 47, 53, 1);
  line-height: 1;
}

.page-footer .footer-content {
  display: flex;
  align-items: center;
  margin-top: 28px;
  padding-bottom: 28px;
  border-bottom: 1px solid rgb(120, 120, 120);
}

.page-footer .content-item {
  color: #FFF;
}

.page-footer .content-item.flex {
  flex: 1;
}

.page-footer .item-logo {
  display: flex;
}

.page-footer .logo_img {
  width: 78px;
  height: 78px;
  border-radius: 8px;
  overflow: hidden;
}

.page-footer .logo-text {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  margin-left: 12px;
  font-weight: bold;
}

.page-footer .text_title {
  font-size: 28px;
}

.page-footer .text_label {
  font-size: 20px;
}

.page-footer .brief-introduction {
  margin-top: 24px;
  font-size: 14px;
  line-height: 20px;
  width: 280px;
}

.page-footer .item_phone {
  text-align: center;
  font-size: 28px;
  font-weight: bold;
}

.page-footer .item_add {
  text-align: center;
  margin-top: 32px;
}

.page-footer .item-code {
  display: flex;
}

.page-footer .code_img {
  width: 92px;
  height: 92px;
}

.page-footer .code-info {
  display: flex;
  flex-direction: column;
  justify-content: space-around;
  margin-left: 24px;
}

.page-footer .item_line {
  margin: 0 48px;
  height: 100px;
  width: 1px;
  background: rgb(120, 120, 120);
}

.page-footer .copyright {
  margin-top: 12px;
  text-align: center;
  color: #FFF;
  font-size: 12px;
}

/* 标签样式 */
.tag {
  display: inline-block;
  padding: 4px 12px;
  font-size: 12px;
  border-radius: 4px;
  background: rgba(16, 161, 174, 0.13);
  color: var(--primary);
}

.tag-danger {
  background: rgba(239, 86, 86, 0.1);
  color: var(--error);
}

.tag-warning {
  background: rgba(246, 164, 32, 0.1);
  color: var(--warning);
}

/* 价格样式 */
.price {
  color: var(--base-color);
  font-size: 20px;
  font-weight: bold;
}

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

/* 辅助类 */
.text-center {
  text-align: center;
}

.text-right {
  text-align: right;
}

.mt-10 {
  margin-top: 10px;
}

.mt-20 {
  margin-top: 20px;
}

.mb-10 {
  margin-bottom: 10px;
}

.mb-20 {
  margin-bottom: 20px;
}

.p-20 {
  padding: 20px;
}

.bg-white {
  background: #fff;
}

.bg-gray {
  background: #F9FAFB;
}

/* 响应式 */
@media (max-width: 1440px) {
  :root {
    --content-width: 1200px;
  }
}

@media (max-width: 1200px) {
  :root {
    --content-width: 960px;
  }
}
