/* =========================================================================
   BPRShop — site forms (complaints/suggestions, careers, ...)  1405/07/18
   -------------------------------------------------------------------------
   Markup: templates/executive_tpls/forms/form_defualt/form_show_bpr.tpl.html
   Everything is prefixed .bfm and none of it reuses a Bootstrap class
   (.form-control, .form-group, .btn, .col-*): the internal pages load the
   merged site CSS, and anything sharing those names inherits rules nobody
   can audit. This file is linked from the template body, after every
   stylesheet in <head>. Type, colour, spacing and radius carry !important
   where the site CSS reaches the same elements (inputs, labels, headings,
   lists, links). Palette and radius follow client/css/bpr-account.css.

   Bump ?v= in form_show_bpr.tpl.html with every change (CSS is cached at the
   Cloudflare edge and in the browser).
   ========================================================================= */

.bfm {
    --bfm-navy: #002B51;
    --bfm-brand: #1AC3BA;
    --bfm-brand-d: #0B8F88;
    --bfm-brand-dd: #087A74;
    --bfm-brand-50: #E9F8F7;
    --bfm-brand-100: #CDEFEC;
    --bfm-field: #F7F9FB;
    --bfm-line: #E3E8EF;
    --bfm-line-2: #EEF1F5;
    --bfm-ink: #0F172A;
    --bfm-text: #1F2328;
    --bfm-text-2: #4B5563;
    --bfm-muted: #6B7280;
    --bfm-faint: #94A3B8;
    --bfm-danger: #DC2626;
    --bfm-danger-50: #FEF2F2;
    --bfm-radius: 20px;
    --bfm-shadow: 0 1px 2px rgba(16, 24, 40, .04), 0 14px 34px -18px rgba(16, 24, 40, .18);

    display: block;
    margin: 4px 0 28px !important;
    padding: 0 !important;
    direction: rtl;
    text-align: right;
    font-family: bpaYekan, iranyekan, Tahoma, sans-serif !important;
    font-size: 14px;
    line-height: 1.9;
    color: var(--bfm-text);
}
.bfm *,
.bfm *::before,
.bfm *::after {
    box-sizing: border-box;
}
.bfm [hidden] {
    display: none !important;
}
.bfm svg {
    display: block;
    flex: 0 0 auto;
}

/* ---------------------------------------------------------------- layout */
.bfm-grid {
    display: grid;
    grid-template-columns: minmax(0, 1fr) 300px;
    gap: 22px;
    align-items: start;
}
.bfm-main,
.bfm-aside {
    min-width: 0;
}
.bfm-card {
    background: #fff !important;
    border: 1px solid var(--bfm-line) !important;
    border-radius: var(--bfm-radius) !important;
    box-shadow: var(--bfm-shadow) !important;
}

