* {
    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;
}

#content {
    flex: 1;
}

/* 全局按钮样式 */
.button {
    background: #FF0000;
    border-radius: .07rem;
    font-size: 0.2rem;
    color: #fff;
    font-weight: 500;
    padding: 0.12rem 0.7rem;
    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);
  }


