.chat-container {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.message-wrapper {
    display: flex;
    margin-bottom: 8px;
}

.message-wrapper.outgoing {
    justify-content: flex-end;
}

.message-bubble {
    max-width: 80%;
    padding: 8px 12px;
    border-radius: 12px;
    position: relative;
}

.incoming .message-bubble {
    background-color: #f0f2f5;
    border-top-left-radius: 0;
}

.outgoing .message-bubble {
    background-color: #dcf8c6;
    border-top-right-radius: 0;
}

.message-content {
    word-wrap: break-word;
}

.message-meta {
    display: flex;
    justify-content: flex-end;
    font-size: 0.75rem;
    margin-top: 2px;
}

/* Moderator List Styles */
.moderator-item {
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
}

.moderator-item:hover {
    background-color: rgba(0, 123, 255, 0.05);
    border-left-color: #007bff;
}

.moderator-item.active {
    background-color: rgba(0, 123, 255, 0.1);
    border-left-color: #007bff;
}

.moderator-avatar {
    width: 48px;
    height: 48px;
    object-fit: cover;
}

/* Message Form Styles */
.message-form {
    border-top: 1px solid #e9ecef;
    padding-top: 1rem;
}

.message-input {
    border-radius: 20px;
    resize: none;
}

.send-button {
    border-radius: 50%;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Success Message Styles */
.success-message {
    animation: fadeIn 0.3s ease-in-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Chat Area Styles */
#chat-messages {
    padding: 1rem;
    background-color: #f8f9fa;
    border-radius: 0.5rem;
}

/* Scrollbar Styles */
#chat-messages::-webkit-scrollbar {
    width: 6px;
}

#chat-messages::-webkit-scrollbar-track {
    background: #f1f1f1;
}

#chat-messages::-webkit-scrollbar-thumb {
    background: #c1c1c1;
    border-radius: 3px;
}

#chat-messages::-webkit-scrollbar-thumb:hover {
    background: #a8a8a8;
}

/* Live Support Sayfası Ek Stilleri */
.moderator-list-item {
    transition: all 0.2s ease;
}

.moderator-list-item:hover {
    background-color: #f8f9fa;
}

.moderator-list-item.active {
    background-color: #e9ecef;
    border-left: 3px solid #0d6efd;
}

/* Başarı mesajı animasyonu */
.alert-success.fade {
    opacity: 0;
    transition: opacity 0.5s ease;
}
