/* Image upload styles - Modern Design */
.uploaded-image-container {
    display: flex;
    flex-direction: column;
    gap: 8px;
    max-width: 400px;
}

.uploaded-image-preview {
    max-width: 100%;
    max-height: 300px;
    border-radius: var(--radius-md);
    object-fit: contain;
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
}

.uploaded-image-caption {
    font-size: 0.85em;
    color: var(--text-muted);
    text-align: center;
}

/* Style for AI messages that reference images */
.message.ai img {
    max-width: 100%;
    max-height: 400px;
    border-radius: var(--radius-md);
    margin: 8px 0;
}

/* Markdown image styling */
.message img {
    max-width: 100%;
    border-radius: var(--radius-md);
    margin: 8px 0;
}

/* Upload Queue - Modern Design */
.upload-queue-container {
    padding: 10px 16px;
    background: var(--bg-secondary);
    border-top: 1px solid var(--border-color);
    max-height: 140px;
    overflow-y: auto;
    transition: all 0.2s ease;
}

.upload-queue-container.hidden {
    display: none;
}

.upload-queue-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.upload-queue-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 10px;
    background: var(--bg-tertiary);
    border-radius: var(--radius-sm);
}

.delete-queue-item {
    margin-left: auto;
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 1.2rem;
    line-height: 1;
    padding: 0 4px;
    transition: all 0.15s ease;
}

.delete-queue-item:hover {
    color: var(--error);
    transform: scale(1.1);
}

.queue-file-icon {
    font-size: 1rem;
}

.queue-file-name {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    font-size: 0.85rem;
    color: var(--text-secondary);
}
