.chat-message {
    margin-bottom: 10px;
    padding: 10px;
    border-radius: 8px;
}

.chat-message.user {
    background-color: #e3f2fd;
    margin-left: 20%;
}

.chat-message.assistant {
    background-color: #f5f5f5;
    margin-right: 20%;
}

#chat-interface {
    background-color: white;
    border: 1px solid #dee2e6;
    border-radius: 8px;
}

#drop-area {
    border: 2px dashed #007bff;
    padding: 20px;
    text-align: center;
    cursor: pointer;
    margin-bottom: 20px;
    border-radius: 10px;
    background-color: #f8f9fa;
}

#drop-area.dragover {
    background-color: #e3f2fd;
    border-color: #0056b3;
}

.file-item { 
    display: flex; 
    align-items: center; 
    justify-content: space-between; 
    margin: 5px; 
    padding: 10px;
}

.remove-btn { 
    color: red; 
    cursor: pointer; 
    padding: 5px 10px;
}

#file-list {
    min-height: 10px;
    margin: 15px 0;
}

#file-list li {
    padding: 10px 15px;
    margin-bottom: 5px;
    background-color: #f8f9fa;
}

.image-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
    padding: 1rem;
}

.image-card {
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 0.5rem;
    text-align: center;
}

.image-card img {
    border-radius: 4px;
    margin-bottom: 0.5rem;
}

#camera-preview {
    width: 100%;
    max-width: 640px;
    margin: 0 auto;
    display: block;
}

.captured-image {
    max-width: 640px;
    margin: 0 auto;
    display: block;
}

#chat-input {
    min-height: 80px;
    resize: vertical;
}

#chat-interface textarea {
    resize: none;
    border-radius: 8px;
    margin-bottom: 8px;
}

#chat-interface .btn {
    min-width: 100px;
}

.chat-messages {
    border: 1px solid #dee2e6;
    border-radius: 8px;
    padding: 10px;
    background-color: #f8f9fa;
    margin-bottom: 15px;
}