/* ═══════════════════════════════════════════════════════════════════════════
   Re:Venge — Revenge to order. Make a difference. Make people safer.
   ═══════════════════════════════════════════════════════════════════════════ */

:root {
    --rv-bg:              #f5f5f5;
    --rv-surface:         #eeeeee;
    --rv-surface-hover:   #e5e5e5;
    --rv-border:          #dddddd;
    --rv-border-light:    #cccccc;
    --rv-text:            #222021;
    --rv-text-muted:      #666666;
    --rv-text-dim:        #999999;
    --rv-red:             #c03834;
    --rv-red-bright:      #d04440;
    --rv-red-dim:         #8a2824;
    --rv-red-bg:          rgba(192, 56, 52, 0.06);
    --rv-black:           #222021;
    --rv-black-bg:        #222021;
    --rv-green:           #1a8a3a;
    --rv-green-bg:        rgba(26, 138, 58, 0.08);
    --rv-amber:           #aa7700;
    --rv-amber-bg:        rgba(170, 119, 0, 0.08);
    --rv-radius:          4px;
    --rv-radius-sm:       2px;
    --rv-font:            -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    --rv-font-heading:    'Arial Black', 'Helvetica Neue', Arial, sans-serif;
    --rv-content-width:   760px;
}

/* ── App container ────────────────────────────────────────────────────── */

.rv-app {
    font-family: var(--rv-font);
    background-color: var(--rv-bg);
    color: var(--rv-text);
    min-height: 100vh;
    font-size: 14px;
    line-height: 1.5;
    width: 100%;
}

.rv-app *, .rv-app *::before, .rv-app *::after {
    box-sizing: border-box;
}

/* ── Scoped theme reset ───────────────────────────────────────────────
   Aggressively override common theme CSS that bleeds into plugin
   elements — button highlights, focus rings, hover states, shadows,
   transforms, text decorations, and transitions.
   ──────────────────────────────────────────────────────────────────── */

.rv-app ::selection {
    background: var(--rv-red) !important;
    color: #fff !important;
}

.rv-app button,
.rv-app input,
.rv-app select,
.rv-app textarea {
    font-family: var(--rv-font) !important;
    font-size: inherit !important;
    line-height: inherit !important;
    border-radius: var(--rv-radius-sm) !important;
    outline: none !important;
    box-shadow: none !important;
    text-shadow: none !important;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    transition: none !important;
}

.rv-app input[type="checkbox"],
.rv-app input[type="radio"] {
    -webkit-appearance: auto !important;
    -moz-appearance: auto !important;
    appearance: auto !important;
    width: auto !important;
    border-radius: 0 !important;
}

.rv-app input[type="file"] {
    -webkit-appearance: auto !important;
    -moz-appearance: auto !important;
    appearance: auto !important;
    background: transparent !important;
    border: none !important;
    padding: 0 !important;
}

.rv-app select {
    -webkit-appearance: menulist !important;
    -moz-appearance: menulist !important;
    appearance: menulist !important;
}

.rv-app button {
    cursor: pointer;
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    text-transform: none;
    letter-spacing: normal;
}

.rv-app button:hover,
.rv-app button:focus,
.rv-app button:focus-visible,
.rv-app button:active,
.rv-app button:visited {
    outline: none !important;
    box-shadow: none !important;
    text-shadow: none !important;
    text-decoration: none !important;
    transform: none !important;
    filter: none !important;
    -webkit-filter: none !important;
}

.rv-app input:hover,
.rv-app input:focus,
.rv-app input:focus-visible,
.rv-app input:active,
.rv-app select:hover,
.rv-app select:focus,
.rv-app select:focus-visible,
.rv-app select:active,
.rv-app textarea:hover,
.rv-app textarea:focus,
.rv-app textarea:focus-visible,
.rv-app textarea:active {
    outline: none !important;
    box-shadow: none !important;
    text-shadow: none !important;
    transform: none !important;
    filter: none !important;
    -webkit-filter: none !important;
}

