
#wla-ai-button {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 99999;

    width: 58px;
    height: 58px;

    border: 0;
    border-radius: 50%;

    background:
        linear-gradient(
            135deg,
            #f3b62d,
            #d99b11
        );

    color: #102f4d;

    font-size: 15px;
    font-weight: 900;

    cursor: pointer;

    box-shadow:
        0 10px 28px
        rgba(0,0,0,.24);
}

#wla-ai-button:hover {
    transform: translateY(-1px);
}

#wla-ai-panel {
    position: fixed;
    right: 22px;
    bottom: 92px;
    z-index: 99999;

    width: min(390px, calc(100vw - 28px));
    max-height: 620px;

    display: flex;
    flex-direction: column;

    border-radius: 18px;
    overflow: hidden;

    background: #ffffff;

    box-shadow:
        0 18px 50px
        rgba(0,0,0,.28);
}

#wla-ai-panel[hidden] {
    display: none !important;
}

.wla-ai-head {
    display: flex;
    align-items: center;
    justify-content: space-between;

    gap: 12px;

    padding: 15px 16px;

    background: #102f4d;
    color: #fff;
}

.wla-ai-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.wla-ai-badge {
    width: 38px;
    height: 38px;
    min-width: 38px;

    display: flex;
    align-items: center;
    justify-content: center;

    border-radius: 9px;

    background: #f3b62d;
    color: #102f4d;

    font-size: 11px;
    font-weight: 900;
}

.wla-ai-title {
    font-size: 14px;
    font-weight: 900;
}

.wla-ai-sub {
    margin-top: 2px;

    font-size: 11px;
    opacity: .8;
}

#wla-ai-close {
    width: 34px;
    height: 34px;

    border: 0;
    border-radius: 8px;

    background: rgba(255,255,255,.10);
    color: #fff;

    font-size: 22px;

    cursor: pointer;
}

#wla-ai-body {
    flex: 1;

    overflow-y: auto;

    padding: 16px;

    background: #f5f8fa;
}

.wla-ai-message {
    max-width: 88%;

    margin-bottom: 10px;
    padding: 11px 13px;

    border-radius: 12px;

    font-size: 13px;
    line-height: 1.5;

    white-space: pre-wrap;
}

.wla-ai-message.bot {
    margin-right: auto;

    background: #fff;
    color: #20384c;

    border: 1px solid #dde5eb;
}

.wla-ai-message.user {
    margin-left: auto;

    background: #102f4d;
    color: #fff;
}

.wla-ai-questions {
    display: grid;
    gap: 7px;

    margin-top: 12px;
}

.wla-ai-question {
    width: 100%;

    padding: 9px 10px;

    border: 1px solid #dbe4ea;
    border-radius: 9px;

    background: #fff;
    color: #26465f;

    text-align: left;

    font-size: 12px;
    font-weight: 700;

    cursor: pointer;
}

.wla-ai-question:hover {
    background: #f0f4f7;
}

#wla-ai-form {
    display: flex;
    gap: 8px;

    padding: 12px;

    border-top: 1px solid #e1e7eb;

    background: #fff;
}

#wla-ai-input {
    flex: 1;

    min-width: 0;
    height: 42px;

    padding: 0 12px;

    border: 1px solid #ccd8e1;
    border-radius: 9px;

    font-size: 13px;
}

#wla-ai-send {
    min-width: 68px;

    border: 0;
    border-radius: 9px;

    background: #f3b62d;
    color: #102f4d;

    font-size: 12px;
    font-weight: 900;

    cursor: pointer;
}

@media (max-width: 600px) {

    #wla-ai-button {
        right: 14px;
        bottom: 14px;
    }

    #wla-ai-panel {
        right: 14px;
        bottom: 82px;
    }
}
