/* XPrinter 下载页面样式 */

/* 页面基础样式 */
body {
    background-color: #FFFFFF !important;
}

.success-page-container,
.download-page-container {
    min-height: calc(100vh - 74px - 168px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px 20px;
}

/* 图标样式 */
.success-icon-img,
.download-icon-img {
    width: 120px;
    height: 120px;
    margin-bottom: 23px;
    animation: bounceIn 0.8s ease-out;
}

/* 标题样式 */
.success-title,
.download-main-title {
    width: 272px;
    height: 48px;
    font-family: "PingFang SC", "PingFang SC";
    font-weight: bold;
    font-size: 34px;
    color: #222222;
    text-align: center;
    font-style: normal;
    text-transform: none;
    /* margin-bottom: 20px; */
}

.download-main-title {
    width: 306px;
    height: 48px;
    margin-bottom: 20px;
}

/* 副标题样式 */
.success-subtitle,
.download-subtitle {
    font-family: "PingFang SC", "PingFang SC";
    font-weight: 500;
    font-size: 26px;
    color: #777777;
    text-align: center;
    font-style: normal;
    text-transform: none;
}

.download-subtitle {
    width: 182px;
    height: 36px;
    margin-bottom: 40px;
}

/* 底部下载区域 */
.download-btn-container {
    position: fixed;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    width: 672px;
    max-width: calc(100% - 40px);
    display: flex;
    flex-direction: column;
    align-items: center;
}

.download-hint {
    width: 408px;
    height: 36px;
    font-family: "PingFang SC", "PingFang SC";
    font-weight: 500;
    font-size: 20px;
    color: #777777;
    text-align: center;
    font-style: normal;
    text-transform: none;
    max-width: 100%;
}

.download-btn {
    width: 100%;
    height: 88px;
    background: linear-gradient(90deg, #5449ED 0%, #4684F9 100%);
    border: none;
    border-radius: 18px;
    color: white;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(84, 73, 237, 0.3);
}

.download-btn:active {
    transform: translateY(0);
}

/* 动画 */
@keyframes bounceIn {
    0% {
        transform: scale(0.3);
        opacity: 0;
    }

    50% {
        transform: scale(1.05);
    }

    70% {
        transform: scale(0.9);
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* 浏览器引导全屏样式（完全参考官方） */
.browser-guide-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 10000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.browser-guide-overlay.show {
    opacity: 1;
}

.guide {
    position: relative;
    z-index: 11;
    color: #FFFFFF;
    font-size: 1rem;
}

/* 右上角箭头图片 */
.mask2 {
    position: absolute;
    top: 20px;
    right: 28px;
}

/* 引导文字容器 */
.guide1,
.guide2 {
    display: flex;
    align-items: center;
    margin: 0 40px;
    font-family: "PingFang SC", "PingFang SC";
    font-size: 18px;
    color: #FFFFFF;
    white-space: nowrap;
}

.guide1 {
    position: absolute;
    top: 120px;
}

.guide2 {
    position: absolute;
    top: 220px;
}

/* 数字圆圈 */
.serial {
    width: 40px;
    height: 40px;
    background: #3164F9;
    border-radius: 50%;
    color: #FFFFFF;
    font-size: 24px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 10px;
    flex-shrink: 0;
    font-family: "PingFang SC", "PingFang SC";
}

/* 黄色高亮文字 */
.yellow {
    color: #FFD700;
    font-weight: 600;
}

/* 底部mask1图片 */
.mask1 {
    display: flex;
    justify-content: center;
    align-items: center;
    padding-top: 240px;
}

.mask1 img {
    width: 177px;
    height: auto;
}

/* 响应式 - 430px分辨率 */
@media (max-width: 480px) {
    .mask2 {
        width: 60px;
        height: 60px;
    }

    .guide1,
    .guide2 {
        font-size: 16px;
        margin: 0 20px;
    }

    .guide1 {
        top: 100px;
    }

    .guide2 {
        top: 170px;
    }

    .serial {
        width: 35px;
        height: 35px;
        font-size: 20px;
        margin-right: 8px;
    }
}

/* 响应式设计 */
@media (max-width: 480px) {

    .success-icon-img,
    .download-icon-img {
        width: 100px;
        height: 100px;
        margin-bottom: 0;
    }

    .success-title {
        width: auto;
        max-width: 100%;
        font-size: 28px;
        text-align: center;
    }

    .success-subtitle {
        font-size: 22px;
        text-align: center;
    }

    .download-main-title {
        font-size: 25px;
        margin-bottom: 0;
        width: auto;
        max-width: 100%;
    }

    .download-subtitle {
        font-size: 20px;
        width: auto;
        max-width: 100%;
    }

    .download-hint {
        font-size: 15px;
        width: 100%;
    }

    .download-btn {
        height: 60px;
        font-size: 16px;
        border-radius: 14px;
    }
}