/* ==========================================================================
   Layout: CTA Banner
   Full-width banner with background image, centered text, CTA button.
   ========================================================================== */

.pb-cb-wrap {
    padding: 100px 16px 0 16px;
}

.pb-cb {
    max-width: 1280px;
    margin: 0 auto;
    border-radius: var(--8, 8px);
    padding: 80px 24px;
    background-color: #4a5af0;
    background-size: cover;
    background-position: center;
    text-align: center;
    overflow: hidden;
    box-shadow: 0 19px 134px 0 rgba(0, 0, 0, 0.07), 0 9.619px 58.416px 0 rgba(0, 0, 0, 0.05), 0 3.8px 21.775px 0 rgba(0, 0, 0, 0.04), 0 0.831px 7.747px 0 rgba(0, 0, 0, 0.02);
}

.pb-cb__inner {
    max-width: 760px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* Heading ----------------------------------------------------------------- */

.pb-cb__heading {
    font-family: var(--second-family);
    font-size: 54px !important;
    font-style: normal;
    font-weight: 550;
    line-height: 64px; /* 118.519% */
    letter-spacing: -1.08px;
    margin: 0 0 24px 0;
    letter-spacing: -0.03em;
    background: linear-gradient(159deg, rgba(255, 255, 255, 0.9) 0%, #fff 50%, rgba(255, 255, 255, 0.9) 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.pb-cb__heading em,
.pb-cb__heading i {
    font-style: italic;
    font-weight: 700;
}

.pb-cb__heading strong {
    font-weight: 700;
}

/* Description ------------------------------------------------------------- */

.pb-cb__desc {
    font-family: var(--font-family);
    color: var(--White-Transparent-80, rgba(255, 255, 255, 0.80));
    text-align: center;
    font-size: 16px;
    font-style: normal;
    font-weight: 450;
    line-height: 24px; /* 150% */
    letter-spacing: 0.16px;
    margin: 0 0 32px 0;
    max-width: 645px;
}

/* Responsive -------------------------------------------------------------- */

@media (max-width: 1024px) {
    .pb-cb__heading {
        font-size: 40px;
    }
}

@media (max-width: 768px) {
    .pb-cb-wrap {
        padding: 40px 16px;
    }

    .pb-cb {
        padding: 56px 24px;
        border-radius: 16px;
    }

    .pb-cb__heading {
        font-size: 30px;
        line-height: 127%;
    }

    .pb-cb__desc {
        font-size: 14px;
    }

    .pb-cb__inner {
        gap: 20px;
    }
}

/* ── Send CV Modal ─────────────────────────────────────────────────────────── */

.pb-cb__modal {
    position: fixed;
    inset: 0;
    z-index: 9999;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.pb-cb__modal[hidden] {
    display: none;
}

.pb-cb__modal.is-open {
    opacity: 1;
}

/* Centered layout when status panel is active */
.pb-cb__modal.is-status {
    align-items: center;
    padding: 16px;
}

.pb-cb__modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(4px);
}

/* ── Form modal box (bottom sheet) ── */
.pb-cb__modal-box {
    position: relative;
    z-index: 1;
    background: var(--base-white, #fff);
    border-radius: 16px 16px 0 0;
    width: min(920px, calc(100vw - 32px));
    overflow: hidden;
    transform: translateY(100%);
    transition: transform 0.4s cubic-bezier(0.32, 0.72, 0, 1);
}

.pb-cb__modal-scroll {
    overflow-y: auto;
    max-height: calc(100vh - 64px);
    padding: 32px 32px 16px 32px;
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 0, 0, 0.12) transparent;
}

.pb-cb__modal-scroll::-webkit-scrollbar {
    width: 4px;
}

.pb-cb__modal-scroll::-webkit-scrollbar-track {
    background: transparent;
}

.pb-cb__modal-scroll::-webkit-scrollbar-thumb {
    background: rgba(0, 0, 0, 0.12);
    border-radius: 4px;
}

.pb-cb__modal.is-open .pb-cb__modal-box {
    transform: translateY(0);
}

/* ── Status card (compact, centered) ── */
.pb-cb__modal.is-status .pb-cb__modal-box {
    border-radius: 16px;
    width: min(420px, calc(100vw - 32px));
    /* start position set by JS during entry animation */
}

.pb-cb__modal.is-status .pb-cb__modal-scroll {
    max-height: none;
    overflow-y: visible;
    padding: 32px;
}

/* Slide up when closing in status mode */
.pb-cb__modal.is-status:not(.is-open) .pb-cb__modal-box {
    transform: translateY(-20px);
}

.pb-cb__modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: none;
    border: none;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.15s;
}

.pb-cb__modal-close:hover {
    background: var(--base-bg, #f5f6fa);
}

/* Status has its own close button */
.pb-cb__modal.is-status .pb-cb__modal-close {
    display: none;
}

body.pb-cb-modal-open {
    overflow: hidden;
}
.pb-cb__modal .textSingle{
    display: none;
}
.pb-cb__modal .sendCv_cont p{
color: var(--gray-700, #6C7680);
text-align: center;
font-size: 14px;
font-style: normal;
font-weight: 450;
line-height: 22px; /* 157.143% */
letter-spacing: 0.28px;
}
.pb-cb__modal .sendCv_cont a{
    color: var(--gray-800, #343A40);
font-size: 14px;
font-style: normal;
font-weight: 450;
line-height: 22px;
letter-spacing: 0.28px;
text-decoration-line: underline;
text-decoration-style: solid;
text-decoration-skip-ink: auto;
text-decoration-thickness: auto;
text-underline-offset: auto;
text-underline-position: from-font;
}
.pb-cb__modal .sendCVwr{
grid-column: span 2;
}
.pb-cb__modal .pb-ct__cf7-wrap .iti__arrow {

    position: relative;
    left: 4px;
    top: 1px;
}
.pb-cb__modal .sendCv_title{
font-size: 20px;
font-style: normal;
font-weight: 600;
line-height: 28px;
background: linear-gradient(180deg, rgba(0, 5, 25, 0.70) 0%, #000519 50%);
background-clip: text;
-webkit-background-clip: text;
-webkit-text-fill-color: transparent;
}
.pb-cb__modal .sendCv_desc{
color: var(--text-base, #61647A);
font-size: 16px;
font-style: normal;
font-weight: 450;
line-height: 24px; /* 150% */
letter-spacing: 0.16px;
margin-bottom: 24px;
}
/* ── sendCv form panel ─────────────────────────────────────────────────────── */

.sendCv_title {
    font-family: var(--second-family);
    font-size: 32px;
    font-weight: 550;
    line-height: 120%;
    letter-spacing: -0.02em;
    background: linear-gradient(169deg, rgba(0, 5, 25, 0.9) 0%, #000519 50%, rgba(0, 5, 25, 0.9) 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 12px;
}

.sendCv_desc {
    font-family: var(--font-family);
    font-size: 16px;
    font-weight: 450;
    line-height: 150%;
    color: var(--text-base, #61647a);
    margin-bottom: 32px;
}

.sendCv_cont {
    font-family: var(--font-family);
    font-size: 14px;
    color: var(--text-base, #61647a);
    margin-top: 16px;
}

/* ── sendCv status panels ──────────────────────────────────────────────────── */

.sendCv_status {
    display: none;
    flex-direction: column;
    align-items: flex-start;
    gap: 12px;
    padding-top: 8px;
}

.sendCv_status[hidden] {
    display: none !important;
}

.sendCv_status.is-visible {
    display: flex;
}

.sendCv_status-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.15s;
}

.sendCv_status-close:hover {
    background: var(--base-bg, #f5f6fa);
}

.sendCv_status-icon {
    width: 48px;
    height: 48px;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 8px;
    flex-shrink: 0;
    overflow: hidden;
}

.sendCv_status--success .sendCv_status-icon {
    background: #eef3fe;
}

.sendCv_status--error .sendCv_status-icon {
    background: #fef0f0;
}

.sendCv_status-icon img {
    width: 28px;
    height: 28px;
    object-fit: contain;
    display: block;
}

.sendCv_status-title {
    font-family: var(--second-family);
    font-size: 28px;
    font-weight: 600;
    line-height: 120%;
    letter-spacing: -0.01em;
    color: var(--text-bold, #0d0d0d);
    margin: 0;
}

.sendCv_status-desc {
    font-family: var(--font-family);
    font-size: 14px;
    font-weight: 450;
    line-height: 150%;
    color: var(--text-base, #61647a);
    margin: 0 0 8px;
}

.sendCv_status-btn {
    width: 100%;
    /* margin-top: 4px; */
}

.sendCv_status-btn a {
    display: block;
    width: 100%;
    text-align: center;
    background: var(--brand-blue-500, #1b5df8);
    color: #fff;
    font-family: var(--font-family);
    font-size: 15px;
    font-weight: 600;
    border-radius: 10px;
    text-decoration: none;
    padding: 14px 24px;
    box-sizing: border-box;
    transition: background 0.18s;
}

.sendCv_status-btn a:hover {
    background: #1a55e0;
}

@media (max-width: 768px) {
    .pb-cb__modal-box {
        width: 100%;
        border-radius: 16px 16px 0 0;
    }

    .pb-cb__modal-scroll {
        padding: 48px 20px 36px;
    }

    .pb-cb__modal.is-status {
        padding: 12px;
    }

    .pb-cb__modal.is-status .pb-cb__modal-box {
        width: 100%;
        border-radius: 16px;
    }

    .pb-cb__modal.is-status .pb-cb__modal-scroll {
        padding: 28px 20px 24px;
    }

    .sendCv_title {
        font-size: 24px;
    }

    .sendCv_status-title {
        font-size: 22px;
    }
}

/* ── CF7 form styles (mirrored from layout-contact_us.css) ─────────────────── */
/* Scoped to .pb-cb__modal so they only apply inside the send-CV modal.        */

.pb-cb__modal .pb-ct__cf7-wrap .wpcf7 {
    margin: 0;
    padding: 0;
}

.pb-cb__modal .pb-ct__cf7-wrap .wpcf7-form p {
    margin: 0 0 16px;
}

.pb-cb__modal .pb-ct__cf7-wrap .wpcf7-form-control-wrap {
    display: block;
}

.pb-cb__modal .pb-ct__cf7-wrap .wpcf7-form label,
.pb-cb__modal .pb-ct__cf7-wrap .wpcf7-form .wpcf7-form-control-wrap+br+span {
    display: block;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted, #888);
    margin-bottom: 6px;
}

.pb-cb__modal .wpcf7-spinner,
.pb-cb__modal .wpcf7-response-output {
    display: none !important;
}

/* ── formWrap grid ── */

.pb-cb__modal .pb-ct__cf7-wrap .formWrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px 12px;
}

.pb-cb__modal .pb-ct__cf7-wrap .formWrap label.half,
.pb-cb__modal .pb-ct__cf7-wrap .formWrap label.full {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin: 0;
    font-size: inherit;
    font-weight: inherit;
    letter-spacing: inherit;
    text-transform: inherit;
    color: inherit;
}

.pb-cb__modal .pb-ct__cf7-wrap .formWrap label.half { grid-column: span 1; }
.pb-cb__modal .pb-ct__cf7-wrap .formWrap label.full  { grid-column: span 2; }

.pb-cb__modal .pb-ct__cf7-wrap .formWrap > .wpcf7-submit,
.pb-cb__modal .pb-ct__cf7-wrap .formWrap > .pb-ct__submit-wrap {
    grid-column: span 2;
}

.pb-cb__modal .pb-ct__cf7-wrap .formWrap .formLable {
    font-family: var(--font-family);
    font-weight: 500;
    font-size: 12px;
    line-height: 133%;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--text-base);
}

.pb-cb__modal .pb-ct__cf7-wrap .formWrap .wpcf7-form-control-wrap {
    display: block;
    width: 100%;
}

/* ── Inputs / textarea / select ── */

.pb-cb__modal .pb-ct__cf7-wrap .wpcf7-form input[type="text"],
.pb-cb__modal .pb-ct__cf7-wrap .wpcf7-form input[type="email"],
.pb-cb__modal .pb-ct__cf7-wrap .wpcf7-form input[type="tel"],
.pb-cb__modal .pb-ct__cf7-wrap .wpcf7-form input[type="url"],
.pb-cb__modal .pb-ct__cf7-wrap .wpcf7-form textarea,
.pb-cb__modal .pb-ct__cf7-wrap .wpcf7-form select {
    width: 100%;
    height: 56px;
    padding: 12px 16px;
    background: var(--bg-light, #f5f6fa);
    border: 1.5px solid transparent;
    border-radius: 4px;
    font-family: var(--font-family);
    font-weight: 500;
    font-size: 16px;
    line-height: 150%;
    letter-spacing: 0.01em;
    color: var(--text-bold);
    transition: border-color 0.15s ease;
    box-sizing: border-box;
}

.pb-cb__modal .pb-ct__cf7-wrap .wpcf7-form textarea {
    height: 120px;
    resize: vertical;
}

.pb-cb__modal .pb-ct__cf7-wrap .wpcf7-form input:focus,
.pb-cb__modal .pb-ct__cf7-wrap .wpcf7-form textarea:focus,
.pb-cb__modal .pb-ct__cf7-wrap .wpcf7-form select:focus {
    outline: none;
    border-color: var(--brand-blue-300, #93b5fd);
}

.pb-cb__modal .pb-ct__cf7-wrap .wpcf7-form input[type="text"]::placeholder,
.pb-cb__modal .pb-ct__cf7-wrap .wpcf7-form input[type="email"]::placeholder,
.pb-cb__modal .pb-ct__cf7-wrap .wpcf7-form input[type="tel"]::placeholder,
.pb-cb__modal .pb-ct__cf7-wrap .wpcf7-form input[type="url"]::placeholder,
.pb-cb__modal .pb-ct__cf7-wrap .wpcf7-form textarea::placeholder {
    color: var(--text-invisible);
}

/* ── Custom select arrow ── */

.pb-cb__modal .pb-ct__cf7-wrap .wpcf7-form select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    padding-right: 40px;
    cursor: pointer;
}

.pb-cb__modal .pb-ct__cf7-wrap .pb-ct__select-wrap {
    position: relative;
    display: block;
}

.pb-cb__modal .pb-ct__cf7-wrap .pb-ct__select-wrap::after {
    content: '';
    position: absolute;
    right: 14px;
    top: 50%;
    width: 10px;
    height: 6px;
    background-image: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4.77293 3.71229L8.48528 0L9.54593 1.06066L4.77293 5.83366L0 1.06066L1.06066 0L4.77293 3.71229Z' fill='%23121733'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-size: contain;
    pointer-events: none;
    transform: translateY(-50%);
}

/* ── Radio → custom circle buttons ── */

.pb-cb__modal .pb-ct__cf7-wrap .wpcf7-radio {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    align-items: center;
}

.pb-cb__modal .pb-ct__cf7-wrap .wpcf7-radio .wpcf7-list-item {
    margin: 0;
    height: auto;
}

.pb-cb__modal .pb-ct__cf7-wrap .wpcf7-radio .wpcf7-list-item label {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    height: auto;
    padding: 0;
    background: none;
    border: none;
    border-radius: 0;
    font-family: var(--font-family);
    font-weight: 450;
    font-size: 15px;
    line-height: 150%;
    color: var(--text-base, #61647a);
    cursor: pointer;
    margin: 0;
    text-transform: none;
}

.pb-cb__modal .pb-ct__cf7-wrap .wpcf7-radio input[type="radio"] {
    -webkit-appearance: none;
    appearance: none;
    position: static;
    opacity: 1;
    width: 24px;
    height: 24px;
    min-width: 24px;
    border-radius: 50%;
    background: #f5f6fa;
    border: 1px solid rgba(18, 23, 51, 0.04);
    cursor: pointer;
    margin: 0;
    pointer-events: auto;
    transition: background 0.15s, border-color 0.15s;
    flex-shrink: 0;
}

.pb-cb__modal .pb-ct__cf7-wrap .wpcf7-radio input[type="radio"]:checked {
    background: radial-gradient(circle, #1b5df8 7px, #f3f7ff 7px);
    border-color: rgba(27, 93, 248, 0.15);
}

.pb-cb__modal .pb-ct__cf7-wrap .wpcf7-radio .wpcf7-list-item label:hover input[type="radio"]:not(:checked) {
    border-color: rgba(27, 93, 248, 0.2);
    background: #eef3fe;
}

/* ── Submit button ── */

.pb-cb__modal .pb-ct__cf7-wrap .wpcf7-form .wpcf7-submit {
    width: 100%;
    height: 52px;
    background: var(--brand-blue-500, #2f6cfa);
    color: #fff;
    font-size: 16px;
    font-weight: 600;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    transition: background 0.2s ease, opacity 0.2s ease;
    margin-top: 8px;
}

.pb-cb__modal .pb-ct__cf7-wrap .wpcf7-form .wpcf7-submit:hover:not(:disabled) {
    background: #1a5ce0;
}

.pb-cb__modal .pb-ct__cf7-wrap .wpcf7-form .wpcf7-submit:disabled {
    opacity: 0.45;
    cursor: not-allowed;
}

/* ── sendButton label wrapper ── */

.pb-cb__modal label.sendButton {
        grid-column: span 2;
    display: flex !important;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100% !important;
    max-width: 100%!important;
    background: var(--brand-blue-500);
    border: 1.2px solid var(--base-border-black);
    border-radius: 8px;
    padding: 10px 26px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-sizing: border-box;
    cursor: not-allowed;
    opacity: 0.5;
    transition: opacity 0.2s ease, background 0.2s ease;
    margin-top: 8px;
}

.pb-cb__modal label.sendButton:has(input[type="submit"]:not(:disabled)) {
    opacity: 1;
    cursor: pointer;
}

.pb-cb__modal label.sendButton:has(input[type="submit"]:not(:disabled)):hover {
    background: #1a5ce0;
}

.pb-cb__modal .sendLabel {
    font-family: var(--second-family);
    font-weight: 600;
    font-size: 16px;
    line-height: 150%;
    color: #fff;
}

.pb-cb__modal .sendButton .arrow {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.pb-cb__modal .sendButton .loading {
    display: none;
    align-items: center;
    flex-shrink: 0;
}

.pb-cb__modal .sendButton .loading svg {
    animation: pb-ct-spin 0.7s linear infinite;
}

.pb-cb__modal .sendButton .pb-ct__submit-wrap {
    position: absolute;
    width: 0;
    height: 0;
    overflow: hidden;
    opacity: 0;
}

.pb-cb__modal .pb-ct__cf7-wrap .pb-ct__submit-wrap {
    position: relative;
}

/* ── Validation errors ── */

.pb-cb__modal .wpcf7-not-valid {
    border: 1px solid var(--system-red-400) !important;
}

.pb-cb__modal .wpcf7-not-valid-tip {
    font-weight: 500;
    font-size: 14px;
    line-height: 100%;
    color: var(--system-red-400);
    margin-top: 5px;
}

.pb-cb__modal .wpcf7-form-control-wrap:not([data-touched]) .wpcf7-not-valid {
    border: 1.5px solid transparent !important;
}

.pb-cb__modal .wpcf7-form-control-wrap:not([data-touched]) .wpcf7-not-valid-tip {
    display: none;
}

/* ── Phone field (intl-tel-input) ── */

.pb-cb__modal .pb-ct__cf7-wrap .iti {
    width: 100%;
    display: block;
}

.pb-cb__modal .pb-ct__cf7-wrap .iti__selected-country {
    display: flex;
    align-items: center;
    height: 56px;
    padding: 0 10px 0 14px;
    background: var(--gray-25);
    background-color: var(--gray-25) !important;
    border: 0px solid transparent;
    border-radius: 8px 0 0 8px;
    cursor: pointer;
    white-space: nowrap;
}

.pb-cb__modal .pb-ct__cf7-wrap .iti__selected-dial-code {
    font-size: 15px;
    font-weight: 500;
    color: var(--text-bold, #0d0d0d);
}

.pb-cb__modal .pb-ct__cf7-wrap .iti__arrow {
    width: 10px;
    height: 6px;
    flex-shrink: 0;
    background: url("data:image/svg+xml,%3Csvg width='10' height='6' viewBox='0 0 10 6' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M4.77293 3.71229L8.48528 0L9.54593 1.06066L4.77293 5.83366L0 1.06066L1.06066 0L4.77293 3.71229Z' fill='%23121733' fill-opacity='0.4'/%3E%3C/svg%3E") no-repeat center;
    background-size: contain;
    border: none !important;
    margin-left: 2px;
}

.pb-cb__modal .pb-ct__cf7-wrap .iti__tel-input {
    border-radius: 4px !important;
}

/* ── Mobile form ── */

@media (max-width: 768px) {
    .pb-cb__modal .pb-ct__cf7-wrap .formWrap {
        display: block;
    }

    .pb-cb__modal .pb-ct__cf7-wrap .formWrap label {
        margin-bottom: 12px !important;
        display: block !important;
    }

    .pb-cb__modal .pb-ct__cf7-wrap .formWrap label.sendButton {
        display: flex !important;
    }

    .pb-cb__modal .pb-ct__cf7-wrap .formWrap .formLable {
        font-size: 10px;
        line-height: 140%;
        letter-spacing: 0.05em;
        margin-bottom: 6px;
        display: block;
    }
    .pb-cb__heading{
        font-size: 28px !important;
    }
    .pb-cb{
        padding: 40px 16px;
    }
    .pb-cb-wrap{
        padding: 20px 8px 0px 8px;
    }
    .pb-cb__desc{
        margin-bottom: 8px;
    }
    .pb-cb__heading{
        margin-bottom: 8px;
    }
    .pb-cb__modal .pb-ct__cf7-wrap .wpcf7-radio .wpcf7-list-item label{
            display: inline-flex !important;
    }
    .pb-cb__modal .pb-ct__cf7-wrap .wpcf7-radio .wpcf7-list-item label{
       font-size: 14px;
font-style: normal;
font-weight: 450; 
    }
    .pb-cb__modal .sendLabel{
        text-transform: none;
        font-size: 14px;
        font-style: normal;
        font-weight: 600;
        line-height: 18px; /* 128.571% */
        letter-spacing: 0.14px;
    }
    .pb-cb__modal label.sendButton{
        height: 48px;
    }
}

.pb-cb__modal .full.useLabel .formLable {
    display: block;
    margin-bottom: 20px;
}

/* ── Sending state (spinner) ── */

.pb-cb__modal .pb-ct__submit-wrap {
    position: relative;
}

.pb-cb__modal .pb-ct__spin-el {
    position: absolute;
    right: 18px;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    display: none;
    pointer-events: none;
}

.pb-cb__modal .pb-ct__spin-el svg {
    animation: pb-ct-spin 0.7s linear infinite;
    display: block;
}

.pb-cb__modal .sendCv.is-sending .pb-ct__spin-el {
    display: block;
}

.pb-cb__modal .sendCv.is-sending label.sendButton .arrow {
    display: none;
}

.pb-cb__modal .sendCv.is-sending label.sendButton .loading {
    display: flex;
}

@keyframes pb-ct-spin {
    from { transform: rotate(0deg); }
    to   { transform: rotate(360deg); }
}

/* ── File upload field (codedropz) ─────────────────────────────────────────── */

/* Positioning context: label wraps the absolute .cv_attach and .dnd-upload-status */
.pb-cb__modal .pb-ct__cf7-wrap .formWrap label.full:has(.codedropz-upload-wrapper) {
    position: relative;
}

.pb-cb__modal .pb-ct__cf7-wrap .codedropz-upload-wrapper {
    display: block;
    width: 100%;
    position: relative; /* status overlay is relative to wrapper */
}

/* Handler — styled as an input field */
.pb-cb__modal .pb-ct__cf7-wrap .codedropz-upload-handler {
    position: relative;
    width: 100%;
    height: 56px;
    background: var(--bg-light, #f5f6fa);
    border: 1.5px solid transparent;
    border-radius: 4px;
    cursor: pointer;
    box-sizing: border-box;
    transition: border-color 0.15s;
    overflow: hidden;
}

.pb-cb__modal .pb-ct__cf7-wrap .codedropz-upload-handler:hover {
    border-color: var(--brand-blue-300, #93b5fd);
}

/* "Attach file" placeholder — hidden once a file status is present */
.pb-cb__modal .pb-ct__cf7-wrap .codedropz-upload-handler::before {
    content: 'Attach file';
    position: absolute;
    left: 16px;
    top: 50%;
    transform: translateY(-50%);
    font-family: var(--font-family);
    font-size: 16px;
    font-weight: 500;
    line-height: 1;
    color: var(--text-invisible, rgba(18, 23, 51, 0.25));
    pointer-events: none;
}

.pb-cb__modal .pb-ct__cf7-wrap .codedropz-upload-wrapper:has(.dnd-upload-status) .codedropz-upload-handler::before {
    display: none;
}

/* Hide drag-drop UI, counter, and progress bar */
.pb-cb__modal .pb-ct__cf7-wrap .codedropz-upload-inner,
.pb-cb__modal .pb-ct__cf7-wrap .dnd-upload-counter,
.pb-cb__modal .pb-ct__cf7-wrap .dnd-progress-bar {
    display: none !important;
}

/* ── Uploaded file — overlays the handler as an inline row ── */

.pb-cb__modal .pb-ct__cf7-wrap .dnd-upload-status {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 56px;
    display: flex;
    align-items: center;
    gap: 10px;
    /* right padding reserves space for the Attach button */
    padding: 0 108px 0 12px;
    box-sizing: border-box;
    pointer-events: none;
    z-index: 2;
}
@media(max-width:768px){
    .pb-cb__modal .pb-ct__cf7-wrap .dnd-upload-status{
       padding: 0 115px 0 12px; 
    }
}
/* File type icon */
.pb-cb__modal .pb-ct__cf7-wrap .dnd-upload-image {
    width: 28px;
    height: 28px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

/* Hide plugin's default file span — replaced by JS-injected SVG */
.pb-cb__modal .pb-ct__cf7-wrap .dnd-upload-image .file {
    display: none;
}

.pb-cb__modal .pb-ct__cf7-wrap .dnd-upload-image svg.cv-file-icon {
    width: 100%;
    height: 100%;
    flex-shrink: 0;
}

/* Details row: name + remove button */
.pb-cb__modal .pb-ct__cf7-wrap .dnd-upload-details {
    display: flex;
    align-items: center;
    min-width: 0;
    position: relative;
}

.pb-cb__modal .pb-ct__cf7-wrap .dnd-upload-status .name {
    display: flex;
    align-items: center;
    gap: 6px;
    flex: 1;
    min-width: 0;
    overflow: hidden;
}

.pb-cb__modal .pb-ct__cf7-wrap .dnd-upload-status .name > span {
    font-family: var(--font-family);
    font-size: 15px;
    font-weight: 500;
    color: var(--text-bold, #0d0d0d);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.pb-cb__modal .pb-ct__cf7-wrap .dnd-upload-status .name em {
    font-style: normal;
    font-size: 13px;
    font-weight: 400;
    color: var(--text-muted, #aaa);
    white-space: nowrap;
    flex-shrink: 0;
}

/* Hide the span wrapping the hidden file input */
.pb-cb__modal .pb-ct__cf7-wrap .dnd-upload-details span:has(input[type="hidden"]) {
    display: none;
}

/* Hide inline error text — error is shown via cv_settings-size.is-error instead */
.pb-cb__modal .pb-ct__cf7-wrap .dnd-upload-details .has-error {
    display: none !important;
}

/* Remove (×) button */
.pb-cb__modal .pb-ct__cf7-wrap .remove-file {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 14px;
    height: 14px;
    flex-shrink: 0;
    margin-left: auto;
    border-radius: 50%;
    text-decoration: none;
    pointer-events: auto;
    transition: background 0.15s;
}
.dnd-upload-status .dnd-upload-details .name{
    padding-right: 20px;
}
.dnd-upload-status .dnd-upload-details{
    width: auto;
}
.pb-cb__modal .pb-ct__cf7-wrap .remove-file:hover {
    background: rgba(18, 23, 51, 0);
}
.dnd-upload-status .dnd-upload-details .remove-file span:after{
    background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M12 10.5849L16.2426 6.34225L17.6569 7.75646L13.4142 11.9991L17.6569 16.2417L16.2426 17.656L12 13.4133L7.75736 17.656L6.34315 16.2417L10.5858 11.9991L6.34315 7.75646L7.75736 6.34225L12 10.5849Z' fill='%23ADB5BD'/%3E%3C/svg%3E%0A");
    width: 24px;
    height: 24px;
}
.sendButton{
    width: 100%;
    height: 56px;
}
.dnd-upload-status .dnd-upload-details .remove-file{
        width: 24px;
    height: 24px;
        position: absolute;
    right: -8px;
    top: 1px;
}
.dnd-upload-status .dnd-upload-details span.has-error,
.codedropz-upload-wrapper span.has-error-msg{
    font-weight: 450;
font-size: 12px;
line-height: 133%;
letter-spacing: 0.05em;
}
/* Hide plugin notice/error messages (e.g. "Only N files allowed") */
.pb-cb__modal .pb-ct__cf7-wrap .codedropz-upload-wrapper > p,
.pb-cb__modal .pb-ct__cf7-wrap .dnd-upload-notice,
.pb-cb__modal .pb-ct__cf7-wrap .codedropz-notice,
.pb-cb__modal .pb-ct__cf7-wrap .dnd-upload-limit-notice {
    display: none !important;
}

/* "↓ Attach" button — z-index above the status overlay */
/* top: formLable(~16px) + gap(6px) + centering in 56px handler: (56−48)/2=4px → 26px */
.pb-cb__modal .pb-ct__cf7-wrap .cv_attach {
    position: absolute;
    top: 26px;
    right: 4px;
    height: 48px;
    z-index: 3;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 0 14px;
    background: #fff;
    border: 1px solid rgba(18, 23, 51, 0.1);
    border-radius: 4px;
    font-family: var(--font-family);
    font-size: 14px;
    font-weight: 600;
    color: var(--text-bold, #0d0d0d);
    white-space: nowrap;
    pointer-events: none;
    box-sizing: border-box;
}

.pb-cb__modal .pb-ct__cf7-wrap .cv_attach svg {
    flex-shrink: 0;
}

/* Settings row: file types on left, max size on right */
.pb-cb__modal .pb-ct__cf7-wrap .cv_settings {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
    margin-top: 2px;
}

.pb-cb__modal .pb-ct__cf7-wrap .cv_settings-type,
.pb-cb__modal .pb-ct__cf7-wrap .cv_settings-size {
    font-family: var(--font-family);
    font-size: 11px;
    font-weight: 500;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: var(--text-muted, #aaa);
    transition: color 0.2s;
}

.pb-cb__modal .pb-ct__cf7-wrap .cv_settings-type {
    font-weight: 600;
}

.pb-cb__modal .pb-ct__cf7-wrap .cv_settings-type.is-error,
.pb-cb__modal .pb-ct__cf7-wrap .cv_settings-size.is-error {
    color: var(--system-red-400, #e84b4b);
}