.rv-app a,
.rv-app a:visited,
.rv-app a:hover,
.rv-app a:active,
.rv-app a:focus {
    color: inherit !important;
    text-decoration: none !important;
    outline: none !important;
    box-shadow: none !important;
}

.rv-app * {
    -webkit-tap-highlight-color: transparent !important;
}

/* ── Header — black bar with red accent ───────────────────────────────── */

.rv-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--rv-black-bg);
    border-bottom: 3px solid var(--rv-red);
}

.rv-header-inner {
    max-width: var(--rv-content-width);
    margin: 0 auto;
    padding: 14px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.rv-logo-text {
    font-family: var(--rv-font-heading);
    font-size: 26px;
    font-weight: 900;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.rv-logo-re {
    color: var(--rv-red);
}

.rv-logo-colon {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.12em;
    vertical-align: middle;
    margin: 0 0.02em;
    position: relative;
    top: -0.05em;
}

.rv-logo-dot {
    display: block;
    width: 0.2em;
    height: 0.2em;
    border-radius: 50%;
    background: var(--rv-red);
}

.rv-logo-venge {
    color: #f5f5f5;
}

.rv-header-right {
    display: flex;
    align-items: center;
    gap: 8px;
}

.rv-header-right .rv-select {
    background: #222;
    border-color: #444;
    color: #fff;
}

/* ── Nav — white bar, red active indicator ────────────────────────────── */

.rv-nav {
    max-width: var(--rv-content-width);
    margin: 0 auto;
    display: flex;
    padding: 0 16px;
    gap: 0;
    background: var(--rv-bg);
    border-bottom: 1px solid var(--rv-border);
}

.rv-nav-btn {
    background: none !important;
    border: none !important;
    color: var(--rv-text-muted) !important;
    font-family: var(--rv-font) !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    padding: 12px 20px !important;
    cursor: pointer !important;
    border-bottom: 3px solid transparent !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    box-shadow: none !important;
    outline: none !important;
}

.rv-nav-btn:hover {
    color: var(--rv-text) !important;
    background: none !important;
    box-shadow: none !important;
}

.rv-nav-btn:focus,
.rv-nav-btn:active {
    background: none !important;
    box-shadow: none !important;
    outline: none !important;
}

.rv-nav-btn.active {
    color: var(--rv-red) !important;
    border-bottom-color: var(--rv-red) !important;
}

/* ── Content ──────────────────────────────────────────────────────────── */

.rv-content {
    max-width: var(--rv-content-width);
    margin: 0 auto;
    padding: 16px;
}

.rv-loading {
    text-align: center;
    padding: 40px 0;
    color: var(--rv-text-muted);
    font-size: 14px;
}

/* ── Form elements ────────────────────────────────────────────────────── */

.rv-select,
.rv-input {
    background: #f5f5f5;
    border: 1px solid var(--rv-border);
    color: var(--rv-text);
    font-family: var(--rv-font);
    font-size: 13px;
    border-radius: var(--rv-radius-sm);
    padding: 8px 10px;
}

.rv-select:hover,
.rv-input:hover {
    border-color: var(--rv-border-light);
}

.rv-select:focus,
.rv-input:focus {
    border-color: var(--rv-red) !important;
}

/* ── Job card ─────────────────────────────────────────────────────────── */

.rv-job-card {
    background: #f5f5f5;
    border: 1px solid var(--rv-border);
    border-left: 4px solid var(--rv-red);
    border-radius: var(--rv-radius);
    padding: 16px 16px 16px 20px;
    margin-bottom: 12px;
    transition: background 0.15s, box-shadow 0.15s;
    cursor: pointer;
}

.rv-job-card:hover {
    background: var(--rv-surface);
    box-shadow: 0 2px 8px rgba(0,0,0,0.06);
}

.rv-job-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 8px;
}

.rv-job-title {
    font-family: var(--rv-font-heading);
    font-weight: 900;
    font-size: 15px;
    color: var(--rv-black);
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.rv-job-bounty {
    font-family: var(--rv-font-heading);
    font-weight: 900;
    font-size: 20px;
    color: var(--rv-black);
    white-space: nowrap;
}

.rv-job-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    font-size: 12px;
    color: var(--rv-text-muted);
    margin-bottom: 8px;
}

.rv-job-description {
    font-size: 13px;
    color: var(--rv-text);
    line-height: 1.6;
    margin-bottom: 12px;
    white-space: pre-wrap;
}

.rv-job-quarry-photo {
    width: 100%;
    max-width: 300px;
    border-radius: var(--rv-radius);
    border: 1px solid var(--rv-border);
    margin-bottom: 12px;
}

.rv-job-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 12px;
    border-top: 1px solid var(--rv-border);
}

