/* Compact Chat Widget Styles */
.live-chat-widget {
    width: 320px !important;
    height: 400px !important;
}

.chat-messages {
    flex: 1;
    overflow-y: auto;
    padding: 15px;
    max-height: 250px;
}

.message {
    margin-bottom: 12px;
    max-width: 85%;
    word-wrap: break-word;
}

.message.user {
    margin-left: auto;
    background: var(--primary-color);
    color: white;
    padding: 10px 15px;
    border-radius: 18px;
    border-bottom-right-radius: 5px;
}

.message.bot, .message.admin {
    margin-right: auto;
    background: var(--bg-secondary);
    color: var(--text-primary);
    padding: 10px 15px;
    border-radius: 18px;
    border-bottom-left-radius: 5px;
}

.message.error {
    margin-right: auto;
    background: #ff4757;
    color: white;
    padding: 10px 15px;
    border-radius: 18px;
    border-bottom-left-radius: 5px;
}

.message-text {
    font-size: 14px;
    line-height: 1.4;
}

.message-time {
    font-size: 11px;
    opacity: 0.7;
    margin-top: 4px;
}

.chat-footer {
    padding: 15px;
    border-top: 1px solid var(--border-light);
    display: flex;
    gap: 10px;
    align-items: center;
}

.chat-input {
    flex: 1;
    padding: 10px 15px;
    border: 1px solid var(--border-light);
    border-radius: 20px;
    font-size: 14px;
    outline: none;
}

.chat-input:focus {
    border-color: var(--primary-color);
}

.send-button {
    background: var(--primary-color);
    color: white;
    border: none;
    border-radius: 50%;
    width: 40px;
    height: 40px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    transition: all 0.2s;
}

.send-button:hover {
    background: var(--primary-hover);
    transform: scale(1.05);
}