.wwknow-chat-widget {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 2147483000;
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

.wwknow-chat-toggle {
    width: 58px;
    height: 58px;
    border: 0;
    border-radius: 999px;
    background: #35a9d7;
    color: #fff;
    box-shadow: 0 18px 38px rgba(16, 62, 112, .28);
    display: grid;
    place-items: center;
    cursor: pointer;
}

.wwknow-chat-toggle svg {
    width: 30px;
    height: 30px;
    fill: currentColor;
}

.wwknow-chat-panel {
    position: absolute;
    right: 0;
    bottom: 76px;
    width: 350px;
    max-width: calc(100vw - 32px);
    background: #35a9d7;
    border-radius: 18px;
    box-shadow: 0 26px 70px rgba(15, 45, 83, .28);
    overflow: hidden;
    transform: translateY(14px) scale(.98);
    clip-path: inset(0 0 100% 0);
    pointer-events: none;
    padding-bottom: 20px;
}

.wwknow-chat-widget.is-open .wwknow-chat-panel {
    transform: translateY(0) scale(1);
    clip-path: inset(0 0 0 0);
    pointer-events: auto;
}

.wwknow-chat-top {
    display: flex;
    justify-content: space-between;
    padding: 16px 20px 4px;
}

.wwknow-chat-back,
.wwknow-chat-close {
    width: 30px;
    height: 30px;
    border: 0;
    background: transparent;
    color: #fff;
    font-size: 28px;
    line-height: 28px;
    cursor: pointer;
}

.wwknow-chat-close {
    font-size: 24px;
}

.wwknow-chat-intro {
    padding: 16px 30px 18px;
    color: #fff;
    font-size: 17px;
    font-weight: 700;
    line-height: 1.55;
}

.wwknow-chat-form {
    margin: 0 20px;
    padding: 22px;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 16px 40px rgba(15, 45, 83, .14);
}

.wwknow-chat-form input.wwknow-chat-hp {
    position: absolute;
    width: 1px;
    height: 1px;
    margin: -1px;
    border: 0;
    padding: 0;
    overflow: hidden;
    clip: rect(0 0 0 0);
    clip-path: inset(50%);
}

.wwknow-chat-form input,
.wwknow-chat-form select {
    width: 100%;
    border: 1px solid #d8e4f2;
    border-radius: 10px;
    min-height: 44px;
    margin-bottom: 12px;
    padding: 0 14px;
    color: #1f344d;
    font-size: 14px;
    outline: none;
    background: #fff;
}

.wwknow-chat-form input:focus,
.wwknow-chat-form select:focus {
    border-color: #35a9d7;
    box-shadow: 0 0 0 3px rgba(53, 169, 215, .14);
}

.wwknow-chat-start {
    width: 100%;
    min-height: 48px;
    border: 0;
    border-radius: 9px;
    background: #35a9d7;
    color: #fff;
    font-size: 17px;
    font-weight: 800;
    cursor: pointer;
}

.wwknow-chat-start span {
    margin-right: 8px;
}

.wwknow-chat-status {
    margin-top: 12px;
    color: #1d56a5;
    font-size: 13px;
    line-height: 1.45;
    min-height: 18px;
}

@media (max-width: 767px) {
    .wwknow-chat-widget {
        right: 14px;
        bottom: calc(14px + env(safe-area-inset-bottom));
    }

    .wwknow-chat-toggle {
        width: 48px;
        height: 48px;
        padding: 0;
        border-radius: 999px;
        display: grid;
        place-items: center;
        background: #35a9d7;
        box-shadow: 0 10px 24px rgba(16, 62, 112, .25);
    }

    .wwknow-chat-toggle svg {
        width: 25px;
        height: 25px;
    }

    .wwknow-chat-panel {
        position: fixed;
        right: 14px;
        bottom: calc(72px + env(safe-area-inset-bottom));
        width: calc(100vw - 28px);
        max-width: 350px;
        z-index: 2147483000;
        transform: none;
    }

    .wwknow-chat-widget.is-open .wwknow-chat-panel {
        transform: none;
    }
}
