.ewcf-shell,
.ewcf-shell * {
    box-sizing: border-box;
}

.ewcf-shell {
    position: relative;
    width: 100%;
    max-width: 608px;
    margin: 0 auto;
    padding: 0 18px 18px 0;
    background: transparent;
    color: #042746;
    font-family: "Barlow", "Inter", Arial, sans-serif;
    line-height: 1.4;
}

.ewcf-card {
    position: relative;
    z-index: 1;
    width: 100%;
    min-height: 100%;
    padding: 30px 31px 32px;
    background: #ffffff;
    box-shadow: 18px 18px 0 #003366;
}

.ewcf-form,
.ewcf-form button,
.ewcf-form input,
.ewcf-form select,
.ewcf-form textarea {
    font-family: inherit;
}

.ewcf-form {
    margin: 0;
    padding: 0;
}

.ewcf-step {
    display: none;
    margin: 0;
    padding: 0;
}

.ewcf-step.is-active {
    display: block;
}

.ewcf-progress-meta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 0 0 10px;
    color: #003358;
    font-size: 11px;
    line-height: 1.2;
    font-weight: 800;
    letter-spacing: .55px;
    text-transform: uppercase;
}

.ewcf-progress {
    width: 100%;
    height: 3px;
    margin: 0 0 25px;
    overflow: hidden;
    background: #dfe7ef;
}

.ewcf-progress > span {
    display: block;
    height: 100%;
    background: #0066CC;
}

.ewcf-card h2 {
    margin: 0 0 9px !important;
    padding: 0 !important;
    border: 0;
    color: #042746;
    font-family: inherit;
    font-size: 26px !important;
    line-height: 1.46 !important;
    font-weight: 700 !important;
    letter-spacing: -1px !important;
    text-transform: none !important;
}

.ewcf-intro {
    margin: 0 0 23px !important;
    padding: 0 !important;
    color: #546478;
    font-size: 13px;
    line-height: 1.55;
    font-weight: 400;
}

.ewcf-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px 13px;
    margin: 0;
    padding: 0;
}

.ewcf-grid-1 {
    grid-template-columns: 1fr;
}

.ewcf-field-full {
    grid-column: 1 / -1;
}

.ewcf-field {
    min-width: 0;
    margin: 0;
    padding: 0;
}

.ewcf-field label {
    display: block;
    margin: 0 0 8px;
    padding: 0;
    color: #003358;
    font-size: 11px;
    line-height: 1.35;
    font-weight: 800;
    text-transform: none;
    letter-spacing: 0;
}

.ewcf-required {
    color: #003358;
}

.ewcf-optional {
    color: #8f9aa8;
    font-weight: 500;
}

.ewcf-field input,
.ewcf-field select,
.ewcf-field textarea {
    display: block;
    width: 100%;
    max-width: none;
    margin: 0;
    border: 1px solid #cbd6e0 !important;
    border-radius: 0 !important;
    outline: 0;
    background: #fbfcfd !important;
    color: #142a40 !important;
    font-size: 13px !important;
    font-weight: 400 !important;
    line-height: 1.3 !important;
    letter-spacing: 0 !important;
    text-transform: none !important;
    box-shadow: none;
    transition: border-color .15s ease, box-shadow .15s ease, background-color .15s ease;
}

.ewcf-field input,
.ewcf-field select {
    height: 47px;
    min-height: 47px;
    padding: 0 13px !important;
}

.ewcf-field textarea {
    min-height: 104px;
    padding: 13px !important;
    resize: vertical;
    line-height: 1.5 !important;
}

.ewcf-field input::placeholder,
.ewcf-field textarea::placeholder {
    color: #a1aab5;
    opacity: 1;
}

.ewcf-field input:focus,
.ewcf-field select:focus,
.ewcf-field textarea:focus {
    border-color: #0066CC !important;
    background: #ffffff !important;
    box-shadow: 0 0 0 3px rgba(0, 102, 204, .14);
}

.ewcf-field .ewcf-invalid,
.ewcf-consent.ewcf-invalid {
    border-color: #b42318 !important;
}

