.sgpc-assistant {
    position: fixed;
    right: 20px;
    bottom: 20px;
    z-index: 9999;
    font-family: 'Outfit', Arial, sans-serif;
}

.sgpc-assistant__btn {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    background: linear-gradient(135deg, #003366, #0056b3);
    color: #fff;
    box-shadow: 0 10px 24px rgba(0, 51, 102, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.sgpc-assistant__panel {
    width: 360px;
    max-width: calc(100vw - 24px);
    height: 520px;
    max-height: 75vh;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.22);
    overflow: hidden;
    display: none;
    flex-direction: column;
    margin-bottom: 12px;
}

.sgpc-assistant--open .sgpc-assistant__panel {
    display: flex;
}

.sgpc-assistant__header {
    background: #003366;
    color: #fff;
    padding: 14px 16px;
}

.sgpc-assistant__title {
    margin: 0;
    font-weight: 700;
    font-size: 15px;
}

.sgpc-assistant__subtitle {
    margin: 4px 0 0;
    font-size: 12px;
    opacity: 0.9;
}

.sgpc-assistant__messages {
    flex: 1;
    padding: 12px;
    overflow-y: auto;
    background: #f5f8fc;
}

.sgpc-msg {
    margin-bottom: 10px;
    display: flex;
}

.sgpc-msg--bot {
    justify-content: flex-start;
}

.sgpc-msg--user {
    justify-content: flex-end;
}

.sgpc-msg__bubble {
    max-width: 85%;
    padding: 10px 12px;
    border-radius: 12px;
    font-size: 13px;
    line-height: 1.4;
    white-space: pre-wrap;
}

.sgpc-msg--bot .sgpc-msg__bubble {
    background: #ffffff;
    border: 1px solid #dde6f3;
    color: #1f2d3d;
}

.sgpc-msg--user .sgpc-msg__bubble {
    background: #003366;
    color: #fff;
}

.sgpc-assistant__quick {
    padding: 8px 12px 0;
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
    background: #f5f8fc;
}

.sgpc-chip {
    border: 1px solid #c6d7ef;
    background: #fff;
    color: #003366;
    border-radius: 999px;
    padding: 6px 10px;
    font-size: 11px;
    cursor: pointer;
}

.sgpc-assistant__input-wrap {
    border-top: 1px solid #e7edf7;
    padding: 10px;
    display: flex;
    gap: 8px;
    background: #fff;
}

.sgpc-assistant__input {
    flex: 1;
    border: 1px solid #d3deef;
    border-radius: 10px;
    padding: 10px;
    font-size: 13px;
}

.sgpc-assistant__send {
    border: none;
    border-radius: 10px;
    background: #ff6600;
    color: #fff;
    padding: 0 14px;
    font-weight: 700;
    cursor: pointer;
}

@media (max-width: 576px) {
    .sgpc-assistant {
        right: 10px;
        bottom: 10px;
    }

    .sgpc-assistant__panel {
        width: calc(100vw - 20px);
        height: 70vh;
    }

    .sgpc-assistant__btn {
        width: 58px;
        height: 58px;
    }
}
