/* 懒人资源弹窗 - 前端样式 */

/* 遮罩层 */
.lazy-popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7);
    z-index: 999999;
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
}

/* 弹窗容器 */
.lazy-popup-modal {
    position: relative;
    background: #ffffff;
    border-radius: 15px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    transform: scale(0.7);
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    max-width: 90vw;
    max-height: 90vh;
}

/* 弹窗显示动画 */
.lazy-popup-modal.lazy-popup-show {
    transform: scale(1);
    opacity: 1;
}

/* 弹窗内容 */
.lazy-popup-content {
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
    color: #333;
}

/* 关闭按钮 */
.lazy-popup-close {
    position: absolute;
    top: 15px;
    right: 20px;
    width: 30px;
    height: 30px;
    background: rgba(255, 255, 255, 0.2);
    border: none;
    border-radius: 50%;
    color: #fff;
    font-size: 20px;
    line-height: 1;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lazy-popup-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

/* 弹窗头部 */
.lazy-popup-header {
    padding: 30px 30px 20px;
    text-align: center;
}

.lazy-popup-header h2 {
    margin: 0;
    font-size: 28px;
    font-weight: 600;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* 弹窗主体 */
.lazy-popup-body {
    flex: 1;
    padding: 0 30px 20px;
    overflow-y: auto;
    color: #fff;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.lazy-popup-body p {
    margin: 0 0 15px 0;
    line-height: 1.6;
    font-size: 16px;
}

.lazy-popup-body h1,
.lazy-popup-body h2,
.lazy-popup-body h3,
.lazy-popup-body h4,
.lazy-popup-body h5,
.lazy-popup-body h6 {
    color: #fff;
    margin: 20px 0 10px 0;
}

.lazy-popup-body ul,
.lazy-popup-body ol {
    margin: 15px 0;
    padding-left: 20px;
}

.lazy-popup-body li {
    margin: 5px 0;
}

.lazy-popup-body a {
    color: #fff;
    text-decoration: underline;
}

.lazy-popup-body a:hover {
    color: #f0f0f0;
}

/* 图片自适应 */
.lazy-popup-body img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    margin: 10px 0;
}

/* 弹窗底部 */
.lazy-popup-footer {
    padding: 20px 30px 30px;
    text-align: center;
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

/* 按钮基础样式 */
.lazy-popup-btn {
    display: inline-block;
    padding: 12px 24px;
    border: none;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 500;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    min-width: 120px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

/* 主要按钮 */
.lazy-popup-btn-primary {
    background: linear-gradient(45deg, #667eea, #764ba2);
    color: #fff;
}

.lazy-popup-btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
    color: #fff;
}

/* 次要按钮 */
.lazy-popup-btn-secondary {
    background: linear-gradient(45deg, #f093fb, #f5576c);
    color: #fff;
}

.lazy-popup-btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(240, 147, 251, 0.4);
    color: #fff;
}

/* 成功按钮 */
.lazy-popup-btn-success {
    background: linear-gradient(45deg, #11998e, #38ef7d);
    color: #fff;
}

.lazy-popup-btn-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(17, 153, 142, 0.4);
    color: #fff;
}

/* 危险按钮 */
.lazy-popup-btn-danger {
    background: linear-gradient(45deg, #ff6b6b, #ee5a24);
    color: #fff;
}

.lazy-popup-btn-danger:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.4);
    color: #fff;
}

/* 渐变按钮 */
.lazy-popup-btn-gradient {
    background: linear-gradient(45deg, #667eea, #764ba2, #f093fb, #f5576c);
    background-size: 300% 300%;
    color: #fff;
    animation: gradientShift 3s ease infinite;
}

.lazy-popup-btn-gradient:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
    color: #fff;
}

/* 边框按钮 */
.lazy-popup-btn-outline {
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
    box-shadow: none;
}

.lazy-popup-btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.2);
    color: #fff;
}

/* 玻璃按钮 */
.lazy-popup-btn-glass {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #fff;
}

.lazy-popup-btn-glass:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 255, 255, 0.3);
    color: #fff;
}

/* 霓虹按钮 */
.lazy-popup-btn-neon {
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5), inset 0 0 10px rgba(255, 255, 255, 0.1);
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.5);
}

.lazy-popup-btn-neon:hover {
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.8), inset 0 0 20px rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    color: #fff;
}

/* 渐变动画 */
@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* 响应式设计 */
@media (max-width: 768px) {
    .lazy-popup-modal {
        width: 95vw !important;
        height: auto !important;
        min-height: 300px;
        max-height: 80vh;
    }
    
    .lazy-popup-header {
        padding: 20px 20px 15px;
    }
    
    .lazy-popup-header h2 {
        font-size: 24px;
    }
    
    .lazy-popup-body {
        padding: 0 20px 15px;
    }
    
    .lazy-popup-footer {
        padding: 15px 20px 20px;
        flex-direction: column;
        align-items: center;
    }
    
    .lazy-popup-btn {
        width: 100%;
        max-width: 200px;
    }
}

@media (max-width: 480px) {
    .lazy-popup-header h2 {
        font-size: 20px;
    }
    
    .lazy-popup-body {
        font-size: 14px;
    }
    
    .lazy-popup-btn {
        padding: 10px 20px;
        font-size: 14px;
    }
}

/* 滚动条样式 */
.lazy-popup-body::-webkit-scrollbar {
    width: 6px;
}

.lazy-popup-body::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
}

.lazy-popup-body::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.3);
    border-radius: 3px;
}

.lazy-popup-body::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.5);
}

/* 加载动画 */
@keyframes lazyPopupFadeIn {
    from {
        opacity: 0;
        transform: scale(0.8) translateY(20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.lazy-popup-modal.lazy-popup-show {
    animation: lazyPopupFadeIn 0.4s ease-out;
}

/* 背景图片时的文字阴影增强 */
.lazy-popup-modal[style*="background-image"] .lazy-popup-header h2,
.lazy-popup-modal[style*="background-image"] .lazy-popup-body {
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
} 