/* =============================================================================
   JobIntaker — integrated overrides  (v1.1.172)

   This file replaces what used to live, rule by rule, in
   Settings → JobIntaker → "Frontend CSS Overrides". It loads after
   jobintaker.css (same position that box used to have), so the cascade is the
   same. It is layout/behaviour fixes only; the site-wide surface/typography
   system is in jobintaker-design.css and is controlled from Settings → Design.

   What was deliberately NOT carried over from the old box:
     - declarations identical to what the plugin already says (they only
       worked by defeating the plugin's own narrower-width rules)
     - one typo (padding-buttom) and values cancelled out later in the same box
     - the 1.1.170 howto-strip patches (1.1.171 supersedes them)
   What was changed:
     - the site-wide  button:hover / div button:hover  rules are limited to
       JobIntaker's own buttons (they used to restyle every button on the site)
     - dashboard top-bar/body padding and greeting size apply from desktop width
       up; below that the plugin's own responsive values apply again
   ============================================================================= */

/* ── 1 Global: buttons ───────────────────────────────────────────────────────
   The Kadence theme paints every <button> on hover (navy fill, theme text
   colour). JobIntaker buttons each define their own hover; this clears the
   theme's version for them only. Specificity is unchanged from the old
   site-wide rules, so every component's own :hover behaves exactly as before. */
button:where([class^="ji-"], [class*=" ji-"], [class^="cvr"], [class*=" cvr"], [class^="aa-"], [class*=" aa-"]):hover {
    background: none;
    box-shadow: none;
}
div button:where([class^="ji-"], [class*=" ji-"], [class^="cvr"], [class*=" cvr"], [class^="aa-"], [class*=" aa-"]):hover {
    color: #fff !important;
}

/* ── 2 Onboarding ────────────────────────────────────────────────────────── */
.ji-ob-field-row {
    align-items: end !important;
}
.ji-ob-field-row .ji-ob-field {
    min-width: 0 !important;
    width: auto !important;
}
.ji-ob-field-row .ji-ob-label {
    width: auto !important;
    float: none !important;
    display: block !important;
}
.ji-ob-date-row {
    align-items: flex-start !important;
}
.ji-ob-date-row .ji-ob-field {
    display: flex;
    flex-direction: column;
}
.ji-ob-date-row .ji-ob-label {
    margin-bottom: 6px;
}
.ji-ob-date-selects {
    margin-bottom: 6px;
}
.ji-ob-current-label {
    margin-top: 8px;
}
.ji-ob-skill-remove {
    padding-bottom: 5px;
}
.ji-ob-skill-tag {
    font-size: 11px;
    padding: 0 10px;
    border-radius: 5px;
}
.ji-ob-field {
    margin-top: 20px;
}
.ji-ob-wrap {
    max-width: 100%;
}
.ji-headline-input-row .ji-ob-input {
    border-radius: 5px;
}
html .ji-ob-wrap .ji-ob-header, html .ji-ob-wrap .ji-ob-progress-wrap {
    width: 100% !important;
    max-width: none !important;
    margin-left: 0 !important;
    margin-right: 0 !important;
    box-sizing: border-box;
}
.ji-ob-add-row:hover {
    color: #0D9B8A !important;
}
.ji-ob-row-remove {
    padding-bottom: 15px !important;
}
.ji-ob-row-remove:hover {
    background: none;
    color: #000 !important;
}

