.jobs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    padding: 20px 0;
}

.job-card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    padding: 20px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.job-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.15);
}

.job-header {
    margin-bottom: 15px;
}

.job-header h4 {
    color: #2c3e50;
    font-size: 1.2em;
    margin: 0 0 5px 0;
}

.job-header .company {
    color: #666;
    font-size: 0.9em;
}

.job-details {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.job-details span {
    display: flex;
    align-items: center;
    color: #666;
    font-size: 0.9em;
}

.job-details i {
    margin-right: 8px;
    color: #3498db;
    width: 16px;
}

.job-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px solid #eee;
}

.view-job {
    background: #3498db;
    color: white;
    padding: 8px 15px;
    border-radius: 4px;
    text-decoration: none;
    font-size: 0.9em;
    transition: background-color 0.2s ease;
}

.view-job:hover {
    background: #2980b9;
}

.unsave-job {
    background: none;
    border: 1px solid #e74c3c;
    color: #e74c3c;
    padding: 8px 15px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.9em;
    display: flex;
    align-items: center;
    gap: 5px;
    transition: all 0.2s ease;
}

.unsave-job:hover {
    background: #e74c3c;
    color: white;
}

.unsave-job i {
    font-size: 0.9em;
}

.no-jobs-message {
    text-align: center;
    padding: 40px 20px;
    color: #666;
    font-size: 1.1em;
}

@media (max-width: 768px) {
    .jobs-grid {
        grid-template-columns: 1fr;
    }

    .job-footer {
        flex-direction: column;
        gap: 10px;
    }

    .view-job,
    .unsave-job {
        width: 100%;
        text-align: center;
        justify-content: center;
    }
}