.atozee-assistant {
    position: fixed;
    right: 24px;
    bottom: 24px;
    z-index: 1000;
    font-family: inherit;
}

.atozee-assistant__toggle {
    width: 62px;
    height: 62px;
    border: 0;
    border-radius: 50%;
    background: #086ad8;
    color: #ffffff;
    box-shadow: 0 12px 30px rgba(8, 106, 216, 0.35);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.atozee-assistant__toggle svg {
    width: 30px;
    height: 30px;
    fill: currentColor;
}

.atozee-assistant__panel {
    display: none;
    position: absolute;
    right: 0;
    bottom: 76px;
    width: 360px;
    max-width: calc(100vw - 32px);
    height: 480px;
    max-height: calc(100vh - 140px);
    background: #ffffff;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 18px 50px rgba(0, 20, 60, 0.22);
    flex-direction: column;
}

.atozee-assistant.is-open .atozee-assistant__panel {
    display: flex;
}

.atozee-assistant__header {
    background: #086ad8;
    color: #ffffff;
    padding: 16px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.atozee-assistant__header strong {
    display: block;
    font-size: 16px;
    font-weight: 700;
}

.atozee-assistant__header span {
    display: block;
    margin-top: 2px;
    font-size: 12px;
    opacity: 0.85;
}

.atozee-assistant__close {
    border: 0;
    background: transparent;
    color: #ffffff;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
}

.atozee-assistant__messages {
    flex: 1;
    overflow-y: auto;
    padding: 16px;
    background: #f4f7fb;
}

.atozee-assistant__bubble {
    max-width: 85%;
    margin-bottom: 10px;
    padding: 10px 12px;
    border-radius: 14px;
    font-size: 14px;
    line-height: 1.45;
    white-space: pre-wrap;
    word-wrap: break-word;
}

.atozee-assistant__bubble.is-bot {
    background: #ffffff;
    color: #1c2430;
    border-bottom-left-radius: 4px;
}

.atozee-assistant__bubble.is-user {
    margin-left: auto;
    background: #086ad8;
    color: #ffffff;
    border-bottom-right-radius: 4px;
}

.atozee-assistant__form {
    display: flex;
    gap: 8px;
    padding: 12px;
    border-top: 1px solid #e6edf5;
    background: #ffffff;
}

.atozee-assistant__form input {
    flex: 1;
    height: 42px;
    border: 1px solid #d5e0ec;
    border-radius: 21px;
    padding: 0 14px;
    font-size: 14px;
    outline: none;
}

.atozee-assistant__form input:focus {
    border-color: #086ad8;
}

.atozee-assistant__form button {
    border: 0;
    border-radius: 21px;
    padding: 0 16px;
    background: #086ad8;
    color: #ffffff;
    font-weight: 700;
    cursor: pointer;
}

.atozee-assistant__form button:disabled {
    opacity: 0.6;
    cursor: default;
}

body.has-atozee-assistant .scroll-top.show {
    bottom: 104px;
}

@media only screen and (max-width: 479px) {
    .atozee-assistant {
        right: 16px;
        bottom: 16px;
    }

    .atozee-assistant__toggle {
        width: 56px;
        height: 56px;
    }
}