/* ── 3 Master Resume / Career Profile ────────────────────────────────────── */
.ji-profile-skill-tag {
    font-size: 11px;
    padding: 0 10px;
    border-radius: 5px;
}
.ji-profile-exp-list {
    border: none;
}
.ji-profile-exp-dot {
    top: 9px;
}
.ji-profile-wrap {
    max-width: none;
}
.ji-profile-section-view {
    font-size: 13px;
}
.ji-section-suggestions {
    margin: 10px 24px;
}
.ji-profile-exp-date {
    color: #000;
}
.ji-profile-section-header h3 {
    font-size: 16px;
}
.ji-profile-section {
    background: #f4f4f4;
    border-radius: 10px;
    box-shadow: none;
    border: 1px solid #e0e0e0;
}
.ji-profile-download-msg {
    padding: 10px;
    border-radius: 6px;
}
.ji-profile-tips-card {
    border-radius: 10px;
    box-shadow: none;
    border: 1px solid #e0e0e0;
}
.ji-profile-strength-card {
    border-radius: 10px;
    box-shadow: none;
    border: 1px solid #e0e0e0;
}
.ji-profile-headline {
    color: #000;
}
.ji-profile-howto-dismiss {
    display: none;
}
.ji-profile-edit-btn {
    background-color: #fff;
}
.ji-profile-proj-card {
    background: #fff;
    border-radius: 10px;
}
.ji-profile-cert-item {
    background: #fff;
    border-radius: 10px;
}
.ji-profile-lang-item {
    background: #fff;
    border-radius: 7px;
}
.ji-profile-lang-level {
    color: #000027;
}
.ji-profile-edit-btn.ji-btn-inline {
    background-color: transparent;
}
.ji-profile-edit-btn.ji-btn-inline:hover {
    color: #E8441A !important;
    text-decoration: none !important;
}
.ji-profile-cancel-btn {
    background: #fff;
}
.ji-profile-cancel-btn:hover {
    background: #000027;
}

/* ── 4 Dashboard ─────────────────────────────────────────────────────────── */
.ji-dash-main-header {
    border: 1px solid #f0f0f0;
    background: #F8FAFB;
}
.ji-dash-topbar {
    border: none;
}
@media (min-width: 768px) {
    .ji-dash-topbar {
        padding: 15px 0;
    }
}
@media (min-width: 1024px) {
    .ji-dash-body {
        padding: 5px 0;
    }
}
.ji-dash-profile-headline {
    white-space: normal !important;
    overflow: visible !important;
    text-overflow: unset !important;
    max-width: 100% !important;
    display: -webkit-box !important;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    line-height: 1.4 !important;
    color: #444444 !important;
    text-transform: capitalize !important;
}
.ji-dash-master-resume-btn {
    background: #0D9B8A !important;
    color: #ffffff !important;
    border-color: #0D9B8A !important;
    margin-bottom: 10px;
}
.ji-dash-master-resume-btn:hover {
    background: #0a7a6c !important;
    border-color: #0a7a6c !important;
}
.ji-dash-plan-badge {
    font-size: 8px;
}
.ji-dash-main-count {
    background: #e5e5e5;
}
.ji-dash-plan-badge-centered {
    margin: 0 0 10px 0;
}
.ji-dash-stat-label {
    color: #444;
}
.ji-dash-stat-sub {
    color: #444;
}
.ji-dash-matches-note {
    padding: 20px;
}
.ji-dash-match-item {
    padding: 16px;
}
.ji-dash-profile-card {
    background: #f8fafb;
    border: 1px solid #eef0f2;
}
.ji-dash-activity {
    box-shadow: 0 1px 4px rgba(0,0,40,0.06);
}
@media (min-width: 768px) {
    .ji-dash-greeting {
        font-size: 1.1em;
    }
}
.ji-dash-headline-block {
    background: #edfaf8;
    border-radius: 5px;
    box-shadow: 0 1px 4px rgba(0,0,40,0.06);
    margin-top: 5px;
}
.ji-dash-headline-edit-btn {
    background: #0d9b8a;
    color: #fff;
    padding: 7px 14px;
    border-radius: 5px;
    border: none;
}
.ji-dash-headline-edit-btn:hover {
    background: #0a7a6c;
    color: #fff;
}
.ji-dash-subtext {
    color: #343434;
}

/* ── 5 Account & WooCommerce ─────────────────────────────────────────────── */
.ji-account-wrap {
    max-width: 100%;
}
.ji-account-endpoint-content {
    padding: 0;
    border-radius: 5px;
    margin-top: 0;
}
.subscription-status {
    background: none !important;
}
.shop_table.subscription_details {
    border: none !important;
}
.subscription-status.order-status.woocommerce-orders-table__header.woocommerce-orders-table__header-order-status.woocommerce-orders-table__header-subscription-status {
    background: #f8fafb !important;
    border-radius: 0;
}
body.woocommerce-account .woocommerce {
    margin: 20px;
    padding: 0;
}
body.woocommerce-account table.shop_table {
    margin-top: 10px;
}
.ji-account-trial-badge {
    padding: 7px 14px;
}
.ji-account-orders-endpoint {
    border-radius: 0;
    box-shadow: none;
    padding: 0;
}
.ji-account-desc {
    padding-top: 7px;
}