.ewcf-field select {
    appearance: auto;
    -webkit-appearance: menulist;
}

.ewcf-consent-wrap {
    grid-column: 1 / -1;
    margin-top: -1px;
}

.ewcf-consent {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    margin: 0;
    padding: 0;
    color: #546478;
    font-size: 11px;
    line-height: 1.45;
    font-weight: 400;
    cursor: pointer;
}

.ewcf-consent input {
    width: 14px !important;
    height: 14px !important;
    min-height: 0 !important;
    flex: 0 0 14px;
    margin: 1px 0 0 !important;
    padding: 0 !important;
    accent-color: #0066CC;
}

.ewcf-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    margin-top: 24px;
}

.ewcf-nav-spacer {
    display: block;
}

.ewcf-back,
.ewcf-next {
    appearance: none;
    -webkit-appearance: none;
    text-transform: none !important;
    letter-spacing: 0 !important;
}

.ewcf-back {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    min-height: 32px;
    margin: 0;
    padding: 7px 0;
    border: 0 !important;
    border-radius: 0 !important;
    background: transparent !important;
    color: #465e73 !important;
    font-size: 13px !important;
    line-height: 1 !important;
    font-weight: 700 !important;
    box-shadow: none !important;
    cursor: pointer;
}

.ewcf-back:hover,
.ewcf-back:focus {
    color: #042746 !important;
    background: transparent !important;
}

.ewcf-next {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: auto;
    min-width: 126px;
    min-height: 48px;
    margin: 0 0 0 auto;
    padding: 0 18px !important;
    border: 0 !important;
    border-radius: 0 !important;
    background: #0066CC !important;
    color: #ffffff !important;
    font-size: 13px !important;
    line-height: 1 !important;
    font-weight: 800 !important;
    box-shadow: 0 12px 22px rgba(0, 102, 204, .18);
    cursor: pointer;
    transition: transform .12s ease, filter .12s ease, box-shadow .12s ease;
}

.ewcf-next:hover,
.ewcf-next:focus {
    background: #003366 !important;
    color: #ffffff !important;
    filter: none;
    transform: translateY(-1px);
    box-shadow: 0 14px 24px rgba(0, 102, 204, .25);
}

.ewcf-next:disabled {
    opacity: .68;
    cursor: wait;
    transform: none;
}

.ewcf-arrow {
    margin-top: -1px;
    font-size: 19px;
    line-height: 1;
}

.ewcf-bars {
    display: inline-flex;
    align-items: flex-end;
    gap: 2px;
    width: 14px;
    height: 15px;
}

.ewcf-bars i {
    display: block;
    width: 2px;
    margin: 0;
    padding: 0;
    background: #ffffff;
}

.ewcf-bars i:nth-child(1) { height: 6px; }
.ewcf-bars i:nth-child(2) { height: 10px; }
.ewcf-bars i:nth-child(3) { height: 14px; }

.ewcf-status {
    display: none;
    margin: 0 0 16px;
    padding: 10px 12px;
    border: 1px solid #f2c7c3;
    background: #fff1f0;
    color: #8b1e16;
    font-size: 12px;
    line-height: 1.45;
}

.ewcf-status.is-visible {
    display: block;
}

.ewcf-honeypot {
    position: absolute !important;
    left: -9999px !important;
    width: 1px !important;
    height: 1px !important;
    min-height: 0 !important;
    opacity: 0 !important;
    pointer-events: none !important;
}

.ewcf-success {
    min-height: 330px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px 10px;
    text-align: center;
}

.ewcf-success[hidden] {
    display: none;
}

.ewcf-success-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 58px;
    height: 58px;
    margin-bottom: 20px;
    background: #0066CC;
    color: #ffffff;
    font-size: 28px;
    font-weight: 800;
}

.ewcf-success p {
    margin: 0 !important;
    color: #546478;
    font-size: 14px;
}

