/* ================================================
   FILE UPLOAD COMPONENT STYLES
   ================================================ */

.file-upload-wrapper {
    width: 100%;
}

.file-drop-zone {
    border: 2px dashed #cbd5e1;
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    background-color: #f8fafc;
    transition: all 0.3s ease;
    cursor: pointer;
    min-height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.file-drop-zone:hover {
    border-color: #2563eb;
    background-color: #dbeafe;
}

.file-drop-zone.drag-over {
    border-color: #2563eb;
    background-color: #dbeafe;
    transform: scale(1.02);
}

.file-drop-zone.uploading {
    border-color: #f59e0b;
    background-color: #fef3c7;
    pointer-events: none;
}

.drop-zone-content {
    width: 100%;
}

.file-preview-area {
    margin-top: 1rem;
}

.file-preview-item {
    display: flex;
    align-items: center;
    padding: 0.75rem;
    margin-bottom: 0.5rem;
    background-color: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.file-preview-item:hover {
    background-color: #f1f5f9;
}

.file-preview-thumbnail {
    width: 40px;
    height: 40px;
    border-radius: 4px;
    object-fit: cover;
    margin-right: 0.75rem;
    background-color: #e2e8f0;
    display: flex;
    align-items: center;
    justify-content: center;
}

.file-preview-info {
    flex: 1;
    min-width: 0;
}

.file-preview-name {
    font-weight: 500;
    font-size: 0.875rem;
    color: #374151;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.file-preview-size {
    font-size: 0.75rem;
    color: #64748b;
}

.file-preview-progress {
    margin-top: 0.25rem;
}

.file-preview-actions {
    display: flex;
    gap: 0.5rem;
}

.upload-messages {
    margin-top: 0.5rem;
}

.upload-messages .alert {
    margin-bottom: 0.5rem;
}

.upload-messages .alert:last-child {
    margin-bottom: 0;
}

/* Brand and Product specific styling */
.brand-logo-upload,
.product-image-upload,
.project-image-upload {
    width: 100%;
}

/* Small screens adjustments */
@media (max-width: 576px) {
    .file-drop-zone {
        padding: 1rem;
        min-height: 100px;
    }
    
    .file-preview-item {
        padding: 0.5rem;
    }
    
    .file-preview-thumbnail {
        width: 32px;
        height: 32px;
        margin-right: 0.5rem;
    }
}
