/* File list styling */
.file-item {
    transition: all 0.2s ease;
    background-color: #fff;
    border-radius: 6px;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
    overflow: hidden;
}

.file-item:hover {
    background-color: #f8f9fa;
    transform: translateY(-1px);
    box-shadow: 0 3px 6px rgba(0, 0, 0, 0.08);
}

.file-icon i {
    font-size: 1.25rem;
    width: 24px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.file-name {
    max-width: 100%;
    font-weight: 500;
    margin-bottom: 2px;
}

.file-meta {
    opacity: 0.7;
    font-size: 0.8rem;
}

.files-container {
    max-height: 400px;
    overflow-y: auto;
    padding: 0.5rem 0rem;
}

.drag-handle {
    cursor: grab;
    padding: 0 4px;
    opacity: 0.9;
    transition: opacity 0.2s ease;
}

.file-item:hover .drag-handle {
    opacity: 0.8;
}

.drag-handle:active {
    cursor: grabbing;
}

.cursor-move {
    cursor: move;
}

/* For when an item is being dragged */
.sortable-ghost {
    opacity: 0.9;
}

.sortable-chosen {
    background-color: #f0f8ff !important;
    box-shadow: 0 0 0 2px var(--primary-color, #007E8F) !important;
}

.sortable-drag {
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.15) !important;
    opacity: 0.9;
}

/* Dashed border for "empty state" elements */
.border-dashed {
    border-style: dashed !important;
}

/* Upload zone styling */
.upload-zone {
    border: 2px dashed #dee2e6;
    border-radius: 8px;
    transition: all 0.3s ease;
    background-color: #f8f9fa;
    cursor: pointer;
}

.upload-zone:hover {
    border-color: var(--primary-color, #007E8F);
    background-color: rgba(0, 126, 143, 0.05);
}

.upload-zone.drag-over {
    border-color: var(--primary-color, #007E8F);
    background-color: rgba(0, 126, 143, 0.1);
    transform: scale(1.01);
    box-shadow: 0 0 0 4px rgba(0, 126, 143, 0.2);
}
