html.sky-lead-open {
    overflow: hidden;
}

.sky-lead-modal {
    position: fixed;
    z-index: 15000;
    inset: 0;

    display: none;

    align-items: center;
    justify-content: center;

    padding: 20px;

    box-sizing: border-box;
}

.sky-lead-modal.is-open {
    display: flex;
}

.sky-lead-backdrop {
    position: absolute;
    inset: 0;

    background: rgba(15, 17, 21, .76);
    backdrop-filter: blur(4px);
}

.sky-lead-panel {
    position: relative;
    z-index: 1;

    width: min(560px, 100%);
    max-height: calc(100vh - 40px);

    overflow-y: auto;

    background: #fff;

    border-radius: 13px;

    box-shadow:
        0 25px 80px
        rgba(0,0,0,.32);
}

.sky-lead-head {
    padding: 24px 26px 19px;

    background:
        linear-gradient(
            135deg,
            #24262b,
            #18191d
        );

    color: #fff;
}

.sky-lead-head > span {
    display: block;

    margin-bottom: 8px;

    color: #ef7200;

    font-size: 11px;
    font-weight: 800;

    letter-spacing: .1em;
}

.sky-lead-head h2 {
    margin: 0 35px 7px 0;

    color: #fff;

    font-size: 24px;
    line-height: 1.15;
}

.sky-lead-context {
    margin: 0;

    color: rgba(255,255,255,.68);

    font-size: 13px;
    line-height: 1.45;
}

.sky-lead-close {
    position: absolute;
    z-index: 3;

    top: 12px;
    right: 12px;

    width: 36px;
    height: 36px;

    padding: 0;

    border:
        1px solid
        rgba(255,255,255,.2);

    border-radius: 50%;

    background:
        rgba(255,255,255,.08);

    color: #fff;

    font-size: 27px;
    line-height: 1;

    cursor: pointer;
}

.sky-lead-form {
    display: grid;

    gap: 14px;

    padding: 22px 26px 25px;
}

.sky-lead-form label {
    display: grid;

    gap: 7px;

    color: #333;

    font-size: 12px;
    font-weight: 700;
}

.sky-lead-form small {
    color: #888;

    font-weight: 400;
}

.sky-lead-form input {
    width: 100%;
    height: 46px;

    box-sizing: border-box;

    padding: 0 13px;

    border: 1px solid #d7d4d1;
    border-radius: 7px;

    outline: none;

    background: #fff;

    color: #222;

    font-size: 15px;
}

.sky-lead-form input:focus {
    border-color: #ef7200;

    box-shadow:
        0 0 0 3px
        rgba(239,114,0,.10);
}

.sky-lead-submit {
    min-height: 48px;

    margin-top: 2px;

    padding: 11px 18px;

    border: 0;
    border-radius: 7px;

    background: #ef7200;

    color: #fff;

    font-size: 13px;
    font-weight: 800;

    cursor: pointer;
}

.sky-lead-submit:disabled {
    opacity: .6;

    cursor: wait;
}

.sky-lead-status {
    min-height: 18px;

    font-size: 12px;
    line-height: 1.45;
}

.sky-lead-status.is-success,
#ajaxresp.is-success,
.so-order-status.is-success {
    color: #167242;
}

.sky-lead-status.is-error,
#ajaxresp.is-error,
.so-order-status.is-error {
    color: #b52f27;
}

.sky-lead-privacy {
    margin: 0;

    color: #8b878b;

    font-size: 10px;
    line-height: 1.45;
}

.sky-lead-hp {
    position: absolute !important;

    left: -10000px !important;

    width: 1px !important;
    height: 1px !important;

    overflow: hidden !important;

    opacity: 0 !important;

    pointer-events: none !important;
}

[aria-busy="true"] {
    opacity: .65 !important;
    pointer-events: none !important;
}

@media (max-width: 600px) {

    .sky-lead-modal {
        align-items: flex-end;

        padding:
            48px 7px 7px;
    }

    .sky-lead-panel {
        width: 100%;

        max-height:
            calc(100vh - 55px);

        border-radius: 13px;
    }

    .sky-lead-head {
        padding:
            21px 18px 16px;
    }

    .sky-lead-head h2 {
        font-size: 21px;
    }

    .sky-lead-form {
        gap: 12px;

        padding: 18px;
    }

    .sky-lead-form input {
        height: 45px;
    }
}

@media (max-width: 390px) {

    .sky-lead-modal {
        padding:
            45px 5px 5px;
    }

    .sky-lead-head {
        padding:
            19px 15px 14px;
    }

    .sky-lead-form {
        padding: 15px;
    }
}
