/* Job Popup Styles */
#jobPopup {
    backdrop-filter: blur(4px);
    animation: fadeIn 0.3s ease-out;
}

#jobPopupContent {
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

#jobPopupContent.scale-95 {
    transform: scale(0.95);
}

#jobPopupContent.scale-100 {
    transform: scale(1);
}

#jobPopupContent.opacity-0 {
    opacity: 0;
}

#jobPopupContent.opacity-100 {
    opacity: 1;
}

/* Pulse animation for job count badge */
#jobPopup .bg-green-100 {
    animation: pulse 2s infinite;
}

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

/* Hover effects for job items */
#jobList > div {
    transition: all 0.2s ease;
}

#jobList > div:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Button hover effects */
#jobPopup .bg-red-600 {
    transition: all 0.2s ease;
}

#jobPopup .bg-red-600:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
}

/* Fade in animation */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Mobile responsiveness */
@media (max-width: 640px) {
    #jobPopupContent {
        margin: 1rem;
        max-width: calc(100vw - 2rem);
    }
}

/* Checkbox styling */
#dontShowAgain {
    accent-color: #dc2626;
}

/* Close button hover effect */
#jobPopup button[onclick="closeJobPopup()"] {
    transition: all 0.2s ease;
}

#jobPopup button[onclick="closeJobPopup()"]:hover {
    transform: scale(1.1);
    color: #374151;
}