.job-listings-container {
    padding: 10px 0;
    font-family: 'Roboto', sans-serif;
}

.job-controls {
    margin-bottom: 15px;
    display: flex;
    justify-content: flex-end;
}

#jobSearch {
    padding: 10px;
    border: 1px solid #ccc;
    border-radius: 4px;
    width: 100%;
    max-width: 300px;
    font-size: 1rem;
}

.table-responsive {
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    margin-bottom: 20px;
    border: 1px solid #ddd;
    border-radius: 4px;
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.job-table {
    width: 100%;
    border-collapse: collapse;
    min-width: 800px; /* Ensures table doesn't squash on mobile */
    background-color: #fff;
}

.job-table th, .job-table td {
    padding: 15px;
    text-align: left;
    border-bottom: 1px solid #eee;
}

.job-table th {
    background-color: #00a6eb;
    color: white;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    white-space: nowrap;
}

.job-table tr:hover {
    background-color: #f9f9f9;
}

.btn-view {
    display: inline-block;
    padding: 8px 16px;
    background-color: #28a745;
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-size: 0.85rem;
    transition: background-color 0.2s;
    white-space: nowrap;
}

.btn-view:hover {
    background-color: #218838;
    color: white;
}

.no-jobs-message {
    text-align: center;
    padding: 30px;
    color: #666;
    font-style: italic;
    background: #f9f9f9;
    border: 1px solid #eee;
    border-radius: 4px;
}

.pagination {
    display: flex;
    justify-content: center;
    gap: 5px;
    margin-top: 20px;
}

.page-btn {
    padding: 8px 14px;
    border: 1px solid #ddd;
    background-color: white;
    cursor: pointer;
    border-radius: 4px;
    transition: all 0.2s;
}

.page-btn.active {
    background-color: #00a6eb;
    color: white;
    border-color: #00a6eb;
}

.page-btn:hover:not(.active) {
    background-color: #e9ecef;
}