/*
 * File Storage — the general-purpose tenant bucket.
 *
 * Folders and files share one table: folders sort first and carry .row-folder
 * (styled in css/resource/shared.css) so a navigable row is visually distinct from
 * a terminal one.
 */

/* ============================ Folder trail ============================ */

.folder-breadcrumbs {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 12px;
    font-size: 13px;
}

.folder-crumb {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 4px 8px;
    border-radius: 4px;
    color: var(--res-muted);
    text-decoration: none;
}

.folder-crumb:hover {
    background: #f1f5f9;
    color: var(--res-navy);
}

/* The trailing crumb is where you are, so it is not a link target. */
.folder-crumb.is-current {
    color: var(--res-navy);
    font-weight: 600;
    pointer-events: none;
}

.folder-crumb-sep {
    color: var(--res-slate);
}

/* ============================ Drop target ============================ */
/* The whole table accepts a drag-and-drop upload into the open folder. */

.table-container.is-drop-target {
    outline: 2px dashed var(--res-green);
    outline-offset: -4px;
    background: #f0fdf9;
}
