.loader-wrapper {
    position: fixed; /* 或 `absolute`，取决于需求 */
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: white; /* 黑色背景 */
    display: flex;
    justify-content: center; /* 水平居中 */
    align-items: center; /* 垂直居中 */
    z-index: 1000; /* 确保加载动画显示在最上层 */
}

.loader {
    width: 100px;
    height: 100px;
    box-sizing: border-box;
    border-radius: 50%;
    border-top: 5px solid #e74c3c;
    position: relative;
    animation: load 2s linear infinite;
}

.loader::before,.loader::after {
    content: '';
    width: 100px;
    height: 100px;
    position: absolute;
    left: 0;
    top: 0;
    box-sizing: border-box;
    border-radius: 50%;
}

.loader::before {
    border-top: 5px solid #e67e22;
    transform: rotate(120deg);
}

.loader::after {
    border-top: 5px solid #3498db;
    transform: rotate(240deg);
}

.loader span {
    position: absolute;
    font-size: small;
    width: 100px;
    height: 100px;
    color: #999999;
    text-align: center;
    line-height: 100px;
    animation: a2 2s linear infinite;
}

@keyframes load {
    to {
        transform: rotate(360deg);
    }
}

@keyframes a2 {
    to {
        transform: rotate(-360deg);
    }
}
