/* Elementor Widgets Styles for Job Listings Pro */

/* Common Widget Styles */
.jlp-elementor-widget {
    margin: 20px 0;
}

.jlp-widget-title {
    font-size: 28px;
    margin-bottom: 25px;
    font-weight: 700;
}

/* Jobs Grid Widget - Hover Effects */
.jlp-hover-lift:hover {
    transform: translateY(-5px);
}

.jlp-hover-shadow:hover {
    box-shadow: 0 10px 30px rgba(0,0,0,0.15) !important;
}

.jlp-hover-scale:hover {
    transform: scale(1.03);
}

.jlp-hover-glow:hover {
    box-shadow: 0 0 20px rgba(34, 113, 177, 0.4) !important;
}

.jlp-job-card {
    transition: all 0.3s ease;
}

/* Featured Job Special Styling */
.jlp-job-card.jlp-featured {
    position: relative;
    overflow: hidden;
}

.jlp-job-card.jlp-featured::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, #f59e0b, #f97316);
}

/* Widget Filters */
.jlp-widget-filters {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: nowrap;
}

.jlp-widget-filters select {
    padding: 12px 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 14px;
    min-width: 200px;
    max-width: 300px;
}

/* Jobs List Widget */
.jlp-jobs-list {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.jlp-job-list-item {
    display: grid;
    grid-template-columns: 80px 1fr auto;
    gap: 20px;
    padding: 20px;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    transition: all 0.3s;
    align-items: center;
}

.jlp-job-list-item:hover {
    box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    transform: translateY(-2px);
}

.jlp-job-list-item.jlp-featured {
    border-left: 4px solid #f59e0b;
}

.jlp-list-logo img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    border-radius: 8px;
}

.jlp-list-content {
    flex: 1;
}

.jlp-list-title {
    margin: 0 0 5px 0;
    font-size: 20px;
}

.jlp-list-title a {
    color: #1e293b;
    text-decoration: none;
}

.jlp-list-title a:hover {
    color: #2271b1;
}

.jlp-featured-badge-small {
    font-size: 14px;
    margin-left: 8px;
}

.jlp-list-company {
    color: #64748b;
    margin-bottom: 10px;
}

.jlp-list-meta {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    font-size: 14px;
    color: #64748b;
}

.jlp-list-excerpt {
    margin-top: 10px;
    color: #475569;
    line-height: 1.6;
}

.jlp-list-action {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 10px;
}

.jlp-list-btn {
    background: #2271b1;
    color: #fff;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
    white-space: nowrap;
}

.jlp-list-btn:hover {
    background: #135e96;
}

.jlp-list-date {
    font-size: 13px;
    color: #94a3b8;
}

/* Jobs Slider Widget */
.jlp-slider-widget {
    position: relative;
    padding: 0 50px;
}

.jlp-jobs-slider {
    overflow: hidden;
    display: flex;
    transition: transform 0.5s ease;
}

.jlp-slider-item {
    flex-shrink: 0;
    padding: 10px;
}

.jlp-slider-card {
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    padding: 25px;
    text-align: center;
    height: 100%;
}

.jlp-slider-logo img {
    width: 80px;
    height: 80px;
    object-fit: contain;
    margin: 0 auto 15px;
    border-radius: 8px;
}

.jlp-slider-title {
    margin: 0 0 10px 0;
    font-size: 18px;
}

.jlp-slider-title a {
    color: #1e293b;
    text-decoration: none;
}

.jlp-slider-company,
.jlp-slider-location,
.jlp-slider-salary {
    margin: 8px 0;
    color: #64748b;
    font-size: 14px;
}

.jlp-slider-btn {
    display: inline-block;
    margin-top: 15px;
    background: #2271b1;
    color: #fff;
    padding: 10px 25px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
}

.jlp-slider-btn:hover {
    background: #135e96;
}

.jlp-slider-prev,
.jlp-slider-next {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: #2271b1;
    color: #fff;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 24px;
    cursor: pointer;
    z-index: 10;
}

.jlp-slider-prev:hover,
.jlp-slider-next:hover {
    background: #135e96;
}

.jlp-slider-prev {
    left: 0;
}

.jlp-slider-next {
    right: 0;
}

.jlp-slider-dots {
    text-align: center;
    margin-top: 20px;
}

.jlp-dot {
    display: inline-block;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #cbd5e1;
    margin: 0 5px;
    cursor: pointer;
}

.jlp-dot.active {
    background: #2271b1;
}

/* Featured Jobs Widget */
.jlp-featured-jobs {
    display: flex;
    gap: 20px;
}

.jlp-layout-vertical .jlp-featured-jobs {
    flex-direction: column;
}

.jlp-featured-job-item {
    display: flex;
    gap: 20px;
    padding: 25px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    border-radius: 12px;
    flex: 1;
    align-items: center;
}

.jlp-featured-logo {
    width: 80px;
    height: 80px;
    object-fit: contain;
    background: #fff;
    border-radius: 8px;
    padding: 10px;
}

.jlp-featured-content h3 {
    margin: 0 0 10px 0;
    font-size: 20px;
}

.jlp-featured-content h3 a {
    color: #fff;
    text-decoration: none;
}

.jlp-featured-company,
.jlp-featured-location,
.jlp-featured-salary {
    margin: 8px 0;
    color: rgba(255,255,255,0.9);
    font-size: 14px;
}

.jlp-featured-btn {
    display: inline-block;
    margin-top: 15px;
    background: #fff;
    color: #667eea;
    padding: 10px 20px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
}

.jlp-featured-btn:hover {
    background: #f0f0f0;
}

/* Job Search Widget */
.jlp-search-form {
    background: #f8f9fa;
    padding: 30px;
    border-radius: 12px;
}

.jlp-search-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr auto;
    gap: 15px;
    align-items: center;
}

.jlp-search-input,
.jlp-search-select {
    padding: 15px;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 16px;
}

.jlp-search-input {
    width: 100%;
}

.jlp-search-btn {
    padding: 15px 30px;
    background: #2271b1;
    color: #fff;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
}

.jlp-search-btn:hover {
    background: #135e96;
}

/* Responsive */
@media (max-width: 768px) {
    .jlp-job-list-item {
        grid-template-columns: 1fr;
    }
    
    .jlp-list-logo {
        text-align: center;
    }
    
    .jlp-list-action {
        align-items: flex-start;
    }
    
    .jlp-search-row {
        grid-template-columns: 1fr;
    }
    
    .jlp-featured-jobs {
        flex-direction: column;
    }
    
    .jlp-featured-job-item {
        flex-direction: column;
        text-align: center;
    }
    
    .jlp-slider-widget {
        padding: 0 30px;
    }
}
