/* Directory list */
.directory-list {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.directory-item {
    transition: all 0.2s ease;
}

    .directory-item:hover {
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    }

/* Directory stats - force horizontal layout with important flags */
.directory-stats {
    display: flex !important;
    flex-direction: row !important;
    gap: 1.5rem;
    width: 100%;
}

    /* Each stat column takes equal space */
    .directory-stats > div {
        flex: 1 1 0%;
        min-width: 0;
        display: flex;
        flex-direction: column;
    }
}

.stat-label {
    color: var(--bs-secondary);
    font-size: 0.875rem;
    margin-bottom: 0.25rem;
    display: flex;
    align-items: center;
    white-space: nowrap;
}

.stat-value {
    font-weight: 500;
    word-break: break-word;
}

/* Directory name truncation */
.directory-name {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.directory-path {
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    color: var(--bs-secondary);
    font-size: 0.875rem;
}

/* Chunk count subtext */
.chunk-count {
    font-size: 0.85em;
    color: var(--bs-secondary);
    margin-top: 0.125rem;
}
