/**
 * 注目求人区块加载指示器增强样式
 * 为featured_jobs短代码提供更醒目的加载动画
 */

/* 加载指示器容器 */
.featured-jobs-loading {
    text-align: center;
    padding: 20px;
    margin: 20px 0;
    font-size: 18px;
    font-weight: bold;
}

/* 加载文字样式 */
.featured-jobs-loading p {
    margin: 0;
    padding: 15px 25px;
    background: linear-gradient(135deg, #4285f4, #34a853, #fbbc05, #ea4335);
    background-size: 400% 400%;
    color: white;
    border-radius: 30px;
    display: inline-block;
    box-shadow: 0 4px 15px rgba(66, 133, 244, 0.3);
    position: relative;
    animation: gradientBG 3s ease infinite, pulse 1.5s ease-in-out infinite;
}

/* 加载文字前的动画图标 */
.featured-jobs-loading p:before {
    content: '';
    display: inline-block;
    width: 20px;
    height: 20px;
    margin-right: 10px;
    border: 3px solid white;
    border-radius: 50%;
    border-top-color: transparent;
    animation: spin 1s linear infinite;
    vertical-align: middle;
}

/* 渐变背景动画 */
@keyframes gradientBG {
    0% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
    100% {
        background-position: 0% 50%;
    }
}

/* 脉冲动画效果 */
@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

/* 旋转动画 */
@keyframes spin {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* 响应式调整 */
@media (max-width: 768px) {
    .featured-jobs-loading {
        font-size: 16px;
    }
    
    .featured-jobs-loading p {
        padding: 12px 20px;
    }
}