/* 遮罩层 */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.5);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

/* 弹窗容器 */
.guide-modal {
    position: relative;
    width: 800px;
    height: 400px;
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    display: flex;
    overflow: hidden;
}

/* 关闭按钮 */
.close-btn {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background: #f5f5f5;
    border: none;
    cursor: pointer;
    font-size: 18px;
    color: #666;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1001;
}

/* 步骤导航栏 */
.guide-sidebar {
    width: 35%;
    padding: 30px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.steps-indicator {
    display: flex;
    gap: 8px;
    margin-bottom: 20px;
}
.step-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #e0e0e0;
    transition: 0.3s all ease-in;
}
.step-dot.active {
    width: 20px;
    border-radius: 15px;
    background: #2196f3;
}

.step-label {
    font-family: "Arial";
    display: inline;
    font-size: 12px;
    font-weight: 700;
    color: #45556C;
    margin-bottom: 8px;
    background-color: #F1F5F9;
    border: 1px solid #E2E8F0;
    border-radius: 8px;
    padding: 4px 20px;
    position: relative;
}
.step-label::before{
    position: absolute;
    content: "";
    left: 6px;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    background:#2B7FFF;
    border-radius: 100%;
}
.step-title {
    color: #0F172B;
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 12px;
    font-family: Arial;
    line-height: 32px;
    letter-spacing: -0.6px;

}
.step-desc {
    color: #62748E;
    font-weight: 400;
    font-family: "Arial";
    font-size: 14px;
    letter-spacing: 0;

}

.nav-buttons {
    display: flex;
    justify-content: flex-end;
    gap: 12px;
    margin-top: 20px;
}
.nav-btn {
    border: none;
    cursor: pointer;
    font-size: 14px;
}
.btn-prev {
    width: 40px;
    height: 40px;
    text-align: center;
    line-height: 40px;
    background: #FFFFFF;
    border-radius: 100px;
    border: 1px solid #E2E8F0;
    color: #62748E;

}
.btn-next, .btn-complete {
    border-radius: 50px;
    width: 170px;
    height: 40px;
    line-height: 40px;
    background: #2B7FFF;
    border-radius: 100px;
    color: #fff;
}

/* 步骤内容区 */
.guide-content {
    width: 70%;
    padding: 30px;
    box-sizing: border-box;
    background: #fafafa;
    display: flex;
    align-items: center;
    justify-content: center;
}
.step-img {
    max-width: 100%;
    max-height: 100%;
}

/* 步骤隐藏/显示控制 */
.step-panel {
    display: none;
    width: 100%;
    height: 100%;
}
.step-panel.active {
    display: flex;
    flex-direction: column;
}

/* 显示弹窗的类 */
.modal-overlay.show {
    display: flex;
}

@media screen and (max-width: 768px) {
    .guide-modal {
        width: 98%;
        height: auto;
        flex-direction: column;
    }
    .guide-sidebar{
        width: 100%;
    }
    .guide-content{
        width: 100%;
    }
}