/* Phase 1 Job Card Enhancements CSS */

/* Enhanced Job Cards */
.job-card {
    transition: all 0.3s ease;
    border: 1px solid #e9ecef !important;
}

.job-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1) !important;
    border-color: #007bff !important;
}

/* Job Images */
.job-image img {
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* Company Logos */
.company-logo {
    border-radius: 4px;
    box-shadow: 0 1px 3px rgba(0,0,0,0.1);
}

/* Job Summary */
.job-summary {
    font-style: italic;
    line-height: 1.4;
    color: #6c757d;
}

/* Enhanced Badges */
.badge {
    font-size: 0.75em;
    padding: 0.5em 0.75em;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .job-card {
        margin-bottom: 1rem;
    }
    
    .job-image img {
        max-height: 150px !important;
    }
    
    .company-logo {
        max-height: 25px !important;
        max-width: 80px !important;
    }
}

/* Loading states for images */
.job-image img,
.company-logo {
    background-color: #f8f9fa;
    background-image: linear-gradient(45deg, #f8f9fa 25%, transparent 25%), 
                      linear-gradient(-45deg, #f8f9fa 25%, transparent 25%), 
                      linear-gradient(45deg, transparent 75%, #f8f9fa 75%), 
                      linear-gradient(-45deg, transparent 75%, #f8f9fa 75%);
    background-size: 20px 20px;
    background-position: 0 0, 0 10px, 10px -10px, -10px 0px;
}

/* Image loading animation */
@keyframes shimmer {
    0% { background-position: -200px 0; }
    100% { background-position: calc(200px + 100%) 0; }
}

.job-image img:not([src]),
.company-logo:not([src]) {
    animation: shimmer 1.5s infinite;
}
