/* WorkOn Recommended Jobs Styles */

/* Slick slider customization */
.slickStart .slick-slide {
    height: auto;
    padding: 0 8px;
}

.slickStart .slick-track {
    display: flex;
    align-items: stretch;
    justify-content: center;
}

.slickStart .slick-slide > div {
    height: 100%;
}

.slickStart .slick-slide:first-child {
    padding-left: 0 !important;
}

.slickStart .slick-slide:last-child {
    padding-right: 0 !important;
}

/* Slick dots customization - prevent overlapping */
.slickStart .slick-dots {
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
    gap: 8px !important;
    list-style: none !important;
    padding: 0 !important;
    margin: 20px 0 0 0 !important;
    bottom: -40px !important;
}

.slickStart .slick-dots li {
    display: inline-block !important;
    margin: 0 !important;
    padding: 0 !important;
    position: relative !important;
}

.slickStart .slick-dots li button {
    background: #dee2e6 !important;
    border-radius: 50% !important;
    width: 12px !important;
    height: 12px !important;
    border: none !important;
    cursor: pointer !important;
    font-size: 0 !important;
    line-height: 0 !important;
    padding: 0 !important;
    margin: 0 !important;
    display: block !important;
    position: relative !important;
    z-index: 1 !important;
}

.slickStart .slick-dots li.slick-active button {
    background: #00A0FF !important;
    transform: none !important;
}

.slickStart .slick-dots li button::before,
.slickStart .slick-dots li button::after {
    display: none !important;
}

/* Job Card Styles */
.recommended-jobs-section {
    margin: 3rem 0;
}

.section-title h2 {
    color: #25324B;
    font-size: 3rem;
    font-weight: 600;
    font-family: 'SUITE', sans-serif;
    line-height: 1.1;
    margin-bottom: 0;
}

.section-title p {
    color: #6c757d;
    font-size: 0.9rem;
}

.job-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    height: 100%;
    transition: all 0.3s ease;
}

.job-card-link:hover {
    text-decoration: none;
    color: inherit;
}

.job-card {
    background: #fff;
    border-radius: 15px;
    border: 1px solid #D6DDEB;
    transition: all 0.3s ease;
    overflow: hidden;
    height: 100%;
    display: flex;
    flex-direction: column;
}

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

.job-image-container {
    position: relative;
    height: 160px;
    overflow: hidden;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.job-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.job-card:hover .job-image {
    transform: scale(1.05);
}

.job-image-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    font-size: 2.5rem;
}

.job-content {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.job-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 16px;
}

.company-logo-container {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    overflow: hidden;
    background: #3A1111;
    display: flex;
    align-items: center;
    justify-content: center;
}

.company-logo-placeholder {
    color: white;
    font-size: 1.2rem;
}

.salary-tag {
    border: 1px solid #00A0FF;
    border-radius: 12.5px;
    padding: 4px 12px;
    color: #00A0FF;
    font-size: 16px;
    font-weight: 400;
    font-family: 'Epilogue', sans-serif;
    text-align: right;
}

.job-title-section {
    margin-bottom: 16px;
}

.company-name {
    color: #25324B;
    font-size: 18px;
    font-weight: 600;
    font-family: 'Epilogue', sans-serif;
    line-height: 1.6;
    margin-bottom: 2px;
}

.job-location {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #515B6F;
    font-size: 16px;
    font-weight: 400;
    font-family: 'Epilogue', sans-serif;
    margin-bottom: 1rem;
}

.location-dot {
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #515B6F;
    opacity: 0.3;
}

.job-description {
    color: #7C8493;
    font-size: 16px;
    font-weight: 400;
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    margin-bottom: 16px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.job-labels {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.job-label {
    padding: 4px 16px;
    border-radius: 80px;
    font-size: 14px;
    font-weight: 600;
    font-family: 'Epilogue', sans-serif;
}

.job-label.yellow {
    background: rgba(235, 133, 51, 0.1);
    color: #FFB836;
}

.job-label.green {
    background: rgba(86, 205, 173, 0.1);
    color: #56CDAD;
}

/* Loading animation */
.jobs-slider {
    margin-top: 2rem;
    opacity: 0;
    animation: fadeInUp 0.8s ease forwards;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Section header animation */
.section-header {
    padding-bottom: 1rem;
    opacity: 0;
    animation: fadeInLeft 0.6s ease 0.2s forwards;
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Staggered card animation */
.job-card-wrapper {
    padding: 0 0.75rem;
    opacity: 0;
    animation: fadeInUp 0.6s ease forwards;
}

.job-card-wrapper:nth-child(1) { animation-delay: 0.1s; }
.job-card-wrapper:nth-child(2) { animation-delay: 0.2s; }
.job-card-wrapper:nth-child(3) { animation-delay: 0.3s; }
.job-card-wrapper:nth-child(4) { animation-delay: 0.4s; }
