.sa-chat-container {
    max-width: 500px;
    margin: 20px auto;
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 2px 12px rgba(0,0,0,0.1);
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    height: 550px;
}
.sa-header {
    background: #075e54;
    color: white;
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
}
.sa-title {
    font-size: 18px;
}
.sa-user, .sa-guest {
    font-size: 14px;
    opacity: 0.9;
}
.sa-messages {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    background: #e5ddd5;
    display: flex;
    flex-direction: column;
    gap: 12px;
}
.sa-message {
    max-width: 80%;
    padding: 10px 14px;
    border-radius: 18px;
    position: relative;
    word-wrap: break-word;
    line-height: 1.4;
}
.sa-message.bot {
    background: white;
    align-self: flex-start;
    border-bottom-left-radius: 4px;
    color: #333;
}
.sa-message.user {
    background: #dcf8c6;
    align-self: flex-end;
    border-bottom-right-radius: 4px;
    color: #333;
}
.sa-message-time {
    font-size: 10px;
    text-align: right;
    margin-top: 5px;
    opacity: 0.6;
}
.sa-message-content a {
    color: #075e54;
    text-decoration: underline;
}
.sa-input-area {
    padding: 12px 16px;
    background: #f0f0f0;
    display: flex;
    gap: 10px;
    border-top: 1px solid #ddd;
}
#sa-input {
    flex: 1;
    border: none;
    border-radius: 24px;
    padding: 12px 16px;
    resize: none;
    font-family: inherit;
    font-size: 15px;
    background: white;
    color: #333;
}
#sa-input:focus {
    outline: none;
}
.sa-send-btn {
    background: #075e54;
    border: none;
    color: white;
    border-radius: 24px;
    padding: 0 20px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.2s;
}
.sa-send-btn:hover {
    background: #054c44;
}
.sa-quick-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    padding: 12px 16px;
    background: #fff;
    border-top: 1px solid #eee;
    justify-content: center;
}
.sa-quick-btn {
    background: #f0f0f0;
    border: none;
    border-radius: 20px;
    padding: 8px 14px;
    font-size: 13px;
    cursor: pointer;
    transition: 0.2s;
    color: #333;
}
.sa-quick-btn:hover {
    background: #075e54;
    color: white;
}
.sa-messages::-webkit-scrollbar {
    width: 6px;
}
.sa-messages::-webkit-scrollbar-track {
    background: rgba(0,0,0,0.05);
}
.sa-messages::-webkit-scrollbar-thumb {
    background: rgba(0,0,0,0.2);
    border-radius: 3px;
}
