.pa-chat-widget {
    position: fixed;
    right: 22px;
    bottom: 22px;
    z-index: 1055;
    font-family: "Manrope", sans-serif;
}

.pa-chat-toggle {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    border: none;
    background: #0f172a;
    color: #fff;
    box-shadow: 0 10px 30px rgba(15, 23, 42, 0.25);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
}

.pa-chat-panel {
    position: absolute;
    right: 0;
    bottom: 70px;
    width: min(360px, 90vw);
    background: #ffffff;
    border-radius: 16px;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.2);
    overflow: hidden;
    border: 1px solid rgba(15, 23, 42, 0.08);
}

.pa-chat-header {
    padding: 14px 16px;
    background: linear-gradient(120deg, #0f172a 0%, #1f2937 100%);
    color: #fff;
    font-weight: 600;
}

.pa-chat-messages {
    max-height: 320px;
    overflow-y: auto;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    background: #f8fafc;
}

.pa-msg {
    padding: 10px 12px;
    border-radius: 12px;
    font-size: 14px;
    line-height: 1.4;
    max-width: 90%;
}

.pa-msg-user {
    align-self: flex-end;
    background: #e2e8f0;
    color: #111827;
}

.pa-msg-bot {
    align-self: flex-start;
    background: #ffffff;
    border: 1px solid rgba(15, 23, 42, 0.08);
    color: #0f172a;
}

.pa-chat-input-wrap {
    display: flex;
    gap: 8px;
    padding: 12px;
    border-top: 1px solid rgba(15, 23, 42, 0.08);
    background: #fff;
}

.pa-chat-input-wrap .form-control {
    border-radius: 10px;
}

.pa-chat-input-wrap .btn {
    border-radius: 10px;
    white-space: nowrap;
}

@media (max-width: 576px) {
    .pa-chat-widget {
        right: 14px;
        bottom: 14px;
    }
}
