* {
    box-sizing: border-box;
}

html {
    font-family: HarmonyOS Sans SC, HarmonyOS Sans SC;
    color: #333333;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    overflow-y: auto;
    scrollbar-width: none;
    /* Firefox */
    -ms-overflow-style: none;

    /* IE and Edge */
    &::-webkit-scrollbar {
        display: none;
        /* Chrome, Safari and Opera */
    }
}

img {
    display: block;
    width: 100%;
    height: 100%;
}

.scrollbar-hide::-webkit-scrollbar {
    display: none;
}


#header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
}

#header-sub {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
}

#content {
    flex: 1;

}

.hidden-none {
    display: none;
}


/*我要合作 */
.cooperation {

    border-radius: 30px 30px 30px 30px;
    background: linear-gradient(90deg, #8086FF 0%, #295AFF 100%);

}


.rotate-180 {
    transform: rotate(180deg);
    transition: transform 0.3s ease;
}

#cooperation-menu {

    border-radius: 10px 10px 10px 10px;
}

#cooperation-menu .block:not(:last-child) {
    border-bottom: 1px solid #F4F4F4;
    margin: 0 0.08rem;
}


/*我要合作 */


/* 菜单 */
/* 菜单高亮 */
.active {
    color: #315EF3;
    /* 高亮颜色 */
    font-weight: bold;
    position: relative;
}

.actives {
    color: #315EF3;
    /* 高亮颜色 */
    font-weight: bold;
    position: relative;
}

/* 小圆点样式 */
.active::after {
    content: '';
    display: block;
    width: 0.04rem;
    height: 0.04rem;
    background-color: #315EF3;
    /* 圆点颜色 */
    border-radius: 50%;
    position: absolute;
    transform: translate(0, 0);
    left: 50%;
    bottom: -50%;

}

.mobile-menu .menu-item.active::after {
    content: "";
    display: none;

}

/* 移除或修改这个样式 */
.app-nav #menu-documents.active::after {
    content: "";
    display: none;

}

/* 商户菜单高亮 */
.menu-item-merchant.active {
    color: #05A8E8 !important;
}

.menu-item-merchant.actives {
    color: #05A8E8 !important;
}

/* 小圆点样式 */
.menu-item-merchant.active::after {
    content: '';
    display: block;
    width: 0.04rem;
    height: 0.04rem;
    background-color: #05A8E8;
    /* 圆点颜色 */
    border-radius: 50%;
    position: absolute;
    transform: translate(0, 0);
    left: 50%;
    bottom: -50%;
}

.menu-item-operator.active {
    color: #503AFA !important;

}

.menu-item-operator.actives {
    color: #503AFA !important;

}

/* 小圆点样式 */
.menu-item-operator.active::after {
    content: '';
    display: block;
    width: 0.04rem;
    height: 0.04rem;
    background-color: #503AFA;
    /* 圆点颜色 */
    border-radius: 50%;
    position: absolute;
    transform: translate(0, 0);
    left: 50%;
    bottom: -50%;

}

/* 确保外链菜单不会被active样式影响 */
.menu-item[data-external="true"].active,
.menu-item[data-external="true"]:hover.active {
    color: inherit !important;
    font-weight: normal !important;
}

/* 菜单高度动画 */
.menu-slide-enter {
    height: 0;
    opacity: 0;
    overflow: hidden;
    transition: height 0.3s ease, opacity 0.3s ease;
}

.menu-slide-enter-active {
    height: auto;
    opacity: 1;
}

.menu-slide-leave {
    height: auto;
    opacity: 1;
    overflow: hidden;
    transition: height 0.3s ease, opacity 0.3s ease;
}

.menu-slide-leave-active {
    height: 0;
    opacity: 0;
}

/* 菜单样式 */
.menu-item {
    padding: 0 0.3rem;
    /* display: inline-block; */
}


/* 全局按钮样式 */
.button {
    background: linear-gradient(90deg, #8086FF 0%, #295AFF 100%);
    border-radius: .5rem;
    font-size: 0.18rem;
    color: #fff;
    font-weight: 500;
    padding: 0.08rem 0.3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    cursor: pointer;
}

#loading {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 999;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 1);
    font-size: 14px;
    color: #AAB2BE;
}

.loading-container {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    width: 100%;
    height: 100%;
}

.load-logo {
    /* width: 2.5vw;
    margin-bottom: 0.7vw; */
    width: 30px;
    margin-bottom: 10px;
}

.loading-text-container {
    display: flex;
    align-items: center;
}

.loading-text {
    margin: 0 2px;
}

.loading-dot {
    margin: 0 1px;
}


.animate-bounce-1 {
    animation: pulse 0.6s ease-in-out infinite;
}

.animate-bounce-2 {
    animation: pulse 0.6s ease-in-out infinite 0.2s;
}

.animate-bounce-3 {
    animation: pulse 0.6s ease-in-out infinite 0.4s;
}

/* .load-logo { animation: pulse 0.6s ease-in-out infinite;  } */
.animate-pulse-1 {
    animation: pulse 0.6s ease-in-out infinite 1s;
}

.animate-pulse-2 {
    animation: pulse 0.6s ease-in-out infinite 1.6s;
}

.animate-pulse-3 {
    animation: pulse 0.6s ease-in-out infinite 2.2s;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 0.5;
    }

    50% {
        opacity: 1;
    }
}


.modal-fade-in {
    animation: modal-fade-in 0.3s ease-out forwards;
}

.modal-fade-out {
    animation: modal-fade-out 0.3s ease-out forwards;
}

@keyframes modal-fade-in {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
@keyframes modal-fade-out {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(-20px);
    }
}

@keyframes modal-fade-in-opacity {
    from {
        opacity: 1;
    }
}

@keyframes modal-fade-out-opacity {
    from {
        opacity: 0;
    }
}






/* 消息容器样式 */
.message-container {
    position: fixed;
    top: 10vh;
    left: 0;
    right: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    pointer-events: none;
    z-index: 9999;
  }

  /* 单个消息样式 */
  .message {
    /* min-width: 3rem;
    max-width: 6rem; */
    margin-bottom: 0.1rem;
    background-color: #fff;
    border-radius: 0.04rem;
    box-shadow: 0 2px 12px 0 rgba(0, 0, 0, 0.1);
    display: flex;
    align-items: center;
    transition: all 0.3s;
    opacity: 0;
    transform: translateY(-20px);
  }

  /* 消息内容样式 */
  .message-content {
    flex: 1;
    font-size: 0.16rem;
    color: #1A1A1A;
    display: flex;
    align-items: center;
    gap: 0.1rem;
  }
  .message-content img{
    width: 0.3rem;
    height: 0.3rem;
  }
  @media screen and (min-width: 1080px) {
    .message-content span{
        font-size: 0.14rem;
    }
  }

  /* 动画效果 */
  .message-fade-enter {
    opacity: 0;
    transform: translateY(-20px);
  }

  .message-fade-enter-active {
    opacity: 1;
    transform: translateY(0);
  }

  .message-fade-exit {
    opacity: 1;
    transform: translateY(0);
  }

  .message-fade-exit-active {
    opacity: 0;
    transform: translateY(-20px);
  }
