/* Hashira Careers — BEM stylesheet (BL-101 candidate migration, v2.71.0).
 * Auto-generated 1:1 from careers-public.css: candidate rules in source order
 * (incl. @media + descendant selectors), legacy class tokens renamed to BEM.
 * Declarations copied verbatim — pixel-identical by construction. */

/* ========== listings ========== */
.hashira-listings-intro {
    text-align: center;
    margin-bottom: 40px;
}
.hashira-listings-intro h1 { margin: 0 0 8px; }
.hashira-hero__sub { color: #888; font-size: var(--hashira-text-16, 16px); margin: 0; }
.hashira-listings__count { color: #888; font-size: var(--hashira-text-base, 14px); margin-bottom: 16px; }
.hashira-listings__empty {
    text-align: center;
    padding: 48px 20px;
    background: #f9f9f9;
    border-radius: 8px;
}
.hashira-job-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: grid;
    gap: 16px;
}
.hashira-job-card {
    border: 1px solid #E5E5E5;
    border-radius: 8px;
    transition: border-color 0.15s, box-shadow 0.15s;
}
.hashira-job-card:hover {
    border-color: #61CE70;
    box-shadow: 0 4px 12px rgba(97, 206, 112, 0.1);
}
.hashira-job-card__link {
    display: block;
    padding: 24px;
    text-decoration: none;
    color: inherit;
}
.hashira-job-card__title {
    margin: 0 0 8px;
    font-size: var(--hashira-text-xl, 20px);
    color: #2A2A2A;
}
.hashira-job-card__meta {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 16px;
    color: #888;
    font-size: var(--hashira-text-13, 13px);
    margin-bottom: 12px;
}
.hashira-job-card__meta span:not(:last-child)::after {
    content: '·';
    margin-left: 16px;
    color: #ccc;
}
.hashira-job-card__summary {
    color: #504F4F;
    font-size: var(--hashira-text-md, 15px);
    margin: 0 0 12px;
}
.hashira-job-card__cta {
    color: #2DC93C;
    font-weight: 600;
    font-size: var(--hashira-text-base, 14px);
}
/* ========== job detail ========== */
.hashira-breadcrumb { color: #888; font-size: var(--hashira-text-base, 14px); margin-bottom: 24px; }
.hashira-breadcrumb a { color: #888; text-decoration: none; }
.hashira-breadcrumb a:hover { color: #2DC93C; }
.hashira-job-detail .hashira-job-card__meta {
    margin: 16px 0 32px;
    flex-direction: column;
    gap: 4px;
    color: #504F4F;
}
.hashira-job-detail .hashira-job-card__meta span::after { content: none !important; }
.hashira-job-detail .hashira-job-card__meta strong { color: #2A2A2A; margin-right: 8px; }
@media (min-width: 720px) {
  .hashira-job-detail .hashira-job-card__meta {
        flex-direction: row;
        flex-wrap: wrap;
        gap: 8px 24px;
    }
}
.hashira-section {
    margin: 32px 0;
    padding-top: 8px;
    border-top: 1px solid #E5E5E5;
}
.hashira-rich-text p { margin: 0 0 1em; }
.hashira-rich-text ul, .hashira-rich-text ol { margin: 0 0 1em 1.5em; }
.hashira-bgv-banner {
    margin: 40px 0;
    padding: 24px;
    background: #f7faf7;
    border-left: 4px solid #61CE70;
    border-radius: 4px;
}
.hashira-bgv-banner h2 { margin-top: 0; font-size: var(--hashira-h3-size, 18px); }
.hashira-bgv-banner p { font-size: var(--hashira-text-base, 14px); margin-bottom: 12px; }
.hashira-bgv-banner p:last-child { margin-bottom: 0; }
.hashira-apply-cta {
    margin: 48px 0 0;
    padding: 32px 0;
    border-top: 1px solid #E5E5E5;
    text-align: center;
}
/* ========== buttons ========== */
.hashira-apply-btn {
    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-apply-btn--primary {
    background: #61CE70 !important;
    color: #ffffff !important;
}
.hashira-apply-btn--primary:hover,
.hashira-apply-btn--primary:focus,
.hashira-apply-btn--primary:visited {
    background: #4eb85e !important;
    color: #ffffff !important;
}
.hashira-apply-btn--secondary {
    background: #ffffff !important;
    color: #2A2A2A !important;
    border: 1px solid #E5E5E5;
}
.hashira-apply-btn--secondary:hover,
.hashira-apply-btn--secondary:focus,
.hashira-apply-btn--secondary:visited {
    background: #f9f9f9 !important;
    color: #2A2A2A !important;
}
.hashira-apply-btn:active { transform: translateY(1px); }
@media (max-width: 480px) {
  .hashira-apply-btn {
        display: block;
        width: 100%;
        margin-bottom: 8px;
    }
}
/* ========== forms ========== */
.hashira-form { margin-top: 24px; }
.hashira-step__meta {
    color: #888;
    font-size: var(--hashira-text-base, 14px);
    margin: 0 0 24px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}
.hashira-fieldset {
    border: none;
    margin: 0 0 24px;
    padding: 0;
}
.hashira-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-apply-field {
    margin-bottom: 20px;
}
.hashira-apply-field label {
    display: block;
    font-weight: 600;
    color: #2A2A2A;
    margin-bottom: 6px;
    font-size: var(--hashira-text-base, 14px);
}
.hashira-apply-field input[type="text"],
.hashira-apply-field input[type="email"],
.hashira-apply-field input[type="date"],
.hashira-apply-field input[type="month"],
.hashira-apply-field input[type="datetime-local"],
.hashira-apply-field select,
.hashira-apply-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-apply-field input:focus,
.hashira-apply-field select:focus,
.hashira-apply-field textarea:focus {
    border-color: #61CE70;
    outline: 2px solid rgba(97, 206, 112, 0.2);
    outline-offset: 0;
}
.hashira-apply-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-required { color: #B32D2E; }
.hashira-optional { color: #888; font-weight: normal; font-size: var(--hashira-text-13, 13px); }
.hashira-apply-field__row {
    display: grid;
    gap: 16px;
}
@media (min-width: 600px) {
  .hashira-apply-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-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-form__actions {
    margin-top: 32px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
}
.hashira-form__note {
    color: #888;
    font-size: var(--hashira-text-13, 13px);
    margin: 16px 0 0;
}
/* ========== wizard ========== */
.hashira-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-progress__steps {
    display: none; /* hidden on mobile, shown >= 720px */
}
@media (min-width: 720px) {
  .hashira-progress {
        height: auto;
        background: transparent;
        margin-bottom: 48px;
    }
  .hashira-careers-progress-bar { display: none; }
  .hashira-progress__steps {
        display: flex;
        justify-content: space-between;
        list-style: none;
        margin: 0;
        padding: 0;
        position: relative;
    }
  .hashira-progress__steps::before {
        content: '';
        position: absolute;
        top: 16px;
        left: 16px;
        right: 16px;
        height: 2px;
        background: #E5E5E5;
        z-index: 0;
    }
  .hashira-progress__steps li {
        flex: 1;
        text-align: center;
        font-size: var(--hashira-text-sm, 12px);
        color: #888;
        position: relative;
        z-index: 1;
    }
  .hashira-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-progress__steps li.is-current .hashira-progress__num {
        background: #61CE70;
        border-color: #61CE70;
        color: #fff;
    }
  .hashira-progress__steps li.is-done .hashira-progress__num {
        background: #fff;
        border-color: #61CE70;
        color: #61CE70;
    }
  .hashira-progress__steps li.is-current { color: #2A2A2A; font-weight: 600; }
  .hashira-progress__steps li.is-done { color: #504F4F; }
}
/* ========== submitted ========== */
.hashira-submitted {
    text-align: center;
    padding-top: 40px;
}
.hashira-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-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-wizard__header {
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid #E5E5E5;
}
.hashira-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-wizard__header h1 {
    font-family: var(--hashira-font-body);
    font-size: var(--hashira-h1-size, 28px);
    color: #0B2035;
    margin: 0 0 6px;
}
.hashira-wizard__ref {
    color: #5a6776;
    font-size: var(--hashira-text-base, 14px);
    margin: 0;
}
.hashira-wizard__ref code {
    background: #F4F6F8;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: var(--hashira-text-13, 13px);
}
/* Progress bar */
.hashira-progress {
    margin-bottom: 32px;
}
.hashira-progress__track {
    width: 100%;
    height: 6px;
    background: #E5E5E5;
    border-radius: 3px;
    overflow: hidden;
    margin-bottom: 16px;
}
.hashira-progress__fill {
    height: 100%;
    background: linear-gradient(90deg, #2DC93C, #61CE70);
    border-radius: 3px;
    transition: width 0.4s ease;
}
.hashira-progress__steps {
    list-style: none;
    padding: 0;
    margin: 0;
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 4px;
}
.hashira-progress__steps li {
    text-align: center;
    font-size: var(--hashira-text-xs, 11px);
    color: #aab3bd;
    transition: color 0.2s ease;
}
.hashira-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-progress__steps li.is-current .hashira-progress__num,
.hashira-progress__steps li.is-done .hashira-progress__num {
    background: #2DC93C;
    color: #fff;
}
.hashira-progress__steps li.is-current,
.hashira-progress__steps li.is-done {
    color: #0B2035;
}
.hashira-progress__label {
    display: block;
    line-height: 1.2;
    padding: 0 2px;
}
/* Step intros */
.hashira-step__intro {
    background: #F4F8FA;
    border-left: 3px solid #6EC1E4;
    padding: 12px 16px;
    margin-bottom: 24px;
    border-radius: 0 4px 4px 0;
}
.hashira-step__intro p {
    margin: 0 0 6px;
    color: #0B2035;
    font-size: var(--hashira-text-base, 14px);
}
.hashira-step__intro p:last-child { margin-bottom: 0; }
/* Fieldsets */
.hashira-fieldset {
    border: 1px solid #E5E5E5;
    border-radius: 8px;
    padding: 20px 24px;
    margin-bottom: 20px;
    background: #fff;
}
.hashira-fieldset legend {
    font-family: var(--hashira-font-body);
    font-size: var(--hashira-text-16, 16px);
    font-weight: 600;
    color: #0B2035;
    padding: 0 10px;
}
.hashira-fieldset .hashira-help {
    color: #5a6776;
    font-size: var(--hashira-text-13, 13px);
    margin: -4px 0 12px;
}
/* Field rows */
.hashira-apply-field__row {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 16px;
    margin-bottom: 16px;
}
.hashira-apply-field {
    margin-bottom: 16px;
}
.hashira-apply-field label {
    display: block;
    font-weight: 600;
    font-size: var(--hashira-text-base, 14px);
    color: #0B2035;
    margin-bottom: 6px;
}
.hashira-required {
    color: #E04F4F;
    font-weight: 700;
    margin-left: 2px;
}
.hashira-help {
    font-size: var(--hashira-text-sm, 12px);
    color: #6c7785;
    margin: 4px 0;
}
/* Inputs */
.hashira-apply-field input[type="text"],
.hashira-apply-field input[type="email"],
.hashira-apply-field input[type="tel"],
.hashira-apply-field input[type="url"],
.hashira-apply-field input[type="date"],
.hashira-apply-field input[type="number"],
.hashira-apply-field select,
.hashira-apply-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-apply-field input:focus,
.hashira-apply-field select:focus,
.hashira-apply-field textarea:focus {
    outline: none;
    border-color: #6EC1E4;
    box-shadow: 0 0 0 3px rgba(110, 193, 228, 0.15);
}
.hashira-apply-field input[readonly] {
    background: #F4F6F8;
    color: #5a6776;
}
/* Radio + checkbox groups */
.hashira-radio__group,
.hashira-checkbox__group {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}
.hashira-radio--yn {
    gap: 24px;
}
.hashira-radio,
.hashira-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-radio input,
.hashira-checkbox input {
    width: auto;
    margin: 3px 0 0;
    cursor: pointer;
}
.hashira-checkbox--large {
    display: flex;
    padding: 12px;
    background: #FAFBFC;
    border: 1px solid #E5E5E5;
    border-radius: 6px;
    margin-bottom: 12px;
    line-height: 1.5;
}
.hashira-checkbox--large span {
    font-size: var(--hashira-text-13, 13px);
}
/* Repeating blocks (employer, deployment, qualification) */
.hashira-employer__block,
.hashira-qual__block,
.hashira-cert__block,
.hashira-id-row {
    border: 1px solid #E5E5E5;
    border-radius: 8px;
    padding: 16px 20px;
    margin-bottom: 16px;
    background: #FCFDFE;
}
.hashira-deployment__block {
    border-left: 3px solid #6EC1E4;
    border-radius: 4px;
    padding: 12px 16px;
    margin-bottom: 12px;
    background: #fff;
}
.hashira-deployment {
    margin-top: 16px;
    padding-top: 16px;
    border-top: 1px dashed #D5D9DD;
}
.hashira-deployment h4 {
    margin: 0 0 12px;
    font-family: var(--hashira-font-body);
    font-size: var(--hashira-text-base, 14px);
    color: #0B2035;
}
.hashira-block-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 12px;
}
.hashira-block-header h3,
.hashira-block-header h4,
.hashira-block-header h5 {
    margin: 0;
    font-family: var(--hashira-font-body);
    color: #0B2035;
    font-size: var(--hashira-text-md, 15px);
}
.hashira-apply-btn--link {
    background: none;
    border: none;
    color: #E04F4F;
    cursor: pointer;
    font-size: var(--hashira-text-13, 13px);
    padding: 4px 8px;
    text-decoration: underline;
}
.hashira-apply-btn--link:hover { color: #c44545; }
/* Declaration blocks */
.hashira-declaration {
    margin-bottom: 20px;
    padding-bottom: 16px;
    border-bottom: 1px solid #F0F2F4;
}
.hashira-declaration:last-child {
    border-bottom: none;
}
.hashira-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-summary-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 12px;
    background: #F4F8FA;
    padding: 16px;
    border-radius: 6px;
}
.hashira-summary-grid > div {
    font-size: var(--hashira-text-13, 13px);
    color: #0B2035;
}
.hashira-summary-grid code {
    background: #fff;
    padding: 2px 6px;
    border-radius: 3px;
}
/* Form actions */
.hashira-form__actions {
    display: flex;
    justify-content: space-between;
    gap: 12px;
    margin-top: 24px;
    padding-top: 20px;
    border-top: 1px solid #E5E5E5;
}
.hashira-form__actions .hashira-apply-btn--secondary {
    margin-right: auto;
}
/* Error block */
.hashira-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-error strong {
    display: block;
    margin-bottom: 4px;
}
/* ========================================================================
   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-apply-prelude h1 {
    margin: 0 0 6px;
}
.hashira-prelude__panel {
    background: #f5faf2;
    border-left: 4px solid #61CE70;
    padding: 20px 24px;
    margin: 24px 0 32px;
    border-radius: 6px;
}
.hashira-prelude__panel h2 {
    font-size: var(--hashira-h3-size, 18px);
    margin: 0 0 14px;
    color: #1a1a1a;
}
.hashira-prelude__panel p {
    margin: 0 0 12px;
    line-height: 1.65;
    color: #2a3a2a;
}
.hashira-prelude__panel p:last-child {
    margin-bottom: 0;
}
.hashira-prelude__panel a {
    color: #3a8a48;
    text-decoration: underline;
}
.hashira-prelude__panel a:hover {
    color: #2a6a38;
}
.hashira-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-declaration__group {
    border: 1px solid #e5e5e5;
    border-radius: 6px;
    padding: 18px 22px 14px;
    margin: 0 0 18px;
    background: #ffffff;
}
/* T1 — Group title */
.hashira-declaration__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-declaration__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-declaration__list li {
    margin: 0 0 8px;
    font-size: var(--hashira-text-base, 14px);
    line-height: 1.6;
    font-weight: 400;
    color: #333333;
}
.hashira-declaration__list li:last-child {
    margin-bottom: 6px;
}
.hashira-declaration__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-declaration__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-declaration__row:first-of-type {
    border-top: none;
}
.hashira-declaration__row input[type="checkbox"] {
    margin-top: 3px;
    flex-shrink: 0;
    width: 16px;
    height: 16px;
    cursor: pointer;
}
.hashira-declaration__row span {
    flex: 1;
    font-size: var(--hashira-text-base, 14px);
    font-weight: 500;
    color: #1a1a1a;
}
.hashira-declaration__row a {
    color: #3a8a48;
}
.hashira-required {
    color: #c43;
    font-weight: 700;
}
.hashira-prelude__email-block {
    background: #ffffff;
    border: 1px solid #e5e5e5;
    border-radius: 6px;
    padding: 22px 24px;
    margin: 28px 0 0;
}
.hashira-prelude__email-block h2 {
    margin: 0 0 6px;
    font-size: var(--hashira-text-16, 16px);
    color: #1a1a1a;
}
.hashira-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-prelude__panel {
        padding: 16px 18px;
    }
  .hashira-declaration__group {
        padding: 14px 16px 10px;
    }
  .hashira-declaration__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-prelude__panel p,
.hashira-section .hashira-rich-text p,
.hashira-bgv-banner p {
    text-align: left;
}
.hashira-declaration__row span {
    text-align: left;
}
/* ========================================================================
   v0.3.2.4-preview4 — OTP page: notice slot, link-style button, resend form.
   ======================================================================== */

.hashira-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-form__resend {
    margin-top: 24px;
    padding-top: 18px;
    border-top: 1px solid #e8eee2;
}
.hashira-form__resend .hashira-form__note {
    margin: 0;
    color: #555;
    font-size: var(--hashira-text-13, 13px);
}
.hashira-apply-btn--link {
    background: none;
    border: none;
    padding: 0;
    margin: 0;
    color: #3a8a48;
    font: inherit;
    text-decoration: underline;
    cursor: pointer;
    font-weight: 500;
}
.hashira-apply-btn--link:hover,
.hashira-apply-btn--link: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-job-detail {
    /* No top wrapper — the meta strip starts the in-page content */
}
.hashira-job-card__meta {
    list-style: none;
    margin: 0 0 28px;
    padding: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 12px 14px;
}
.hashira-job-card__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-job-detail__meta-label {
    font-size: var(--hashira-text-xs, 11px);
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: #6f7f6f;
    font-weight: 700;
}
.hashira-job-detail__meta-value {
    font-size: var(--hashira-text-md, 15px);
    color: #161616;
    font-weight: 500;
}
.hashira-job-detail__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-job-detail__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-job-card__meta li {
        min-width: 0;
        flex: 1 1 calc(50% - 7px);
    }
}
/* --- 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-prelude__panel p,
.hashira-careers-page .hashira-section .hashira-rich-text 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-form__actions,
.hashira-careers-page .hashira-progress__steps li,
.hashira-careers-page .hashira-success-icon,
.hashira-careers-page .hashira-job-detail__meta-label {
    text-align: center !important;
}
/* --- OTP input: short, centred, monospace 6-digit feel --- */
.hashira-careers-page .hashira-form input[type="text"]#otp {
    width: 220px !important;
    max-width: 100% !important;
    margin: 0 auto !important;
    display: block !important;
    box-sizing: border-box;
}
/* preview17 (F2) — Banking products experience: 3-column structured rows.
   Replaces the prior pipe-separated textarea on step 3 (skills). */
.hashira-product__grid {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 0 0 4px;
}
.hashira-product__header,
.hashira-product__row {
    display: grid;
    grid-template-columns: 2fr 0.7fr 1fr;
    gap: 10px;
    align-items: center;
}
.hashira-product__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-product__row input,
.hashira-product__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-product__row input:focus,
.hashira-product__row select:focus {
    border-color: #3a8a48;
    outline: none;
    box-shadow: 0 0 0 2px rgba(58, 138, 72, 0.15);
}
.hashira-apply-btn--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-apply-btn--secondary:hover {
    background: #f1f8f3;
}
.hashira-apply-btn--secondary:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}
@media (max-width: 600px) {
  .hashira-product__header { display: none; }
  .hashira-product__row {
        grid-template-columns: 1fr;
        gap: 6px;
        padding: 10px;
        background: #fafafa;
        border: 1px solid #eee;
        border-radius: 4px;
    }
}
` at lower specificity but
   later in the file order. preview17 F14 attempt without !important lost. */
ol.hashira-declaration__list,
.hashira-declaration__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-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-rich-text .hcm-rich-subhead {
    font-size: var(--hashira-text-16, 16px);
    font-weight: 700;
    color: #0B2035;
    margin: 24px 0 10px;
    letter-spacing: 0.01em;
}
.hashira-rich-text .hcm-rich-subhead:first-child {
    margin-top: 0;
}
.hashira-rich-text .hcm-rich-list,
.hashira-rich-text__list {
    margin: 0 0 16px 0;
    padding-left: 24px;
    list-style: none;
}
.hashira-rich-text .hcm-rich-list li,
.hashira-rich-text__list li {
    position: relative;
    padding: 5px 0 5px 6px;
    margin-bottom: 4px;
    line-height: 1.55;
}
.hashira-rich-text .hcm-rich-list li::before,
.hashira-rich-text__list li::before {
    content: "";
    position: absolute;
    left: -18px;
    top: 13px;
    width: 7px;
    height: 7px;
    background: #61CE70;
    border-radius: 50%;
    opacity: 0.9;
}
.hashira-rich-text .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-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-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-langspoken__grid {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-top: 8px;
}
.hashira-langspoken__header,
.hashira-langspoken__row {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 10px;
    align-items: start;
}
.hashira-langspoken__header {
    font-weight: 600;
    font-size: var(--hashira-text-13, 13px);
    color: #2F4A5B;
    padding: 0 4px;
}
.hashira-langspoken__row > div,
.hashira-langspoken__row > select,
.hashira-langspoken__row > input {
    min-width: 0; /* prevent overflow inside grid cells */
}
.hashira-langspoken__row select,
.hashira-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-langspoken__row input[readonly] {
    background-color: #F4F8FA;
    color: #2F4A5B;
}
.hashira-langspoken__picker {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.hashira-langspoken__other {
    margin-top: 0;
}
.hashira-langspoken__english {
    background: #F4F8FA;
    border-radius: 4px;
    padding: 6px 8px;
}
@media (max-width: 640px) {
  .hashira-langspoken__header { display: none; }
  .hashira-langspoken__row {
        grid-template-columns: 1fr;
        gap: 6px;
        padding-bottom: 10px;
        border-bottom: 1px solid #E5EBF0;
    }
  .hashira-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-declaration__detail-wrap {
    margin-top: 8px;
    padding-left: 12px;
    border-left: 3px solid #61CE70;
}
.hashira-declaration__detail-wrap label {
    display: block;
    margin-bottom: 4px;
    font-size: var(--hashira-text-13, 13px);
    color: #2F4A5B;
}
.hashira-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-declaration__detail-wrap.is-collapsed {
    display: none;
}
.hashira-careers-no-js-fallback .hashira-declaration__detail-wrap.is-collapsed {
    display: block !important;
}
/* Course "Other (specify)" wrap (Step 4) */
.hashira-qual__other {
    margin-top: 4px;
}
.hashira-qual__other input[type="text"] {
    border-left: 3px solid #61CE70;
    padding-left: 12px;
}
.hashira-summary-grid {
    font-size: var(--hashira-text-base, 14px);
}
.hashira-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-summary-grid > div {
    font-size: var(--hashira-text-base, 14px);
    color: #0B2035;
    line-height: 1.55;
}
.hashira-summary-grid code {
    font-size: var(--hashira-text-13, 13px);
    background: #fff;
    padding: 2px 6px;
    border-radius: 3px;
    color: #0B2035;
}
/* wp-admin's .button overrides would conflict with Hashira buttons in form-actions */
.hashira-careers-admin-wizard .hashira-apply-btn {
    line-height: 1 !important;
    text-shadow: none !important;
    height: auto !important;
}

/* ============================================================
   BL-101 A-arc (v2.72.5) — public.php + admin-apply.php surfaces
   1:1 reproduction of legacy .hashira-careers-* rules under BEM
   names. Bodies copied verbatim from careers-public.css — pixel-
   identical by construction. Legacy names retained as compat
   aliases (D-52) so nothing can silently lose styling.
   ============================================================ */
.hashira-careers__section {
    margin: 32px 0;
    padding-top: 8px;
    border-top: 1px solid #E5E5E5;
}
/* ========== buttons ========== */
.hashira-careers__btn {
    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__btn--primary {
    background: #61CE70 !important;
    color: #ffffff !important;
}
.hashira-careers__btn--primary:hover,
.hashira-careers__btn--primary:focus,
.hashira-careers__btn--primary:visited {
    background: #4eb85e !important;
    color: #ffffff !important;
}
.hashira-careers__btn--secondary {
    background: #ffffff !important;
    color: #2A2A2A !important;
    border: 1px solid #E5E5E5;
}
.hashira-careers__btn--secondary:hover,
.hashira-careers__btn--secondary:focus,
.hashira-careers__btn--secondary:visited {
    background: #f9f9f9 !important;
    color: #2A2A2A !important;
}
.hashira-careers__btn:active { transform: translateY(1px); }
@media (max-width: 480px) {.hashira-careers__btn {
        display: block;
        width: 100%;
        margin-bottom: 8px;
    }
}
/* ========== forms ========== */
.hashira-careers__form { margin-top: 24px; }
.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__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-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-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; }
}
/* ==========================================================================
   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;
}
.hashira-careers-fieldset .hashira-careers__help {
    color: #5a6776;
    font-size: var(--hashira-text-13, 13px);
    margin: -4px 0 12px;
}
.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__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;
}
/* 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__btn--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;
}
@media (max-width: 640px) {.hashira-careers__progress-steps {
        grid-template-columns: repeat(7, 1fr);
        gap: 2px;
    }
.hashira-careers__progress-label {
        display: none;
    }
}
/* ========================================================================
   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-form-resend .hashira-careers__form-note {
    margin: 0;
    color: #555;
    font-size: var(--hashira-text-13, 13px);
}
/* ========================================================================
   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;
    }
}
/* --- 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;
}
.hashira-careers__btn--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__btn--secondary:hover {
    background: #f1f8f3;
}
.hashira-careers__btn--secondary:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}
/* =====================================================================
 * 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__btn {
    line-height: 1 !important;
    text-shadow: none !important;
    height: auto !important;
}
