/* Job Carousel Styles */

.horizontal-scroll-container {
    -ms-overflow-style: none;
    scrollbar-width: none;
    padding: 25px 10px;
    -webkit-overflow-scrolling: touch;
}

.horizontal-scroll-container::-webkit-scrollbar {
    display: none;
}

.job-card-wrapper {
    min-width: 85%;
    scroll-snap-align: center;
    flex-shrink: 0;
}

@media (min-width: 768px) {
    .job-card-wrapper {
        min-width: 310px;
        scroll-snap-align: start;
    }
}

.job-card-link {
    background: #181a1d;
    border-radius: 24px;
    box-shadow: 8px 8px 16px #0d0e10, -8px -8px 16px #23262a;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    border: 1px solid rgba(255, 255, 255, 0.03);
    display: block;
    text-decoration: none !important;
    padding: 24px;
    height: 100%;
}

@media (min-width: 768px) {
    .job-card-link {
        padding: 32px;
    }
}

@media (hover: hover) {
    .job-card-link:hover {
        box-shadow: inset 6px 6px 12px #0d0e10, inset -6px -6px 12px #23262a;
        transform: scale(0.97);
    }
}

.job-card-link:focus {
    outline: none;
    box-shadow: inset 6px 6px 12px #0d0e10, inset -6px -6px 12px #23262a;
}

.neu-button-dark {
    background: #181a1d;
    box-shadow: 5px 5px 10px #0d0e10, -5px -5px 10px #23262a;
    transition: all 0.3s ease;
}

.neu-button-dark:hover {
    box-shadow: inset 3px 3px 6px #0d0e10, inset -3px -3px 6px #23262a;
}

.line-clamp-2 {
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Job Type Tags */
.job-type-tag {
    font-size: 9px;
    font-weight: 700;
    padding: 4px 12px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    display: inline-block;
}

.job-type-direct {
    background: #bfd93e;
    color: #181a1d;
}

.job-type-contract-to-perm {
    background: #5c636a;
    color: white;
}

.job-type-contract {
    background: white;
    color: #181a1d;
}

/* Loading State */
.job-carousel-loading {
    text-align: center;
    padding: 40px 20px;
    color: #9ca3af;
    font-style: italic;
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

/* Empty State */
.job-carousel-empty {
    text-align: center;
    padding: 40px 20px;
    color: #9ca3af;
    font-style: italic;
    width: 100%;
}

/* Scroll Arrows */
.scroll-arrow {
    cursor: pointer;
    transition: all 0.3s ease;
}

.scroll-arrow:hover .neu-button-dark {
    box-shadow: inset 3px 3px 6px #0d0e10, inset -3px -3px 6px #23262a;
}

.scroll-arrow:active .neu-button-dark {
    box-shadow: 2px 2px 4px #0d0e10, -2px -2px 4px #23262a;
}

/* SVG Icon Styling */
.scroll-arrow svg {
    width: 24px;
    height: 24px;
}

/* Recruiter Info */
.recruiter-info {
    font-size: 11px;
    color: #bfd93e;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    display: flex;
    align-items: center;
}

.recruiter-name {
    color: #d1d5db;
    margin-left: 4px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Location Info */
.location-info {
    font-size: 14px;
    color: #9ca3af;
    display: flex;
    align-items: center;
    font-weight: 500;
    margin-top: 8px;
}

@media (max-width: 768px) {
    .location-info {
        font-size: 12px;
    }
}

.location-icon {
    width: 16px;
    height: 16px;
    margin-right: 8px;
    color: #bfd93e;
}

/* View Details CTA */
.view-details-cta {
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 10px;
    font-weight: 900;
    color: #bfd93e;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    opacity: 0.6;
    transition: opacity 0.3s ease;
}

.job-card-link:hover .view-details-cta {
    opacity: 1;
}

@media (max-width: 768px) {
    .view-details-cta {
        opacity: 0.4;
    }
}

/* Status Indicator Dot */
.status-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #bfd93e;
    box-shadow: 0 0 10px #bfd93e;
}
