.amsa-chatbot {
    position: fixed;
    right: 24px;
    bottom: 95px;
    z-index: 1080;
    font-family: inherit;
}

.amsa-chatbot-toggle {
    width: 62px;
    height: 62px;
    border: 0;
    border-radius: 50%;
    background: linear-gradient(135deg, #c6b511, #f0d85a);
    color: #2c0410;
    box-shadow: 0 18px 45px rgba(44, 4, 16, 0.26);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    cursor: pointer;
}

.amsa-chatbot-toggle i {
    line-height: 1;
}

.amsa-chatbot-toggle:hover,
.amsa-chatbot-toggle:focus {
    background: linear-gradient(135deg, #2c0410, #6e122d);
    color: #ffffff;
    outline: 3px solid rgba(198, 181, 17, 0.35);
}

.amsa-chatbot-panel {
    position: absolute;
    right: 0;
    bottom: 78px;
    width: min(380px, calc(100vw - 32px));
    max-height: min(620px, calc(100vh - 120px));
    background: #ffffff;
    border: 1px solid rgba(198, 181, 17, 0.45);
    border-radius: 16px;
    box-shadow: 0 24px 70px rgba(15, 17, 21, 0.28);
    overflow: hidden;
    display: none;
}

.amsa-chatbot.open .amsa-chatbot-panel {
    display: flex;
    flex-direction: column;
}

.amsa-chatbot-header {
    background: linear-gradient(135deg, #2c0410, #6e122d);
    color: #ffffff;
    padding: 16px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
}

.amsa-chatbot-title {
    margin: 0;
    font-size: 1rem;
    font-weight: 800;
    color: #ffffff;
}

.amsa-chatbot-subtitle {
    margin: 2px 0 0;
    color: rgba(255, 255, 255, 0.88);
    font-size: 0.82rem;
}

.amsa-chatbot-close {
    border: 0;
    background: rgba(255, 255, 255, 0.12);
    color: #ffffff;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    cursor: pointer;
}

.amsa-chatbot-messages {
    padding: 16px;
    overflow-y: auto;
    background: #f7f4ef;
    min-height: 260px;
    max-height: 350px;
}

.amsa-chatbot-message {
    max-width: 88%;
    padding: 10px 12px;
    border-radius: 14px;
    margin-bottom: 10px;
    font-size: 0.92rem;
    line-height: 1.55;
}

.amsa-chatbot-message.bot {
    background: #ffffff;
    color: #171820;
    border: 1px solid rgba(44, 4, 16, 0.08);
}

.amsa-chatbot-message.user {
    background: #2c0410;
    color: #ffffff;
    margin-left: auto;
}

.amsa-chatbot-message a {
    color: #8b3a3a;
    font-weight: 700;
}

.amsa-chatbot-quick {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    padding: 12px 16px;
    background: #ffffff;
    border-top: 1px solid rgba(44, 4, 16, 0.08);
}

.amsa-chatbot-chip {
    border: 1px solid rgba(198, 181, 17, 0.6);
    background: #fffaf0;
    color: #2c0410;
    border-radius: 999px;
    padding: 7px 10px;
    font-size: 0.82rem;
    font-weight: 700;
    cursor: pointer;
}

.amsa-chatbot-chip:hover,
.amsa-chatbot-chip:focus {
    background: #c6b511;
    outline: none;
}

@media (max-width: 575.98px) {
    .amsa-chatbot {
        right: 14px;
        bottom: 86px;
    }

    .amsa-chatbot-toggle {
        width: 56px;
        height: 56px;
    }

    .amsa-chatbot-panel {
        right: -2px;
        bottom: 70px;
        width: calc(100vw - 28px);
        max-height: calc(100vh - 100px);
        border-radius: 14px;
    }

    .amsa-chatbot-messages {
        max-height: 300px;
    }
}
