/* Application Status Styling for Job Listings */
.job-application-status {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
    animation: fadeInUp 0.4s ease-out;
}

.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    white-space: nowrap;
}

.status-badge.badge-waiting {
    background-color: #fff3cd;
    color: #856404;
    border: 1px solid #ffc107;
    animation: pulse 2s infinite;
}

.status-badge.badge-accepted {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #28a745;
}

.status-badge.badge-denied {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #dc3545;
}

.status-badge.badge-canceled {
    background-color: #e2e3e5;
    color: #383d41;
    border: 1px solid #6c757d;
}

.btn-view-application {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.4rem 1rem;
    background-color: #6c757d;
    color: white;
    border-radius: 5px;
    text-decoration: none;
    font-size: 0.875rem;
    font-weight: 500;
    transition: all 0.2s ease;
}

.btn-view-application:hover {
    background-color: #5a6268;
    transform: translateX(3px);
    color: white;
    text-decoration: none;
    box-shadow: 0 2px 8px rgba(0,0,0,0.15);
}

.application-date {
    font-size: 0.75rem;
    color: #6c757d;
    font-style: italic;
}

tr.user-applied {
    background-color: #f8f9fa;
    border-left: 4px solid #2b6777;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

@media (max-width: 767px) {
    .job-application-status {
        width: 100%;
    }
    
    .btn-view-application {
        width: 100%;
        justify-content: center;
    }
}
