 :root {
     --primary-color: #1890ff;
     --primary-hover: #1478d1;
     --primary-green: #22C390;
     --primary-bg: #EBF4FF;
     --body-bg:#F7F7F8;
     --black-color: #1C1819;
     --light-gray: #EAF2FF;
     --light-white: 255, 255, 255;
     --border-color: #E4E5E8;
     --gray-color: #767F8C;
     --secondary-rgb: 179, 55, 64;
 }


body {
font-family: 'PingFang SC', 'Microsoft YaHei', sans-serif;
background: linear-gradient(135deg, #f5f7fa 0%, #e4e8f0 100%);


justify-content: center;
align-items: center;
color:#1c2149
}
.header {
display: flex;
justify-content: space-between;
align-items: center;
padding: 10px 30px;
background-color: white;
border-bottom: 1px solid #e0e0e0;
box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}
.container{ position: relative;}
.logo {
display: flex;
align-items: center;
}
.logo img {
height: 36px;
margin-right: 15px;
}
.logo-text {
color: #4A90E2;
font-size: 16px;
font-weight: normal;
margin-left:34px;
font-family: PingFang SC,Arial,Microsoft YaHei,sans-serif;
line-height: 1.65;
cursor:pointer;
padding-bottom:2px;padding:2px 10px; white-space: nowrap;

}
.logo-text:hover{
background-color: #1890ff;color:#fff;border-radius:8px;padding:2px 10px
}
.logo-text.logo-text_underline{
	border-width: 0px 0px 2px 0px;border-color:#4A90E2;border-style:double;cursor:default;
}
.logo-text.logo-text_underline:hover{
	border-width: 0px 0px 2px 0px;border-color:#4A90E2;border-style:double;cursor:default;color: #4A90E2;background:none;border-radius:0px;
}
.charge{;cursor:pointer}




.btn-outline {
    border: 2px solid #4a6cf7;
    color: var(--primary-color);
    margin-right: 1rem;
	 display: inline-block;
    padding: 0.4rem 2.5rem;
    border-radius: 50px;
    font-weight: 500;
    text-align: center;
    transition: var(--transition);
    cursor: pointer;
    
}

.btn-outline:hover {
    background-color: var(--primary-color);
    color: white;
}
.navbar-nav .user-info img {
width: 32px;
height: 32px;
border-radius: 50%;
margin-left: 10px;
background-color: #eee;
transition: all 0.3s ease;
/* border: 2px solid transparent; */
cursor:pointer;vertical-align:middle
}
.navbar-nav .user-info img:hover{
transform: scale(1.1);
border-color: #4a90e2;
}
.user-menu {
	display: none;
	position: absolute;
	top: 50px;
	right: 1%;
	background-color: white;
	border-radius: 8px;
	box-shadow: 0 5px 15px rgba(0,0,0,0.1);
	width: 180px;
	z-index: 1000;
	overflow: hidden;
	border: 1px solid #e0e0e0;
}

.user-menu-item {
	padding: 12px 15px;
	cursor: pointer;
	transition: background-color 0.2s;
	font-size: 14px;
	color: #333;
	display: flex;
	align-items: center;
}
.user-menu-item.user_munu{
border-bottom:1px solid #e0e0e0
}


.user-menu-item:hover {
	background-color: #188fff1d;
}

.user-menu-item i {
	margin-right: 10px;
	width: 20px;
	text-align: center;
}
 .charge {
    perspective: 200px;
    width: 80px; /* 设置容器宽度 */
    height: 32px; /* 设置容器高度 */
    display: inline-block;
  }
  
  .flipper {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform 0.6s;
  }

  .charge:hover .flipper {
    transform: rotateY(180deg);
  }

  .front, .back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
    background: linear-gradient(45deg, #0072ff, #00c6ff);
    color: white;
    border-radius: 10px;
    font-size: 12px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
  }

  .back {
    background-color: #feb47b;
    transform: rotateY(180deg);
	   background: linear-gradient(45deg, #feb47b, red);
  }

 .front img, .back img {
    width: 20px;
    height: 20px;margin-right:2px;
    vertical-align: middle;
}
.user-info .user_info{transition: all 0.3s ease-in-out;line-height:16px}
.user-info .user_info:hover{color:#0072ff;transform: translateY(-2px);font-size:18px}

.header .fas.fa-city{color:#1890ff}
.header .company{   
    width: 98px;
    height: 32px;
    
   background: linear-gradient(45deg,  #00c6ff,#0072ff);
    color: white;
    border-radius: 10px;
    font-size: 12px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.2);
	cursor:pointer;line-height:32px;padding:0px 4px
	
	}
.header .company img {
    width: 20px;
    height: 20px;
    margin-right: 2px;
    vertical-align: middle;
}

.header_items{ 
right:10%;
   display: grid;width:30%;
    grid-template-columns: 3fr 4fr  3fr;   

    text-align: center;
    align-items: center;position:absolute;
}
.header_items a{
	color:white;text-decoration:none
}

.header_items .company{
 transition: all 0.3s ease-in-out;
    box-shadow: 0 2px 6px rgba(24, 144, 255, 0.2);
}
.header_items .company:hover{
	 transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(24, 144, 255, 0.4);
    background-color: #1478d1;transform:  scale(1.1);
}
 body {
     font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
     background-color: var(--body-bg);
 }

 .navbar {
     padding: 0;
     border-bottom: 1px solid var(--border-color);height:65px
 }

 .navbar-brand {
     color: var(--primary-color) !important;
     font-weight: bold;
     font-size: 1.25rem;

 }

 .navbar-nav li {
     margin-right: 1.5rem;
 }

 .navbar-nav li .nav-active {
     color: var(--primary-color) !important;
     font-weight: bold;
     border-bottom: 2px solid var(--primary-color);
 }

 .navbar-nav li a:hover {
     color: var(--primary-hover) !important;
     text-decoration: none;
 }

.qcc-header-right-item {
    margin-top: 10px;
    display: inline-flex;
    height: 32px;
    align-items: center;
    line-height: 1.5;
}
/* .qcc-header-right-item-divider::before {
    content: '';
    position: absolute;
    width: 1px;
    height: 18px;
    top: 6px;
    left: 0px;
    background-color: #efefef;
} */
.qcc-header-gicon-vip {
  display: inline-block;
  height: 30px;
  width: 58px;
  border-radius: 2px;
  background-image: url(../image/vips.png);
  background-size: 114px 30px;
  background-repeat: no-repeat;
  margin-left: 10px;
}

.qcc-header-gicon-vip.vip {
  background-position: -52px 0;
  background-color: #FFF7EE;
}
.qcc-header-gicon-vip.vip:hover {
  background-color: #FFEFDD;
}
.qcc-header-gicon-vip.no-vip {
  background-position: 2px 0;
  background-color: #FFF7EE;
  animation: blowing 1.6s ease-in-out infinite;
}
.qcc-header-gicon-vip.no-vip:hover {
  background-color: #FFEFDD;
  animation: none;
}
.qcc-header-has-coupon {
  display: inline-block;
  height: 30px;
  width: 58px;
  border-radius: 2px;
  margin-left: 10px;
  animation: blowing 1.6s ease-in-out infinite;

}
@keyframes blowing {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.1);
  }
  100% {
    transform: scale(1);
  }
}
.user-menu-item.coupon{position:relative;}
.unread-badge {
  /* 基础圆形样式 */
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 20px; /* 最小宽度，确保个位数时仍为圆形 */
  height: 20px;
  padding: 0 5px; /* 左右内边距，适配多位数 */
  background-color: #f43f5e; /* 微信/常见APP的通知红色 */
  border-radius: 50%; /* 圆形核心 */
  
  /* 数字文字样式 */
  color: white;
  font-size: 12px; /* 小字体适配圆形 */
  font-weight: bold; /* 加粗让数字更清晰 */
  line-height: 1; /* 消除文字默认行高影响 */
  white-space: nowrap; /* 防止数字换行 */
  
  /* 可选：定位相关（通常放在图标右上角） */
  position: absolute;
 top: 11px;
    right: 56px;
  transform: translate(50%, -50%); /* 配合定位居中偏移 */
}

/* 父元素需设置相对定位（用于放置badge） */
.badge-container {
  position: relative;
  display: inline-block;
}