/* ---------------------------------------------------------------- form head */
.bfm-form {
    position: relative;
    margin: 0 !important;
    padding: 0 !important;
    overflow: hidden;
}
.bfm-head {
    position: relative;
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 16px;
    padding: 24px 28px 22px;
    background: linear-gradient(180deg, #F6FBFB 0%, #FFFFFF 100%);
    border-bottom: 1px solid var(--bfm-line-2);
}
.bfm-head-text {
    min-width: 0;
}
.bfm .bfm-title {
    margin: 0 !important;
    padding: 0 !important;
    font-family: inherit !important;
    font-size: 19px !important;
    font-weight: 700 !important;
    line-height: 1.7 !important;
    color: var(--bfm-navy) !important;
    text-align: right !important;
}
.bfm .bfm-sub {
    margin: 4px 0 0 !important;
    padding: 0 !important;
    font-size: 12.5px !important;
    line-height: 1.9 !important;
    color: var(--bfm-muted) !important;
}
.bfm-desc {
    padding: 16px 28px 0;
    font-size: 13.5px;
    line-height: 2.1;
    color: var(--bfm-text-2);
}

/* the 15-minute countdown */
.bfm-timer {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    margin-top: 3px;
    padding: 6px 12px 6px 14px;
    border-radius: 999px;
    background: #fff;
    border: 1px solid var(--bfm-line);
    color: var(--bfm-muted);
    font-size: 12px;
    line-height: 1.6;
    white-space: nowrap;
    cursor: default;
    transition: background-color .3s, border-color .3s, color .3s;
}
.bfm-timer svg {
    width: 17px;
    height: 17px;
    color: var(--bfm-brand-d);
}
.bfm-timer-val {
    min-width: 40px;
    font-size: 14px;
    font-weight: 700;
    color: var(--bfm-ink);
    text-align: center;
    font-variant-numeric: tabular-nums;
}
.bfm-timebar {
    position: absolute;
    left: 0;
    right: 0;
    bottom: -1px;
    height: 3px;
    overflow: hidden;
}
.bfm-timebar i {
    display: block;
    height: 100%;
    background: linear-gradient(270deg, var(--bfm-brand) 0%, var(--bfm-brand-d) 100%);
    transform-origin: right center;
    transition: transform 1s linear;
}
.bfm-head.is-low .bfm-timer {
    background: #FFF7ED;
    border-color: #FED7AA;
    color: #9A3412;
}
.bfm-head.is-low .bfm-timer svg,
.bfm-head.is-low .bfm-timer-val {
    color: #C2410C;
}
.bfm-head.is-low .bfm-timebar i {
    background: linear-gradient(270deg, #FB923C 0%, #EA580C 100%);
}

/* ---------------------------------------------------------------- fields */
.bfm-body {
    padding: 24px 28px 28px;
}
.bfm-fields {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px 16px;
}
.bfm-span2 {
    grid-column: 1 / -1;
}
.bfm-field {
    min-width: 0;
    margin: 0 !important;
    padding: 0 !important;
}
.bfm .bfm-label {
    display: flex !important;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    float: none !important;
    width: auto !important;
    max-width: none !important;
    margin: 0 0 7px !important;
    padding: 0 !important;
    font-family: inherit !important;
    font-size: 13px !important;
    font-weight: 700 !important;
    line-height: 1.8 !important;
    color: var(--bfm-text) !important;
    text-align: right !important;
}
.bfm .bfm-req {
    color: #E11D48 !important;
    font-size: 15px;
    font-weight: 700;
    line-height: 1;
}
.bfm-sub .bfm-req {
    display: inline-block;
    transform: translateY(3px);
}
.bfm .bfm-opt {
    padding: 0 8px;
    border-radius: 999px;
    background: var(--bfm-line-2);
    color: var(--bfm-muted) !important;
    font-size: 10.5px;
    font-weight: 400;
    line-height: 1.9;
}

.bfm-control {
    position: relative;
}
.bfm-ico {
    position: absolute;
    top: 0;
    bottom: 0;
    right: 15px;
    display: flex;
    align-items: center;
    color: var(--bfm-faint);
    pointer-events: none;
    transition: color .15s;
}
.bfm-ico svg {
    width: 19px;
    height: 19px;
}
.bfm-control:focus-within .bfm-ico {
    color: var(--bfm-brand-d);
}

.bfm .bfm-input {
    display: block !important;
    float: none !important;
    width: 100% !important;
    max-width: 100% !important;
    height: 50px !important;
    min-height: 50px !important;
    margin: 0 !important;
    padding: 0 46px 0 14px !important;
    background: var(--bfm-field) !important;
    border: 1.5px solid var(--bfm-line) !important;
    border-radius: 14px !important;
    box-shadow: none !important;
    outline: 0 !important;
    font-family: inherit !important;
    font-size: 14px !important;
    font-weight: 400 !important;
    line-height: 1.6 !important;
    color: var(--bfm-ink) !important;
    text-align: right !important;
    -webkit-appearance: none;
    appearance: none;
    transition: border-color .15s, background-color .15s, box-shadow .15s;
}
.bfm .bfm-input::placeholder {
    color: #A7B1BF !important;
    font-size: 13px;
    opacity: 1;
}
.bfm .bfm-input:hover {
    border-color: #CBD5E1 !important;
}
.bfm .bfm-input:focus {
    background: #fff !important;
    border-color: var(--bfm-brand) !important;
    box-shadow: 0 0 0 4px rgba(26, 195, 186, .16) !important;
}
.bfm .bfm-textarea {
    height: auto !important;
    min-height: 150px !important;
    padding: 13px 15px !important;
    line-height: 2 !important;
    resize: vertical;
}
.bfm .bfm-select {
    padding: 0 15px 0 42px !important;
    cursor: pointer;
}
.bfm-chev {
    position: absolute;
    top: 0;
    bottom: 0;
    left: 14px;
    display: flex;
    align-items: center;
    color: var(--bfm-muted);
    pointer-events: none;
}
.bfm-chev svg {
    width: 18px;
    height: 18px;
}

.bfm .bfm-hint {
    margin: 6px 0 0 !important;
    padding: 0 !important;
    font-size: 11.5px !important;
    line-height: 1.8 !important;
    color: var(--bfm-muted) !important;
}
.bfm .bfm-err {
    display: none;
    align-items: center;
    gap: 6px;
    margin: 7px 0 0 !important;
    padding: 0 !important;
    font-size: 12px !important;
    line-height: 1.8 !important;
    color: var(--bfm-danger) !important;
}
.bfm .bfm-err::before {
    content: "!";
    flex: 0 0 16px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: var(--bfm-danger);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    line-height: 16px;
    text-align: center;
}
.bfm-field.is-err .bfm-err {
    display: flex;
}
.bfm-field.is-err .bfm-input,
.bfm-field.is-err .bfm-drop {
    border-color: var(--bfm-danger) !important;
    background: var(--bfm-danger-50) !important;
}
.bfm-field.is-err .bfm-input:focus {
    box-shadow: 0 0 0 4px rgba(220, 38, 38, .12) !important;
}
.bfm-field.is-err .bfm-ico {
    color: var(--bfm-danger);
}
.bfm-field.is-err .bfm-chip-dot {
    border-color: #FCA5A5;
}

/* radio / checkbox options as chips */
.bfm-chips {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.bfm .bfm-chip {
    position: relative;
    display: inline-flex !important;
    align-items: center;
    gap: 9px;
    min-height: 44px;
    margin: 0 !important;
    padding: 0 16px 0 18px !important;
    border: 1.5px solid var(--bfm-line);
    border-radius: 999px;
    background: #fff;
    color: var(--bfm-text-2) !important;
    font-family: inherit !important;
    font-size: 13px !important;
    font-weight: 400 !important;
    line-height: 1.6 !important;
    cursor: pointer;
    user-select: none;
    transition: border-color .15s, background-color .15s, color .15s;
}
.bfm .bfm-chip input {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    margin: 0 !important;
    opacity: 0;
    pointer-events: none;
}
.bfm-chip-dot {
    position: relative;
    flex: 0 0 18px;
    width: 18px;
    height: 18px;
    border: 1.5px solid #CBD5E1;
    border-radius: 50%;
    background: #fff;
    transition: border-color .15s, background-color .15s, box-shadow .15s;
}
.bfm-chip--check .bfm-chip-dot {
    border-radius: 6px;
}
.bfm .bfm-chip:hover {
    border-color: #CBD5E1;
}
.bfm-chip input:checked + .bfm-chip-dot {
    border-color: var(--bfm-brand-d);
    background: var(--bfm-brand-d);
}
.bfm-chip input:checked + .bfm-chip-dot::after {
    content: "";
    position: absolute;
    left: 50%;
    top: 50%;
    width: 5px;
    height: 9px;
    margin: -6px 0 0 -2.5px;
    border: solid #fff;
    border-width: 0 2px 2px 0;
    transform: rotate(45deg);
}
.bfm-chip input:focus-visible + .bfm-chip-dot {
    box-shadow: 0 0 0 4px rgba(26, 195, 186, .22);
}
.bfm .bfm-chip:has(input:checked) {
    border-color: var(--bfm-brand);
    background: var(--bfm-brand-50);
    color: var(--bfm-brand-dd) !important;
    font-weight: 700 !important;
}

/* file attachments */
.bfm .bfm-drop {
    position: relative;
    display: flex !important;
    align-items: center;
    gap: 14px;
    margin: 0 !important;
    padding: 16px 18px !important;
    border: 2px dashed #CBD5E1;
    border-radius: 16px;
    background: var(--bfm-field);
    font-weight: 400 !important;
    cursor: pointer;
    transition: border-color .15s, background-color .15s;
}
.bfm .bfm-file {
    position: absolute !important;
    inset: 0;
    z-index: 2;
    width: 100% !important;
    height: 100% !important;
    margin: 0 !important;
    padding: 0 !important;
    opacity: 0 !important;
    cursor: pointer;
}
.bfm .bfm-drop:hover,
.bfm .bfm-drop.is-over {
    border-color: var(--bfm-brand);
    background: #F0FBFA;
}
.bfm .bfm-drop:focus-within {
    border-color: var(--bfm-brand);
    box-shadow: 0 0 0 4px rgba(26, 195, 186, .16);
}
.bfm-drop-ico {
    flex: 0 0 46px;
    width: 46px;
    height: 46px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 14px;
    border: 1px solid var(--bfm-line);
    background: #fff;
    color: var(--bfm-brand-d);
}
.bfm-drop-ico svg {
    width: 24px;
    height: 24px;
}
.bfm-drop-text {
    display: flex;
    flex-direction: column;
    min-width: 0;
    font-size: 12px;
    line-height: 1.8;
    color: var(--bfm-muted);
}
.bfm-drop-text b {
    font-size: 13.5px;
    color: var(--bfm-text);
}
.bfm-drop-name {
    min-width: 0;
    margin-right: auto;
    overflow: hidden;
    font-size: 12px;
    font-weight: 700;
    color: var(--bfm-brand-dd);
    text-overflow: ellipsis;
    white-space: nowrap;
    direction: ltr;
}
.bfm .bfm-drop.has-file {
    border-style: solid;
    border-color: var(--bfm-brand-100);
    background: var(--bfm-brand-50);
}

/* ---------------------------------------------------------------- captcha */
.bfm-captcha {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 14px 18px;
    margin-top: 24px;
    padding: 16px 18px;
    border: 1px solid var(--bfm-line);
    border-radius: 16px;
    background: var(--bfm-field);
}
.bfm-captcha.is-err {
    border-color: #FCA5A5;
    background: var(--bfm-danger-50);
}
.bfm-captcha-text {
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 0;
}
.bfm-captcha-ico {
    flex: 0 0 42px;
    width: 42px;
    height: 42px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 13px;
    border: 1px solid var(--bfm-line);
    background: #fff;
    color: var(--bfm-brand-d);
}
.bfm-captcha-ico svg {
    width: 22px;
    height: 22px;
}
.bfm-captcha-text b {
    display: block;
    font-size: 13.5px;
    color: var(--bfm-text);
    line-height: 1.7;
}
.bfm-captcha-text small {
    display: block;
    font-size: 12px;
    color: var(--bfm-muted);
    line-height: 1.8;
}
.bfm-captcha-widget {
    flex: 0 1 320px;
    min-width: 0;
}
.bfm .bfm-capErr {
    flex: 1 1 100%;
    margin: 0 !important;
    font-size: 12.5px !important;
    line-height: 1.9 !important;
    color: var(--bfm-danger) !important;
}

/* ---------------------------------------------------------------- summary + buttons */
.bfm-summary {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
    padding: 12px 14px;
    border: 1px solid #FECACA;
    border-radius: 14px;
    background: var(--bfm-danger-50);
    color: #B91C1C;
    font-size: 13px;
    line-height: 1.8;
}
.bfm-summary svg {
    width: 20px;
    height: 20px;
}
.bfm-actions {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 22px;
}
.bfm .bfm-btn {
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    gap: 9px;
    height: 52px;
    margin: 0 !important;
    padding: 0 26px !important;
    border: 0;
    border-radius: 14px !important;
    font-family: inherit !important;
    font-size: 15px !important;
    font-weight: 700 !important;
    line-height: 1 !important;
    text-decoration: none !important;
    white-space: nowrap;
    cursor: pointer;
    transition: transform .12s, box-shadow .15s, background-color .15s, border-color .15s, opacity .15s;
}
.bfm .bfm-btn svg {
    width: 19px;
    height: 19px;
}
.bfm .bfm-btn--primary {
    flex: 1 1 auto;
    min-width: 220px;
    background: linear-gradient(135deg, var(--bfm-brand) 0%, var(--bfm-brand-d) 100%) !important;
    color: #fff !important;
    box-shadow: 0 12px 24px -12px rgba(11, 143, 136, .75) !important;
}
.bfm .bfm-btn--primary:hover,
.bfm .bfm-btn--primary:focus {
    color: #fff !important;
    box-shadow: 0 16px 28px -12px rgba(11, 143, 136, .85) !important;
    transform: translateY(-1px);
}
.bfm .bfm-btn--primary:active {
    transform: translateY(0);
}
.bfm .bfm-btn--primary:focus-visible {
    outline: 3px solid rgba(26, 195, 186, .45) !important;
    outline-offset: 2px;
}
.bfm .bfm-btn--ghost {
    background: #fff !important;
    border: 1.5px solid var(--bfm-line) !important;
    color: var(--bfm-text-2) !important;
    font-weight: 400 !important;
    box-shadow: none !important;
}
.bfm .bfm-btn--ghost:hover,
.bfm .bfm-btn--ghost:focus {
    border-color: #CBD5E1 !important;
    color: var(--bfm-text) !important;
}
.bfm .bfm-btn[disabled],
.bfm .bfm-btn.is-busy {
    opacity: .8;
    cursor: progress;
    transform: none !important;
}
.bfm-spin {
    display: none;
    width: 18px;
    height: 18px;
    border: 2.5px solid rgba(255, 255, 255, .45);
    border-top-color: #fff;
    border-radius: 50%;
    animation: bfm-spin .8s linear infinite;
}
.bfm-btn.is-busy .bfm-spin {
    display: inline-block;
}
.bfm-btn.is-busy .bfm-send-ico {
    display: none;
}
@keyframes bfm-spin {
    to { transform: rotate(360deg); }
}

/* ---------------------------------------------------------------- side column */
.bfm-aside {
    display: flex;
    flex-direction: column;
    gap: 16px;
}
.bfm-side {
    padding: 20px !important;
}
.bfm .bfm-side-title {
    display: flex !important;
    align-items: center;
    gap: 10px;
    margin: 0 0 14px !important;
    padding: 0 !important;
    font-family: inherit !important;
    font-size: 14.5px !important;
    font-weight: 700 !important;
    line-height: 1.6 !important;
    color: var(--bfm-navy) !important;
    text-align: right !important;
}
.bfm-side-ico {
    flex: 0 0 36px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    background: var(--bfm-brand-50);
    color: var(--bfm-brand-d);
}
.bfm-side-ico svg {
    width: 20px;
    height: 20px;
}
.bfm .bfm-contact {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}
.bfm .bfm-contact li {
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}
.bfm .bfm-ci {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 10px 9px 12px;
    border: 1px solid var(--bfm-line-2);
    border-radius: 14px;
    background: var(--bfm-field);
    color: var(--bfm-text) !important;
    text-decoration: none !important;
    transition: border-color .15s, background-color .15s;
}
.bfm .bfm-ci:hover,
.bfm .bfm-ci:focus {
    border-color: var(--bfm-brand-100);
    background: var(--bfm-brand-50);
}
.bfm-ci-ico {
    flex: 0 0 32px;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--bfm-line-2);
    border-radius: 10px;
    background: #fff;
    color: var(--bfm-brand-d);
}
.bfm-ci-ico svg {
    width: 17px;
    height: 17px;
}
.bfm-ci-k {
    font-size: 12.5px;
    color: var(--bfm-muted);
}
.bfm-ci-v {
    margin-right: auto;
    font-size: 14px;
    font-weight: 700;
    color: var(--bfm-ink);
    letter-spacing: .2px;
}
.bfm .bfm-hours {
    display: flex;
    align-items: center;
    gap: 8px;
    margin: 12px 0 0 !important;
    padding: 0 !important;
    font-size: 12.5px !important;
    line-height: 1.8 !important;
    color: var(--bfm-text-2) !important;
}
.bfm-hours svg {
    width: 17px;
    height: 17px;
    color: var(--bfm-brand-d);
}
.bfm .bfm-side-link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    margin-top: 12px;
    font-size: 13px;
    font-weight: 700;
    color: var(--bfm-brand-d) !important;
    text-decoration: none !important;
}
.bfm .bfm-side-link:hover {
    color: var(--bfm-brand-dd) !important;
}
.bfm-side-link svg {
    width: 16px;
    height: 16px;
}
.bfm .bfm-steps {
    margin: 0 !important;
    padding: 0 !important;
    list-style: none !important;
}
.bfm .bfm-step {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin: 0 !important;
    padding: 0 0 16px !important;
    list-style: none !important;
    font-size: 13px;
    line-height: 1.9;
    color: var(--bfm-text-2);
}
.bfm .bfm-step:last-child {
    padding-bottom: 0 !important;
}
.bfm-step::before {
    content: "";
    position: absolute;
    right: 13px;
    top: 30px;
    bottom: 2px;
    width: 2px;
    border-radius: 2px;
    background: var(--bfm-line-2);
}
.bfm-step:last-child::before {
    display: none;
}
.bfm-step-n {
    position: relative;
    z-index: 1;
    flex: 0 0 28px;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1.5px solid var(--bfm-brand-100);
    border-radius: 50%;
    background: var(--bfm-brand-50);
    color: var(--bfm-brand-dd);
    font-size: 13px;
    font-weight: 700;
}
.bfm-steps.is-sent .bfm-step:nth-child(-n+2) .bfm-step-n {
    border-color: var(--bfm-brand-d);
    background: var(--bfm-brand-d);
    color: #fff;
}
.bfm-steps.is-sent .bfm-step:nth-child(-n+2)::before {
    background: var(--bfm-brand-100);
}

/* ---------------------------------------------------------------- after sending */
.bfm-state {
    padding: 42px 32px 34px !important;
    text-align: center;
}
.bfm-state-badge {
    width: 84px;
    height: 84px;
    margin: 0 auto 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 28%, #2AD4CB 0%, var(--bfm-brand-d) 75%);
    color: #fff;
    box-shadow: 0 0 0 10px var(--bfm-brand-50), 0 18px 30px -14px rgba(11, 143, 136, .7);
    animation: bfm-pop .5s cubic-bezier(.2, 1.4, .4, 1) both;
}
.bfm-state-badge svg {
    width: 40px;
    height: 40px;
}
.bfm-state--fail .bfm-state-badge {
    background: radial-gradient(circle at 30% 28%, #F87171 0%, var(--bfm-danger) 75%);
    box-shadow: 0 0 0 10px var(--bfm-danger-50), 0 18px 30px -14px rgba(220, 38, 38, .6);
}
.bfm .bfm-state-title {
    margin: 0 0 8px !important;
    padding: 0 !important;
    font-family: inherit !important;
    font-size: 21px !important;
    font-weight: 700 !important;
    line-height: 1.7 !important;
    color: var(--bfm-navy) !important;
    text-align: center !important;
}
.bfm .bfm-state-msg {
    max-width: 520px;
    margin: 0 auto !important;
    font-size: 14px !important;
    line-height: 2.1 !important;
    color: var(--bfm-text-2) !important;
    text-align: center !important;
}
.bfm-receipt {
    max-width: 440px;
    margin: 24px auto 0;
    padding: 4px 18px;
    border: 1px dashed #CBD5E1;
    border-radius: 16px;
    background: var(--bfm-field);
    text-align: right;
}
.bfm-receipt-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 11px 0;
    border-bottom: 1px solid var(--bfm-line-2);
    font-size: 13px;
    color: var(--bfm-muted);
}
.bfm-receipt-row:last-child {
    border-bottom: 0;
}
.bfm-receipt-row b {
    margin-right: auto;
    font-size: 14px;
    color: var(--bfm-ink);
}
.bfm .bfm-receipt-code {
    font-size: 19px !important;
    letter-spacing: 1px;
    color: var(--bfm-brand-dd) !important;
}
.bfm .bfm-copy {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    height: 32px;
    margin: 0;
    padding: 0 10px;
    border: 1px solid var(--bfm-line);
    border-radius: 10px;
    background: #fff;
    color: var(--bfm-text-2);
    font-family: inherit !important;
    font-size: 12px;
    cursor: pointer;
}
.bfm-copy svg {
    width: 15px;
    height: 15px;
}
.bfm .bfm-copy.is-done {
    border-color: var(--bfm-brand-100);
    background: var(--bfm-brand-50);
    color: var(--bfm-brand-d);
}
.bfm .bfm-state-note {
    margin: 12px 0 0 !important;
    font-size: 12px !important;
    color: var(--bfm-muted) !important;
    text-align: center !important;
}
.bfm-state-actions {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 10px;
    margin-top: 24px;
}
.bfm .bfm-state-actions .bfm-btn--primary {
    flex: 0 1 auto;
}
@keyframes bfm-pop {
    from { transform: scale(.4); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

/* ---------------------------------------------------------------- the page around the form
   The old template sat in a bordered white box (.mod-content-internal); the
   card carries its own border now. Above it, the page's info box (panel
   content: h1 + h2 + p) becomes the header card. Only its look changes --
   the text, and the h1, stay exactly as the panel has them. */
.mod-content-internal:has(> .bfm) {
    margin-top: 0 !important;
    padding: 0 !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    box-shadow: none !important;
}
.content-holder:has(.bfm) .info_boxes .mod-holder {
    background: transparent !important;
}
.content-holder:has(.bfm) .info_boxes .mod-title:has(.mod-title-label:empty) {
    display: none !important;
}
.content-holder:has(.bfm) .info_boxes .mod-inner {
    position: relative;
    z-index: 0;
    overflow: hidden;
    margin: 4px 0 22px !important;
    padding: 34px 140px 34px 40px !important;
    border-radius: 24px !important;
    background:
        radial-gradient(70% 140% at 0% 100%, rgba(26, 195, 186, .38) 0%, rgba(26, 195, 186, 0) 62%),
        linear-gradient(118deg, #002B51 0%, #063E63 48%, #0A6B77 100%) !important;
    box-shadow: 0 22px 44px -26px rgba(0, 43, 81, .65) !important;
    color: #fff !important;
    font-family: bpaYekan, iranyekan, Tahoma, sans-serif !important;
    text-align: right !important;
}
.content-holder:has(.bfm) .info_boxes .mod-inner::before {
    content: "";
    position: absolute;
    right: 36px;
    top: 50%;
    width: 76px;
    height: 76px;
    margin-top: -38px;
    border: 1px solid rgba(255, 255, 255, .22);
    border-radius: 24px;
    background: rgba(255, 255, 255, .12) url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='1.6' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M20.5 11.6a7.6 7.6 0 0 1-11.2 6.7L4 19.6l1.4-4.8a7.6 7.6 0 1 1 15.1-3.2z'/%3E%3Cpath d='M9 10.3h7M9 13.4h4.6'/%3E%3C/svg%3E") center / 40px no-repeat;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .25);
}
.content-holder:has(.bfm) .info_boxes .mod-inner::after {
    content: "";
    position: absolute;
    z-index: -1;
    left: -70px;
    top: -90px;
    width: 280px;
    height: 280px;
    border: 40px solid rgba(255, 255, 255, .05);
    border-radius: 50%;
}
.content-holder:has(.bfm) .info_boxes .mod-inner h1 {
    margin: 0 0 8px !important;
    padding: 0 !important;
    font-family: inherit !important;
    font-size: 22px !important;
    font-weight: 700 !important;
    line-height: 1.7 !important;
    color: #fff !important;
    text-align: right !important;
}
.content-holder:has(.bfm) .info_boxes .mod-inner h2 {
    max-width: 780px;
    margin: 0 0 6px !important;
    padding: 0 !important;
    font-family: inherit !important;
    font-size: 14.5px !important;
    font-weight: 400 !important;
    line-height: 2 !important;
    color: rgba(255, 255, 255, .88) !important;
    text-align: right !important;
}
.content-holder:has(.bfm) .info_boxes .mod-inner p {
    max-width: 780px;
    margin: 0 !important;
    padding: 0 !important;
    font-family: inherit !important;
    font-size: 13px !important;
    line-height: 2 !important;
    color: rgba(255, 255, 255, .68) !important;
}
.content-holder:has(.bfm) .info_boxes .mod-inner a {
    color: #fff !important;
    text-decoration: underline !important;
}
/* A long box -- lists, tables, images, like the careers posting -- reads
   better as a light card than as a tall dark block, and keeps whatever
   colours the panel gave its text. */
.content-holder:has(.bfm) .info_boxes .mod-inner:has(ul, ol, table, img, iframe) {
    padding: 26px 30px !important;
    background: #fff !important;
    border: 1px solid #E3E8EF !important;
    border-top: 4px solid #1AC3BA !important;
    box-shadow: 0 1px 2px rgba(16, 24, 40, .04), 0 14px 34px -18px rgba(16, 24, 40, .18) !important;
    color: #374151 !important;
    line-height: 2 !important;
}
.content-holder:has(.bfm) .info_boxes .mod-inner:has(ul, ol, table, img, iframe)::before,
.content-holder:has(.bfm) .info_boxes .mod-inner:has(ul, ol, table, img, iframe)::after {
    display: none !important;
}
.content-holder:has(.bfm) .info_boxes .mod-inner:has(ul, ol, table, img, iframe) h1 {
    color: #002B51 !important;
}
.content-holder:has(.bfm) .info_boxes .mod-inner:has(ul, ol, table, img, iframe) h2,
.content-holder:has(.bfm) .info_boxes .mod-inner:has(ul, ol, table, img, iframe) p {
    max-width: none;
    color: #4B5563 !important;
}
.content-holder:has(.bfm) .info_boxes .mod-inner:has(ul, ol, table, img, iframe) a {
    color: #0B8F88 !important;
}

/* ---------------------------------------------------------------- narrower screens */
@media (max-width: 991px) {
    .bfm-grid {
        grid-template-columns: minmax(0, 1fr);
    }
    .bfm-aside {
        display: grid;
        grid-template-columns: repeat(2, minmax(0, 1fr));
        align-items: start;
    }
}
@media (max-width: 767px) {
    .content-holder:has(.bfm) .info_boxes .mod-inner {
        margin: 0 0 16px !important;
        padding: 22px 20px 24px !important;
        border-radius: 20px !important;
    }
    .content-holder:has(.bfm) .info_boxes .mod-inner::before {
        position: relative;
        right: auto;
        top: auto;
        display: block;
        width: 54px;
        height: 54px;
        margin: 0 0 14px;
        border-radius: 17px;
        background-size: 30px;
    }
    .content-holder:has(.bfm) .info_boxes .mod-inner h1 {
        font-size: 17.5px !important;
    }
    .content-holder:has(.bfm) .info_boxes .mod-inner h2 {
        font-size: 13.5px !important;
    }
    .content-holder:has(.bfm) .info_boxes .mod-inner p {
        font-size: 12.5px !important;
    }
    .content-holder:has(.bfm) .info_boxes .mod-inner:has(ul, ol, table, img, iframe) {
        padding: 20px 18px !important;
    }
    .bfm-aside {
        grid-template-columns: minmax(0, 1fr);
    }
}
@media (max-width: 640px) {
    .bfm {
        --bfm-radius: 18px;
    }
    .bfm-head {
        flex-direction: column;
        gap: 12px;
        padding: 20px 18px 18px;
    }
    .bfm-desc {
        padding: 14px 18px 0;
    }
    .bfm-body {
        padding: 20px 18px 22px;
    }
    .bfm-fields {
        grid-template-columns: minmax(0, 1fr);
        gap: 18px;
    }
    .bfm .bfm-title {
        font-size: 17px !important;
    }
    .bfm-captcha {
        flex-direction: column;
        align-items: stretch;
    }
    .bfm-captcha-widget {
        flex-basis: auto;
    }
    .bfm-actions .bfm-btn {
        flex: 1 1 100%;
        width: 100%;
        min-width: 0;
    }
    .bfm-state {
        padding: 32px 18px 26px !important;
    }
    .bfm .bfm-drop {
        flex-wrap: wrap;
    }
    .bfm-drop-name {
        flex: 1 1 100%;
        margin-right: 0;
    }
}
@media (prefers-reduced-motion: reduce) {
    .bfm *,
    .bfm *::before,
    .bfm *::after {
        animation: none !important;
        transition: none !important;
    }
}
