/* rocketcode/client-uploads: self-contained styles for the Files page, so it renders the same in any
   project whatever its Tailwind build contains. Colours come from Filament's own CSS variables. */
.cu { max-width: 48rem; }
.cu-intro { margin: 0 0 1.25rem; font-size: 0.95rem; line-height: 1.6; color: var(--gray-600, #4b5563); }
.dark .cu-intro { color: var(--gray-400, #9ca3af); }

.cu-dropzone {
    display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 0.75rem;
    padding: 2.5rem 1.5rem; text-align: center; cursor: pointer;
    border: 2px dashed var(--gray-300, #d1d5db); border-radius: 0.75rem;
    background: var(--gray-50, #f9fafb); transition: border-color .15s, background-color .15s;
}
.dark .cu-dropzone { border-color: rgb(255 255 255 / .15); background: rgb(255 255 255 / .03); }
.cu-dropzone:hover, .cu-dropzone--active { border-color: var(--primary-500, #f59e0b); }
.cu-dropzone--active { background: color-mix(in srgb, var(--primary-500, #f59e0b) 8%, transparent); }
.cu-dropzone-icon { width: 2.25rem; height: 2.25rem; color: var(--gray-400, #9ca3af); }
.cu-dropzone-text { font-size: 0.95rem; color: var(--gray-700, #374151); }
.dark .cu-dropzone-text { color: var(--gray-200, #e5e7eb); }
.cu-button {
    display: inline-flex; align-items: center; padding: 0.5rem 1rem; border-radius: 0.5rem;
    font-size: 0.875rem; font-weight: 600; color: #fff; background: var(--primary-600, #d97706);
    box-shadow: 0 1px 2px rgb(0 0 0 / .05);
}
.cu-dropzone:hover .cu-button { background: var(--primary-500, #f59e0b); }
.cu-input { position: absolute; width: 1px; height: 1px; opacity: 0; overflow: hidden; }

.cu-list { list-style: none; margin: 1.25rem 0 0; padding: 0; display: grid; gap: 0.5rem; }
.cu-item { padding: 0.75rem 1rem; border-radius: 0.5rem; border: 1px solid var(--gray-200, #e5e7eb); background: #fff; }
.dark .cu-item { border-color: rgb(255 255 255 / .1); background: rgb(255 255 255 / .03); }
.cu-item-row { display: flex; justify-content: space-between; gap: 1rem; font-size: 0.875rem; }
.cu-item-name { font-weight: 500; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.cu-item-status { flex-shrink: 0; color: var(--gray-500, #6b7280); }
.cu-link { margin-left: 0.5rem; text-decoration: underline; background: none; border: 0; color: inherit; cursor: pointer; }
.cu-bar { margin-top: 0.5rem; height: 0.375rem; border-radius: 999px; overflow: hidden; background: var(--gray-200, #e5e7eb); }
.dark .cu-bar { background: rgb(255 255 255 / .1); }
.cu-bar-fill { height: 100%; border-radius: 999px; background: var(--primary-500, #f59e0b); transition: width .2s; }
.cu-item--done .cu-bar-fill { background: var(--success-500, #22c55e); }
.cu-item--done .cu-item-status { color: var(--success-600, #16a34a); }
.cu-item--failed .cu-bar-fill { background: var(--danger-500, #ef4444); }
.cu-item--failed .cu-item-status { color: var(--danger-600, #dc2626); }
