/* Browse Jobs — shared classes come from dashboard_hr.css */

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px 40px;
}

.page-header { margin: 32px 0 24px; }

.page-title {
    font-size: 28px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 4px;
}

.page-subtitle {
    font-size: 15px;
    color: #64748b;
    margin: 0;
}

.card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 20px 24px;
}

.filters-form {
    display: flex;
    align-items: flex-end;
    gap: 16px;
    flex-wrap: wrap;
}

.filter-item { flex: 1; min-width: 200px; }

.filter-label {
    display: block;
    font-size: 13px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 6px;
}

.filter-control {
    width: 100%;
    height: 42px;
    padding: 0 14px;
    border: 1px solid #d1d5db;
    border-radius: 10px;
    font-size: 14px;
    box-sizing: border-box;
    outline: none;
    transition: border-color 0.2s;
}

.filter-control:focus { border-color: #2563eb; }

.filter-actions {
    display: flex;
    gap: 8px;
    align-items: center;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 40px;
    padding: 0 18px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    text-decoration: none;
    border: 1px solid #d1d5db;
    background: #fff;
    color: #374151;
    cursor: pointer;
    transition: all 0.15s ease;
}

.btn:hover { background: #f1f5f9; }

.btn-primary {
    background: #0f172a;
    color: #fff;
    border-color: #0f172a;
}

.btn-primary:hover { background: #1e293b; }

.muted { color: #94a3b8; font-size: 15px; }

/* Job Cards Grid */
.jobs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 16px;
}

.job-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 24px;
    text-decoration: none;
    color: inherit;
    transition: all 0.2s ease;
}

.job-card:hover {
    border-color: #2563eb;
    box-shadow: 0 4px 16px rgba(37, 99, 235, 0.08);
    transform: translateY(-2px);
}

.job-card-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}

.badge {
    display: inline-block;
    padding: 4px 12px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 600;
}

.badge-open {
    background: #dcfce7;
    color: #166534;
}

.job-date {
    font-size: 12px;
    color: #94a3b8;
}

.job-card-title {
    font-size: 18px;
    font-weight: 700;
    color: #0f172a;
    margin: 0 0 6px;
}

.job-card-company {
    font-size: 14px;
    color: #64748b;
    margin: 0 0 12px;
}

.job-card-tag {
    display: inline-block;
    padding: 4px 10px;
    background: #f1f5f9;
    border-radius: 8px;
    font-size: 12px;
    color: #475569;
    margin-bottom: 12px;
}

.job-card-arrow {
    font-size: 13px;
    font-weight: 600;
    color: #2563eb;
    margin-top: auto;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.pagination-meta {
    font-size: 14px;
    color: #64748b;
}

.pagination-actions {
    display: flex;
    gap: 8px;
}

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

    .filters-form {
        flex-direction: column;
        gap: 12px;
    }

    .filter-item { min-width: 100%; }
}
