/* =====================================================================
   jp-dedicated.css
   Styles used only by the SOLO DEDICATED job page (no published pay rates).
   Load order:  jp-otr-common.css -> jp-solo.css -> jp-dedicated.css

   This file loads LAST on purpose. jp-solo.css styles .jp-sp-group and
   .jp-sp-total for the tiered OTR pay box; the dedicated page uses the same
   class names for a different layout, so the overrides below restore it.

   Sections: 1 Pay box (no-rates)  2 Current openings  3 Running-area openings
   4 Responsive (phone)
   ===================================================================== */

/* ===== 1. Pay box (no-rates version) ===== */

/* Undo solo's tight bottom padding on the group */
.jp-sp-group { padding: 14px 22px 16px; }

.jp-sp-msg {
    font-family: var(--font-head);
    font-weight: 700;
    font-size: 30px;
    line-height: 1.05;
    text-transform: uppercase;
    letter-spacing: .02em;
    color: var(--bn-yellow);
}

.jp-sp-sub {
    margin-top: 6px;
    font-size: 14px;
    line-height: 1.4;
    color: var(--bn-on-dark-muted);
}

/* Total bar is a single flex row (label left, phone number right), not a tier holder */
.jp-sp-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
    padding: 14px 22px;
}

.jp-sp-total-label { margin-bottom: 0; }

.jp .jp-sp-total a.jp-sp-val {
    color: var(--bn-char);
    text-decoration: none;
}

/* ===== 2. Current openings (inside the pay card) ===== */
.jp-openings { display: grid; gap: 10px; margin-top: 10px; }

.jp-sp-opening {
    margin-top: 18px;
    padding: 14px;
    background: var(--bn-bg);
    border: 1px solid var(--bn-line);
    border-radius: 10px;
}

.jp-sp-opening-heading {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 10px;
    color: var(--bn-red);
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: .7px;
}

.jp-sp-opening-heading i { font-size: 15px; }

.jp-sp-opening .jp-openings { margin-top: 0; }
.jp-sp-opening .jp-info-card { margin-top: 0; }

/* ===== 3. Running-area openings: cards sit beside the lead text ===== */
.jp-running-info .jp-openings {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 24px;
    margin-top: 0;
}

/* ===== 4. Responsive ===== */

/* Phone (600px and down) */
@media (max-width: 600px) {
    .jp-sp-group { padding: 10px 14px 12px; }
    .jp-sp-msg { font-size: 22px; }
    .jp-sp-sub { font-size: 12px; }
    .jp-sp-total { padding: 12px 14px; }
    .jp-sp-total-label { font-size: 16px; }
    .jp-sp-total .jp-sp-val { font-size: 26px; } /* matches solo's selector so it wins on load order */

    .jp-running-info .jp-openings { flex-direction: column; gap: 10px; }
}