/* ── 6 Pricing ───────────────────────────────────────────────────────────── */
.cvr-pricing-title {
    font-size: 30px !important;
    font-weight: 800;
    color: #000027;
    letter-spacing: -0.6px;
}
.cvr-plan-card {
    border: 1px solid #eef0f2;
    border-radius: 16px;
    box-shadow: 0 20px 60px rgba(0,0,39,0.14), 0 2px 8px rgba(0,0,39,0.06);
}
.cvr-plan-featured {
    border: 2px solid #E8441A;
}
.cvr-plan-badge {
    background: #E8441A;
    font-weight: 700;
}
.cvr-plan-name {
    font-weight: 700;
}
.cvr-plan-amount {
    font-weight: 800;
    color: #000027;
}
.cvr-feature-yes::before {
    color: #0D9B8A;
    font-weight: 700;
}
.cvr-coming-soon {
    background: #E6F7F5;
    color: #0D9B8A;
    font-weight: 700;
}
.cvr-plan-btn {
    border-radius: 7px;
    font-weight: 700;
}
.cvr-plan-btn-premium {
    background: #E8441A;
}
.cvr-plan-btn-premium:hover {
    background: #c93a15;
}
.cvr-plan-btn-active {
    background: #edfaf8;
    color: #0a7a6c;
    border-radius: 7px;
    font-weight: 700;
}
.cvr-plan-btn-disabled {
    border-radius: 7px;
}
@media (max-width: 480px) {
    .cvr-pricing-title {
        font-size: 26px !important;
        line-height: 1.2;
    }
}

/* ── 7 Auth ──────────────────────────────────────────────────────────────── */
.ji-btn-register {
    color: #fff !important;
}
.ji-btn-login {
    color: #fff !important;
}

/* ── 7 Job pages, Studio & shared ────────────────────────────────────────── */
.ji-analysis-item {
    border: 1px solid #bde4df;
    border-radius: 6px;
}
.ji-missing-keyword {
    border-radius: 6px;
}
.ji-item-red {
    border: 1px solid #ffdad1 !important;
}
.ji-job-resume-col {
    background: none;
    box-shadow: none;
    overflow: inherit;
}
.ji-resume-section-score {
    margin-left: 10px;
    padding-top: 5px;
}
.ji-studio-wrap {
    max-width: 100%;
}
.ji-resume-editor {
    margin-bottom: 20px;
}
.ji-tailor-btn-sm {
    color: #fff !important;
}
.ji-version-badge {
    color: #fff;
    background: #000027;
    text-transform: capitalize;
}
.ji-resume-actions-bar {
    padding-left: 0;
}
.ji-title-amber {
    color: #E8441A;
}
.ji-version-item {
    gap: 2px;
}
.ji-ai-usage-counter {
    margin-top: 0;
}
.ji-job-pdf-btn {
    color: #fff !important;
}
.ji-cover-letter-pdf-btn {
    color: #fff !important;
}
.ji-job-header {
    margin-bottom: 0;
    border: none;
}
.ji-status-select {
    border: solid 1px #f0f0f0;
}

/* ── 8 Marketing pages ───────────────────────────────────────────────────── */
.ji-pro-cta-btn {
    background: #00B4A6;
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    padding: 10px 32px;
    border-radius: 6px;
    text-align: center;
    transition: background 0.2s;
    align-items: center;
}
.ji-pro-cta-btn:hover {
    background: #FD623E;
    color: #ffffff;
}
.ji-pro-cta-btn::after {
    content: "→";
    font-size: 17px;
    font-weight: 700;
    transition: transform 0.2s;
    padding-left: 5px;
}
.ji-pro-cta-btn:hover::after {
    transform: translateX(4px);
}
.ji-how-wrap {
    max-width: inherit !important;
    padding: 10px !important;
}

/* ── 9 Theme (Kadence) article archive ─────────────────────────────────────
   Moved in 1.1.194: the archive cards and the single-article hero are styled
   by two separate, scoped sections in jobintaker.css ("Articles — archive
   cards and single article"). The old global ".post-thumbnail" and
   ".entry-meta" rules that lived here affected both and have been removed. */
