.support-widget {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 10000;

    font-family: inherit;
}

.support-widget-trigger {
    border: 0;
    border-radius: 999px;

    padding: 11px 18px;

    background: #222;
    color: #fff;

    font: inherit;
    font-size: 14px;
    font-weight: 600;

    cursor: pointer;

    box-shadow:
        0 4px 14px rgba(0, 0, 0, 0.18);

    transition:
        transform 0.15s ease,
        box-shadow 0.15s ease,
        background 0.15s ease;
}

.support-widget-trigger:hover {
    transform: translateY(-1px);

    box-shadow:
        0 6px 18px rgba(0, 0, 0, 0.22);

    background: #111;
}


.support-widget-panel {
    position: absolute;
    right: 0;
    bottom: 54px;

    width: min(
        380px,
        calc(100vw - 32px)
    );

    padding: 20px;

    background: #fff;

    border: 1px solid #ddd;
    border-radius: 16px;

    box-shadow:
        0 12px 40px rgba(0, 0, 0, 0.18);
}


.support-widget-head {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 16px;

    margin-bottom: 18px;
}

.support-widget-head strong {
    font-size: 17px;
}


.support-widget-close {
    border: 0;
    background: transparent;

    padding: 0;

    font-size: 24px;
    line-height: 1;

    color: #777;

    cursor: pointer;
}

.support-widget-close:hover {
    color: #222;
}


.support-widget-field {
    margin-bottom: 16px;
}

.support-widget-field label {
    display: block;

    margin-bottom: 6px;

    font-size: 13px;
    font-weight: 600;

    color: #444;
}

.support-widget-field select,
.support-widget-field input,
.support-widget-field textarea {
    box-sizing: border-box;

    width: 100%;

    padding: 10px 12px;

    border: 1px solid #ccc;
    border-radius: 8px;

    background: #fff;

    font: inherit;
    font-size: 14px;

    color: #222;
}

.support-widget-field textarea {
    resize: vertical;
    min-height: 120px;
}

.support-widget-field select:focus,
.support-widget-field input:focus,
.support-widget-field textarea:focus {
    outline: none;

    border-color: #888;

    box-shadow:
        0 0 0 3px rgba(0, 0, 0, 0.06);
}


.support-widget-contact {
    margin: 4px 0 16px;

    padding: 10px 12px;

    background: #f6f6f6;

    border-radius: 8px;

    font-size: 13px;

    color: #555;
}

.support-widget-contact strong {
    color: #222;
}


.support-widget-actions {
    display: flex;
    justify-content: flex-end;

    margin-top: 18px;
}

.support-widget-submit {
    border: 0;
    border-radius: 8px;

    padding: 10px 18px;

    background: #222;
    color: #fff;

    font: inherit;
    font-weight: 600;

    cursor: pointer;
}

.support-widget-submit:hover {
    background: #111;
}


/* mobil */

@media (max-width: 600px) {

    .support-widget {
        right: 14px;
        bottom: 14px;
    }

    .support-widget-panel {
        position: fixed;

        left: 14px;
        right: 14px;
        bottom: 70px;

        width: auto;

        max-height: calc(100vh - 100px);

        overflow-y: auto;
    }

}