.chat-container {
    background-color: #f8f9fa;
}

.workspace-sidebar {
    background-color: #ffffff !important;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.05);
}

.workspace-avatar {
    transition: transform 0.2s;
}

.workspace-avatar:hover {
    transform: scale(1.1);
}

.conversations-panel {
    background-color: #ffffff;
    box-shadow: 2px 0 5px rgba(0, 0, 0, 0.05);
}

.conversation-item {
    transition: all 0.2s;
}

.conversation-item:hover {
    background-color: #f8f9fa;
}

.conversation-item.active {
    background-color: #e9ecef;
}

.chat-window {
    background-color: #ffffff;
}

.chat-messages {
    background-color: #f8f9fa;
}

.message {
    max-width: 70%;
    animation: fadeIn 0.3s ease-in-out;
}

.message.sent {
    margin-left: auto;
}

.message.sent .message-content {
    background-color: #007bff;
    color: white;
    border-radius: 15px 15px 0 15px;
}

.message.received {
    margin-right: auto;
}

.message.received .message-content {
    background-color: #e9ecef;
    border-radius: 15px 15px 15px 0;
}

.message-sender {
    font-weight: 500;
}

.message-time {
    font-size: 0.75rem;
    opacity: 0.8;
}

.chat-input {
    background-color: #ffffff;
}

.chat-input .form-control {
    border-radius: 20px;
    padding: 10px 20px;
}

.chat-input .btn {
    border-radius: 20px;
    padding: 10px 20px;
}

.close-preview {
    position: absolute;
    top: -40px;
    right: 0;
    background: none;
    border: none;
    color: white;
    font-size: 24px;
    cursor: pointer;
    padding: 8px;
}

.image-preview-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-color: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
}

.image-preview-content {
    position: relative;
    max-width: 90%;
    max-height: 90vh;
}

    .image-preview-content img {
        max-width: 100%;
        max-height: 90vh;
        object-fit: contain;
    }


.file-upload-wrapper {
    position: relative;
}

    .file-upload-wrapper input {
        display: none;
    }

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
} 