@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&display=swap');

* {
    box-sizing: border-box;
}

html,
body {
    margin: 0;
    padding: 0;
    width: 100%;
    background: transparent;
    font-family: 'Inter', Arial, sans-serif;
}

body.zf-backgroundBg {
    background: transparent !important;
    color: #111827;
    overflow-x: hidden;
}

.zf-templateWidth {
    width: 100%;
    max-width: 100%;
    margin: 0;
    padding: 0;
    background: transparent;
}

.zf-templateWrapper {
    width: 100%;
    margin: 0;
    padding: 0;
    background: transparent;
    border: 0;
    border-radius: 0;
    box-shadow: none;
}

.zf-subContWrap {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.zf-tempFrmWrapper,
.zf-tempContDiv {
    width: 100%;
    margin: 0;
    padding: 0;
}

.zf-nameWrapper {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 14px;
}

.zf-nameWrapper > span,
.zf-tempContDiv > span {
    display: block;
    width: 100%;
}

input,
select {
    width: 100%;
    height: 58px;
    padding: 0 18px;
    border: 1px solid #dbe2ea;
    border-radius: 12px;
    background: #ffffff;
    color: #172033;
    font-family: inherit;
    font-size: 15px;
    font-weight: 500;
    outline: none;
    transition: border-color .2s ease, box-shadow .2s ease, background .2s ease;
}

input::placeholder {
    color: #98a2b3;
    opacity: 1;
}

input:hover,
select:hover {
    border-color: #c8d1dc;
}

input:focus,
select:focus {
    border-color: #f59e0b;
    box-shadow: 0 0 0 4px rgba(245, 158, 11, .13);
    background: #fff;
}

.zf-phwrapper {
    display: grid;
    grid-template-columns: 112px minmax(0, 1fr);
    gap: 14px;
}

.zf-countryCodeField,
.zf-phoneNumberField {
    position: relative;
    display: block;
    width: 100%;
}

.zf-countryCodeField label,
.zf-phoneNumberField label {
    display: none;
}

select.zf-form-sBox {
    appearance: none;
    -webkit-appearance: none;
    cursor: pointer;
    padding-right: 48px;
    background-image:
        linear-gradient(45deg, transparent 50%, #334155 50%),
        linear-gradient(135deg, #334155 50%, transparent 50%);
    background-position:
        calc(100% - 23px) 25px,
        calc(100% - 17px) 25px;
    background-size: 6px 6px, 6px 6px;
    background-repeat: no-repeat;
}

.zf-fmFooter {
    margin-top: 18px;
}

.zf-submitColor {
    width: 100%;
    min-height: 58px;
    padding: 14px 24px;
    border: 0;
    border-radius: 12px;
    background: linear-gradient(90deg, #f3b51b 0%, #e9a90f 100%);
    color: #172033;
    font-family: inherit;
    font-size: 16px;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 10px 24px rgba(234, 169, 15, .22);
    transition: transform .2s ease, box-shadow .2s ease, filter .2s ease;
}

.zf-submitColor:hover {
    transform: translateY(-1px);
    box-shadow: 0 13px 28px rgba(234, 169, 15, .30);
    filter: brightness(1.03);
}

.zf-submitColor:active {
    transform: translateY(0);
}

.zf-errorMessage {
    margin: 7px 2px 0;
    color: #dc2626;
    font-size: 12px;
    font-weight: 600;
    line-height: 1.4;
}

@media (max-width: 640px) {
    .zf-subContWrap {
        gap: 12px;
    }

    .zf-nameWrapper {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .zf-phwrapper {
        grid-template-columns: 88px minmax(0, 1fr);
        gap: 10px;
    }

    input,
    select {
        height: 54px;
        padding: 0 15px;
        border-radius: 10px;
        font-size: 14px;
    }

    select.zf-form-sBox {
        padding-right: 42px;
        background-position:
            calc(100% - 21px) 23px,
            calc(100% - 15px) 23px;
    }

    .zf-submitColor {
        min-height: 54px;
        border-radius: 10px;
        font-size: 15px;
    }

    .zf-fmFooter {
        margin-top: 14px;
    }
}