﻿/* 触发按钮样式 */
.trigger-btn {
    padding: 10px 20px;
    font-size: 16px;
    background: #f44336;
    color: #fff;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    margin: 50px;
}

    .trigger-btn:hover {
        background: #d32f2f;
    }
/* 弹窗遮罩层 - 默认隐藏 */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.3);
    display: none; /* 默认隐藏弹窗 */
    justify-content: center;
    align-items: center;
    z-index: 1000;
}
/* 弹窗主体 - 调整宽度为500px */
.modal {
    width: 500px;
    background: #fff;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.1);
}
/* 弹窗头部 */
.modal-header {
    background: linear-gradient(to right, #ffebee, #fff3e0);
    /*padding: 24px 30px;*/
    display: flex;
    align-items: center;
}

    .modal-header .icon {
        width: 150px;
        height: 150px;
        background: url('//staticfile.youcaiyun.com/Images/tanicon.png') no-repeat center;
        background-size: contain;
        margin-right: 20px;
    }

    .modal-header h2 {
        font-size: 20px;
        font-weight: bold;
        margin-left: -30px;
        color: #333;
    }
/* 关闭按钮 */
.close-btn {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 24px;
    height: 24px;
    border: none;
    background: transparent;
    font-size: 20px;
    cursor: pointer;
    color: #999;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .close-btn:hover {
        color: #333;
    }
/* 弹窗内容区 */
.modal-body {
    padding: 24px 30px;
}

    .modal-body h3 {
        font-size: 16px;
        margin: 0 0 16px 0;
        color: #333;
    }

    .modal-body .highlight {
        color: #f44336;
        font-size: 14px;
        margin-bottom: 12px;
        line-height: 1.5;
    }

    .modal-body .guide {
        color: #666;
        font-size: 14px;
        line-height: 1.5;
    }
/* 弹窗底部按钮区 */
.modal-footer {
    padding: 24px 30px;
    display: flex;
    justify-content: center;
    gap: 30px;
}

.btn {
    width: 180px;
    height: 44px;
    border-radius: 4px;
    font-size: 14px;
    cursor: pointer;
    border: none;
    transition: all 0.3s;
}

.btn-skip {
    background: #fff;
    border: 1px solid #f44336;
    color: #f44336;
}

    .btn-skip:hover {
        background: #fef0f0;
    }

.btn-complete {
    background: #f44336;
    color: #fff;
}

    .btn-complete:hover {
        background: #d32f2f;
    }
