/* WorkReady Jobs — Seek-style job board */

:root {
    --wr-primary: #2557a7;
    --wr-primary-dark: #1a3f7a;
    --wr-accent: #ff6b35;
    --wr-bg: #f5f5f5;
    --wr-white: #ffffff;
    --wr-text: #2d2d2d;
    --wr-muted: #6f6f6f;
    --wr-border: #e4e4e4;
    --wr-radius: 8px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    color: var(--wr-text);
    background: var(--wr-bg);
    line-height: 1.6;
}

.wrap { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }

/* Header */
.header {
    background: var(--wr-primary);
    color: white;
    padding: 1.5rem 0;
}
.header-content { display: flex; align-items: baseline; gap: 1.5rem; flex-wrap: wrap; }
.brand { text-decoration: none; font-size: 1.8rem; font-weight: 800; letter-spacing: -0.02em; }
.brand-name { color: white; }
.brand-tld { color: var(--wr-accent); }
.header-tagline { color: rgba(255,255,255,0.8); font-size: 0.95rem; }

/* Main layout */
.main {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 2rem;
    padding-top: 2rem;
    padding-bottom: 3rem;
    min-height: 70vh;
}

/* Filters sidebar */
.filters {
    background: var(--wr-white);
    border: 1px solid var(--wr-border);
    border-radius: var(--wr-radius);
    padding: 1.5rem;
    height: fit-content;
    position: sticky;
    top: 1rem;
}
.filters h2 { font-size: 1.1rem; margin-bottom: 1rem; }
.filter-group { margin-bottom: 1rem; }
.filter-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--wr-muted);
    margin-bottom: 0.3rem;
    text-transform: uppercase;
    letter-spacing: 0.03em;
}
.filter-group input,
.filter-group select {
    width: 100%;
    padding: 0.5rem 0.75rem;
    border: 1px solid var(--wr-border);
    border-radius: 4px;
    font-size: 0.95rem;
    font-family: inherit;
}
.filter-group input:focus,
.filter-group select:focus {
    outline: none;
    border-color: var(--wr-primary);
    box-shadow: 0 0 0 2px rgba(37, 87, 167, 0.15);
}
.filter-count {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: var(--wr-muted);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 4px;
    font-size: 0.9rem;
    cursor: pointer;
    text-decoration: none;
    font-family: inherit;
}
.btn-primary { background: var(--wr-primary); color: white; }
.btn-primary:hover { background: var(--wr-primary-dark); }
.btn-secondary { background: var(--wr-border); color: var(--wr-text); width: 100%; }
.btn-secondary:hover { background: #d4d4d4; }
.btn-apply { background: var(--wr-accent); color: white; font-weight: 600; }
.btn-apply:hover { background: #e55a2a; }

/* Job list */
.job-list { display: flex; flex-direction: column; gap: 1rem; }

.job-card {
    background: var(--wr-white);
    border: 1px solid var(--wr-border);
    border-radius: var(--wr-radius);
    padding: 1.5rem;
    transition: box-shadow 0.2s;
}
.job-card:hover { box-shadow: 0 2px 8px rgba(0,0,0,0.1); }

.job-card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
}

.job-card h3 {
    font-size: 1.15rem;
    margin-bottom: 0.25rem;
}
.job-card h3 a {
    color: var(--wr-primary);
    text-decoration: none;
}
.job-card h3 a:hover { text-decoration: underline; }

.job-company {
    font-size: 0.95rem;
    color: var(--wr-text);
    font-weight: 500;
}
.job-company a { color: inherit; text-decoration: none; }
.job-company a:hover { text-decoration: underline; }

.job-meta {
    display: flex;
    gap: 1rem;
    margin-top: 0.5rem;
    flex-wrap: wrap;
}
.job-tag {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    font-size: 0.85rem;
    color: var(--wr-muted);
}
.job-tag-icon { font-size: 0.9rem; }

.job-sector {
    display: inline-block;
    padding: 0.15rem 0.6rem;
    background: #e8f0fe;
    color: var(--wr-primary);
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.job-card-actions {
    display: flex;
    gap: 0.75rem;
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px solid var(--wr-border);
}

/* No results */
.no-results {
    text-align: center;
    padding: 3rem;
    color: var(--wr-muted);
}
.no-results h3 { margin-bottom: 0.5rem; color: var(--wr-text); }

/* Footer */
.footer {
    background: #1a1a2e;
    color: rgba(255,255,255,0.6);
    padding: 1.5rem 0;
    font-size: 0.85rem;
    text-align: center;
}

/* Responsive */
@media (max-width: 768px) {
    .main { grid-template-columns: 1fr; }
    .filters { position: static; }
    .job-card-header { flex-direction: column; }
}