.rv-job-cut {
    font-size: 12px;
    color: var(--rv-text-muted);
}

.rv-job-cut strong {
    color: var(--rv-black);
    font-weight: 700;
}

/* ── Red info bar — mimics the flyer bullet style ─────────────────────── */

.rv-info-bar {
    background: var(--rv-red);
    color: #fff;
    font-weight: 700;
    font-size: 13px;
    padding: 10px 16px;
    margin-bottom: 2px;
}

/* ── Threat level badges ──────────────────────────────────────────────── */

.rv-threat {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 2px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.rv-threat-unknown  { background: #eee;                    color: #888; }
.rv-threat-low      { background: var(--rv-green-bg);      color: var(--rv-green); }
.rv-threat-moderate { background: var(--rv-amber-bg);      color: var(--rv-amber); }
.rv-threat-high     { background: var(--rv-red-bg);        color: var(--rv-red); }
.rv-threat-extreme  { background: rgba(192,56,52,0.12);    color: #c03834; border: 1px solid rgba(192,56,52,0.25); }

/* ── Status badges ────────────────────────────────────────────────────── */

.rv-status {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 2px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.rv-status-open      { background: var(--rv-green-bg);  color: var(--rv-green); }
.rv-status-accepted  { background: var(--rv-amber-bg);  color: var(--rv-amber); }
.rv-status-under_review { background: rgba(34,102,204,0.1); color: #2266cc; }
.rv-status-completed { background: var(--rv-green-bg);  color: #227744; }
.rv-status-cancelled { background: var(--rv-red-bg);    color: var(--rv-red); }

/* ── Buttons ──────────────────────────────────────────────────────────── */

.rv-btn {
    display: inline-flex !important;
    align-items: center !important;
    gap: 6px;
    padding: 10px 20px !important;
    border: none !important;
    border-radius: var(--rv-radius-sm) !important;
    font-family: var(--rv-font) !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    cursor: pointer !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    text-decoration: none !important;
    box-shadow: none !important;
    outline: none !important;
    transform: none !important;
}

.rv-btn:hover,
.rv-btn:focus,
.rv-btn:focus-visible,
.rv-btn:active,
.rv-btn:visited {
    text-decoration: none !important;
    box-shadow: none !important;
    outline: none !important;
    transform: none !important;
    filter: none !important;
}

.rv-btn-primary {
    background: var(--rv-red) !important;
    color: #fff !important;
}

.rv-btn-primary:hover,
.rv-btn-primary:focus,
.rv-btn-primary:active {
    background: var(--rv-red-bright) !important;
    color: #fff !important;
}

.rv-btn-secondary {
    background: #f5f5f5 !important;
    color: var(--rv-text) !important;
    border: 1px solid var(--rv-border) !important;
}

.rv-btn-secondary:hover,
.rv-btn-secondary:focus,
.rv-btn-secondary:active {
    background: var(--rv-surface) !important;
    color: var(--rv-text) !important;
}

.rv-btn-danger {
    background: var(--rv-red-bg) !important;
    color: var(--rv-red) !important;
    border: 1px solid rgba(192,56,52,0.2) !important;
}

.rv-btn-danger:hover,
.rv-btn-danger:focus,
.rv-btn-danger:active {
    background: rgba(192,56,52,0.12) !important;
    color: var(--rv-red) !important;
}

.rv-btn:disabled {
    opacity: 0.4 !important;
    cursor: not-allowed !important;
}

/* ── Modal ────────────────────────────────────────────────────────────── */

.rv-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
}

.rv-modal-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
}

.rv-modal-content {
    position: relative;
    background: #f5f5f5;
    border: 1px solid var(--rv-border);
    border-top: 3px solid var(--rv-red);
    border-radius: var(--rv-radius);
    padding: 24px;
    padding-top: 40px;
    max-width: 560px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 8px 32px rgba(0,0,0,0.15);
}

.rv-modal-close {
    position: absolute !important;
    top: 8px !important;
    right: 8px !important;
    background: var(--rv-surface) !important;
    border: 1px solid var(--rv-border) !important;
    border-radius: 50% !important;
    color: var(--rv-text-muted) !important;
    font-size: 20px !important;
    width: 32px !important;
    height: 32px !important;
    display: flex !important;
    align-items: center !important;
    justify-content: center !important;
    cursor: pointer !important;
    line-height: 1 !important;
    z-index: 10;
    padding: 0 !important;
    box-shadow: none !important;
}

.rv-modal-close:hover,
.rv-modal-close:focus,
.rv-modal-close:active {
    color: var(--rv-text) !important;
    background: var(--rv-border) !important;
    box-shadow: none !important;
    outline: none !important;
}

/* ── Bounty breakdown panel — black with red header ───────────────────── */

.rv-bounty-panel {
    background: var(--rv-black-bg);
    border-radius: var(--rv-radius);
    overflow: hidden;
    margin-bottom: 16px;
    color: #fff;
}

.rv-bounty-panel-header {
    background: var(--rv-red);
    color: #fff;
    font-weight: 700;
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 8px 16px;
}

.rv-bounty-panel-body {
    padding: 16px;
}

.rv-bounty-row {
    display: flex;
    justify-content: space-between;
    padding: 4px 0;
    color: #ccc;
}

.rv-bounty-row-total {
    border-top: 1px solid #333;
    margin-top: 8px;
    padding-top: 10px;
    font-weight: 900;
    font-size: 16px;
    color: #fff;
}

/* ── Login — flyer layout: white logo, black brand, black form ─────── */

.rv-login-wrap {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: var(--rv-bg);
}

.rv-login-card {
    max-width: 480px;
    width: 100%;
    border-radius: var(--rv-radius);
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(0,0,0,0.08);
}

/* ── White logo section ─────────────────────────────────────────────── */

.rv-login-logo-section {
    background: #f5f5f5;
    padding: 28px 28px 20px;
    text-align: center;
    border-bottom: 3px solid var(--rv-red);
}

.rv-login-logo {
    font-family: var(--rv-font-heading);
    font-size: 42px;
    font-weight: 900;
    font-style: normal;
    line-height: 1;
}

.rv-login-logo .rv-logo-re {
    color: var(--rv-red);
}

.rv-login-logo .rv-logo-venge {
    color: var(--rv-black);
}

/* ── Black brand section (headline + taglines) ──────────────────────── */

.rv-login-brand {
    background: #222021;
    padding: 24px 28px 0;
    text-align: center;
}

.rv-login-headline {
    font-family: var(--rv-font-heading);
    color: #fff;
    text-transform: uppercase;
    line-height: 1.15;
    margin-bottom: 24px;
}

.rv-login-headline-line {
    font-size: 24px;
    font-weight: 400;
}

.rv-login-headline-bold {
    font-weight: 900;
    font-size: 28px;
}

.rv-login-headline em {
    font-style: italic;
    font-weight: 900;
}

.rv-login-taglines {
    text-align: left;
}

.rv-login-taglines .rv-info-bar {
    font-size: 13px;
    padding: 10px 16px;
    margin-bottom: 2px;
}

.rv-login-taglines .rv-info-bar:last-child {
    margin-bottom: 0;
}

/* ── Black form section ─────────────────────────────────────────────── */

.rv-login-form {
    background: #222021;
    padding: 28px 28px 24px;
    text-align: center;
}

.rv-login-form input[type="text"],
.rv-login-form input[type="password"] {
    background: #f5f5f5 !important;
    border: 1px solid #444 !important;
    color: var(--rv-black) !important;
    font-family: var(--rv-font) !important;
    border-radius: var(--rv-radius-sm) !important;
    padding: 10px 12px !important;
    width: 100% !important;
    margin-bottom: 8px !important;
}

.rv-login-form input[type="submit"] {
    background: var(--rv-red) !important;
    color: #fff !important;
    border: none !important;
    font-family: var(--rv-font) !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    border-radius: var(--rv-radius-sm) !important;
    padding: 12px 20px !important;
    cursor: pointer !important;
    width: 100% !important;
    margin-top: 8px !important;
    font-size: 14px !important;
}

.rv-login-form input[type="submit"]:hover {
    background: var(--rv-red-bright) !important;
}

.rv-login-form input[type="submit"]:focus,
.rv-login-form input[type="submit"]:active {
    background: var(--rv-red-bright) !important;
    outline: none !important;
    box-shadow: none !important;
}

.rv-login-form label {
    color: #999 !important;
    font-size: 12px !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
}

.rv-login-form .login-remember {
    text-align: left;
    margin: 4px 0 0;
    font-size: 13px;
    color: #888;
}

.rv-login-register,
.rv-login-register a {
    margin-top: 16px;
    font-size: 13px;
    color: #888 !important;
}

@media (max-width: 600px) {
    .rv-login-logo {
        font-size: 32px;
    }
    .rv-login-headline-line {
        font-size: 20px;
    }
    .rv-login-headline-bold {
        font-size: 22px;
    }
    .rv-login-brand {
        padding: 20px 20px 0;
    }
    .rv-login-form {
        padding: 20px;
    }
    .rv-login-logo-section {
        padding: 20px 20px 16px;
    }
}

/* ── Empty state ──────────────────────────────────────────────────────── */

.rv-empty {
    text-align: center;
    padding: 60px 20px;
    color: var(--rv-text-dim);
}

.rv-empty-icon {
    font-size: 48px;
    margin-bottom: 12px;
    opacity: 0.5;
}

.rv-empty-text {
    font-size: 14px;
}

/* ── Character select for acceptance ──────────────────────────────────── */

.rv-accept-form {
    display: flex;
    gap: 8px;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 12px;
}

.rv-accept-form select {
    flex: 1;
    min-width: 150px;
}

/* ── Detail grid ──────────────────────────────────────────────────────── */

.rv-detail-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin-bottom: 16px;
}

.rv-detail-label {
    color: var(--rv-text-muted);
    text-transform: uppercase;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 2px;
}

.rv-detail-value {
    font-size: 14px;
    color: var(--rv-text);
}

/* ── Responsive ───────────────────────────────────────────────────────── */

@media (max-width: 600px) {
    .rv-header-inner {
        flex-direction: column;
        align-items: stretch;
        gap: 8px;
    }

    .rv-job-header {
        flex-direction: column;
    }

    .rv-job-bounty {
        font-size: 18px;
    }

    .rv-nav-btn {
        padding: 10px 12px;
        font-size: 12px;
    }

    .rv-modal-content {
        padding: 16px;
    }

    .rv-detail-grid {
        grid-template-columns: 1fr;
    }
}

/* ── Mini-map in job detail ───────────────────────────────────────────── */

.rv-job-minimap {
    width: 100%;
    height: 200px;
    border: 1px solid var(--rv-border);
    border-radius: var(--rv-radius);
    margin-bottom: 16px;
    overflow: hidden;
}

/* ── Character selector ───────────────────────────────────────────────── */

select.rv-character-select {
    background: #222 !important;
    border-color: #444 !important;
    color: #fff !important;
    max-width: 260px;
    font-size: 13px !important;
    padding: 6px 10px !important;
    border-radius: 2px !important;
}

select.rv-character-select option {
    background: #222 !important;
    color: #fff !important;
}

@media (max-width: 600px) {
    .rv-job-minimap {
        height: 160px;
    }

    select.rv-character-select {
        max-width: 100%;
        width: 100%;
    }
}

/* ── ST/Player view toggle ────────────────────────────────────────────── */

.rv-view-toggle {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #333 !important;
    border: 1px solid #555 !important;
    color: #fff !important;
    font-family: var(--rv-font) !important;
    font-size: 11px !important;
    font-weight: 700 !important;
    text-transform: uppercase !important;
    letter-spacing: 0.5px !important;
    padding: 5px 12px !important;
    border-radius: 2px !important;
    cursor: pointer !important;
    white-space: nowrap;
}

.rv-view-toggle::before {
    content: '🔒';
    font-size: 12px;
}

.rv-view-toggle:hover,
.rv-view-toggle:focus,
.rv-view-toggle:active {
    background: #444 !important;
    border-color: #666 !important;
    color: #fff !important;
}

.rv-view-toggle-player {
    background: var(--rv-red-dim) !important;
    border-color: var(--rv-red) !important;
    color: #fff !important;
}

.rv-view-toggle-player::before {
    content: '👁';
}

.rv-view-toggle-player:hover,
.rv-view-toggle-player:focus,
.rv-view-toggle-player:active {
    background: var(--rv-red) !important;
    color: #fff !important;
}

/* ── Board map (embedded at top of job board) ─────────────────────────── */

.rv-board-map-toolbar {
    display: flex;
    gap: 8px;
    margin-bottom: 8px;
    max-width: 400px;
}

.rv-board-map-toolbar input {
    flex: 1;
}

.rv-board-map {
    width: 100%;
    height: 400px;
    border: 1px solid var(--rv-border);
    border-radius: var(--rv-radius);
    overflow: hidden;
    background: var(--rv-surface);
    margin-bottom: 16px;
}

/* ── Sort bar ─────────────────────────────────────────────────────────── */

.rv-sort-bar {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 12px;
    flex-wrap: wrap;
}

.rv-sort-label {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    color: var(--rv-text-muted);
    margin-right: 4px;
}

.rv-sort-btn {
    display: inline-flex !important;
    align-items: center !important;
    gap: 2px;
    background: #f5f5f5 !important;
    border: 1px solid var(--rv-border) !important;
    color: var(--rv-text-muted) !important;
    font-family: var(--rv-font) !important;
    font-size: 12px !important;
    font-weight: 600 !important;
    padding: 5px 10px !important;
    border-radius: var(--rv-radius-sm) !important;
    cursor: pointer !important;
    text-transform: uppercase !important;
    letter-spacing: 0.3px !important;
    box-shadow: none !important;
    outline: none !important;
}

.rv-sort-btn:hover {
    background: var(--rv-surface) !important;
    border-color: var(--rv-border-light) !important;
    color: var(--rv-text) !important;
    box-shadow: none !important;
}

.rv-sort-btn.rv-sort-active {
    background: var(--rv-black) !important;
    border-color: var(--rv-black) !important;
    color: #fff !important;
}

.rv-sort-btn.rv-sort-active:hover {
    background: #333 !important;
}

.rv-sort-arrow {
    font-size: 11px;
}

/* ── Highlighted job card ─────────────────────────────────────────────── */

.rv-job-highlighted {
    border-color: var(--rv-red) !important;
    border-left-color: var(--rv-red-bright) !important;
    border-left-width: 4px !important;
    background: var(--rv-red-bg) !important;
    box-shadow: 0 0 0 1px var(--rv-red) !important;
}

@media (max-width: 600px) {
    .rv-board-map {
        height: 280px;
    }
    .rv-sort-bar {
        gap: 4px;
    }
    .rv-sort-btn {
        font-size: 11px !important;
        padding: 4px 8px !important;
    }
}
