
.job-listing-section {
    padding: 2rem 0;
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    min-height: calc(100vh - 80px);
}

.container-fluid {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.results-count {
    padding: 1rem 1.5rem;
    background: white;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    margin-bottom: 1.5rem;
    border: 1px solid #e2e8f0;
    font-weight: 600;
    color: #4a5568;
}

.jobs-container {
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.05);
    padding: 1.5rem;
    margin-bottom: 2rem;
    border: 1px solid rgba(99, 102, 241, 0.1);
    transition: transform 0.3s ease;
}

.jobs-container:hover {
    transform: translateY(-5px);
}

.section-header {
    text-align: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #f1f5f9;
}

.section-header h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #2d3748;
    margin-bottom: 0.5rem;
}

.section-header p {
    color: #718096;
    font-size: 0.9rem;
}

.jobs-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.job-list-item {
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 1.5rem;
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    overflow: hidden;
}

.job-list-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: #6366f1;
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.job-list-item:hover::before {
    transform: scaleY(1);
}

.job-list-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.1);
    border-color: #c7d2fe;
}

.job-list-item.featured {
    border-left: 4px solid #f59e0b;
    background: linear-gradient(to right, rgba(245, 158, 11, 0.05), transparent);
}

.featured-badge {
    position: absolute;
    top: -8px;
    right: 16px;
    background: linear-gradient(135deg, #f6d365 0%, #fda085 100%);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.3);
    z-index: 10;
}

.job-main-info {
    display: flex;
    align-items: center;
    flex: 1;
    gap: 1rem;
}

.company-logo {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    overflow: hidden;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f7fafc;
    border: 1px solid #e2e8f0;
}

.company-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.logo-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    font-weight: bold;
    font-size: 1.2rem;
}

.job-text-info {
    flex: 1;
}

.job-title {
    font-size: 1.1rem;
    margin: 0 0 0.5rem;
    font-weight: 700;
    color: #2d3748;
    line-height: 1.4;
}

.company-name {
    font-size: 0.95rem;
    color: #6366f1;
    font-weight: 600;
    margin-bottom: 0.4rem;
}

.job-location {
    font-size: 0.85rem;
    color: #718096;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.job-meta-info {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 0.8rem;
    min-width: 150px;
}

.salary {
    font-size: 0.9rem;
    color: #10b981;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.posted-date, .view-count {
    font-size: 0.8rem;
    color: #718096;
    display: flex;
    align-items: center;
    gap: 0.4rem;
}

.subscribe-container {
    margin: 40px 0;
}

.subscribe-container .card {
    border-radius: 12px;
}

.subscribe-container h3 {
    font-size: 1.25rem;
}

.subscribe-container .form-control {
    height: 48px;
}

.subscribe-container .btn {
    height: 48px;
    padding: 0 24px;
}

.no-results-found, .no-featured-jobs {
    text-align: center;
    padding: 3rem 1rem;
    color: #718096;
}

.no-results-icon, .no-featured-icon {
    margin-bottom: 1.5rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: #f7fafc;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.05);
}

.no-results-icon i, .no-featured-icon i {
    font-size: 2rem;
    color: #a0aec0;
}

.no-results-found h4, .no-featured-jobs h4 {
    margin-bottom: 0.5rem;
    color: #4a5568;
    font-weight: 600;
}

/* Ad Sidebar Styles */
.ad-sidebar {
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.08);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(99, 102, 241, 0.1);
    position: sticky;
    top: 100px;
    height: fit-content;
}

.ad-content {
    padding: 0;
    border-radius: 16px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    background: linear-gradient(145deg, #ffffff, #f8fafc);
    border: 1px solid rgba(255, 255, 255, 0.8);
}

.channel-selector {
    display: flex;
    background: rgba(243, 244, 246, 0.8);
    border-radius: 12px;
    margin: 16px;
    padding: 4px;
    gap: 4px;
}

.channel-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 10px 15px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    font-size: 14px;
    gap: 6px;
    border: none;
    background: transparent;
}

.channel-btn:focus {
    outline: 2px solid #6366f1;
    outline-offset: 2px;
}

.channel-btn.active {
    background: white;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.channel-btn[data-channel="telegram"].active {
    color: #0088cc;
}

.channel-btn[data-channel="whatsapp"].active {
    color: #25D366;
}

.image-container {
    position: relative;
    display: block;
    overflow: hidden;
    border-radius: 12px 12px 0 0;
    height: 280px;
    margin: 0 16px;
}

.channel-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: none;
    transition: all 0.6s ease;
    border-radius: 8px;
}

.channel-img.active {
    display: block;
}

.ad-info {
    padding: 20px;
    text-align: center;
    background: white;
}

.ad-info h3 {
    margin: 0 0 12px;
    color: #2d3748;
    font-size: 1.25rem;
    font-weight: 700;
}

.ad-info p {
    margin: 0 0 20px;
    color: #718096;
    font-size: 0.9rem;
    line-height: 1.5;
}


.ad-button {
    display: inline-flex;
    align-items: center;
    color: white;
    padding: 12px 24px;
    border-radius: 50px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
    text-decoration: none;
    font-size: 0.9rem;
}

.telegram-btn {
    background: linear-gradient(45deg, #0088cc, #34b7f1);
}

.whatsapp-btn {
    background: linear-gradient(45deg, #25D366, #128C7E);
}

.ad-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.button-icon {
    margin-left: 8px;
}

/* Responsive */
@media (max-width: 1199px) {
    .container-fluid {
        padding: 0 15px;
    }
}

@media (max-width: 991px) {
    .job-list-col {
        margin-bottom: 2rem;
    }
    
    .ad-sidebar {
        position: static;
    }
}

@media (max-width: 767px) {
    .job-listing-section {
        padding: 1.5rem 0;
    }
    
    .container-fluid {
        padding: 0 15px;
    }
    
    .jobs-container {
        padding: 1.25rem;
        margin-bottom: 1.5rem;
        border-radius: 16px;
    }
    
    .job-list-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
        padding: 1.25rem;
        border-radius: 12px;
    }
    
    .job-meta-info {
        flex-direction: row;
        width: 100%;
        justify-content: space-between;
        align-items: center;
    }
    
    .featured-badge {
        top: 0.75rem;
        right: 0.75rem;
        padding: 0.3rem 0.8rem;
        font-size: 0.7rem;
    }
    
    .job-main-info {
        width: 100%;
    }
    
    .company-logo {
        width: 50px;
        height: 50px;
    }
    
    .subscribe-container {
        margin: 30px 0;
    }
    
    .subscribe-container .d-flex {
        flex-direction: column;
    }
    
    .subscribe-container .me-2 {
        margin-right: 0 !important;
        margin-bottom: 10px;
    }
}

@media (max-width: 575px) {
    .section-header h2 {
        font-size: 1.3rem;
    }
    
    .job-title {
        font-size: 1rem;
    }
    
    .job-meta-info {
        flex-wrap: wrap;
        gap: 0.5rem;
    }
    
    .salary, .posted-date, .view-count {
        font-size: 0.8rem;
    }
    
    .ad-sidebar {
        padding: 1rem;
    }
    
    .image-container {
        height: 220px;
    }
}