@media (max-width: 640px) {
    .ewcf-shell {
        max-width: none;
        padding: 0 12px 12px 0;
    }

    .ewcf-card {
        padding: 24px 20px 25px;
        box-shadow: 12px 12px 0 #003366;
    }

    .ewcf-card h2 {
        font-size: 23px !important;
        line-height: 1.35 !important;
        letter-spacing: -.6px !important;
    }

    .ewcf-intro {
        margin-bottom: 20px !important;
    }

    .ewcf-grid {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .ewcf-field-full {
        grid-column: auto;
    }

    .ewcf-nav {
        margin-top: 22px;
    }

    .ewcf-next {
        min-width: 126px;
    }
}

@media (max-width: 420px) {
    .ewcf-card {
        padding-left: 17px;
        padding-right: 17px;
    }

    .ewcf-card h2 {
        font-size: 21px !important;
    }

    .ewcf-nav {
        gap: 10px;
    }

    .ewcf-back {
        font-size: 12px !important;
    }

    .ewcf-next {
        min-width: 120px;
        padding: 0 14px !important;
    }
}

/* Popup */
body.ewcf-popup-lock {
    overflow: hidden !important;
}

.ewcf-popup[hidden] {
    display: none !important;
}

.ewcf-popup {
    position: fixed;
    inset: 0;
    z-index: 2147483000;
    opacity: 0;
    visibility: hidden;
    transition: opacity .18s ease, visibility .18s ease;
}

.ewcf-popup.is-open {
    opacity: 1;
    visibility: visible;
}

.ewcf-popup-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(0, 35, 68, .88);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}

.ewcf-popup-scroll {
    position: absolute;
    inset: 0;
    overflow-x: hidden;
    overflow-y: auto;
    padding: 42px 24px 72px;
    overscroll-behavior: contain;
}

.ewcf-popup-dialog {
    position: relative;
    width: min(100%, 650px);
    margin: 0 auto;
    transform: translateY(14px) scale(.99);
    transition: transform .18s ease;
}

.ewcf-popup.is-open .ewcf-popup-dialog {
    transform: translateY(0) scale(1);
}

.ewcf-popup .ewcf-shell {
    max-width: 608px;
}

.ewcf-popup-close {
    position: absolute;
    top: -17px;
    right: 4px;
    z-index: 8;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    margin: 0;
    padding: 0 0 3px !important;
    border: 2px solid #003366 !important;
    border-radius: 50% !important;
    background: #ffffff !important;
    color: #003366 !important;
    font-family: Arial, sans-serif !important;
    font-size: 30px !important;
    line-height: 1 !important;
    font-weight: 400 !important;
    box-shadow: 0 8px 22px rgba(0, 0, 0, .18) !important;
    cursor: pointer;
}

.ewcf-popup-close:hover,
.ewcf-popup-close:focus {
    background: #0066CC !important;
    color: #ffffff !important;
    border-color: #0066CC !important;
}

.ewcf-popup-trigger {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    min-height: 52px;
    margin: 0;
    padding: 0 27px !important;
    border: 2px solid #102435 !important;
    border-radius: 999px !important;
    background: #ffffff !important;
    color: #102435 !important;
    font-family: "Barlow", "Inter", Arial, sans-serif !important;
    font-size: 13px !important;
    line-height: 1 !important;
    font-weight: 700 !important;
    letter-spacing: .4px !important;
    text-transform: uppercase !important;
    box-shadow: none !important;
    cursor: pointer;
    transition: background-color .15s ease, color .15s ease, border-color .15s ease, transform .15s ease;
}

.ewcf-popup-trigger:hover,
.ewcf-popup-trigger:focus {
    background: #0066CC !important;
    border-color: #0066CC !important;
    color: #ffffff !important;
    transform: translateY(-1px);
}

.ewcf-popup-trigger-arrow {
    font-size: 18px;
    line-height: 1;
}

@media (max-width: 640px) {
    .ewcf-popup-scroll {
        padding: 26px 14px 52px;
    }

    .ewcf-popup-close {
        top: -13px;
        right: 0;
        width: 38px;
        height: 38px;
        font-size: 27px !important;
    }
}
