/* Shozon Jobs Slider v3 - Shozon Style */

.shozon-jobs-slider-container {
    max-width: 100%;
    margin: 0 auto;
    position: relative;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Header - همون قبلی */
.shozon-jobs-slider-container .slider-header {
    background: linear-gradient(135deg, #1a3d4d 0%, #2f8bab 100%);
    color: white;
    padding: 40px 35px;
    border-radius: 20px 20px 0 0;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(47, 139, 171, 0.4);
}

.shozon-jobs-slider-container .slider-header::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.1) 0%, transparent 40%);
    animation: floatShapes 20s ease-in-out infinite;
}

@keyframes floatShapes {
    0%, 100% { transform: rotate(0deg) scale(1); }
    50% { transform: rotate(-3deg) scale(0.98); }
}

.shozon-jobs-slider-container .header-content {
    position: relative;
    z-index: 2;
}

.shozon-jobs-slider-container .premium-badge {
    background: rgba(255, 255, 255, 0.2);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 25px;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    backdrop-filter: blur(15px);
    display: inline-block;
    margin-bottom: 12px;
}

.shozon-jobs-slider-container .premium-badge::before {
    content: '💼';
    margin-right: 8px;
}

.shozon-jobs-slider-container .main-title {
    font-size: 28px;
    font-weight: 900;
    margin-bottom: 8px;
}

.shozon-jobs-slider-container .header-subtitle {
    color: rgba(255, 255, 255, 0.9);
    font-size: 16px;
}

.shozon-jobs-slider-container .loading-indicator {
    margin-top: 15px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
}

.shozon-jobs-slider-container .loading-spinner {
    display: inline-block;
    width: 14px;
    height: 14px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin-left: 8px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Container */
.shozon-jobs-slider-container .swiper-container {
    background: linear-gradient(135deg, #e3f2fd 0%, #f5f9fc 100%);
    border-radius: 0 0 20px 20px;
    padding: 35px 25px;
    position: relative;
}

.shozon-jobs-slider-container .swiper {
    padding: 0 0 50px 0;
    overflow: visible;
}

.shozon-jobs-slider-container .swiper-slide {
    width: 320px !important;
    height: auto;
}

/* کارت Job - طراحی جدید بدون عکس */
.job-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid #e0e0e0;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.job-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    border-color: #2f8bab;
}

/* هدر کارت با Category */
.job-card-header {
    background: linear-gradient(135deg, #f5f5f5 0%, #e8e8e8 100%);
    padding: 16px;
    border-bottom: 2px solid #e0e0e0;
    position: relative;
}

.job-category {
    display: inline-block;
    background: #2f8bab;
    color: white;
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.job-card-header .premium-label {
    position: absolute;
    top: 12px;
    right: 12px;
    background: linear-gradient(135deg, #9c27b0, #ba68c8);
    color: white;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
}

/* محتوای کارت */
.job-content {
    padding: 18px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.job-title {
    font-size: 16px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 8px;
    line-height: 1.3;
    min-height: 42px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.job-company {
    color: #2f8bab;
    font-size: 13px;
    margin-bottom: 6px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 4px;
}

.job-company svg {
    width: 14px;
    height: 14px;
}

.job-location {
    color: #666;
    font-size: 12px;
    margin-bottom: 12px;
    display: flex;
    align-items: center;
    gap: 4px;
}

.job-salary {
    font-size: 15px;
    font-weight: 800;
    background: linear-gradient(135deg, #2f8bab, #5c7cfa);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 12px;
}

/* جزئیات شغل */
.job-details {
    display: grid;
    grid-template-columns: 1fr;
    gap: 8px;
    margin-top: auto;
    padding-top: 12px;
    border-top: 1px solid #e0e0e0;
}

.job-detail-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
}

.job-detail-label {
    color: #888;
    font-weight: 500;
}

.job-detail-value {
    color: #1a1a1a;
    font-weight: 600;
    text-align: right;
}

/* Swiper Controls */
.shozon-jobs-slider-container .auto-scroll-controls {
    position: absolute;
    top: 50%;
    right: 25px;
    transform: translateY(-50%);
    z-index: 10;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.shozon-jobs-slider-container .auto-scroll-btn {
    width: 44px;
    height: 44px;
    background: rgba(255, 255, 255, 0.95);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

.shozon-jobs-slider-container .auto-scroll-btn:hover {
    background: white;
    transform: scale(1.1);
}

.shozon-jobs-slider-container .auto-scroll-btn.active {
    background: linear-gradient(135deg, #2f8bab, #497c8c);
    color: white;
}

/* Responsive */
@media (max-width: 767px) {
    .shozon-jobs-slider-container .swiper-slide {
        width: 280px !important;
    }
    
    .shozon-jobs-slider-container .slider-header {
        padding: 30px 25px;
        text-align: center;
    }
    
    .shozon-jobs-slider-container .main-title {
        font-size: 24px;
    }
}