/*!
 * Hashira Careers — public-side stylesheet
 * Version: 0.2.0
 *
 * Design tokens (matched to Hashira Theme):
 *   accent green:    #61CE70
 *   text:            #504F4F
 *   background:      #FFFFFF
 *   border subtle:   #E5E5E5
 *   muted text:      #888888
 *   error red:       #B32D2E
 *   headings:        Inter 600 (v2.5.1, was Varela 600)
 *   body:            Inter (v2.5.1, was Montserrat)
 *
 * Mobile-first. Breakpoint at 720px for table/desktop layouts.
 */

/* ========== layout container ========== */
.hashira-careers-main {
    background: #fff;
    color: #504F4F;
    font-family: var(--hashira-font-body);
    line-height: 1.6;
    min-height: 60vh;
}
.hashira-careers-container {
    max-width: var(--hashira-width-content, 880px);
    margin: 0 auto;
    padding: 32px 20px 80px;
}
.hashira-careers-main h1, .hashira-careers-main h2, .hashira-careers-main h3, .hashira-careers-main h4, .hashira-careers-main h5 {
    font-family: var(--hashira-font-body);
    font-weight: 600;
    color: #2A2A2A;
    margin: 1.2em 0 0.5em;
    line-height: 1.3;
}
.hashira-careers-main h1 { font-size: var(--hashira-h1-size, 28px); margin-top: 0.2em; }
.hashira-careers-main h2 { font-size: var(--hashira-h2-size, 22px); }
.hashira-careers-main h3 { font-size: var(--hashira-h3-size, 18px); }
.hashira-careers-main p, .hashira-careers-main li { font-size: var(--hashira-text-16, 16px); }
.hashira-careers-main a { color: #2DC93C; }
.hashira-careers-main a:hover { color: #1a9c25; }

@media (min-width: 720px) {
    .hashira-careers-container { padding: 56px 32px 100px; }
    .hashira-careers-main h1 { font-size: var(--hashira-text-3xl, 36px); }
    .hashira-careers-main h2 { font-size: var(--hashira-text-2xl, 26px); }
}

/* ========== listings ========== */
.hashira-careers-hero {
    text-align: center;
    margin-bottom: 40px;
}
.hashira-careers-hero h1 { margin: 0 0 8px; }
.hashira-careers-hero-sub { color: #888; font-size: var(--hashira-text-16, 16px); margin: 0; }

.hashira-careers-count { color: #888; font-size: var(--hashira-text-base, 14px); margin-bottom: 16px; }

.hashira-careers-empty {
    text-align: center;
    padding: 48px 20px;
    background: #f9f9f9;
    border-radius: 8px;
}

.hashira-careers-job-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 16px;
}
.hashira-careers-job-card {
    border: 1px solid #E5E5E5;
    border-radius: 8px;
    transition: border-color 0.15s, box-shadow 0.15s;
}
.hashira-careers-job-card:hover {
    border-color: #61CE70;
    box-shadow: 0 4px 12px rgba(97, 206, 112, 0.1);
}
.hashira-careers-job-card-link {
    display: block;
    padding: 24px;
    text-decoration: none;
    color: inherit;
}
.hashira-careers-job-title {
    margin: 0 0 8px;
    font-size: var(--hashira-text-xl, 20px);
    color: #2A2A2A;
}
.hashira-careers-job-meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    color: #888;
    font-size: var(--hashira-text-13, 13px);
    margin-bottom: 12px;
}
.hashira-careers-job-meta span:not(:last-child)::after {
    content: '·';
    margin-left: 16px;
    color: #ccc;
}
.hashira-careers-job-summary {
    color: #504F4F;
    font-size: var(--hashira-text-md, 15px);
    margin: 0 0 12px;
}
.hashira-careers-job-cta {
    color: #2DC93C;
    font-weight: 600;
    font-size: var(--hashira-text-base, 14px);
}

/* ========== job detail ========== */
.hashira-careers-breadcrumb { color: #888; font-size: var(--hashira-text-base, 14px); margin-bottom: 24px; }
.hashira-careers-breadcrumb a { color: #888; text-decoration: none; }
.hashira-careers-breadcrumb a:hover { color: #2DC93C; }

.hashira-careers-job-detail .hashira-careers-job-meta {
    margin: 16px 0 32px;
    flex-direction: column;
    gap: 4px;
    color: #504F4F;
}
.hashira-careers-job-detail .hashira-careers-job-meta span::after { content: none !important; }
.hashira-careers-job-detail .hashira-careers-job-meta strong { color: #2A2A2A; margin-right: 8px; }

@media (min-width: 720px) {
    .hashira-careers-job-detail .hashira-careers-job-meta {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 8px 24px;
    }
}

.hashira-careers-section {
    margin: 32px 0;
    padding-top: 8px;
    border-top: 1px solid #E5E5E5;
}
.hashira-careers-rich p { margin: 0 0 1em; }
.hashira-careers-rich ul, .hashira-careers-rich ol { margin: 0 0 1em 1.5em; }

.hashira-careers-bgv-banner {
    margin: 40px 0;
    padding: 24px;
    background: #f7faf7;
    border-left: 4px solid #61CE70;
    border-radius: 4px;
}
.hashira-careers-bgv-banner h2 { margin-top: 0; font-size: var(--hashira-h3-size, 18px); }
.hashira-careers-bgv-banner p { font-size: var(--hashira-text-base, 14px); margin-bottom: 12px; }
.hashira-careers-bgv-banner p:last-child { margin-bottom: 0; }

.hashira-careers-apply-cta {
    margin: 48px 0 0;
    padding: 32px 0;
    border-top: 1px solid #E5E5E5;
    text-align: center;
}
.hashira-careers-apply-note { font-size: var(--hashira-text-13, 13px); color: #888; margin-top: 16px; }

.hashira-careers-closed {
    margin: 48px 0 0;
    padding: 32px;
    background: #fff5f5;
    border: 1px solid #f0caca;
    border-radius: 8px;
    text-align: center;
}
.hashira-careers-closed h2 { color: #B32D2E; margin-top: 0; }

/* ========== buttons ========== */
.hashira-careers-button {
    display: inline-block;
    padding: 14px 28px;
    border: none;
    border-radius: 999px;
    font-family: inherit;
    font-size: var(--hashira-text-md, 15px);
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    text-align: center;
    transition: background-color 0.15s, transform 0.05s;
}
/* color !important is intentional — Hashira Theme (FSE) overrides anchor/button
   text colour with higher specificity; without !important the primary CTA renders
   in the theme's dark heading colour and is unreadable. Same pattern applied to
   HSP v4.1.2 (2026-05-01). */
.hashira-careers-button-primary {
    background: #61CE70 !important;
    color: #ffffff !important;
}
.hashira-careers-button-primary:hover,
.hashira-careers-button-primary:focus,
.hashira-careers-button-primary:visited {
    background: #4eb85e !important;
    color: #ffffff !important;
}
.hashira-careers-button-secondary {
    background: #ffffff !important;
    color: #2A2A2A !important;
    border: 1px solid #E5E5E5;
}
.hashira-careers-button-secondary:hover,
.hashira-careers-button-secondary:focus,
.hashira-careers-button-secondary:visited {
    background: #f9f9f9 !important;
    color: #2A2A2A !important;
}
.hashira-careers-button:active { transform: translateY(1px); }

@media (max-width: 480px) {
    .hashira-careers-button {
        display: block;
        width: 100%;
        margin-bottom: 8px;
    }
}

/* ========== forms ========== */
.hashira-careers-form { margin-top: 24px; }
.hashira-careers-step-meta {
    color: #888;
    font-size: var(--hashira-text-base, 14px);
    margin: 0 0 24px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.hashira-careers-fieldset {
    border: none;
    margin: 0 0 24px;
    padding: 0;
}
.hashira-careers-fieldset legend {
    font-family: var(--hashira-font-body);
    font-weight: 600;
    font-size: var(--hashira-h2-size, 22px);
    color: #2A2A2A;
    margin-bottom: 8px;
    padding: 0;
}

.hashira-careers-section-intro {
    color: #888;
    margin: 0 0 24px;
    font-size: var(--hashira-text-base, 14px);
}

.hashira-careers-field {
    margin-bottom: 20px;
}
.hashira-careers-field label {
    display: block;
    font-weight: 600;
    color: #2A2A2A;
    margin-bottom: 6px;
    font-size: var(--hashira-text-base, 14px);
}
.hashira-careers-field input[type="text"],
.hashira-careers-field input[type="email"],
.hashira-careers-field input[type="date"],
.hashira-careers-field input[type="month"],
.hashira-careers-field input[type="datetime-local"],
.hashira-careers-field select,
.hashira-careers-field textarea {
    width: 100%;
    padding: 10px 14px;
    font-family: inherit;
    font-size: var(--hashira-text-16, 16px);
    border: 1px solid #ccc;
    border-radius: 6px;
    background: #fff;
    color: #2A2A2A;
    box-sizing: border-box;
    transition: border-color 0.15s;
}
.hashira-careers-field input:focus,
.hashira-careers-field select:focus,
.hashira-careers-field textarea:focus {
    border-color: #61CE70;
    outline: 2px solid rgba(97, 206, 112, 0.2);
    outline-offset: 0;
}
.hashira-careers-field textarea { resize: vertical; min-height: 80px; }
.hashira-careers-field-help {
    color: #888;
    font-size: var(--hashira-text-13, 13px);
    margin: 4px 0 0;
}
.hashira-careers-required { color: #B32D2E; }
.hashira-careers-optional { color: #888; font-weight: normal; font-size: var(--hashira-text-13, 13px); }

.hashira-careers-field-row {
    display: grid;
    gap: 16px;
}
@media (min-width: 600px) {
    .hashira-careers-field-row {
        grid-template-columns: 1fr 1fr;
    }
}

.hashira-careers-field-checkbox {
    margin-bottom: 16px;
}
.hashira-careers-field-checkbox label {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    font-weight: normal;
    cursor: pointer;
    font-size: var(--hashira-text-base, 14px);
    color: #504F4F;
    line-height: 1.5;
}
.hashira-careers-field-checkbox input[type="checkbox"] {
    margin-top: 4px;
    flex-shrink: 0;
    width: 18px;
    height: 18px;
    accent-color: #61CE70;
    cursor: pointer;
}

.hashira-careers-checkbox-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 4px;
}
.hashira-careers-checkbox-pill {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 14px;
    background: #fff;
    border: 1px solid #E5E5E5;
    border-radius: 999px;
    cursor: pointer;
    font-weight: normal;
    font-size: var(--hashira-text-13, 13px);
    transition: all 0.15s;
}
.hashira-careers-checkbox-pill:hover { border-color: #61CE70; }
.hashira-careers-checkbox-pill input[type="checkbox"]:checked + span {
    color: #1a9c25;
    font-weight: 600;
}
.hashira-careers-checkbox-pill input[type="checkbox"] {
    margin: 0;
    accent-color: #61CE70;
}

.hashira-careers-error {
    margin: 0 0 24px;
    padding: 12px 16px;
    background: #fff5f5;
    border: 1px solid #f0caca;
    border-left: 4px solid #B32D2E;
    border-radius: 4px;
    color: #B32D2E;
    font-size: var(--hashira-text-base, 14px);
}

.hashira-careers-form-actions {
    margin-top: 32px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}
.hashira-careers-form-note {
    color: #888;
    font-size: var(--hashira-text-13, 13px);
    margin: 16px 0 0;
}

/* ========== wizard ========== */
.hashira-careers-progress {
    margin: 24px 0 32px;
    background: #f4f4f4;
    border-radius: 999px;
    height: 8px;
    position: relative;
    overflow: hidden;
}
.hashira-careers-progress-bar {
    background: #61CE70;
    height: 100%;
    border-radius: 999px;
    transition: width 0.3s;
}
.hashira-careers-progress-steps {
    display: none; /* hidden on mobile, shown >= 720px */
}
@media (min-width: 720px) {
    .hashira-careers-progress {
        height: auto;
        background: transparent;
        margin-bottom: 48px;
    }
    .hashira-careers-progress-bar { display: none; }
    .hashira-careers-progress-steps {
        display: flex;
        justify-content: space-between;
        list-style: none;
        margin: 0;
        padding: 0;
        position: relative;
    }
    .hashira-careers-progress-steps::before {
        content: '';
        position: absolute;
        top: 16px;
        left: 16px;
        right: 16px;
        height: 2px;
        background: #E5E5E5;
        z-index: 0;
    }
    .hashira-careers-progress-steps li {
        flex: 1;
        text-align: center;
        font-size: var(--hashira-text-sm, 12px);
        color: #888;
        position: relative;
        z-index: 1;
    }
    .hashira-careers-progress-num {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 32px;
        height: 32px;
        margin: 0 auto 6px;
        border-radius: 999px;
        background: #fff;
        border: 2px solid #E5E5E5;
        font-weight: 600;
    }
    .hashira-careers-progress-steps li.is-current .hashira-careers-progress-num {
        background: #61CE70;
        border-color: #61CE70;
        color: #fff;
    }
    .hashira-careers-progress-steps li.is-done .hashira-careers-progress-num {
        background: #fff;
        border-color: #61CE70;
        color: #61CE70;
    }
    .hashira-careers-progress-steps li.is-current { color: #2A2A2A; font-weight: 600; }
    .hashira-careers-progress-steps li.is-done { color: #504F4F; }
}

/* ========== repeaters (companies, qualifications, etc) ========== */
.hashira-careers-subsection { margin-top: 32px; }
.hashira-careers-subsection-heading { margin-top: 32px; }

.hashira-careers-repeater {
    display: grid;
    gap: 24px;
    margin-bottom: 16px;
}
.hashira-careers-repeater-item {
    border: 1px solid #E5E5E5;
    border-radius: 8px;
    padding: 20px;
    background: #fafafa;
}
.hashira-careers-repeater-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}
.hashira-careers-repeater-item-header h3,
.hashira-careers-repeater-item-header h4,
.hashira-careers-repeater-item-header h5 {
    margin: 0;
    font-size: var(--hashira-text-16, 16px);
}
.hashira-careers-repeater-remove {
    background: none;
    border: none;
    color: #B32D2E;
    cursor: pointer;
    font-size: var(--hashira-text-13, 13px);
    padding: 4px 8px;
}
.hashira-careers-repeater-remove:hover { text-decoration: underline; }

.hashira-careers-engagements {
    margin-top: 20px;
    padding-top: 16px;
    border-top: 1px dashed #E5E5E5;
}
.hashira-careers-engagement-item {
    background: #fff;
    border: 1px solid #E5E5E5;
    border-radius: 6px;
    padding: 16px;
    margin-bottom: 12px;
}

/* ========== submitted ========== */
.hashira-careers-submitted {
    text-align: center;
    padding-top: 40px;
}
.hashira-careers-success-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    border-radius: 999px;
    background: #61CE70;
    color: #fff;
    font-size: var(--hashira-text-3xl, 32px);
    font-weight: 700;
}

.hashira-careers-not-found {
    text-align: center;
    padding-top: 60px;
}

.hashira-careers-declarations {
    background: #fafafa;
    padding: 16px 20px;
    border-radius: 8px;
    border: 1px solid #E5E5E5;
    margin-top: 8px;
}

/* ==========================================================================
   v0.3.2 — 7-step wizard styles
   ========================================================================== */

/* Wizard header */
.hashira-careers-wizard-header {
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid #E5E5E5;
}
.hashira-careers-wizard-eyebrow {
    color: #6EC1E4;
    font-size: var(--hashira-text-13, 13px);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    margin: 0 0 8px;
}
.hashira-careers-wizard-header h1 {
    font-family: var(--hashira-font-body);
    font-size: var(--hashira-h1-size, 28px);
    color: #0B2035;
    margin: 0 0 6px;
}
.hashira-careers-wizard-ref {
    color: #5a6776;
    font-size: var(--hashira-text-base, 14px);
    margin: 0;
}
.hashira-careers-wizard-ref code {
    background: #F4F6F8;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: var(--hashira-text-13, 13px);
}

/* Progress bar */
.hashira-careers-progress {
    margin-bottom: 32px;
}
.hashira-careers-progress-track {
    width: 100%;
    height: 6px;
    background: #E5E5E5;
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 16px;
}
.hashira-careers-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #2DC93C, #61CE70);
    border-radius: 3px;
    transition: width 0.4s ease;
}
.hashira-careers-progress-steps {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
}
.hashira-careers-progress-steps li {
    text-align: center;
    font-size: var(--hashira-text-xs, 11px);
    color: #aab3bd;
    transition: color 0.2s ease;
}
.hashira-careers-progress-num {
    display: inline-block;
    width: 24px;
    height: 24px;
    line-height: 24px;
    border-radius: 50%;
    background: #E5E5E5;
    color: #5a6776;
    font-weight: 600;
    font-size: var(--hashira-text-sm, 12px);
    margin-bottom: 4px;
}
.hashira-careers-progress-steps li.is-current .hashira-careers-progress-num,
.hashira-careers-progress-steps li.is-done .hashira-careers-progress-num {
    background: #2DC93C;
    color: #fff;
}
.hashira-careers-progress-steps li.is-current,
.hashira-careers-progress-steps li.is-done {
    color: #0B2035;
}
.hashira-careers-progress-label {
    display: block;
    line-height: 1.2;
    padding: 0 2px;
}

/* Step intros */
.hashira-careers-step-intro {
    background: #F4F8FA;
    border-left: 3px solid #6EC1E4;
    padding: 12px 16px;
    margin-bottom: 24px;
    border-radius: 0 4px 4px 0;
}
.hashira-careers-step-intro p {
    margin: 0 0 6px;
    color: #0B2035;
    font-size: var(--hashira-text-base, 14px);
}
.hashira-careers-step-intro p:last-child { margin-bottom: 0; }

/* Fieldsets */
.hashira-careers-fieldset {
    border: 1px solid #E5E5E5;
    border-radius: 8px;
    padding: 20px 24px;
    margin-bottom: 20px;
    background: #fff;
}
.hashira-careers-fieldset legend {
    font-family: var(--hashira-font-body);
    font-size: var(--hashira-text-16, 16px);
    font-weight: 600;
    color: #0B2035;
    padding: 0 10px;
}
.hashira-careers-fieldset .hashira-careers-help {
    color: #5a6776;
    font-size: var(--hashira-text-13, 13px);
    margin: -4px 0 12px;
}

/* Field rows */
.hashira-careers-field-row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-bottom: 16px;
}
.hashira-careers-field {
    margin-bottom: 16px;
}
.hashira-careers-field label {
    display: block;
    font-weight: 600;
    font-size: var(--hashira-text-base, 14px);
    color: #0B2035;
    margin-bottom: 6px;
}
.hashira-careers-required {
    color: #E04F4F;
    font-weight: 700;
    margin-left: 2px;
}
.hashira-careers-help {
    font-size: var(--hashira-text-sm, 12px);
    color: #6c7785;
    margin: 4px 0;
}

/* Inputs */
.hashira-careers-field input[type="text"],
.hashira-careers-field input[type="email"],
.hashira-careers-field input[type="tel"],
.hashira-careers-field input[type="url"],
.hashira-careers-field input[type="date"],
.hashira-careers-field input[type="number"],
.hashira-careers-field select,
.hashira-careers-field textarea {
    width: 100%;
    padding: 10px 12px;
    border: 1px solid #D5D9DD;
    border-radius: 6px;
    font-size: var(--hashira-text-base, 14px);
    font-family: inherit;
    background: #fff;
    transition: border-color 0.2s ease;
}
.hashira-careers-field input:focus,
.hashira-careers-field select:focus,
.hashira-careers-field textarea:focus {
    outline: none;
    border-color: #6EC1E4;
    box-shadow: 0 0 0 3px rgba(110, 193, 228, 0.15);
}
.hashira-careers-field input[readonly] {
    background: #F4F6F8;
    color: #5a6776;
}

/* Radio + checkbox groups */
.hashira-careers-radio-group,
.hashira-careers-checkbox-group {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}
.hashira-careers-radio-yn {
    gap: 24px;
}
.hashira-careers-radio,
.hashira-careers-checkbox {
    display: inline-flex;
    align-items: flex-start;
    gap: 8px;
    cursor: pointer;
    font-weight: 400;
    font-size: var(--hashira-text-base, 14px);
    color: #0B2035;
    padding: 6px 0;
}
.hashira-careers-radio input,
.hashira-careers-checkbox input {
    width: auto;
    margin: 3px 0 0;
    cursor: pointer;
}
.hashira-careers-checkbox-large {
    display: flex;
    padding: 12px;
    background: #FAFBFC;
    border: 1px solid #E5E5E5;
    border-radius: 6px;
    margin-bottom: 12px;
    line-height: 1.5;
}
.hashira-careers-checkbox-large span {
    font-size: var(--hashira-text-13, 13px);
}

/* Repeating blocks (employer, deployment, qualification) */
.hashira-careers-employer-block,
.hashira-careers-qual-block,
.hashira-careers-cert-block,
.hashira-careers-id-row {
    border: 1px solid #E5E5E5;
    border-radius: 8px;
    padding: 16px 20px;
    margin-bottom: 16px;
    background: #FCFDFE;
}
.hashira-careers-deployment-block {
    border-left: 3px solid #6EC1E4;
    border-radius: 4px;
    padding: 12px 16px;
    margin-bottom: 12px;
    background: #fff;
}
.hashira-careers-deployments {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px dashed #D5D9DD;
}
.hashira-careers-deployments h4 {
    margin: 0 0 12px;
    font-family: var(--hashira-font-body);
    font-size: var(--hashira-text-base, 14px);
    color: #0B2035;
}
.hashira-careers-block-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}
.hashira-careers-block-header h3,
.hashira-careers-block-header h4,
.hashira-careers-block-header h5 {
    margin: 0;
    font-family: var(--hashira-font-body);
    color: #0B2035;
    font-size: var(--hashira-text-md, 15px);
}
.hashira-careers-link-button {
    background: none;
    border: none;
    color: #E04F4F;
    cursor: pointer;
    font-size: var(--hashira-text-13, 13px);
    padding: 4px 8px;
    text-decoration: underline;
}
.hashira-careers-link-button:hover { color: #c44545; }

/* Declaration blocks */
.hashira-careers-declaration {
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid #F0F2F4;
}
.hashira-careers-declaration:last-child {
    border-bottom: none;
}
.hashira-careers-declaration-question {
    font-weight: 600;
    color: #0B2035;
    margin: 0 0 8px;
    font-size: var(--hashira-text-base, 14px);
}
.hashira-careers-declaration-detail {
    margin-top: 10px;
}
.hashira-careers-declaration-detail summary {
    cursor: pointer;
    font-size: var(--hashira-text-13, 13px);
    color: #6EC1E4;
    margin-bottom: 6px;
}

/* Summary grid (Step 7) */
.hashira-careers-summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
    background: #F4F8FA;
    padding: 16px;
    border-radius: 6px;
}
.hashira-careers-summary-grid > div {
    font-size: var(--hashira-text-13, 13px);
    color: #0B2035;
}
.hashira-careers-summary-grid code {
    background: #fff;
    padding: 2px 6px;
    border-radius: 3px;
}

/* Form actions */
.hashira-careers-form-actions {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid #E5E5E5;
}
.hashira-careers-form-actions .hashira-careers-button-secondary {
    margin-right: auto;
}

/* Error block */
.hashira-careers-error {
    background: #FFF4F4;
    border-left: 3px solid #E04F4F;
    padding: 12px 16px;
    margin-bottom: 16px;
    border-radius: 0 4px 4px 0;
    color: #8A2828;
    font-size: var(--hashira-text-base, 14px);
}
.hashira-careers-error strong {
    display: block;
    margin-bottom: 4px;
}

/* Mobile breakpoint */
@media (max-width: 640px) {
    .hashira-careers-progress-steps {
        grid-template-columns: repeat(7, 1fr);
        gap: 2px;
    }
    .hashira-careers-progress-label {
        display: none;
    }
    .hashira-careers-fieldset {
        padding: 16px;
    }
    .hashira-careers-field-row {
        grid-template-columns: 1fr;
    }
}

/* ========================================================================
   v0.3.2.4 — "Before you begin" prelude panel + declaration groups.
   Hosts 12 required + 1 optional declarations on apply-email.php.
   Hashira brand: accent green #61CE70 · text #2A2A2A · border subtle #E5E5E5.
   ======================================================================== */

.hashira-careers-apply-prelude h1 {
    margin: 0 0 6px;
}

.hashira-careers-prelude-panel {
    background: #f5faf2;
    border-left: 4px solid #61CE70;
    padding: 20px 24px;
    margin: 24px 0 32px;
    border-radius: 6px;
}
.hashira-careers-prelude-panel h2 {
    font-size: var(--hashira-h3-size, 18px);
    margin: 0 0 14px;
    color: #1a1a1a;
}
.hashira-careers-prelude-panel p {
    margin: 0 0 12px;
    line-height: 1.65;
    color: #2a3a2a;
}
.hashira-careers-prelude-panel p:last-child {
    margin-bottom: 0;
}
.hashira-careers-prelude-panel a {
    color: #3a8a48;
    text-decoration: underline;
}
.hashira-careers-prelude-panel a:hover {
    color: #2a6a38;
}

.hashira-careers-prelude-instruction {
    font-size: var(--hashira-text-base, 14px);
    color: #555;
    margin: 8px 0 20px;
    padding: 10px 14px;
    background: #fafaf8;
    border-radius: 4px;
    border: 1px solid #e8e8e4;
}

/* ============================================================
   preview14 — Declaration typography tier system.
   Three uniform tiers across all 6+1 groups:
     T1  legend (group title)        16px / 600 / #1a1a1a
     T2  ol > li (conditions body)   14px / 400 / #333    line-height 1.6
     T3  label > span (tick label)   14px / 500 / #1a1a1a — thin separator above
   Italic styling removed everywhere. All groups now use identical
   markup (legend → ol > li → label) so single-condition groups (3, 5,
   6) read with the same visual rhythm as multi-condition groups.
   ============================================================ */
.hashira-careers-decl-group {
    border: 1px solid #e5e5e5;
    border-radius: 6px;
    padding: 18px 22px 14px;
    margin: 0 0 18px;
    background: #ffffff;
}
/* T1 — Group title */
.hashira-careers-decl-group legend {
    font-weight: 600;
    font-size: var(--hashira-text-16, 16px);
    color: #1a1a1a;
    padding: 0 8px;
    letter-spacing: 0.01em;
}
/* T2 — Conditions body. Used by every group via <ol class="...-list"> */
.hashira-careers-decl-list {
    margin: 0 0 14px 22px;
    padding: 0 0 0 8px;
    color: #333333;
    font-size: var(--hashira-text-base, 14px);
    line-height: 1.6;
    font-weight: 400;
    text-align: justify;
    /* preview17 (F14) + preview17.1 (H1): lower-alpha numbering — items
       render as a, b, c instead of 1, 2, 3. The group's overall number
       ("1. Engagement in Good Faith") sits in the legend, so list items
       become 1a, 1b, 1c visually when read top-to-bottom. !important
       required to beat theme cascade. */
    list-style-type: lower-alpha !important;
}
.hashira-careers-decl-list li {
    margin: 0 0 8px;
    font-size: var(--hashira-text-base, 14px);
    line-height: 1.6;
    font-weight: 400;
    color: #333333;
}
.hashira-careers-decl-list li:last-child {
    margin-bottom: 6px;
}
.hashira-careers-decl-group-optional {
    background: #fbfbfa;
    border-style: dashed;
}

/* T3 — Tick row. Sits below the conditions with a thin separator so
   the two tiers are visually distinct without using a heavier border. */
.hashira-careers-decl-row {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 12px 0 4px;
    margin-top: 4px;
    border-top: 1px solid #f0f0f0;
    line-height: 1.55;
    cursor: pointer;
}
.hashira-careers-decl-row:first-of-type {
    border-top: none;
}
.hashira-careers-decl-row input[type="checkbox"] {
    margin-top: 3px;
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    cursor: pointer;
}
.hashira-careers-decl-row span {
    flex: 1;
    font-size: var(--hashira-text-base, 14px);
    font-weight: 500;
    color: #1a1a1a;
}
.hashira-careers-decl-row a {
    color: #3a8a48;
}
.hashira-careers-required {
    color: #c43;
    font-weight: 700;
}

.hashira-careers-prelude-email-block {
    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 6px;
    padding: 22px 24px;
    margin: 28px 0 0;
}
.hashira-careers-prelude-email-block h2 {
    margin: 0 0 6px;
    font-size: var(--hashira-text-16, 16px);
    color: #1a1a1a;
}
.hashira-careers-prelude-email-block > p:first-of-type {
    margin: 0 0 16px;
    font-size: var(--hashira-text-13, 13px);
    color: #555;
}

@media (max-width: 600px) {
    .hashira-careers-prelude-panel {
        padding: 16px 18px;
    }
    .hashira-careers-decl-group {
        padding: 14px 16px 10px;
    }
    .hashira-careers-decl-row span {
        font-size: var(--hashira-text-13, 13px);
    }
}

/* ========================================================================
   v0.3.2.4-preview7 — Prose left-aligned, no justify/hyphens.
   Earlier preview2 attempt at justified prose with auto-hyphenation
   created visual rivers and felt heavy. Plain left-align reads cleaner.
   ======================================================================== */

.hashira-careers-prelude-panel p,
.hashira-careers-section .hashira-careers-rich p,
.hashira-careers-bgv-banner p {
    text-align: left;
}
.hashira-careers-decl-row span {
    text-align: left;
}

/* ========================================================================
   v0.3.2.4-preview4 — Theme nav spacing fix.
   On careers pages the FSE block nav renders without inter-item spacing
   ("HomeAbout UsServicesContact Us" with no gaps). The Hashira Theme's
   theme.json does not set blockGap on core/navigation. Until the theme
   is patched, the careers plugin overrides with !important on the block
   nav classes. Plugin CSS only loads on careers.hashira-fintech.com.
   ======================================================================== */

nav.wp-block-navigation,
.wp-block-navigation .wp-block-navigation__container,
.wp-block-navigation > ul,
ul.wp-block-navigation__container {
    gap: 1.5em !important;
    column-gap: 1.5em !important;
}
.wp-block-navigation .wp-block-navigation-item,
.wp-block-navigation li.wp-block-navigation-item {
    margin: 0 !important;
}
.wp-block-navigation .wp-block-navigation-item__content {
    padding: 4px 2px !important;
}

/* On narrow viewports the block nav often collapses into a hamburger;
   we don't want our gap rule to fight that. */
@media (max-width: 600px) {
    nav.wp-block-navigation,
    .wp-block-navigation .wp-block-navigation__container,
    ul.wp-block-navigation__container {
        gap: 0.75em !important;
        column-gap: 0.75em !important;
    }
}

/* ========================================================================
   v0.3.2.4-preview4 — OTP page: notice slot, link-style button, resend form.
   ======================================================================== */

.hashira-careers-notice {
    background: #f0f7ea;
    border-left: 4px solid #61CE70;
    padding: 12px 18px;
    border-radius: 4px;
    margin: 12px 0 20px;
    color: #2a4a2a;
    font-size: var(--hashira-text-base, 14px);
    line-height: 1.5;
}

.hashira-careers-form-resend {
    margin-top: 24px;
    padding-top: 18px;
    border-top: 1px solid #e8eee2;
}
.hashira-careers-form-resend .hashira-careers-form-note {
    margin: 0;
    color: #555;
    font-size: var(--hashira-text-13, 13px);
}

.hashira-careers-link-button {
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    color: #3a8a48;
    font: inherit;
    text-decoration: underline;
    cursor: pointer;
    font-weight: 500;
}
.hashira-careers-link-button:hover,
.hashira-careers-link-button:focus {
    color: #2a6a38;
}


/* ========================================================================
   v0.3.2.4-preview9 — Job-detail meta strip + inline CTA
   Replaces the deleted .hashira-careers-job-hero* hero-panel CSS.
   The site-wide page hero band (rendered by render_with_theme_chrome)
   now provides the H1 + breadcrumb at the top of the page; this is the
   meta info that sits below it in the content area.
   ======================================================================== */

.hashira-careers-job-detail {
    /* No top wrapper — the meta strip starts the in-page content */
}
.hashira-careers-job-meta {
    list-style: none;
    margin: 0 0 28px;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 12px 14px;
}
.hashira-careers-job-meta li {
    display: flex;
    flex-direction: column;
    gap: 4px;
    background: #f5faf2;
    border: 1px solid #e0ebd4;
    border-radius: 8px;
    padding: 10px 18px;
    min-width: 130px;
}
.hashira-careers-meta-label {
    font-size: var(--hashira-text-xs, 11px);
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: #6f7f6f;
    font-weight: 700;
}
.hashira-careers-meta-value {
    font-size: var(--hashira-text-md, 15px);
    color: #161616;
    font-weight: 500;
}
.hashira-careers-job-cta-row {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 16px 20px;
    margin: 0 0 36px;
    padding: 20px 0 0;
    border-top: 1px solid #e8eee2;
}
.hashira-careers-job-cta-note {
    margin: 0;
    flex: 1 1 220px;
    font-size: var(--hashira-text-base, 14px);
    color: #4a584a;
    line-height: 1.5;
}

@media (max-width: 600px) {
    .hashira-careers-job-meta li {
        min-width: 0;
        flex: 1 1 calc(50% - 7px);
    }
}

/* ========================================================================
   v0.3.2.4-preview9 — Unified 3-phase apply-flow progress visualisation.
   Used on apply-email (phase 1), apply-otp (phase 2), apply-wizard
   (phase 3 — with the existing 7-substep bar nested below), and
   apply-submitted (phase 4 — all done). One visual on every page so
   the candidate has a single mental model of where they are.
   Defensive !important on critical visuals because Hashira Theme
   global CSS may otherwise hide elements at this nesting level.
   ======================================================================== */

.hashira-careers-flow-progress {
    display: flex !important;
    align-items: flex-start;
    justify-content: center;
    gap: 0;
    margin: 0 auto 36px !important;
    padding: 8px 0 4px !important;
    max-width: 720px;
    list-style: none;
    background: transparent;
}
.hashira-careers-flow-step {
    display: flex !important;
    flex-direction: column;
    align-items: center;
    flex: 1 1 0;
    position: relative;
    min-width: 0;
    text-align: center !important;
}
/* Connector line between steps */
.hashira-careers-flow-step + .hashira-careers-flow-step::before {
    content: "";
    position: absolute;
    left: -50%;
    top: 19px;
    width: 100%;
    height: 2px;
    background: #d8e3d2;
    z-index: 0;
}
.hashira-careers-flow-step.is-done + .hashira-careers-flow-step::before,
.hashira-careers-flow-step.is-done + .hashira-careers-flow-step.is-current::before {
    background: #61CE70;
}
.hashira-careers-flow-num {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: #ffffff;
    border: 2px solid #d8e3d2;
    color: #6a7a6a;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: var(--hashira-text-md, 15px);
    z-index: 1;
    position: relative;
    box-sizing: border-box;
    line-height: 1;
}
.hashira-careers-flow-step.is-current .hashira-careers-flow-num {
    background: #61CE70;
    color: #ffffff;
    border-color: #61CE70;
    box-shadow: 0 0 0 4px rgba(97, 206, 112, 0.18);
}
.hashira-careers-flow-step.is-done .hashira-careers-flow-num {
    background: #61CE70;
    color: #ffffff;
    border-color: #61CE70;
}
.hashira-careers-flow-label {
    margin-top: 10px;
    font-size: var(--hashira-text-13, 13px);
    color: #6a7a6a;
    font-weight: 500;
    line-height: 1.35;
}
.hashira-careers-flow-step.is-current .hashira-careers-flow-label {
    color: #2f7c3d;
    font-weight: 700;
}
.hashira-careers-flow-step.is-done .hashira-careers-flow-label {
    color: #444;
    font-weight: 600;
}
@media (max-width: 600px) {
    .hashira-careers-flow-progress {
        gap: 0;
        margin-bottom: 28px !important;
    }
    .hashira-careers-flow-num {
        width: 32px;
        height: 32px;
        font-size: var(--hashira-text-13, 13px);
    }
    .hashira-careers-flow-step + .hashira-careers-flow-step::before {
        top: 16px;
    }
    .hashira-careers-flow-label {
        font-size: var(--hashira-text-xs, 11px);
        margin-top: 6px;
    }
}

/* ========================================================================
   v0.3.2.4-preview9 — Theme-justify defeat (refined in preview10).
   Hashira Theme's global CSS justifies <p> on the brochure pages for the
   formal banking-IT consulting tone. Default for careers-page paragraphs
   is left-aligned (better for short notices, single-line meta, form notes).
   The application landing page's prose blocks then opt back IN to smart
   justify via a more-specific selector below — modern browser default
   text-align: justify naturally leaves the last line and single-line
   paragraphs left-aligned, which is exactly what the steward asked for.
   ======================================================================== */

body.hashira-careers-page main p,
body.hashira-careers-page main li,
body.hashira-careers-page main label,
.hashira-careers-page .hashira-careers-main p,
.hashira-careers-page .hashira-careers-main li,
.hashira-careers-page .hashira-careers-main label {
    text-align: left !important;
    text-justify: auto !important;
    hyphens: manual !important;
    -webkit-hyphens: manual !important;
}

/* --- Smart justify for the application-landing prose only --- */
/* Modern browser default: text-align: justify justifies multi-line
   paragraphs but leaves the last line and short single-line paragraphs
   left-aligned — exactly the "balanced justification" behaviour
   requested. hyphens: none avoids word-breaking which was the source
   of the gappy rivers in earlier previews. */
.hashira-careers-page .hashira-careers-prelude-panel p,
.hashira-careers-page .hashira-careers-section .hashira-careers-rich p {
    text-align: justify !important;
    text-justify: inter-word !important;
    hyphens: none !important;
    -webkit-hyphens: none !important;
    -ms-hyphens: none !important;
}

/* But keep a few specific places centred where the layout demands it */
.hashira-careers-page .hashira-careers-flow-label,
.hashira-careers-page .hashira-careers-form-actions,
.hashira-careers-page .hashira-careers-progress-steps li,
.hashira-careers-page .hashira-careers-success-icon,
.hashira-careers-page .hashira-careers-meta-label {
    text-align: center !important;
}

/* --- OTP input: short, centred, monospace 6-digit feel --- */
.hashira-careers-page .hashira-careers-form input[type="text"]#otp {
    width: 220px !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    display: block !important;
    box-sizing: border-box;
}

/* ========================================================================
   v0.3.2.4-preview9 — Page hero band breadcrumb spacing tweak.
   The theme already styles .hashira-page-hero (background image, gradient,
   H1 typography). Only thing we add is breadcrumb anchor visibility on
   the dark hero — should already inherit from theme but force-set in
   case the careers subdomain shares a different cache layer.
   ======================================================================== */
.hashira-page-hero .hashira-breadcrumb a {
    color: #ffffff;
    text-decoration: underline;
    text-decoration-thickness: 1px;
    text-underline-offset: 3px;
}
.hashira-page-hero .hashira-breadcrumb a:hover {
    color: #61CE70;
}
.hashira-page-hero .hashira-breadcrumb {
    color: rgba(255, 255, 255, 0.85);
}
.hashira-page-hero .hashira-breadcrumb-sep {
    margin: 0 6px;
    color: rgba(255, 255, 255, 0.55);
}

/* preview17 (F2) — Banking products experience: 3-column structured rows.
   Replaces the prior pipe-separated textarea on step 3 (skills). */
.hashira-careers-products-grid {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 0 0 4px;
}
.hashira-careers-products-header,
.hashira-careers-products-row {
    display: grid;
    grid-template-columns: 2fr 0.7fr 1fr;
    gap: 10px;
    align-items: center;
}
.hashira-careers-products-header {
    font-size: var(--hashira-text-sm, 12px);
    font-weight: 600;
    color: #555;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    padding: 0 4px 4px;
    border-bottom: 1px solid #eee;
}
.hashira-careers-products-row input,
.hashira-careers-products-row select {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid #d0d0d0;
    border-radius: 4px;
    font-size: var(--hashira-text-base, 14px);
    box-sizing: border-box;
}
.hashira-careers-products-row input:focus,
.hashira-careers-products-row select:focus {
    border-color: #3a8a48;
    outline: none;
    box-shadow: 0 0 0 2px rgba(58, 138, 72, 0.15);
}
.hashira-careers-button-secondary {
    background: #ffffff;
    color: #3a8a48;
    border: 1px solid #3a8a48;
    padding: 6px 14px;
    font-size: var(--hashira-text-13, 13px);
    font-weight: 600;
    border-radius: 4px;
    cursor: pointer;
}
.hashira-careers-button-secondary:hover {
    background: #f1f8f3;
}
.hashira-careers-button-secondary:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}
@media (max-width: 600px) {
    .hashira-careers-products-header { display: none; }
    .hashira-careers-products-row {
        grid-template-columns: 1fr;
        gap: 6px;
        padding: 10px;
        background: #fafafa;
        border: 1px solid #eee;
        border-radius: 4px;
    }
}

/* preview17.1 (H1) — Declaration list numbering: a, b, c inside each group.
   Group titles are "1. Engagement..." / "2. Truthfulness..." etc; conditions
   inside read as a, b, c giving the natural reading "1.a, 1.b, 1.c".
   Higher-specificity selector + !important is necessary to beat theme cascade
   which sets `ol li { list-style-type: decimal; }` at lower specificity but
   later in the file order. preview17 F14 attempt without !important lost. */
ol.hashira-careers-decl-list,
.hashira-careers-decl-list {
    list-style-type: lower-alpha !important;
}

/* preview17.1 (H2) — Constrain email input width on the prelude form so it
   doesn't dominate the page. Block-stretches the parent label/help text but
   the input itself caps at a comfortable typing width. */
.hashira-careers-prelude-email-block input[type="email"] {
    max-width: 420px;
    width: 100%;
}

/* ========================================================================
   preview20a-hotfix2 — Public job-detail rich block formatting.
   Mirrors .hcm-rich-block from careers-hsp-mounted.css so portal AND
   public render bullet lists + sub-headings the same way (helper output
   uses the same class names regardless of context).
   ======================================================================== */
.hashira-careers-rich .hcm-rich-subhead {
    font-size: var(--hashira-text-16, 16px);
    font-weight: 700;
    color: #0B2035;
    margin: 24px 0 10px;
    letter-spacing: 0.01em;
}
.hashira-careers-rich .hcm-rich-subhead:first-child {
    margin-top: 0;
}
.hashira-careers-rich .hcm-rich-list,
.hashira-careers-rich-list {
    margin: 0 0 16px 0;
    padding-left: 24px;
    list-style: none;
}
.hashira-careers-rich .hcm-rich-list li,
.hashira-careers-rich-list li {
    position: relative;
    padding: 5px 0 5px 6px;
    margin-bottom: 4px;
    line-height: 1.55;
}
.hashira-careers-rich .hcm-rich-list li::before,
.hashira-careers-rich-list li::before {
    content: "";
    position: absolute;
    left: -18px;
    top: 13px;
    width: 7px;
    height: 7px;
    background: #61CE70;
    border-radius: 50%;
    opacity: 0.9;
}
.hashira-careers-rich .hcm-rich-para {
    margin: 0 0 14px 0;
    line-height: 1.65;
}

/* =====================================================================
 * v0.4.2 — additions for country dropdown, languages_spoken grid,
 * declaration detail toggle, course dropdown "Other (specify)",
 * Step 7 summary typography consistency, products row validation hint
 * ===================================================================== */

/* Country phone-code dropdown (Step 1) */
.hashira-careers-country-select {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid #C8D2DC;
    border-radius: 4px;
    background-color: #fff;
    font-size: var(--hashira-text-base, 14px);
    color: #0B2035;
    line-height: 1.4;
    /* allow flag emojis to render across systems */
    font-family: -apple-system, "Segoe UI Emoji", "Apple Color Emoji",
                 "Noto Color Emoji", BlinkMacSystemFont, sans-serif;
}
.hashira-careers-country-select:focus {
    outline: none;
    border-color: #61CE70;
    box-shadow: 0 0 0 2px rgba(97, 206, 112, 0.25);
}

/* Languages spoken grid (Step 3) */
#hashira-careers-langspoken-grid {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 8px;
}
.hashira-careers-langspoken-header,
.hashira-careers-langspoken-row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 10px;
    align-items: start;
}
.hashira-careers-langspoken-header {
    font-weight: 600;
    font-size: var(--hashira-text-13, 13px);
    color: #2F4A5B;
    padding: 0 4px;
}
.hashira-careers-langspoken-row > div,
.hashira-careers-langspoken-row > select,
.hashira-careers-langspoken-row > input {
    min-width: 0; /* prevent overflow inside grid cells */
}
.hashira-careers-langspoken-row select,
.hashira-careers-langspoken-row input[type="text"] {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid #C8D2DC;
    border-radius: 4px;
    font-size: var(--hashira-text-base, 14px);
}
.hashira-careers-langspoken-row input[readonly] {
    background-color: #F4F8FA;
    color: #2F4A5B;
}
.hashira-careers-langspoken-langpicker {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.hashira-careers-langspoken-other {
    margin-top: 0;
}
.hashira-careers-langspoken-english {
    background: #F4F8FA;
    border-radius: 4px;
    padding: 6px 8px;
}
@media (max-width: 640px) {
    .hashira-careers-langspoken-header { display: none; }
    .hashira-careers-langspoken-row {
        grid-template-columns: 1fr;
        gap: 6px;
        padding-bottom: 10px;
        border-bottom: 1px solid #E5EBF0;
    }
    .hashira-careers-langspoken-row::before {
        content: "Language";
        font-size: var(--hashira-text-sm, 12px);
        color: #61728A;
        margin-bottom: -2px;
    }
}

/* Declaration detail toggle wrap (Step 5, replaces v0.4.1 <details>) */
.hashira-careers-declaration-detail-wrap {
    margin-top: 8px;
    padding-left: 12px;
    border-left: 3px solid #61CE70;
}
.hashira-careers-declaration-detail-wrap label {
    display: block;
    margin-bottom: 4px;
    font-size: var(--hashira-text-13, 13px);
    color: #2F4A5B;
}
.hashira-careers-declaration-detail-wrap textarea {
    width: 100%;
    padding: 8px 10px;
    border: 1px solid #C8D2DC;
    border-radius: 4px;
    font-size: var(--hashira-text-base, 14px);
    font-family: inherit;
    resize: vertical;
    min-height: 60px;
}

/* v2.39.0 T2-8 / audit BL-194 — class-based toggle replaces inline display:none.
 * JS adds/removes `.is-collapsed` on the wrap. If JS doesn't load, the
 * .hashira-careers-no-js-fallback override below forces every wrap visible
 * so candidates can still see/fill detail textareas. */
.hashira-careers-declaration-detail-wrap.is-collapsed {
    display: none;
}
.hashira-careers-no-js-fallback .hashira-careers-declaration-detail-wrap.is-collapsed {
    display: block !important;
}

/* Course "Other (specify)" wrap (Step 4) */
.hashira-careers-qual-other {
    margin-top: 4px;
}
.hashira-careers-qual-other input[type="text"] {
    border-left: 3px solid #61CE70;
    padding-left: 12px;
}

/* Validation hint on products name (Step 3) */
.hashira-careers-input-needs-attention {
    border-color: #D0744F !important;
    background-color: #FBF1EB !important;
}

/* Step 7 summary typography consistency — section headers, field labels, values */
.hashira-careers-summary-section h3,
.hashira-careers-summary-section h4 {
    font-size: var(--hashira-text-16, 16px);
    font-weight: 600;
    color: #2F7A4A;
    margin: 16px 0 8px 0;
}
.hashira-careers-summary-grid {
    font-size: var(--hashira-text-base, 14px);
}
.hashira-careers-summary-grid > div > strong,
.hashira-careers-summary-label {
    display: inline-block;
    min-width: 130px;
    font-weight: 600;
    color: #2F4A5B;
    font-size: var(--hashira-text-base, 14px);
}
.hashira-careers-summary-grid > div {
    font-size: var(--hashira-text-base, 14px);
    color: #0B2035;
    line-height: 1.55;
}
.hashira-careers-summary-grid code {
    font-size: var(--hashira-text-13, 13px);
    background: #fff;
    padding: 2px 6px;
    border-radius: 3px;
    color: #0B2035;
}

/* Alt mobile alignment on narrow viewports (Step 1) */
@media (max-width: 640px) {
    .hashira-careers-field-row {
        grid-template-columns: 1fr !important;
        gap: 12px;
    }
}

/* =====================================================================
 * v0.5.0.3 — wp-admin scope overrides for .hashira-careers-admin-wizard
 *
 * When the wizard renders inside wp-admin (Apply on behalf flow),
 * the wp-admin form-table + button styles try to inherit. These rules
 * keep the wizard area looking identical to the public portal.
 * Goal: tech-support staff using the admin wizard see EXACTLY what
 * the candidate sees on the portal — no visual drift between contexts.
 * ===================================================================== */

.hashira-careers-admin-wizard {
    /* Use the same brand font stack as the portal */
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif !important;
    color: #2A2A2A;
    max-width: 920px;
}
/* wp-admin's .form-table default styling would override Hashira labels */
.hashira-careers-admin-wizard .form-table th,
.hashira-careers-admin-wizard .form-table td { padding: 0; background: transparent; }
.hashira-careers-admin-wizard label {
    font-family: inherit !important;
    color: #2A2A2A;
}
/* Make sure inputs inside admin wizard look like Hashira inputs not WP admin inputs */
.hashira-careers-admin-wizard input[type="text"],
.hashira-careers-admin-wizard input[type="email"],
.hashira-careers-admin-wizard input[type="tel"],
.hashira-careers-admin-wizard input[type="number"],
.hashira-careers-admin-wizard input[type="date"],
.hashira-careers-admin-wizard input[type="search"],
.hashira-careers-admin-wizard select,
.hashira-careers-admin-wizard textarea {
    box-shadow: none !important;
    background: #fff;
    line-height: 1.5;
}
.hashira-careers-admin-wizard input[type="text"]:focus,
.hashira-careers-admin-wizard input[type="email"]:focus,
.hashira-careers-admin-wizard input[type="tel"]:focus,
.hashira-careers-admin-wizard input[type="number"]:focus,
.hashira-careers-admin-wizard select:focus,
.hashira-careers-admin-wizard textarea:focus {
    border-color: #61CE70 !important;
    box-shadow: 0 0 0 2px rgba(97, 206, 112, 0.25) !important;
}
/* wp-admin's .button overrides would conflict with Hashira buttons in form-actions */
.hashira-careers-admin-wizard .hashira-careers-button {
    line-height: 1 !important;
    text-shadow: none !important;
    height: auto !important;
}
