body {
    background-image: url("images/background.jpg");
    background-size: 100% 100%;
    background-repeat: no-repeat;
    background-attachment: fixed;
    position: absolute;
    width: 100%;
    height: 100%;
    margin: 0;
    padding: 0;
}

#app {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.main-layout {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.menu {
    background-color: #282828;
}

.menu .el-menu {
    display: flex;
    align-items: center;
    border-bottom: none;
}

.menu .el-menu .el-menu-item {
    height: 60px;
    line-height: 60px;
}

.user-menu-wrapper {
    margin-left: auto;
    height: 60px;
    display: flex;
    align-items: center;
    padding: 0 20px;
    flex-shrink: 0;
}

.user-menu-wrapper .el-dropdown-link {
    display: flex;
    align-items: center;
    color: #fff;
    cursor: pointer;
    user-select: none;
}

.content {
    flex: 1;
    padding: 20px;
}

.footer {
    padding: 20px;
    text-align: center;
    color: #fff;
}

.footer p {
    margin: 5px 0;
}

.footer span {
    margin: 0 10px;
}

.footer a {
    color: #fff;
    text-decoration: none;
}

.footer a:hover {
    text-decoration: underline;
}

.exp-rect-box {
    padding: 10px;
    min-width: 200px;
}

.random-number-area {
    display: flex;
    gap: 8px;
}

.random-number-area .el-input {
    flex: 1;
}

.register-tip {
    margin: 15px 0;
    color: #666;
    font-size: 14px;
}

.special {
    font-weight: bold;
}

.special.quality-1 {
    color: #409eff;
}

.special.quality-2 {
    color: #67c23a;
}

.special.quality-3 {
    color: #e6a23c;
}

.special.quality-4 {
    color: #f56c6c;
}

.special.quality-5 {
    color: #9b59b6;
}

.el-table .special{
    display: inherit;
    -webkit-background-clip: text;
    font-weight: bold;
    color: transparent;
}

.el-table .special,table tbody td .special.quality-1 span{
    color: transparent;
    -webkit-text-fill-color: transparent;
    -webkit-background-clip: text;
    background-size: 200% 100%;
    animation: masked-animation 4s infinite linear;
}


@keyframes likes {
    0%{
        transform: scale(1);
    }
    25%{
        transform: scale(1.075);
    }
    50%{
        transform: scale(1.15);
    }
    75%{
        transform: scale(1.075);
    }
    100%{
        transform: scale(1);
    }
}
.el-table .special.quality-1{
    animation-name: likes;
    animation-direction: alternate;
    animation-timing-function: linear;
    animation-delay: 0s;
    animation-iteration-count: infinite;
    animation-duration: 1s;
    display: table-cell;
}
.el-table .special.quality-1 span{
    background-image: -webkit-linear-gradient(left, #3498db, #f47920 10%, #d71345 20%, #f7acbc 30%,
    #ffd400 40%, #3498db 50%, #f47920 60%, #d71345 70%, #f7acbc 80%, #ffd400 90%, #3498db);
}

@keyframes masked-animation {
    0% {
        background-position: 0 0;   /*background-position 属性设置背景图像的起始位置。*/
    }
    100% {
        background-position: -100% 0;
    }
}


.el-table .quality-2{
    background-image: -webkit-linear-gradient(left, #0057d0, #c000ba, #0057d0, #c000ba);
}
/*table tbody td .quality-2{*/
/*    background-image: linear-gradient(to right, #0057d0, #c000ba);*/
/*}*/
.el-table .quality-3{
    background-image: -webkit-linear-gradient(left, #d39900, #a100ad 35%, #d39900 70%, #a100ad);
}
.el-table .quality-4{
    background-image: -webkit-linear-gradient(left, #7b05a6, #086705 35%, #7b05a6 70%, #086705);
}
.el-table .quality-5{
    background-image: -webkit-linear-gradient(left, #3498db , #d71345 35%, #3498db 70%, #d71345);
}

.draw-result {
    max-height: 300px;
    overflow-y: auto;
}

.draw-result-item {
    padding: 8px 5px;
    border-bottom: 1px solid #eee;
    opacity: 0;
    transition: opacity 0.2s;
}

.draw-result-item.active {
    opacity: 1;
}

.special-item {
    color: #f56c6c;
    font-weight: bold;
}

.qrcode-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.qrcode-container img {
    max-width: 100%;
    height: auto;
}

.personal-center {
    padding: 20px;
    text-align: center;
}

.personal-center div {
    margin: 10px 0;
}

.action-buttons {
    margin-bottom: 15px;
}

.action-buttons .el-button {
    margin-right: 10px;
}

.base-title-text {
    margin-bottom: 15px;
}

.base-title-text > span {
    font-weight: bold;
    margin-right: 10px;
}

.captcha-area {
    display: flex;
    gap: 8px;
    align-items: center;
}

.captcha-area img {
    width: 90px;
    height: 38px;
    cursor: pointer;
    border: 1px solid #dcdfe6;
    border-radius: 4px;
}

.login-btn{
    position: absolute!important;
    right: 0;
}

/* ========== Mobile overrides ========== */
@media (max-width: 768px) {
    body {
        /*background-attachment: scroll;*/
        /*background-size: cover;*/
    }
    .menu .el-menu {
        flex-wrap: wrap;
    }
    /*.user-menu-wrapper {*/
    /*    width: 100%;*/
    /*    justify-content: flex-end;*/
    /*    padding: 10px 0;*/
    /*}*/
    /* 统一弹窗宽高与内边距，便于在移动端展示 */
    .el-dialog {
        width: 90vw !important;
        max-width: 90vw;
        max-height: 90vh;
    }
    .el-dialog__body {
        padding: 16px;
    }
    .el-dialog__header {
        padding: 12px 16px;
    }
    .el-progress__text {
        font-size: 12px;
    }
    .content {
        padding: 12px;
    }
}
