/* File: assets/css/rhoworld-jobs.css
 * Purpose: Lightweight styles for the jobs UI.
 */
.rhoworld-jobs {
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 16px;
    background: #fff;
    font-family: system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
}

.rhoworld-jobs__filters {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 12px;
    align-items: center;
    margin-bottom: 12px;
}

.rj-select {
    min-width: 180px;
    padding: 6px 8px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    background: #fff;
}

.rj-btn {
    padding: 6px 12px;
    border: 1px solid #d1d5db;
    border-radius: 6px;
    background: #f9fafb;
    cursor: pointer;
}

.rhoworld-jobs__meta {
    font-size: 12px;
    color: #6b7280;
    margin-bottom: 8px;
}

.rhoworld-jobs__list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 12px;
    min-height: 40px;
    position: relative;
}

.rj-card {
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    padding: 12px;
    background: #fff;
}

.rj-title {
    margin: 0 0 6px 0;
    font-size: 16px;
    line-height: 1.3;
}

.rj-title a {
    color: #111827;
    text-decoration: none;
}

.rj-title a:hover {
    text-decoration: underline;
}

.rj-meta {
    font-size: 13px;
    color: #374151;
}

.rj-empty,
.rj-error {
    grid-column: 1 / -1;
    padding: 12px;
    background: #fff7ed;
    border: 1px solid #fed7aa;
    border-radius: 8px;
    color: #7c2d12;
}

.rj-loading::after {
    content: 'Loading…';
    position: absolute;
    top: 8px;
    right: 8px;
    font-size: 12px;
    color: #6b7280;
}