/* XELAB_SUPPORT_WIDGET_V1 */

.xelab-support-button {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 8900;

    border: 0;
    border-radius: 999px;

    padding: 11px 18px;

    background: #f7630c;
    color: #fff;

    font: inherit;
    font-weight: 700;

    cursor: pointer;

    box-shadow:
        0 8px 24px
        rgba(0, 0, 0, .18);
}

.xelab-support-button:hover {
    filter: brightness(.96);
}


.xelab-support-overlay[hidden] {
    display: none;
}

.xelab-support-overlay {
    position: fixed;
    inset: 0;
    z-index: 9000;

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

    padding: 20px;

    background:
        rgba(11, 17, 40, .52);
}


.xelab-support-dialog {
    position: relative;

    width: min(
        460px,
        100%
    );

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

    overflow: auto;

    border-radius: 14px;

    padding: 26px;

    background: #fff;
    color: #151a2d;

    box-shadow:
        0 20px 60px
        rgba(0, 0, 0, .28);
}


.xelab-support-dialog h2 {
    margin:
        0
        36px
        8px
        0;

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


.xelab-support-lead {
    margin:
        0
        0
        20px;

    color: #677086;
    line-height: 1.45;
}


.xelab-support-close {
    position: absolute;
    top: 13px;
    right: 15px;

    border: 0;
    background: transparent;

    color: #33394a;

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

    cursor: pointer;
}


.xelab-support-dialog label {
    display: block;

    margin-bottom: 15px;

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


.xelab-support-dialog input,
.xelab-support-dialog select,
.xelab-support-dialog textarea {
    box-sizing: border-box;

    display: block;

    width: 100%;

    margin-top: 7px;

    border:
        1px solid
        #c8ceda;

    border-radius: 8px;

    padding: 10px 11px;

    background: #fff;
    color: #151a2d;

    font: inherit;
    font-weight: 400;
}


.xelab-support-dialog textarea {
    resize: vertical;
    min-height: 120px;
}


.xelab-support-dialog input[readonly] {
    background: #f5f6f9;
}


.xelab-support-submit {
    width: 100%;

    border: 0;
    border-radius: 8px;

    padding: 11px 16px;

    background: #f7630c;
    color: #fff;

    font: inherit;
    font-weight: 700;

    cursor: pointer;
}


.xelab-support-submit:disabled {
    opacity: .65;
    cursor: wait;
}


.xelab-support-status {
    min-height: 22px;

    margin:
        2px
        0
        10px;

    color: #536079;

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


.xelab-support-status.is-error {
    color: #b42318;
}


.xelab-support-status.is-success {
    color: #087443;
}


.xelab-support-note {
    margin:
        10px
        0
        0;

    color: #7b8496;

    font-size: 11px;
    line-height: 1.4;
}


.xelab-support-honeypot {
    position: absolute !important;
    left: -10000px !important;
    width: 1px !important;
    height: 1px !important;
    overflow: hidden !important;
}


@media (max-width: 720px) {
    .xelab-support-button {
        right: 12px;
        bottom: 12px;

        padding: 10px 15px;
    }

    .xelab-support-overlay {
        padding: 12px;
    }

    .xelab-support-dialog {
        max-height:
            calc(100vh - 24px);

        padding: 22px 18px;
    }
}


/* =========================================================
   XELAB_SUPPORT_LAUNCHER_GREEN_V1
   Separate support action from orange primary CTAs.
   ========================================================= */

.xelab-support-button {
    background:
        #18745b !important;

    border-color:
        #18745b !important;

    color:
        #ffffff !important;

    box-shadow:
        0 8px 22px
        rgba(24, 116, 91, .28) !important;
}

.xelab-support-button:hover {
    background:
        #125f4a !important;

    border-color:
        #125f4a !important;
}

.xelab-support-button:focus-visible {
    outline:
        3px solid
        rgba(24, 116, 91, .28) !important;

    outline-offset:
        3px;
}


/* =========================================================
   XELAB_SUPPORT_ICON_BUTTON_V1
   Compact floating support launcher with icon only.
   ========================================================= */

.xelab-support-button {
    width: 56px !important;
    height: 56px !important;
    min-width: 56px !important;
    min-height: 56px !important;
    padding: 0 !important;
    border-radius: 16px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    gap: 0 !important;
    background: #6f35c8 !important;
    border: 0 !important;
    color: #ffffff !important;
    box-shadow: 0 10px 28px rgba(43, 27, 84, .28) !important;
    font-size: 0 !important;
    line-height: 0 !important;
    text-decoration: none !important;
    overflow: hidden !important;
    transition:
        transform .18s ease,
        box-shadow .18s ease,
        background-color .18s ease !important;
}

.xelab-support-button:hover {
    background: #5f2eb0 !important;
    transform: translateY(-1px);
    box-shadow: 0 14px 34px rgba(43, 27, 84, .34) !important;
}

.xelab-support-button:focus-visible {
    outline: 3px solid rgba(111, 53, 200, .26) !important;
    outline-offset: 3px !important;
}

.xelab-support-button__icon {
    width: 24px;
    height: 24px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.xelab-support-button__icon svg {
    width: 24px;
    height: 24px;
    display: block;
    stroke: currentColor;
    fill: none;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.xelab-support-visually-hidden {
    position: absolute !important;
    width: 1px !important;
    height: 1px !important;
    padding: 0 !important;
    margin: -1px !important;
    overflow: hidden !important;
    clip: rect(0, 0, 0, 0) !important;
    white-space: nowrap !important;
    border: 0 !important;
}

@media (max-width: 767px) {
    .xelab-support-button {
        width: 50px !important;
        height: 50px !important;
        min-width: 50px !important;
        min-height: 50px !important;
        border-radius: 14px !important;
    }

    .xelab-support-button__icon,
    .xelab-support-button__icon svg {
        width: 22px;
        height: 22px;
    }
}
