/**
 * common.css 公共样式库文件
 * desc: 例如自定义的全局加载动画、提示框
 */

/*自定义消息提示框--start*/
.custom-prompt-box {
    z-index: 9999;
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    height: 50px;
    line-height: 50px;
    /*width: max-content;*/
    padding: 0 10px;
    text-align: center;
    font-size: 16px;
    color: #fff;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 10px;
}
/*自定义消息提示框--end*/

/*自定义加载动画样式--start*/
/**
 * html中使用
 * <svg viewbox="25 25 50 50">
 *      <circle cx="50" cy="50" r="20"></circle>
 * </svg>
 */
svg {
    width: 3.75em;
    transform-origin: center;
    animation: rotate 2s linear infinite;
}

circle {
    fill: none;
    stroke: #6bbcfd;
    stroke-width: 2;
    stroke-dasharray: 1, 200;
    stroke-dashoffset: 0;
    stroke-linecap: round;
    animation: dash 1.5s ease-in-out infinite;
}

@keyframes rotate {
    100% {
        transform: rotate(360deg);
    }
}

@keyframes dash {
    0% {
        stroke-dasharray: 1, 200;
        stroke-dashoffset: 0;
    }
    50% {
        stroke-dasharray: 90, 200;
        stroke-dashoffset: -35px;
    }
    100% {
        stroke-dashoffset: -125px;
    }
}
/*自定义加载动画样式--end*/

.user-center-container{
    height: 100%;
    display: flex;
    align-items: center;
}
.user-info-box{
    top: 66px;
}